summaryrefslogtreecommitdiff
path: root/community-staging
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-07 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-07 23:14:36 +0000
commit8a8ac56bbf82685c43072923560881e6b119ec66 (patch)
treea83c44158166a5ad2cc5bfcaf1199ca7ba3652cc /community-staging
parent5442e9b8f357932ed5d6cb46e90fcbf6f453469f (diff)
Fri Oct 7 23:14:36 UTC 2011
Diffstat (limited to 'community-staging')
-rw-r--r--community-staging/pdf2djvu/PKGBUILD28
-rw-r--r--community-staging/pdf2svg/PKGBUILD27
-rw-r--r--community-staging/python2-poppler/PKGBUILD40
-rw-r--r--community-staging/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch11
4 files changed, 106 insertions, 0 deletions
diff --git a/community-staging/pdf2djvu/PKGBUILD b/community-staging/pdf2djvu/PKGBUILD
new file mode 100644
index 000000000..787faccc6
--- /dev/null
+++ b/community-staging/pdf2djvu/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 56369 2011-10-06 19:52:32Z jelle $
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
+
+pkgname=pdf2djvu
+pkgver=0.7.11
+pkgrel=1
+pkgdesc="Creates DjVu files from PDF files"
+arch=('i686' 'x86_64')
+url="http://pdf2djvu.googlecode.com"
+license=('GPL')
+depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs')
+makedepends=('pstreams')
+source=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
+md5sums=('cdc0cbb46512aaf7109d6ebc7aef1a7a')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+ install -Dm644 doc/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
+}
+md5sums=('37c3d5a31c155bc65a39912da4c6bce1')
diff --git a/community-staging/pdf2svg/PKGBUILD b/community-staging/pdf2svg/PKGBUILD
new file mode 100644
index 000000000..c15c7af0f
--- /dev/null
+++ b/community-staging/pdf2svg/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: corvolino <corvolino@archlinux.com.br>
+# Contributor: Joel Schaerer
+
+pkgname=pdf2svg
+pkgver=0.2.1
+pkgrel=6
+pkgdesc="A pdf to svg converter"
+arch=('i686' 'x86_64')
+url="http://www.cityinthesky.co.uk/pdf2svg.html"
+license=('GPL')
+depends=('poppler-glib' 'gtk2' 'glib2')
+source=("http://www.cityinthesky.co.uk/_media/opensource/$pkgname-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+
+md5sums=('59b3b9768166f73b77215e95d91f0a9d')
diff --git a/community-staging/python2-poppler/PKGBUILD b/community-staging/python2-poppler/PKGBUILD
new file mode 100644
index 000000000..8e810bc81
--- /dev/null
+++ b/community-staging/python2-poppler/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 56373 2011-10-06 20:58:29Z jelle $
+# Maintainer: Ray Rashif <schiv@archlinux.org
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=python2-poppler
+_realname=pypoppler
+pkgver=0.12.1
+pkgrel=5
+pkgdesc="Python 2.x bindings for Poppler"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/poppler-python"
+license=('GPL')
+depends=('pygtk' 'poppler-glib' 'glib2' 'freetype2')
+provides=('pypoppler' 'python-poppler')
+conflicts=('python-poppler')
+replaces=('python-poppler')
+options=(!libtool)
+source=(http://launchpad.net/poppler-python/trunk/development/+download/$_realname-$pkgver.tar.gz
+ pypoppler-0.12.1-poppler-0.16.0.patch)
+md5sums=('1a89e5ed3042afc81bbd4d02e0cf640a'
+ '683c5b67866d56adc2494120cc329dc8')
+
+build() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ patch -Np0 -i "$srcdir/pypoppler-0.12.1-poppler-0.16.0.patch"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community-staging/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch b/community-staging/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch
new file mode 100644
index 000000000..0e99b57ec
--- /dev/null
+++ b/community-staging/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch
@@ -0,0 +1,11 @@
+--- poppler.defs.orig 2010-12-30 05:55:07.000000000 +0000
++++ poppler.defs 2010-12-30 05:55:27.000000000 +0000
+@@ -1794,7 +1794,7 @@
+
+ (define-method get_text
+ (of-object "PopplerPage")
+- (c-name "poppler_page_get_text")
++ (c-name "poppler_page_get_selected_text")
+ (return-type "char*")
+ (parameters
+ '("PopplerSelectionStyle" "style")