[arch-commits] Commit in python2-poppler/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Oct 5 03:21:20 UTC 2017


    Date: Thursday, October 5, 2017 @ 03:21:17
  Author: foutrelis
Revision: 261611

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python2-poppler/repos/community-staging-i686/
  python2-poppler/repos/community-staging-i686/PKGBUILD
    (from rev 261610, python2-poppler/trunk/PKGBUILD)
  python2-poppler/repos/community-staging-i686/pypoppler-0.12.1-poppler-0.16.0.patch
    (from rev 261610, python2-poppler/trunk/pypoppler-0.12.1-poppler-0.16.0.patch)
  python2-poppler/repos/community-staging-i686/python-poppler-0.12.1-poppler-0.39.0-changes.patch
    (from rev 261610, python2-poppler/trunk/python-poppler-0.12.1-poppler-0.39.0-changes.patch)
  python2-poppler/repos/community-staging-x86_64/
  python2-poppler/repos/community-staging-x86_64/PKGBUILD
    (from rev 261610, python2-poppler/trunk/PKGBUILD)
  python2-poppler/repos/community-staging-x86_64/pypoppler-0.12.1-poppler-0.16.0.patch
    (from rev 261610, python2-poppler/trunk/pypoppler-0.12.1-poppler-0.16.0.patch)
  python2-poppler/repos/community-staging-x86_64/python-poppler-0.12.1-poppler-0.39.0-changes.patch
    (from rev 261610, python2-poppler/trunk/python-poppler-0.12.1-poppler-0.39.0-changes.patch)

-----------------------------------------------------------------------------+
 community-staging-i686/PKGBUILD                                             |   50 ++++++++++
 community-staging-i686/pypoppler-0.12.1-poppler-0.16.0.patch                |   11 ++
 community-staging-i686/python-poppler-0.12.1-poppler-0.39.0-changes.patch   |   19 +++
 community-staging-x86_64/PKGBUILD                                           |   50 ++++++++++
 community-staging-x86_64/pypoppler-0.12.1-poppler-0.16.0.patch              |   11 ++
 community-staging-x86_64/python-poppler-0.12.1-poppler-0.39.0-changes.patch |   19 +++
 6 files changed, 160 insertions(+)

