Hello community, here is the log from the commit of package python-gphoto2 for openSUSE:Factory checked in at 2020-10-13 15:45:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gphoto2 (Old) and /work/SRC/openSUSE:Factory/.python-gphoto2.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gphoto2" Tue Oct 13 15:45:34 2020 rev:7 rq:841339 version:2.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gphoto2/python-gphoto2.changes 2020-04-09 23:17:48.894326361 +0200 +++ /work/SRC/openSUSE:Factory/.python-gphoto2.new.3486/python-gphoto2.changes 2020-10-13 15:46:08.469462539 +0200 @@ -1,0 +2,7 @@ +Mon Oct 12 16:47:56 UTC 2020 - aloi...@gmx.com + +- Update to version 2.2.3 + * Minor improvement in setup.py script. + * Minor improvements in example scripts. + +------------------------------------------------------------------- Old: ---- gphoto2-2.2.2.tar.gz New: ---- gphoto2-2.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gphoto2.spec ++++++ --- /var/tmp/diff_new_pack.tlhfTr/_old 2020-10-13 15:46:09.117462819 +0200 +++ /var/tmp/diff_new_pack.tlhfTr/_new 2020-10-13 15:46:09.121462821 +0200 @@ -17,7 +17,7 @@ Name: python-gphoto2 -Version: 2.2.2 +Version: 2.2.3 Release: 0 Summary: Python interface to libgphoto2 License: GPL-3.0-or-later @@ -30,7 +30,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libgphoto2) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description ++++++ gphoto2-2.2.2.tar.gz -> gphoto2-2.2.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/CHANGELOG.txt new/gphoto2-2.2.3/CHANGELOG.txt --- old/gphoto2-2.2.2/CHANGELOG.txt 2020-04-09 12:03:35.000000000 +0200 +++ new/gphoto2-2.2.3/CHANGELOG.txt 2020-10-12 12:13:27.000000000 +0200 @@ -15,6 +15,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. +Changes in 2.2.3: + 1/ Minor improvement in setup.py script. + 2/ Minor improvements in example scripts. + Changes in 2.2.2: 1/ Added Camera.autodetect alternative to gp_camera_autodetect. 2/ Added some deprecation warnings. Use 'python -Wd' to see them when running diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/PKG-INFO new/gphoto2-2.2.3/PKG-INFO --- old/gphoto2-2.2.2/PKG-INFO 2020-04-09 12:05:20.000000000 +0200 +++ new/gphoto2-2.2.3/PKG-INFO 2020-10-12 12:15:11.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: gphoto2 -Version: 2.2.2 +Version: 2.2.3 Summary: Python interface to libgphoto2 Home-page: https://github.com/jim-easterbrook/python-gphoto2 Author: Jim Easterbrook @@ -35,7 +35,7 @@ In most cases you should use your operating system's package manager to install these. The package names depend on the operating system. Look for ``libgphoto2-dev`` or ``libgphoto2-devel`` or something similar. - If you install libgphoto2 from source (e.g. to get a newer version) then you probably should not install the ``dev`` package as well. + If you install libgphoto2 from source (e.g. to get a newer version) then you probably don't need the ``dev`` package, but make sure that the ``pkg-config --cflags --libs libgphoto2`` command shows where you've installed your build. Installation and testing ------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/README.rst new/gphoto2-2.2.3/README.rst --- old/gphoto2-2.2.2/README.rst 2020-02-19 10:49:45.000000000 +0100 +++ new/gphoto2-2.2.3/README.rst 2020-10-12 11:34:44.000000000 +0200 @@ -27,7 +27,7 @@ In most cases you should use your operating system's package manager to install these. The package names depend on the operating system. Look for ``libgphoto2-dev`` or ``libgphoto2-devel`` or something similar. -If you install libgphoto2 from source (e.g. to get a newer version) then you probably should not install the ``dev`` package as well. +If you install libgphoto2 from source (e.g. to get a newer version) then you probably don't need the ``dev`` package, but make sure that the ``pkg-config --cflags --libs libgphoto2`` command shows where you've installed your build. Installation and testing ------------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/developer/README.txt new/gphoto2-2.2.3/developer/README.txt --- old/gphoto2-2.2.2/developer/README.txt 2020-02-24 09:33:51.000000000 +0100 +++ new/gphoto2-2.2.3/developer/README.txt 2020-10-12 08:41:07.000000000 +0200 @@ -37,6 +37,8 @@ 2.5.22 No change 2.5.23 Add GP_MIME_CR3 constant 2.5.24 Add GP_PORT_IP enum +2.5.25 No change +2.5.26 No change Documentation ------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/examples/cam-conf-view-gui.py new/gphoto2-2.2.3/examples/cam-conf-view-gui.py --- old/gphoto2-2.2.2/examples/cam-conf-view-gui.py 2019-08-10 12:46:10.000000000 +0200 +++ new/gphoto2-2.2.3/examples/cam-conf-view-gui.py 2020-05-09 09:16:52.000000000 +0200 @@ -20,7 +20,7 @@ # another camera config gui, with load/save settings to file, and live view # started: sdaau 2019, on with python3-gphoto2 and `sudo -H pip2 install gphoto2`, Ubuntu 18.04 -# uses camera-config-gui-oo.py, and code from focus-gui.py, time_lapse.py +# uses camera-config-gui.py, and code from focus-gui.py, time_lapse.py """ NOTE that properties are reported by the camera, depending on the camera state! On Canon S3 IS: @@ -59,7 +59,7 @@ THISSCRIPTDIR = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(1,THISSCRIPTDIR) -ccgoo = __import__('camera-config-gui-oo') +ccgoo = __import__('camera-config-gui') NOCAMIMG = "cam-conf-no-cam.png" APPNAME = "cam-conf-view-gui.py" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/examples/camera-config-gui.py new/gphoto2-2.2.3/examples/camera-config-gui.py --- old/gphoto2-2.2.2/examples/camera-config-gui.py 2019-03-27 17:43:48.000000000 +0100 +++ new/gphoto2-2.2.3/examples/camera-config-gui.py 2020-05-21 08:43:44.000000000 +0200 @@ -160,8 +160,9 @@ assert self.config.count_children() == 0 lo, hi, self.inc = self.config.get_range() value = self.config.get_value() - self.setRange(int(lo * self.inc), int(hi * self.inc)) - self.setValue(int(value * self.inc)) + self.setRange(max(int(lo / self.inc), -0x80000000), + min(int(hi / self.inc), 0x7fffffff)) + self.setValue(max(min(int(value / self.inc), 0x7fffffff), -0x80000000)) self.sliderReleased.connect(self.new_value) def new_value(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/setup.py new/gphoto2-2.2.3/setup.py --- old/gphoto2-2.2.2/setup.py 2020-02-20 18:35:21.000000000 +0100 +++ new/gphoto2-2.2.3/setup.py 2020-10-12 11:24:27.000000000 +0200 @@ -26,7 +26,7 @@ import sys # python-gphoto2 version -version = '2.2.2' +version = '2.2.3' # get gphoto2 library config cmd = ['pkg-config', '--modversion', 'libgphoto2'] @@ -91,6 +91,7 @@ sources = [os.path.join(mod_src_dir, file_name)], libraries = libraries, library_dirs = library_dirs, + runtime_library_dirs = library_dirs, include_dirs = include_dirs, extra_compile_args = extra_compile_args, )) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/src/swig-bi-py2-gp2.5/__init__.py new/gphoto2-2.2.3/src/swig-bi-py2-gp2.5/__init__.py --- old/gphoto2-2.2.2/src/swig-bi-py2-gp2.5/__init__.py 2020-04-09 12:05:07.000000000 +0200 +++ new/gphoto2-2.2.3/src/swig-bi-py2-gp2.5/__init__.py 2020-10-12 12:14:22.000000000 +0200 @@ -1,4 +1,4 @@ -__version__ = "2.2.2" +__version__ = "2.2.3" class GPhoto2Error(Exception): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/src/swig-bi-py3-gp2.5/__init__.py new/gphoto2-2.2.3/src/swig-bi-py3-gp2.5/__init__.py --- old/gphoto2-2.2.2/src/swig-bi-py3-gp2.5/__init__.py 2020-04-09 12:05:09.000000000 +0200 +++ new/gphoto2-2.2.3/src/swig-bi-py3-gp2.5/__init__.py 2020-10-12 12:14:24.000000000 +0200 @@ -1,4 +1,4 @@ -__version__ = "2.2.2" +__version__ = "2.2.3" class GPhoto2Error(Exception): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/src/swig-py2-gp2.5/__init__.py new/gphoto2-2.2.3/src/swig-py2-gp2.5/__init__.py --- old/gphoto2-2.2.2/src/swig-py2-gp2.5/__init__.py 2020-04-09 12:05:02.000000000 +0200 +++ new/gphoto2-2.2.3/src/swig-py2-gp2.5/__init__.py 2020-10-12 12:14:16.000000000 +0200 @@ -1,4 +1,4 @@ -__version__ = "2.2.2" +__version__ = "2.2.3" class GPhoto2Error(Exception): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gphoto2-2.2.2/src/swig-py3-gp2.5/__init__.py new/gphoto2-2.2.3/src/swig-py3-gp2.5/__init__.py --- old/gphoto2-2.2.2/src/swig-py3-gp2.5/__init__.py 2020-04-09 12:05:04.000000000 +0200 +++ new/gphoto2-2.2.3/src/swig-py3-gp2.5/__init__.py 2020-10-12 12:14:19.000000000 +0200 @@ -1,4 +1,4 @@ -__version__ = "2.2.2" +__version__ = "2.2.3" class GPhoto2Error(Exception):