commit pypoppler for openSUSE:Factory

2016-01-09 Thread h_root
Hello community,

here is the log from the commit of package pypoppler for openSUSE:Factory 
checked in at 2016-01-09 23:13:35

Comparing /work/SRC/openSUSE:Factory/pypoppler (Old)
 and  /work/SRC/openSUSE:Factory/.pypoppler.new (New)


Package is "pypoppler"

Changes:

--- /work/SRC/openSUSE:Factory/pypoppler/pypoppler.changes  2011-09-23 
12:42:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.pypoppler.new/pypoppler.changes 2016-01-09 
23:13:48.0 +0100
@@ -1,0 +2,8 @@
+Thu Dec 31 09:04:58 UTC 2015 - zai...@opensuse.org
+
+- Add pypoppler-0.12.1-poppler-0.39.0.patch: Fix build with poppler
+  0.39.0. Only apply it for builds where we have this version of
+  poppler (lp#1528489).
+- Make the same change for pypoppler-0.12.1-poppler-0.18.0.patch.
+
+---

New:

  pypoppler-0.12.1-poppler-0.39.0.patch



Other differences:
--
++ pypoppler.spec ++
--- /var/tmp/diff_new_pack.Yk6zNF/_old  2016-01-09 23:13:48.0 +0100
+++ /var/tmp/diff_new_pack.Yk6zNF/_new  2016-01-09 23:13:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pypoppler
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,20 @@
 #
 
 
-
 Name:   pypoppler
 Version:0.12.1
-Release:6
-License:GPL-2.0+
+Release:0
 Summary:Python bindings for the Poppler PDF rendering library
-Url:https://launchpad.net/poppler-python/
+License:GPL-2.0+
 Group:  Productivity/Other
+Url:https://launchpad.net/poppler-python/
 Source: pypoppler-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.16.0.patch lp#696025 
co...@novell.com -- Fix build with poppler 0.16.0, based on patch from launchpad
 Patch0: pypoppler-0.12.1-poppler-0.16.0.patch
 # PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.18.0.patch lp#776234 
vu...@opensuse.org -- Fix build with poppler 0.18
 Patch1: pypoppler-0.12.1-poppler-0.18.0.patch
+# PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.39.0.patch lp#1528489 
zai...@opensuse.org -- Fix build with poppler-0.39.0
+Patch2: pypoppler-0.12.1-poppler-0.39.0.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  pkgconfig(atk)
 BuildRequires:  pkgconfig(poppler-glib)
@@ -45,7 +46,6 @@
 python world. It is fairly complete, most of the API are covered.
 
 %package -n python-poppler
-License:GPL-2.0+
 Summary:Python bindings for the Poppler PDF rendering library
 Group:  Productivity/Other
 Provides:   %{name} = %{version}
@@ -57,9 +57,12 @@
 %prep
 %setup -q
 %patch0
-%if 0%{?suse_version} > 1140
+if pkg-config --atleast-version=0.18 poppler-glib; then
 %patch1 -p1
-%endif
+fi
+if pkg-config --atleast-version=0.39 poppler-glib; then
+%patch2
+fi
 
 %build
 %configure

++ pypoppler-0.12.1-poppler-0.39.0.patch ++
--- poppler.defs2009-09-27 16:07:59.0 +0700
+++ poppler.defs2015-12-22 16:36:14.0 +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")




commit pypoppler for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package pypoppler for openSUSE:Factory 
checked in at 2011-12-06 18:54:26

Comparing /work/SRC/openSUSE:Factory/pypoppler (Old)
 and  /work/SRC/openSUSE:Factory/.pypoppler.new (New)


Package is pypoppler, Maintainer is 

Changes:




Other differences:
--
++ pypoppler.spec ++
--- /var/tmp/diff_new_pack.B3F2Gb/_old  2011-12-06 19:27:19.0 +0100
+++ /var/tmp/diff_new_pack.B3F2Gb/_new  2011-12-06 19:27:19.0 +0100
@@ -20,7 +20,7 @@
 Name:   pypoppler
 Version:0.12.1
 Release:6
-License:GPLv2+
+License:GPL-2.0+
 Summary:Python bindings for the Poppler PDF rendering library
 Url:https://launchpad.net/poppler-python/
 Group:  Productivity/Other
@@ -45,7 +45,7 @@
 python world. It is fairly complete, most of the API are covered.
 
 %package -n python-poppler
-License:GPLv2+
+License:GPL-2.0+
 Summary:Python bindings for the Poppler PDF rendering library
 Group:  Productivity/Other
 Provides:   %{name} = %{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pypoppler for openSUSE:Factory

2011-09-20 Thread h_root

Hello community,

here is the log from the commit of package pypoppler for openSUSE:Factory
checked in at Tue Sep 20 12:58:59 CEST 2011.




--- pypoppler/pypoppler.changes 2011-04-29 00:12:03.0 +0200
+++ /mounts/work_src_done/STABLE/pypoppler/pypoppler.changes2011-09-20 
11:06:29.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 20 09:05:24 UTC 2011 - vu...@opensuse.org
+
+- Add pypoppler-0.12.1-poppler-0.18.0.patch: fix build with poppler
+  0.18. Only apply it on 12.1 and later since that's where we have
+  this version of poppler.
+
+---

calling whatdependson for head-i586


New:

  pypoppler-0.12.1-poppler-0.18.0.patch



Other differences:
--
++ pypoppler.spec ++
--- /var/tmp/diff_new_pack.oDvZCl/_old  2011-09-20 12:58:54.0 +0200
+++ /var/tmp/diff_new_pack.oDvZCl/_new  2011-09-20 12:58:54.0 +0200
@@ -27,6 +27,8 @@
 Source: pypoppler-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.16.0.patch lp#696025 
co...@novell.com -- Fix build with poppler 0.16.0, based on patch from launchpad
 Patch0: pypoppler-0.12.1-poppler-0.16.0.patch
+# PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.18.0.patch lp#776234 
vu...@opensuse.org -- Fix build with poppler 0.18
+Patch1: pypoppler-0.12.1-poppler-0.18.0.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  pkgconfig(atk)
 BuildRequires:  pkgconfig(poppler-glib)
@@ -55,9 +57,11 @@
 %prep
 %setup -q
 %patch0
+%if 0%{?suse_version}  1140
+%patch1 -p1
+%endif
 
 %build
-
 %configure
 %__make %{?_smp_mflags}
 

++ pypoppler-0.12.1-poppler-0.18.0.patch ++
Index: pypoppler-0.12.1/poppler.defs
===
--- pypoppler-0.12.1.orig/poppler.defs
+++ pypoppler-0.12.1/poppler.defs
@@ -1646,58 +1646,6 @@
   (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)





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit pypoppler for openSUSE:Factory

2011-05-02 Thread h_root

Hello community,

here is the log from the commit of package pypoppler for openSUSE:Factory
checked in at Mon May 2 16:57:38 CEST 2011.




--- pypoppler/pypoppler.changes 2010-12-15 13:35:15.0 +0100
+++ /mounts/work_src_done/STABLE/pypoppler/pypoppler.changes2011-04-29 
00:12:03.0 +0200
@@ -1,0 +2,11 @@
+Fri Apr 29 00:08:33 CEST 2011 - vu...@opensuse.org
+
+- Update pypoppler-0.12.1-poppler-0.16.0.patch to also change the
+  name of the python method. It seems saner in the long term.
+
+---
+Tue Apr  5 18:41:29 UTC 2011 - co...@novell.com
+
+- Add pypoppler-0.12.1-poppler-0.16.0.patch to support new poppler.
+
+---

calling whatdependson for head-i586


New:

  pypoppler-0.12.1-poppler-0.16.0.patch



Other differences:
--
++ pypoppler.spec ++
--- /var/tmp/diff_new_pack.LnUfeZ/_old  2011-05-02 16:57:18.0 +0200
+++ /var/tmp/diff_new_pack.LnUfeZ/_new  2011-05-02 16:57:18.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package pypoppler (Version 0.12.1)
+# spec file for package pypoppler
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,14 @@
 
 Name:   pypoppler
 Version:0.12.1
-Release:1
+Release:6
 License:GPLv2+
 Summary:Python bindings for the Poppler PDF rendering library
 Url:https://launchpad.net/poppler-python/
 Group:  Productivity/Other
 Source: pypoppler-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.16.0.patch lp#696025 
co...@novell.com -- Fix build with poppler 0.16.0, based on patch from launchpad
+Patch0: pypoppler-0.12.1-poppler-0.16.0.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  pkgconfig(atk)
 BuildRequires:  pkgconfig(poppler-glib)
@@ -52,6 +54,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 

++ pypoppler-0.12.1-poppler-0.16.0.patch ++
Index: poppler.defs
===
--- poppler.defs.orig
+++ poppler.defs
@@ -1792,9 +1792,9 @@
   )
 )
 
-(define-method get_text
+(define-method get_selected_text
   (of-object PopplerPage)
-  (c-name poppler_page_get_text)
+  (c-name poppler_page_get_selected_text)
   (return-type char*)
   (parameters
 '(PopplerSelectionStyle style)





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org