commit python-poppler-qt4 for openSUSE:Factory
Hello community, here is the log from the commit of package python-poppler-qt4 for openSUSE:Factory checked in at 2017-01-25 23:36:38 Comparing /work/SRC/openSUSE:Factory/python-poppler-qt4 (Old) and /work/SRC/openSUSE:Factory/.python-poppler-qt4.new (New) Package is "python-poppler-qt4" Changes: --- /work/SRC/openSUSE:Factory/python-poppler-qt4/python-poppler-qt4.changes 2015-06-23 11:57:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-poppler-qt4.new/python-poppler-qt4.changes 2017-01-25 23:36:39.322318244 +0100 @@ -1,0 +2,5 @@ +Wed Jan 25 08:44:15 UTC 2017 - corne...@solcon.nl + +- Added buildfix_python-sip-419.patch to fix build with new python-sip + +--- New: buildfix_python-sip-419.patch Other differences: -- ++ python-poppler-qt4.spec ++ --- /var/tmp/diff_new_pack.CVcL1V/_old 2017-01-25 23:36:39.754253167 +0100 +++ /var/tmp/diff_new_pack.CVcL1V/_new 2017-01-25 23:36:39.758252565 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-poppler-qt4 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 LISA GmbH, Bingen, Germany. # Copyright (c) 2012 Johannes Engel # @@ -29,6 +29,8 @@ Url:https://github.com/wbsoft/python-poppler-qt4 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0:%{name}-%{version}.tar.gz +# Patch Build: fix building using SIP 4.19+ +Patch0: buildfix_python-sip-419.patch %description Python binding to poppler-qt4 @@ -36,6 +38,7 @@ %prep %setup -q +%patch0 -p1 %build python3 setup.py build ++ buildfix_python-sip-419.patch ++ >From 46fd6a237aefe33a18edee601e548a33ba6f2a50 Mon Sep 17 00:00:00 2001 From: Laurent Coustet Date: Wed, 4 Jan 2017 18:07:30 +0100 Subject: [PATCH] Build: fix building using SIP 4.19+ --- poppler-qt4.sip | 2 +- types.sip | 22 +++--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/poppler-qt4.sip b/poppler-qt4.sip index 96c1fcd..f779c3d 100644 --- a/poppler-qt4.sip +++ b/poppler-qt4.sip @@ -1,4 +1,4 @@ -%Module(name=popplerqt4, version=0) +%Module(name=popplerqt4) /* * Bindings for Poppler-Qt4 to Python diff --git a/types.sip b/types.sip index c692d55..0928f30 100644 --- a/types.sip +++ b/types.sip @@ -182,7 +182,7 @@ template if ((l = PyList_New(sipCpp->size())) == NULL) return NULL; - const sipMappedType* qlinkedlist_type = sipFindMappedType("QLinkedList"); + const sipTypeDef* qlinkedlist_type = sipFindType("QLinkedList"); // Set the list elements. for (int i = 0; i < sipCpp->size(); ++i) @@ -190,7 +190,7 @@ template QLinkedList* t = new QLinkedList(sipCpp->at(i)); PyObject *tobj; -if ((tobj = sipConvertFromMappedType(t, qlinkedlist_type, sipTransferObj)) == NULL) +if ((tobj = sipConvertFromType(t, qlinkedlist_type, sipTransferObj)) == NULL) { Py_DECREF(l); delete t; @@ -203,7 +203,7 @@ template %End %ConvertToTypeCode - const sipMappedType* qlinkedlist_type = sipFindMappedType("QLinkedList"); + const sipTypeDef* qlinkedlist_type = sipFindType("QLinkedList"); // Check the type if that is all that is required. if (sipIsErr == NULL) @@ -212,7 +212,7 @@ template return 0; for (int i = 0; i < PySequence_Size(sipPy); ++i) - if (!sipCanConvertToMappedType(PySequence_ITEM(sipPy, i), qlinkedlist_type, SIP_NOT_NONE)) + if (!sipCanConvertToType(PySequence_ITEM(sipPy, i), qlinkedlist_type, SIP_NOT_NONE)) return 0; return 1; @@ -224,16 +224,24 @@ template for (int i = 0; i < PySequence_Size(sipPy); ++i) { int state; -QLinkedList * t = reinterpret_cast< QLinkedList * >(sipConvertToMappedType(PySequence_ITEM(sipPy, i), qlinkedlist_type, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr)); +QLinkedList *t = reinterpret_cast *>( +sipConvertToType(PySequence_ITEM(sipPy, i), +qlinkedlist_type, +sipTransferObj, +SIP_NOT_NONE, +&state, +sipIsErr +) +); if (*sipIsErr) { - sipReleaseInstance(t, sipClass_TYPE, state); + sipReleaseType(t, qlinkedlist_type, state); delete ql; return 0; } ql->append(*t); -sipReleaseInstance(t, sipClass_TYPE, state); +sipReleaseType(t, qlinkedlist_type, state); } *sipCppPtr = ql;
commit python-poppler-qt4 for openSUSE:Factory
Hello community, here is the log from the commit of package python-poppler-qt4 for openSUSE:Factory checked in at 2015-06-23 11:57:30 Comparing /work/SRC/openSUSE:Factory/python-poppler-qt4 (Old) and /work/SRC/openSUSE:Factory/.python-poppler-qt4.new (New) Package is "python-poppler-qt4" Changes: --- /work/SRC/openSUSE:Factory/python-poppler-qt4/python-poppler-qt4.changes 2015-03-16 07:01:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-poppler-qt4.new/python-poppler-qt4.changes 2015-06-23 11:57:32.0 +0200 @@ -1,0 +2,5 @@ +Sun Jun 14 19:36:11 UTC 2015 - corne...@solcon.nl + +- Switch to python 3 + +--- Other differences: -- ++ python-poppler-qt4.spec ++ --- /var/tmp/diff_new_pack.LDmmjl/_old 2015-06-23 11:57:32.0 +0200 +++ /var/tmp/diff_new_pack.LDmmjl/_new 2015-06-23 11:57:32.0 +0200 @@ -20,7 +20,7 @@ Name: python-poppler-qt4 BuildRequires: libpoppler-qt4-devel -BuildRequires: python-qt4-devel +BuildRequires: python3-qt4-devel Summary:Python binding to poppler-qt4 License:LGPL-2.1+ Group: Development/Libraries/Python @@ -38,15 +38,15 @@ %setup -q %build -python setup.py build +python3 setup.py build %install -python setup.py install --prefix=%{_prefix} --root="%{buildroot}" +python3 setup.py install --prefix=%{_prefix} --root="%{buildroot}" %files %defattr(-,root,root) %doc ChangeLog LICENSE README.rst TODO -%{python_sitearch}/popplerqt4.so -%{python_sitearch}/python_poppler_qt4*.egg-info +%{python3_sitearch}/popplerqt4*.so +%{python3_sitearch}/python_poppler_qt4*.egg-info %changelog
commit python-poppler-qt4 for openSUSE:Factory
Hello community, here is the log from the commit of package python-poppler-qt4 for openSUSE:Factory checked in at 2015-03-16 07:01:16 Comparing /work/SRC/openSUSE:Factory/python-poppler-qt4 (Old) and /work/SRC/openSUSE:Factory/.python-poppler-qt4.new (New) Package is "python-poppler-qt4" Changes: --- /work/SRC/openSUSE:Factory/python-poppler-qt4/python-poppler-qt4.changes 2015-02-16 07:36:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-poppler-qt4.new/python-poppler-qt4.changes 2015-03-16 07:01:24.0 +0100 @@ -1,0 +2,12 @@ +Sun Mar 8 14:41:35 UTC 2015 - corne...@solcon.nl + +- Update to 0.24.0: + * Added version() function, returning the version of python-poppler-qt4 +as a tuple of ints e.g. (0, 18, 3) + * Added poppler_version() function, returning the version of the Poppler- +Qt4 library (if the version could be determined on build time), as a +tuple of ints, e.g. (0, 24, 5). If on build time the version of +Poppler-Qt4 could not be determined and was not specified, an empty +tuple might be returned. + +--- Old: python-poppler-qt4-0.18.2.tar.gz New: python-poppler-qt4-0.24.0.tar.gz Other differences: -- ++ python-poppler-qt4.spec ++ --- /var/tmp/diff_new_pack.2pSEpc/_old 2015-03-16 07:01:25.0 +0100 +++ /var/tmp/diff_new_pack.2pSEpc/_new 2015-03-16 07:01:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-poppler-qt4 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 LISA GmbH, Bingen, Germany. # Copyright (c) 2012 Johannes Engel # @@ -24,7 +24,7 @@ Summary:Python binding to poppler-qt4 License:LGPL-2.1+ Group: Development/Libraries/Python -Version:0.18.2 +Version:0.24.0 Release:0 Url:https://github.com/wbsoft/python-poppler-qt4 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -45,7 +45,7 @@ %files %defattr(-,root,root) -%doc ChangeLog LICENSE README TODO +%doc ChangeLog LICENSE README.rst TODO %{python_sitearch}/popplerqt4.so %{python_sitearch}/python_poppler_qt4*.egg-info ++ python-poppler-qt4-0.18.2.tar.gz -> python-poppler-qt4-0.24.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-poppler-qt4-0.18.2/.gitignore new/python-poppler-qt4-0.24.0/.gitignore --- old/python-poppler-qt4-0.18.2/.gitignore2015-01-09 13:29:37.0 +0100 +++ new/python-poppler-qt4-0.24.0/.gitignore2015-02-18 00:09:12.0 +0100 @@ -1,3 +1,4 @@ +version.sip *.pyc *~ build/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-poppler-qt4-0.18.2/ChangeLog new/python-poppler-qt4-0.24.0/ChangeLog --- old/python-poppler-qt4-0.18.2/ChangeLog 2015-01-09 13:29:37.0 +0100 +++ new/python-poppler-qt4-0.24.0/ChangeLog 2015-02-18 00:09:12.0 +0100 @@ -1,3 +1,13 @@ +Version 0.18.3 -- + +* Added version() function, returning the version of python-poppler-qt4 + as a tuple of ints e.g. (0, 18, 3) +* Added poppler_version() function, returning the version of the Poppler- + Qt4 library (if the version could be determined on build time), as a + tuple of ints, e.g. (0, 24, 5). If on build time the version of + Poppler-Qt4 could not be determined and was not specified, an empty + tuple might be returned. + Version 0.18.2 -- January 9th, 2015 * Tested with Python 2.6, 2.7, 3.2, 3.3, 3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-poppler-qt4-0.18.2/MANIFEST.in new/python-poppler-qt4-0.24.0/MANIFEST.in --- old/python-poppler-qt4-0.18.2/MANIFEST.in 2015-01-09 13:29:37.0 +0100 +++ new/python-poppler-qt4-0.24.0/MANIFEST.in 2015-02-18 00:09:12.0 +0100 @@ -1,3 +1,5 @@ -include README INSTALL LICENSE TODO ChangeLog MANIFEST.in +include README.rst INSTALL LICENSE TODO ChangeLog +include MANIFEST.in setup.cfg include *.py include *.sip +exclude version.sip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-poppler-qt4-0.18.2/README new/python-poppler-qt4-0.24.0/README --- old/python-poppler-qt4-0.18.2/README2015-01-09 13:29:37.0 +0100 +++ new/python-poppler-qt4-0.24.0/README1970-01-01 01:00:00.0 +0100 @@ -1,49 +0,0 @@ -python-poppler-qt4 -== - -A Python binding for libpoppler-qt4 that aims for completeness and for being -actively maintained. - -Created and currently maintained by Wilbert Berendsen . - -Homepa
commit python-poppler-qt4 for openSUSE:Factory
Hello community, here is the log from the commit of package python-poppler-qt4 for openSUSE:Factory checked in at 2015-02-16 07:36:27 Comparing /work/SRC/openSUSE:Factory/python-poppler-qt4 (Old) and /work/SRC/openSUSE:Factory/.python-poppler-qt4.new (New) Package is "python-poppler-qt4" Changes: --- /work/SRC/openSUSE:Factory/python-poppler-qt4/python-poppler-qt4.changes 2014-04-11 13:42:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-poppler-qt4.new/python-poppler-qt4.changes 2015-02-16 07:36:31.0 +0100 @@ -1,0 +2,6 @@ +Fri Feb 13 22:33:03 UTC 2015 - corne...@solcon.nl + +- Update to 0.18.2: + * Support PyQt's "new" build system + +--- Old: python-poppler-qt4-0.18.1.tar.gz New: python-poppler-qt4-0.18.2.tar.gz Other differences: -- ++ python-poppler-qt4.spec ++ --- /var/tmp/diff_new_pack.F2gQii/_old 2015-02-16 07:36:32.0 +0100 +++ /var/tmp/diff_new_pack.F2gQii/_new 2015-02-16 07:36:32.0 +0100 @@ -1,9 +1,9 @@ # # spec file for package python-poppler-qt4 # +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 LISA GmbH, Bingen, Germany. # Copyright (c) 2012 Johannes Engel -# Copyright (c) 2014 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 @@ -17,15 +17,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: python-poppler-qt4 BuildRequires: libpoppler-qt4-devel BuildRequires: python-qt4-devel +Summary:Python binding to poppler-qt4 License:LGPL-2.1+ Group: Development/Libraries/Python -Summary:Python binding to poppler-qt4 -Version:0.18.1 +Version:0.18.2 Release:0 Url:https://github.com/wbsoft/python-poppler-qt4 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ python-poppler-qt4-0.18.1.tar.gz -> python-poppler-qt4-0.18.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-poppler-qt4-0.18.1/ChangeLog new/python-poppler-qt4-0.18.2/ChangeLog --- old/python-poppler-qt4-0.18.1/ChangeLog 2014-02-18 09:35:10.0 +0100 +++ new/python-poppler-qt4-0.18.2/ChangeLog 2015-01-09 13:29:37.0 +0100 @@ -1,3 +1,9 @@ +Version 0.18.2 -- January 9th, 2015 + +* Tested with Python 2.6, 2.7, 3.2, 3.3, 3.4 +* Support PyQt's new build system, contributed by Philipp Lorenz, + fixing issue #6 + Version 0.18.1 -- February 18th, 2014 * Tested with Python 2.6, 2.7, 3.2, 3.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-poppler-qt4-0.18.1/poppler-qt4.sip new/python-poppler-qt4-0.18.2/poppler-qt4.sip --- old/python-poppler-qt4-0.18.1/poppler-qt4.sip 2014-02-18 09:35:10.0 +0100 +++ new/python-poppler-qt4-0.18.2/poppler-qt4.sip 2015-01-09 13:29:37.0 +0100 @@ -82,8 +82,6 @@ %End %If(POPPLER_V0_24_0 -) ThinLineSolid = 0x0020, -%End -%If(POPPLER_V0_24_0 -) ThinLineShape = 0x0040, %End }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-poppler-qt4-0.18.1/setup.py new/python-poppler-qt4-0.18.2/setup.py --- old/python-poppler-qt4-0.18.1/setup.py 2014-02-18 09:35:10.0 +0100 +++ new/python-poppler-qt4-0.18.2/setup.py 2015-01-09 13:29:37.0 +0100 @@ -2,11 +2,14 @@ project = dict( name = 'python-poppler-qt4', -version = '0.18.1', +version = '0.18.2', description = 'A Python binding to Poppler-Qt4', -long_description = \ -'A Python binding to Poppler-Qt4 that aims for ' \ -'completeness and for being actively maintained.', +long_description = ( +'A Python binding to Poppler-Qt4 that aims for ' +'completeness and for being actively maintained. ' +'Using this module you can access the contents of PDF files ' +'inside PyQt4 applications.' +), maintainer = 'Wilbert Berendsen', maintainer_email = 'wbs...@xs4all.nl', url = 'https://github.com/wbsoft/python-poppler-qt4', @@ -53,14 +56,6 @@ pass ### end -import PyQt4.pyqtconfig -config = PyQt4.pyqtconfig.Configuration() - -pyqt_sip_dir = config.pyqt_sip_dir -pyqt_sip_flags = config.pyqt_sip_flags -qt_inc_dir = config.qt_inc_dir - - def pkg_config(package, attrs=None, include_only=False): """parse the output of pkg-config for a package. @@ -104,17 +99,8 @@ return tuple(map(int
commit python-poppler-qt4 for openSUSE:Factory
Hello community, here is the log from the commit of package python-poppler-qt4 for openSUSE:Factory checked in at 2014-04-11 13:41:59 Comparing /work/SRC/openSUSE:Factory/python-poppler-qt4 (Old) and /work/SRC/openSUSE:Factory/.python-poppler-qt4.new (New) Package is "python-poppler-qt4" Changes: New Changes file: --- /dev/null 2014-02-13 01:09:38.344032506 +0100 +++ /work/SRC/openSUSE:Factory/.python-poppler-qt4.new/python-poppler-qt4.changes 2014-04-11 13:42:00.0 +0200 @@ -0,0 +1,39 @@ +--- +Fri Apr 4 09:10:31 UTC 2014 - corne...@solcon.nl + +- Update description + +--- +Thu Apr 3 09:06:21 UTC 2014 - corne...@solcon.nl + +- Update to 0.18.0: + * Works with both Python 2 and Python 3 (tested: 2.6, 2.7, 3.2.3) + * some API updates + * fixed FormField issue + * setup.py circumvents sipdistutils < 4.14.2 not working with python 3 +- Update to 0.18.1: + * Tested with Python 2.6, 2.7, 3.2, 3.3 + * Fix setup.py error when using Python 2.6 (issue #1) +- Correct license to LGPL-2.1+ +- Clean up spec file a bit + +--- +Sat Nov 24 20:24:49 UTC 2012 - jcnen...@gmail.com + +- Update to 0.16.3 + +--- +Sat Sep 22 07:38:12 UTC 2012 - h...@urpla.net + +- apply current SVN changes + +--- +Sat Sep 22 05:26:21 UTC 2012 - h...@urpla.net + +- update to 0.16.2 + +--- +Sun Apr 24 03:00:34 CEST 2011 - h...@urpla.net + +- 0.16.1: initial version + New: python-poppler-qt4-0.18.1.tar.gz python-poppler-qt4.changes python-poppler-qt4.spec Other differences: -- ++ python-poppler-qt4.spec ++ # # spec file for package python-poppler-qt4 # # Copyright (c) 2011 LISA GmbH, Bingen, Germany. # Copyright (c) 2012 Johannes Engel # Copyright (c) 2014 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-poppler-qt4 BuildRequires: libpoppler-qt4-devel BuildRequires: python-qt4-devel License:LGPL-2.1+ Group: Development/Libraries/Python Summary:Python binding to poppler-qt4 Version:0.18.1 Release:0 Url:https://github.com/wbsoft/python-poppler-qt4 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0:%{name}-%{version}.tar.gz %description Python binding to poppler-qt4 %prep %setup -q %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root="%{buildroot}" %files %defattr(-,root,root) %doc ChangeLog LICENSE README TODO %{python_sitearch}/popplerqt4.so %{python_sitearch}/python_poppler_qt4*.egg-info %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org