summaryrefslogtreecommitdiff
path: root/community-testing/python2-poppler
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/python2-poppler')
-rw-r--r--community-testing/python2-poppler/PKGBUILD47
-rw-r--r--community-testing/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch11
2 files changed, 0 insertions, 58 deletions
diff --git a/community-testing/python2-poppler/PKGBUILD b/community-testing/python2-poppler/PKGBUILD
deleted file mode 100644
index 42a670494..000000000
--- a/community-testing/python2-poppler/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 57166 2011-10-22 19:04:38Z schiv $
-# Maintainer: Ray Rashif <schiv@archlinux.org
-# Contributor: György Balló <ballogy@freestart.hu>
-
-pkgname=python2-poppler
-_realname=pypoppler
-pkgver=0.12.1
-pkgrel=6
-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"
-
- # poppler 0.16 compat
- patch -Np0 -i \
- "$srcdir/pypoppler-0.12.1-poppler-0.16.0.patch"
-
- # poppler 0.18 compat
- sed -i "/pixbuf/,/^)/d" poppler.defs
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- PYTHON=python2
- make
-}
-
-package() {
- cd "$srcdir/$_realname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch b/community-testing/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch
deleted file mode 100644
index 0e99b57ec..000000000
--- a/community-testing/python2-poppler/pypoppler-0.12.1-poppler-0.16.0.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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")