Hello community,

here is the log from the commit of package libgphoto2 for openSUSE:Factory 
checked in at 2017-07-17 09:00:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgphoto2 (Old)
 and      /work/SRC/openSUSE:Factory/.libgphoto2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgphoto2"

Mon Jul 17 09:00:12 2017 rev:113 rq:510594 version:2.5.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgphoto2/libgphoto2.changes    2017-06-10 
17:51:16.097562845 +0200
+++ /work/SRC/openSUSE:Factory/.libgphoto2.new/libgphoto2.changes       
2017-07-17 09:00:13.532315997 +0200
@@ -1,0 +2,6 @@
+Sun Jul 16 13:34:04 UTC 2017 - [email protected]
+
+- libgphoto2-fix-fuji.patch: check before using a ptp property that
+  is only available in some updated Fuji cameras (bsc#1048853)
+
+-------------------------------------------------------------------

New:
----
  libgphoto2-fix-fuji.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgphoto2.spec ++++++
--- /var/tmp/diff_new_pack.ppzPBz/_old  2017-07-17 09:00:15.292068211 +0200
+++ /var/tmp/diff_new_pack.ppzPBz/_new  2017-07-17 09:00:15.292068211 +0200
@@ -53,6 +53,7 @@
 Release:        0
 Source0:        
https://downloads.sourceforge.net/project/gphoto/libgphoto/%{version}/%{name}-%{version}.tar.bz2
 Source1:        
https://downloads.sourceforge.net/project/gphoto/libgphoto/%{version}//%{name}-%{version}.tar.bz2.asc
+Patch0:         libgphoto2-fix-fuji.patch
 Source2:        %name.keyring
 Source3:        baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -134,6 +135,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 (cd doc; tar xaf libgphoto2-api.html.tar.gz)
 
 %build


++++++ libgphoto2-fix-fuji.patch ++++++
commit 472a9461b457b4d08ecf10a93bb7f1efdc2124c0
Author: Marcus Meissner <[email protected]>
Date:   Mon Jun 19 20:13:14 2017 +0200

    ignore missing 0xd207 property on Fuji XT-2 without firmware update

diff --git a/camlibs/ptp2/config.c b/camlibs/ptp2/config.c
index 5a2a637f1..858f6bdbe 100644
--- a/camlibs/ptp2/config.c
+++ b/camlibs/ptp2/config.c
@@ -482,6 +482,10 @@ camera_prepare_capture (Camera *camera, GPContext *context)
                {
                        PTPPropertyValue propval;
 
+                       /* without the firmware update ... not an error... */
+                       if (!have_prop (camera, PTP_VENDOR_FUJI, 0xd207))
+                               return GP_OK;
+
                        propval.u16 = 0x0002;
                        C_PTP (ptp_setdevicepropvalue (params, 0xd207, 
&propval, PTP_DTC_UINT16));
                        return GP_OK;


Reply via email to