From 7a29c67520859ee6a7404d0fc9f498e21a2e7b61 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Sun, 24 Jan 2016 16:00:21 +0200 Subject: [PATCH] podofo moved into main for pisi 2.0 --- office/misc/podofo/actions.py | 35 +++++++++ office/misc/podofo/pspec.xml | 112 ++++++++++++++++++++++++++++ office/misc/podofo/translations.xml | 14 ++++ 3 files changed, 161 insertions(+) create mode 100644 office/misc/podofo/actions.py create mode 100644 office/misc/podofo/pspec.xml create mode 100644 office/misc/podofo/translations.xml diff --git a/office/misc/podofo/actions.py b/office/misc/podofo/actions.py new file mode 100644 index 0000000000..88f815973d --- /dev/null +++ b/office/misc/podofo/actions.py @@ -0,0 +1,35 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") + cmaketools.configure("-DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ + -DPODOFO_BUILD_SHARED=1 \ + -DPODOFO_BUILD_STATIC=0 \ + -DPODOFO_HAVE_JPEG_LIB=1 \ + -DPODOFO_HAVE_PNG_LIB=1 \ + -DPODOFO_HAVE_TIFF_LIB=1 \ + -DWANT_FONTCONFIG=1 \ + -DWANT_BOOST=1", sourceDir="..") + #-DUSE_STLPORT=1" + +def build(): + shelltools.cd("build") + cmaketools.make() + +def install(): + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.cd("..") + pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LIB", "ChangeLog", "NEWS", "TODO") + pisitools.dohtml("README.html", "FAQ.html") diff --git a/office/misc/podofo/pspec.xml b/office/misc/podofo/pspec.xml new file mode 100644 index 0000000000..1da7bce164 --- /dev/null +++ b/office/misc/podofo/pspec.xml @@ -0,0 +1,112 @@ + + + + + podofo + http://podofo.sourceforge.net + + PisiLinux Community + admins@pisilinux.org + + GPLv3 + LGPLv3 + library + app:console + A library to work with the PDF file format + The PoDoFo library is a free, portable C++ library which includes classes to parse PDF files and modify their contents into memory. The changes can be written back to disk easily. The parser can also be used to extract information from a PDF file (for example the parser could be used in a PDF viewer). Besides parsing PoDoFo includes also very simple classes to create your own PDF files. All classes are documented so it is easy to start writing your own application using PoDoFo. + mirrors://sourceforge/podofo/podofo-0.9.3.tar.gz + + cmake + zlib-devel + libjpeg-turbo-devel + tiff-devel + libpng-devel + freetype-devel + fontconfig-devel + lua51-devel + cppunit-devel + libidn-devel + boost-devel + openssl-devel + + + + + podofo + + tiff + zlib + lua51 + libgcc + libidn + libpng + openssl + freetype + + + fontconfig + libjpeg-turbo + + + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/man + + + + + podofo-devel + Development files for podofo + + podofo + boost-devel + + + /usr/include + + + + + + 2014-12-30 + 0.9.3 + Version bump. + + reverseDependencyUpdate + + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + 2014-05-31 + 0.9.2 + Version bump. + + reverseDependencyUpdate + + Alihan Öztürk + alihan@pisilinux.org + + + 2014-03-10 + 0.9.1 + Rebuild + + reverseDependencyUpdate + + Varol Maksutoğlu + waroi@pisilinux.org + + + 2013-01-25 + 0.9.1 + Version bump. + + reverseDependencyUpdate + + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/office/misc/podofo/translations.xml b/office/misc/podofo/translations.xml new file mode 100644 index 0000000000..37e3df5962 --- /dev/null +++ b/office/misc/podofo/translations.xml @@ -0,0 +1,14 @@ + + + + podofo + PDF dosya biçimiyle çalışmak için bir kütüphane + Biblioteka do obsługi PDF-ów + podofo, PDF dosyalarını ayıklamak ve düzenlemek için geliştirilmiş, ücretsiz bir C++ kütüphanesidir. + + + + podofo-devel + podofo için geliştirme dosyaları + +