Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libgphoto2 for openSUSE:Factory checked in at 2023-04-25 16:53:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgphoto2 (Old) and /work/SRC/openSUSE:Factory/.libgphoto2.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgphoto2" Tue Apr 25 16:53:20 2023 rev:135 rq:1082394 version:2.5.30 Changes: -------- --- /work/SRC/openSUSE:Factory/libgphoto2/libgphoto2.changes 2022-07-04 11:32:32.911991588 +0200 +++ /work/SRC/openSUSE:Factory/.libgphoto2.new.1533/libgphoto2.changes 2023-04-25 16:53:23.094130670 +0200 @@ -1,0 +2,10 @@ +Mon Apr 24 07:19:55 UTC 2023 - Marcus Meissner <meiss...@suse.com> + +- libgphoto2-enable-vusb-ptp.patch: enable virtual PTP camera in vusb + +------------------------------------------------------------------- +Sat Apr 22 19:43:26 UTC 2023 - Christopher Yeleighton <giecr...@stegny.2a.pl> + +- added %bcond_with vusb in case anyone needs a test drive + +------------------------------------------------------------------- New: ---- libgphoto2-enable-vusb-ptp.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgphoto2.spec ++++++ --- /var/tmp/diff_new_pack.8pUhkk/_old 2023-04-25 16:53:23.730137227 +0200 +++ /var/tmp/diff_new_pack.8pUhkk/_new 2023-04-25 16:53:23.734137267 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgphoto2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,16 @@ # +%{nil <URL: + https://github.com/gphoto/libgphoto2/issues/408#issuecomment-1472123588 > + } +%bcond_with vusb +%if %{with:vusb} +%define configure_vusb --enable-vusb --without-libusb --with-libusb-1.0=no +%else +%define configure_vusb %{nil} +%endif + %if %( pkg-config --modversion udev ) > 190 %define _udevrulesdir /usr/lib/udev/rules.d %else @@ -35,10 +45,8 @@ BuildRequires: libxml2-devel BuildRequires: lockdev-devel BuildRequires: pkg-config -BuildRequires: pkgconfig(udev) -%if 0%{?suse_version} > 1230 BuildRequires: systemd-rpm-macros -%endif +BuildRequires: pkgconfig(udev) URL: https://gphoto.sourceforge.io/ # bug437293 %ifarch ppc64 @@ -54,6 +62,7 @@ Source1: https://downloads.sourceforge.net/project/gphoto/libgphoto/%version/%name-%version.tar.xz.asc Source2: %name.keyring Source3: baselibs.conf +Patch0: libgphoto2-enable-vusb-ptp.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n libgphoto2-%major @@ -62,7 +71,7 @@ Requires(pre): /sbin/ldconfig Requires(post): /sbin/ldconfig Requires(post): udev -Requires(postun): udev +Requires(postun):udev %package -n libgphoto2_port12 Summary: Port drivers for the libgphoto2 digital camera library @@ -73,6 +82,7 @@ %package doc Summary: Documentation for libgphoto2 Group: Documentation/Other +BuildArch: noarch %package devel Summary: Development headers for libgphoto2 @@ -86,6 +96,7 @@ Summary: Development documentation for libgphoto2 Group: Documentation/HTML Recommends: libgphoto2-devel +BuildArch: noarch %description gPhoto (GNU Photo) is a set of libraries for previewing, retrieving, @@ -149,6 +160,7 @@ %prep %setup -q +%patch0 -p1 (cd doc && tar -xaf libgphoto2-api.html.tar.gz) %build @@ -157,7 +169,7 @@ %configure \ --with-doc-dir=%_defaultdocdir/%name \ --without-hal \ - --with-drivers=all + --with-drivers=all %configure_vusb make %{?_smp_mflags} %check ++++++ libgphoto2-enable-vusb-ptp.patch ++++++ Index: libgphoto2-2.5.30/libgphoto2_port/vusb/vcamera.h =================================================================== --- libgphoto2-2.5.30.orig/libgphoto2_port/vusb/vcamera.h +++ libgphoto2-2.5.30/libgphoto2_port/vusb/vcamera.h @@ -22,7 +22,7 @@ #ifndef IOLIBS_VUSB_VCAMERA_H #define IOLIBS_VUSB_VCAMERA_H -#undef FUZZ_PTP +#define FUZZ_PTP #include <stdio.h>