[Python-modules-commits] [python-poppler] 01/01: Import Debian changes 0.12.1-10

Laurent Bigonville bigon at moszumanska.debian.org
Sun Nov 19 15:56:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

bigon pushed a commit to annotated tag debian/0.12.1-10
in repository python-poppler.

commit e271d226dc2c84d26344e466388f9595e7cbb293
Author: Laurent Bigonville <bigon at debian.org>
Date:   Sun Nov 19 16:51:15 2017 +0100

    Import Debian changes 0.12.1-10
    
    python-poppler (0.12.1-10) unstable; urgency=medium
    
      * Team upload.
      * debian/control: Switch from python-gobject packages to python-gobject-2
        one, the former are transitional packages (Closes: #836486, #865169)
      * debian/control: Bump python-cairo (build-)dependency to workaround an ABI
        breakage that happened sometimes ago.
      * debian/control: Bump Standards-Version to 4.1.1, use priority optional
        instead of extra for the -dbg package, the later is deprecated
      * debian/control: Bump debhelper compatibility to 10
---
 debian/changelog | 13 ++++++++
 debian/compat    |  2 +-
 debian/control   | 11 +++----
 debian/rules     |  2 +-
 poppler.defs     | 95 ++++++++++++++++++++++++++++++++------------------------
 5 files changed, 74 insertions(+), 49 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 528afe3..93e20ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+python-poppler (0.12.1-10) unstable; urgency=medium
+
+  * Team upload.
+  * debian/control: Switch from python-gobject packages to python-gobject-2
+    one, the former are transitional packages (Closes: #836486, #865169)
+  * debian/control: Bump python-cairo (build-)dependency to workaround an ABI
+    breakage that happened sometimes ago.
+  * debian/control: Bump Standards-Version to 4.1.1, use priority optional
+    instead of extra for the -dbg package, the later is deprecated
+  * debian/control: Bump debhelper compatibility to 10
+
+ -- Laurent Bigonville <bigon at debian.org>  Sun, 19 Nov 2017 16:51:15 +0100
+
 python-poppler (0.12.1-9) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
index 7f8f011..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+10
diff --git a/debian/control b/debian/control
index b867580..2aa57a2 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,12 @@ Section: python
 Priority: optional
 Maintainer: Andrea Gasparini <gaspa at yattaweb.it>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf, dh-python,
+Build-Depends: debhelper (>= 10), dh-python,
  python-all-dev (>=  2.6.6-3~), python-all-dbg, python-gtk2-dev (>= 2.10),
- python-gobject-dev (>= 2.10.1), python-cairo-dev (>= 1.8.4), libpoppler-glib-dev (>= 0.15),
+ python-gobject-2-dev (>= 2.10.1), python-cairo-dev (>= 1.15.4), libpoppler-glib-dev (>= 0.15),
  libatk1.0-dev (>= 1.6.0), 
  libxcb-render-util0-dev (>= 0.2+git36-1~) | libxcb-render0-dev
-Standards-Version: 3.9.8
+Standards-Version: 4.1.1
 X-Python-Version: >= 2.4
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-poppler.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-poppler.git
@@ -16,7 +16,7 @@ Homepage: https://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)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gtk2 (>=2.10.0), python-gobject-2 (>= 2.10.1), python-cairo (>= 1.15.4)
 Provides: ${python:Provides}
 Description: Poppler Python bindings
  This package includes Python bindings for LibPoppler.
@@ -27,8 +27,7 @@ Description: Poppler Python bindings
 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, python-cairo-dbg, python-gtk2-dbg
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-poppler (= ${binary:Version}), python-dbg, python-gobject-2-dbg, python-cairo-dbg, python-gtk2-dbg
 Provides: ${python:Provides}
 Description: Poppler Python bindings (debug extension)
  This package includes Python bindings for LibPoppler.
diff --git a/debian/rules b/debian/rules
index 9916fc0..e4c1f46 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ PYTHONS := $(shell pyversions -vr debian/control)
 	dh $@ --with python2,autoreconf
 
 override_dh_strip:
-	dh_strip --dbg-package=python-poppler-dbg -Xpoppler_d.so
+	dh_strip --dbg-package=python-poppler-dbg -X_d.so
 
 override_dh_clean:
 	rm -fr build
diff --git a/poppler.defs b/poppler.defs
index e5c584a..9bb49cd 100644
--- a/poppler.defs
+++ b/poppler.defs
@@ -923,7 +923,6 @@
 
 (define-function document_new_from_file
   (c-name "poppler_document_new_from_file")
-  (caller-owns-return #t)
   (return-type "PopplerDocument*")
   (parameters
     '("const-char*" "uri")
@@ -934,7 +933,6 @@
 
 (define-function document_new_from_data
   (c-name "poppler_document_new_from_data")
-  (caller-owns-return #t)
   (return-type "PopplerDocument*")
   (parameters
     '("char*" "data")
@@ -973,7 +971,6 @@
 (define-method get_page
   (of-object "PopplerDocument")
   (c-name "poppler_document_get_page")
-  (caller-owns-return #t)
   (return-type "PopplerPage*")
   (parameters
     '("int" "index")
@@ -983,7 +980,6 @@
 (define-method get_page_by_label
   (of-object "PopplerDocument")
   (c-name "poppler_document_get_page_by_label")
-  (caller-owns-return #t)
   (return-type "PopplerPage*")
   (parameters
     '("const-char*" "label")
@@ -1005,7 +1001,6 @@
 (define-method find_dest
   (of-object "PopplerDocument")
   (c-name "poppler_document_find_dest")
-  (caller-owns-return #t)
   (return-type "PopplerDest*")
   (parameters
     '("const-gchar*" "link_name")
@@ -1015,7 +1010,6 @@
 (define-method get_form_field
   (of-object "PopplerDocument")
   (c-name "poppler_document_get_form_field")
-  (caller-owns-return #t)
   (return-type "PopplerFormField*")
   (parameters
     '("gint" "id")
@@ -1063,7 +1057,6 @@
 (define-method get_action
   (of-object "PopplerIndexIter")
   (c-name "poppler_index_iter_get_action")
-  (caller-owns-return #t)
   (return-type "PopplerAction*")
 )
 
@@ -1219,7 +1212,7 @@
 
 (define-function poppler_ps_file_new
   (c-name "poppler_ps_file_new")
-  (is-constructor-of "PopplerPSFile")
+  (is-constructor-of "PopplerPsFile")
   (return-type "PopplerPSFile*")
   (parameters
     '("PopplerDocument*" "document")
@@ -1653,6 +1646,58 @@
   (return-type "GType")
 )
 
+(define-method render_to_pixbuf
+  (of-object "PopplerPage")
+  (c-name "poppler_page_render_to_pixbuf")
+  (return-type "none")
+  (parameters
+    '("int" "src_x")
+    '("int" "src_y")
+    '("int" "src_width")
+    '("int" "src_height")
+    '("double" "scale")
+    '("int" "rotation")
+    '("GdkPixbuf*" "pixbuf")
+  )
+)
+
+(define-method render_to_pixbuf_for_printing
+  (of-object "PopplerPage")
+  (c-name "poppler_page_render_to_pixbuf_for_printing")
+  (return-type "none")
+  (parameters
+    '("int" "src_x")
+    '("int" "src_y")
+    '("int" "src_width")
+    '("int" "src_height")
+    '("double" "scale")
+    '("int" "rotation")
+    '("GdkPixbuf*" "pixbuf")
+  )
+)
+
+(define-method get_thumbnail_pixbuf
+  (of-object "PopplerPage")
+  (c-name "poppler_page_get_thumbnail_pixbuf")
+  (return-type "GdkPixbuf*")
+)
+
+(define-method render_selection_to_pixbuf
+  (of-object "PopplerPage")
+  (c-name "poppler_page_render_selection_to_pixbuf")
+  (return-type "none")
+  (parameters
+    '("gdouble" "scale")
+    '("int" "rotation")
+    '("GdkPixbuf*" "pixbuf")
+    '("PopplerRectangle*" "selection")
+    '("PopplerRectangle*" "old_selection")
+    '("PopplerSelectionStyle" "style")
+    '("GdkColor*" "glyph_color")
+    '("GdkColor*" "background_color")
+  )
+)
+
 (define-method render
   (of-object "PopplerPage")
   (c-name "poppler_page_render")
@@ -1707,12 +1752,6 @@
   (return-type "int")
 )
 
-(define-method get_label
-  (of-object "PopplerPage")
-  (c-name "poppler_page_get_label")
-  (return-type "gchar*")
-)
-
 (define-method get_duration
   (of-object "PopplerPage")
   (c-name "poppler_page_get_duration")
@@ -1757,15 +1796,9 @@
   (of-object "PopplerPage")
   (c-name "poppler_page_get_text")
   (return-type "char*")
-)
-
-(define-method get_selected_text
-  (of-object "PopplerPage")
-  (c-name "poppler_page_get_selected_text")
-  (return-type "char*")
   (parameters
     '("PopplerSelectionStyle" "style")
-    '("PopplerRectangle*" "selection")
+    '("PopplerRectangle*" "rect")
   )
 )
 
@@ -1853,16 +1886,6 @@
   )
 )
 
-(define-function poppler_page_add_annot
-  (of-object "PopplerPage")
-  (c-name "poppler_page_add_annot")
-  (return-type "none")
-  (parameters
-    '("PopplerAnnot*" "annot")
-    '("GList*" "list")
-  )
-)
-
 (define-method get_crop_box
   (of-object "PopplerPage")
   (c-name "poppler_page_get_crop_box")
@@ -1872,16 +1895,6 @@
   )
 )
 
-(define-method get_text_layout
-  (of-object "PopplerPage")
-  (c-name "poppler_page_get_text_layout")
-  (return-type "gboolean")
-  (parameters
-    '("PopplerRectangle**" "rectangles")
-    '("guint*" "n_rectangles")
-  )
-)
-
 (define-function poppler_rectangle_get_type
   (c-name "poppler_rectangle_get_type")
   (return-type "GType")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-poppler.git



More information about the Python-modules-commits mailing list