Copied: python2-poppler/repos/community-staging-i686/PKGBUILD (from rev 261610, python2-poppler/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-05 03:21:17 UTC (rev 261611)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ray Rashif <schiv at archlinux.org
+
+pkgname=python2-poppler
+_realname=pypoppler
+pkgver=0.12.1
+pkgrel=10
+pkgdesc="Python 2.x bindings for Poppler"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/poppler-python"
+license=('GPL')
+depends=('pygtk' 'poppler-glib')
+source=("https://launchpad.net/poppler-python/trunk/development/+download/$_realname-$pkgver.tar.gz"
+        'pypoppler-0.12.1-poppler-0.16.0.patch'
+        'python-poppler-0.12.1-poppler-0.39.0-changes.patch')
+md5sums=('1a89e5ed3042afc81bbd4d02e0cf640a'
+         '683c5b67866d56adc2494120cc329dc8'
+         '5f0a6f7f4b649ad61a71f800a6e0ba91')
+
+prepare() {
+  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
+
+  # poppler 0.39 compat
+  patch -Np0 -i \
+	  "$srcdir/python-poppler-0.12.1-poppler-0.39.0-changes.patch"
+}
+
+build() {
+  cd "$srcdir/$_realname-$pkgver"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --localstatedir=/var
+              PYTHON=python2
+  make
+}
+
+package() {
+  cd "$srcdir/$_realname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: python2-poppler/repos/community-staging-i686/pypoppler-0.12.1-poppler-0.16.0.patch (from rev 261610, python2-poppler/trunk/pypoppler-0.12.1-poppler-0.16.0.patch)
===================================================================
--- community-staging-i686/pypoppler-0.12.1-poppler-0.16.0.patch	                        (rev 0)
+++ community-staging-i686/pypoppler-0.12.1-poppler-0.16.0.patch	2017-10-05 03:21:17 UTC (rev 261611)
@@ -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")

Copied: python2-poppler/repos/community-staging-i686/python-poppler-0.12.1-poppler-0.39.0-changes.patch (from rev 261610, python2-poppler/trunk/python-poppler-0.12.1-poppler-0.39.0-changes.patch)
===================================================================
--- community-staging-i686/python-poppler-0.12.1-poppler-0.39.0-changes.patch	                        (rev 0)
+++ community-staging-i686/python-poppler-0.12.1-poppler-0.39.0-changes.patch	2017-10-05 03:21:17 UTC (rev 261611)
@@ -0,0 +1,19 @@
+--- poppler.defs	2009-09-27 16:07:59.000000000 +0700
++++ poppler.defs	2015-12-22 16:36:14.000000000 +0600
+@@ -579,16 +579,4 @@
+ )
+ 
+-(define-enum Orientation
+-  (in-module "Poppler")
+-  (c-name "PopplerOrientation")
+-  (gtype-id "POPPLER_TYPE_ORIENTATION")
+-  (values
+-    '("portrait" "POPPLER_ORIENTATION_PORTRAIT")
+-    '("landscape" "POPPLER_ORIENTATION_LANDSCAPE")
+-    '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN")
+-    '("seascape" "POPPLER_ORIENTATION_SEASCAPE")
+-  )
+-)
+-
+ (define-enum PageTransitionType
+   (in-module "Poppler")

Copied: python2-poppler/repos/community-staging-x86_64/PKGBUILD (from rev 261610, python2-poppler/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-05 03:21:17 UTC (rev 261611)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ray Rashif <schiv at archlinux.org
+
+pkgname=python2-poppler
+_realname=pypoppler
+pkgver=0.12.1
+pkgrel=10
+pkgdesc="Python 2.x bindings for Poppler"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/poppler-python"
+license=('GPL')
+depends=('pygtk' 'poppler-glib')
+source=("https://launchpad.net/poppler-python/trunk/development/+download/$_realname-$pkgver.tar.gz"
+        'pypoppler-0.12.1-poppler-0.16.0.patch'
+        'python-poppler-0.12.1-poppler-0.39.0-changes.patch')
+md5sums=('1a89e5ed3042afc81bbd4d02e0cf640a'
+         '683c5b67866d56adc2494120cc329dc8'
+         '5f0a6f7f4b649ad61a71f800a6e0ba91')
+
+prepare() {
+  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
+
+  # poppler 0.39 compat
+  patch -Np0 -i \
+	  "$srcdir/python-poppler-0.12.1-poppler-0.39.0-changes.patch"
+}
+
+build() {
+  cd "$srcdir/$_realname-$pkgver"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --localstatedir=/var
+              PYTHON=python2
+  make
+}
+
+package() {
+  cd "$srcdir/$_realname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: python2-poppler/repos/community-staging-x86_64/pypoppler-0.12.1-poppler-0.16.0.patch (from rev 261610, python2-poppler/trunk/pypoppler-0.12.1-poppler-0.16.0.patch)
===================================================================
--- community-staging-x86_64/pypoppler-0.12.1-poppler-0.16.0.patch	                        (rev 0)
+++ community-staging-x86_64/pypoppler-0.12.1-poppler-0.16.0.patch	2017-10-05 03:21:17 UTC (rev 261611)
@@ -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")

Copied: python2-poppler/repos/community-staging-x86_64/python-poppler-0.12.1-poppler-0.39.0-changes.patch (from rev 261610, python2-poppler/trunk/python-poppler-0.12.1-poppler-0.39.0-changes.patch)
===================================================================
--- community-staging-x86_64/python-poppler-0.12.1-poppler-0.39.0-changes.patch	                        (rev 0)
+++ community-staging-x86_64/python-poppler-0.12.1-poppler-0.39.0-changes.patch	2017-10-05 03:21:17 UTC (rev 261611)
@@ -0,0 +1,19 @@
+--- poppler.defs	2009-09-27 16:07:59.000000000 +0700
++++ poppler.defs	2015-12-22 16:36:14.000000000 +0600
+@@ -579,16 +579,4 @@
+ )
+ 
+-(define-enum Orientation
+-  (in-module "Poppler")
+-  (c-name "PopplerOrientation")
+-  (gtype-id "POPPLER_TYPE_ORIENTATION")
+-  (values
+-    '("portrait" "POPPLER_ORIENTATION_PORTRAIT")
+-    '("landscape" "POPPLER_ORIENTATION_LANDSCAPE")
+-    '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN")
+-    '("seascape" "POPPLER_ORIENTATION_SEASCAPE")
+-  )
+-)
+-
+ (define-enum PageTransitionType
+   (in-module "Poppler")



More information about the arch-commits mailing list