--- python-poppler-0.12.1.orig/poppler.defs +++ python-poppler-0.12.1/poppler.defs @@ -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") --- python-poppler-0.12.1.orig/debian/watch +++ python-poppler-0.12.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://launchpad.net/poppler-python/trunk/development http://launchpad.net/poppler-python/.*/pypoppler-([0-9\.]*)\.tar\.gz --- python-poppler-0.12.1.orig/debian/changelog +++ python-poppler-0.12.1/debian/changelog @@ -0,0 +1,62 @@ +python-poppler (0.12.1-1ubuntu1) natty; urgency=low + + * poppler.defs: updated to use poppler_page_get_selected_text instead of + poppler_page_get_text. This fixes a FTBFS with poppler 0.16. Patch taken + from gentoo (http://bugs.gentoo.org/349955) + + -- Fabrice Coutadeur Fri, 25 Mar 2011 21:40:21 +0000 + +python-poppler (0.12.1-1build3) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:11:47 +0000 + +python-poppler (0.12.1-1build2) maverick; urgency=low + + * No-change rebuild against libpoppler-glib5/libpoppler7. + + -- Andrew Starr-Bochicchio Tue, 14 Sep 2010 16:09:44 -0400 + +python-poppler (0.12.1-1build1) maverick; urgency=low + + * No-change upload to build against current poppler library ABI. + + -- Didier Roche Thu, 05 Aug 2010 13:12:42 +0200 + +python-poppler (0.12.1-1) unstable; urgency=low + + * New upstream release + * Updated watch file and homepage field. + * debian/rules: fixed for python2.6 + + -- Andrea Gasparini Sat, 24 Oct 2009 08:00:51 +0200 + +python-poppler (0.10.0-1) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Josselin Mouette ] + * New upstream release. Closes: #518611. + + Bump build-dependency on poppler. + + Add missing build-dependency on atk. + * Switch to python-support. + + -- Josselin Mouette Sun, 08 Mar 2009 04:39:53 +0100 + +python-poppler (0.8.1-1) unstable; urgency=low + + [ Andrea Gasparini ] + * First upload (Closes: #453391) + + [ Sandro Tosi ] + * debian/control + - added Vcs-Svn and Vcs-Browser + + [ Carlos Galisteo ] + * debian/control: + - Added Homepage field. + + -- Andrea Gasparini Tue, 10 Jun 2008 23:13:37 +0200 --- python-poppler-0.12.1.orig/debian/copyright +++ python-poppler-0.12.1/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Andrea Gasparini on +Tue, 13 Nov 2007 20:40:14 +0000. + +It was downloaded from http://www.gnome.org/~gianmt/ + +Upstream Authors: + +Gian Mario Tagliaretti +Ali Afshar + + +Copyright © 2007-2009 Gian Mario Tagliaretti + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the full text of the GPL can be found in +/usr/share/common-licenses/GPL-2 + +The Debian packaging is © 2007, Andrea Gasparini +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- python-poppler-0.12.1.orig/debian/compat +++ python-poppler-0.12.1/debian/compat @@ -0,0 +1 @@ +5 --- python-poppler-0.12.1.orig/debian/rules +++ python-poppler-0.12.1/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +include /usr/share/python/python.mk + +DEB_AUTO_CLEANUP_RCS := yes +PYTHONS := $(shell pyversions -vr debian/control) + +configure: configure-stamp +configure-stamp: + dh_testdir + for pyvers in ${PYTHONS}; do\ + mkdir -p build/py$$pyvers;\ + cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers;\ + (cd build/py$$pyvers;\ + PYTHON=python$$pyvers ./configure --prefix=/usr/);\ + done + for pyvers in ${PYTHONS}; do\ + mkdir -p build/py$$pyvers-dbg;\ + cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers-dbg;\ + (cd build/py$$pyvers-dbg;\ + PYTHON=python$${pyvers}-dbg ./configure CFLAGS="-g -ggdb `python$${pyvers}-dbg-config --include` " --prefix=/usr/ ;\ + sed -i Makefile -e 's/\(^PYTHON_INCLUDES\s=.*\)/\1_d/' ) ;\ + done + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + for pyvers in ${PYTHONS}; do\ + (cd build/py$$pyvers/;\ + PYTHON=python$$pyvers $(MAKE));\ + done + for pyvers in ${PYTHONS}; do\ + (cd build/py$$pyvers-dbg/;\ + PYTHON=python$${pyvers}-dbg $(MAKE));\ + done + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf build + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + for pyvers in ${PYTHONS}; do\ + (cd build/py$$pyvers/;\ + DESTDIR=$(CURDIR)/debian/python-poppler $(MAKE) install);\ + done + for pyvers in ${PYTHONS}; do\ + (cd build/py$${pyvers}-dbg/;\ + DESTDIR=$(CURDIR)/debian/python-poppler-dbg $(MAKE) install);\ + mv $(CURDIR)/debian/python-poppler-dbg/$(call py_libdir_sh,$$pyvers)/poppler.so $(CURDIR)/debian/python-poppler-dbg/$(call py_libdir_sh,$$pyvers)/poppler_d.so ; \ + done + find debian -name "*.la" -exec rm -f {} \; + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installexamples + dh_strip --dbg-package=python-poppler-dbg -Xpoppler_d.so + dh_compress --exclude=.py --exclude=.resX + dh_pysupport + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- python-poppler-0.12.1.orig/debian/python-poppler.examples +++ python-poppler-0.12.1/debian/python-poppler.examples @@ -0,0 +1 @@ +demo/demo-poppler.py --- python-poppler-0.12.1.orig/debian/control +++ python-poppler-0.12.1/debian/control @@ -0,0 +1,40 @@ +Source: python-poppler +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Andrea Gasparini +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 5), cdbs, python-all-dev (>= 2.3.5-11), python-all-dbg, python-gtk2-dev (>= 2.10), + python-gobject-dev (>= 2.10.1), python-cairo-dev (>= 1.8.4), libpoppler-glib-dev (>= 0.12), + libatk1.0-dev (>= 1.6.0), + libxcb-render-util0-dev (>= 0.2+git36-1~), python-support (>= 0.8) +Standards-Version: 3.8.3 +XS-Python-Version: >= 2.4 +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-poppler/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-poppler/trunk/ +Homepage: http://launchpad.net/poppler-python + +Package: python-poppler +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gtk2 (>=2.10.0), python-gobject (>= 2.10.1), python-cairo (>= 1.8.4) +Provides: ${python:Provides} +Description: Poppler Python bindings + This package includes Python bindings for LibPoppler. + It is needed to run programs written in Python and using Poppler set. + LibPoppler is a PDF rendering library based on xpdf PDF viewer, and used by + kpdf and evince PDF viewers. + +Package: python-poppler-dbg +Section: debug +Architecture: any +Priority: extra +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-poppler (= ${binary:Version}), python-dbg, python-gobject-dbg +Suggests: python-gtk2-dbg +Provides: ${python:Provides} +Description: Poppler Python bindings (debug extension) + This package includes Python bindings for LibPoppler. + It is needed to run programs written in Python and using Poppler set. + LibPoppler is a PDF rendering library based on xpdf PDF viewer, and used by + kpdf and evince PDF viewers. + . + This package contains the extension built for the Python debug interpreter.