Hello community, here is the log from the commit of package pkTriggerCord for openSUSE:Factory checked in at 2019-12-04 13:50:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pkTriggerCord (Old) and /work/SRC/openSUSE:Factory/.pkTriggerCord.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pkTriggerCord" Wed Dec 4 13:50:03 2019 rev:5 rq:750220 version:0.85.00 Changes: -------- --- /work/SRC/openSUSE:Factory/pkTriggerCord/pkTriggerCord.changes 2018-05-15 10:33:23.664204874 +0200 +++ /work/SRC/openSUSE:Factory/.pkTriggerCord.new.4691/pkTriggerCord.changes 2019-12-04 14:19:22.462387268 +0100 @@ -1,0 +2,54 @@ +Thu Nov 21 08:23:14 UTC 2019 - Jiri Slaby <jsl...@suse.com> + +- update to 0.85.00 + * K-1 battery fields fix + * K-70: read one push bracketing field + * Using one push bracketing field in command line + * Print out command line in debug mode + * K-70 bulb mode bugfix + * --settings + * K-1 bulb mode bugfix (testing) + * --dangerous no longer required for K-70 + * bulb_mode setting reading for K-70, K-50, K-01 + * better handling of unknown and n/a settings + * K-x settings parser (very simple) + * Checking both both /dev/block and /dev + * Android: using gradle instead of ant + * Android: nicer image download indicator + * GUI ISO table bugfix + * Updating lens info database ( exiftool 10.70 ) + * Android: better support of landscape mode + * GTK code cleanup + * Requires at least gtk+ 2.18 + * GTK status info/status hex bugfix + * Using command 0x02 0x00 for buffer mask (K-70, K-3II) + * Possibility to specify stdout as output file using - + * Default mode prints out status info instead of taking a picture + * using_aperture_ring setting reading for K-70 + * shake_reduction setting reading for K-70 + * astrotracer setting reading for K70, K-3II + * horizon_correction setting reading for K-70 + * astrotracer timer sec setting reading for K-3II + * K-3II bulb mode bugfix (testing) + * Restore bulb_timer, astrotracer fields after bulb + * CLI: Support for single buffer mode mode (K-70) + * GUI: Settings info + * GUI: Support for single buffer mode mode (K-70) + * Testing support for KP + * K-70 GUI image save bugfixes + * Android: Better error message if root access is missing. + * GUI ISO table simplification + * GUI Preview image bugfix + * Filename extension bugfixes + * Avoid double unrecognized option error message + * Show error message if servermode is specified in Windows + * Human readable selected/focused af point (for 11 AF points) + * K-70 AF selection mode reading hack + * K-70 reading selected af point + * --select_af_point also accepts raw numerical values + * Testing support for K-1 II +- add 0001-Makefile-remove-external-target.patch to fix build +- add 0001-rules-handle-permissions-by-uaccess.patch to switch from + groups to uaccess (bnc#1157352) -- dropped setcap mess + +------------------------------------------------------------------- Old: ---- pkTriggerCord-0.84.04.src.tar.gz New: ---- 0001-Makefile-remove-external-target.patch 0001-rules-handle-permissions-by-uaccess.patch pkTriggerCord-0.85.00.src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pkTriggerCord.spec ++++++ --- /var/tmp/diff_new_pack.RXtdqt/_old 2019-12-04 14:19:23.018387737 +0100 +++ /var/tmp/diff_new_pack.RXtdqt/_new 2019-12-04 14:19:23.022387740 +0100 @@ -1,7 +1,7 @@ # # spec file for package pkTriggerCord # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,55 +12,56 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sname %(echo %{name}|tr A-Z a-z) Summary: Remote control program for Pentax DSLR cameras -License: LGPL-3.0 +License: LGPL-3.0-only Group: Hardware/Camera Name: pkTriggerCord -Version: 0.84.04 +Version: 0.85.00 Release: 0 Source: https://github.com/asalamon74/pktriggercord/releases/download/v%{version}/%{name}-%{version}.src.tar.gz +Patch0: 0001-Makefile-remove-external-target.patch +Patch1: 0001-rules-handle-permissions-by-uaccess.patch Url: http://pktriggercord.melda.info/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc BuildRequires: gtk2-devel BuildRequires: make -Requires(post): libcap-progs %description pkTriggerCord is a remote control program for Pentax DSLR cameras. %prep -%setup -q -n %{sname}-%{version} +%autosetup -n %{sname}-%{version} -p1 %build -make clean -make %{?_smp_mflags} PREFIX=%{_prefix} CFLAGS="%optflags" +make %{?_smp_mflags} PREFIX=%{_prefix} CFLAGS="%optflags -Isrc/external/js0n" %install %{makeinstall} PREFIX=%{_prefix} -install -d %{buildroot}/%{_prefix}/lib/udev/rules.d/ -cp %{buildroot}/%{_sysconfdir}/udev/rules.d/*.rules %{buildroot}/%{_prefix}/lib/udev/rules.d/ +install -d %{buildroot}/%{_udevrulesdir} +cp %{buildroot}/%{_sysconfdir}/udev/rules.d/*.rules %{buildroot}/%{_udevrulesdir} rm -rf %{buildroot}/%{_sysconfdir}/udev/ - -%post -setcap CAP_SYS_RAWIO+eip %{_bindir}/%{sname}-cli -setcap CAP_SYS_RAWIO+eip %{_bindir}/%{sname} +pushd %{buildroot}/%{_udevrulesdir} +# move them before uaccess handling +for F in samsung.rules pentax.rules; do + mv 95_$F 40-$F +done +popd %files %defattr(-,root,root) -%doc Changelog COPYING BUGS +%doc Changelog BUGS +%license COPYING %{_bindir}/%{sname}* %{_datadir}/%{sname} %{_mandir}/*/%{sname}* -%dir %{_prefix}/lib/udev/ -%dir %{_prefix}/lib/udev/rules.d/ -%{_prefix}/lib/udev/rules.d/*.rules +%{_udevrulesdir}/*.rules %changelog ++++++ 0001-Makefile-remove-external-target.patch ++++++ From: Jiri Slaby <jirisl...@gmail.com> Date: Thu, 21 Nov 2019 09:53:15 +0100 Subject: Makefile: remove external target Patch-mainline: no References: build fix It causes rebuilds on each invokation. Signed-off-by: Jiri Slaby <jirisl...@gmail.com> --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 268803f096..e2fc6a7851 100644 --- a/Makefile +++ b/Makefile @@ -69,9 +69,9 @@ pslr_scsi.o: pslr_scsi_win.c pslr_scsi_linux.c pslr_scsi_openbsd.c $(JSONDIR)/js0n.o : $(JSONDIR)/js0n.c $(JSONDIR)/js0n.h $(CC) $(LIN_CFLAGS) -fPIC -c $< -o $@ -external: $(JSONDIR)/js0n.o +EXTERNAL=$(JSONDIR)/js0n.o -%.o : %.c %.h external +%.o : %.c %.h $(EXTERNAL) $(CC) $(LIN_CFLAGS) -DPKTDATADIR=\"$(PKTDATADIR)\" -fPIC -c $< -o $@ pktriggercord: pktriggercord.c $(OBJS) -- 2.24.0 ++++++ 0001-rules-handle-permissions-by-uaccess.patch ++++++ From: Jiri Slaby <jirisl...@gmail.com> Date: Thu, 21 Nov 2019 13:28:36 +0100 Subject: rules: handle permissions by uaccess Patch-mainline: no References: uaccess Do not make users the owner, let uaccess modules handle who can what. Signed-off-by: Jiri Slaby <jirisl...@gmail.com> --- pentax.rules | 8 ++++---- samsung.rules | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pentax.rules b/pentax.rules index 4079ad47dc..eff3f20ded 100644 --- a/pentax.rules +++ b/pentax.rules @@ -6,9 +6,9 @@ SUBSYSTEM!="scsi_generic", GOTO="pentax_rules_end" LABEL="pentax_rules_start" # WAIT_FOR_SYSFS="device/vendor" -ATTRS{vendor}=="PENTAX", ATTRS{model}=="DIGITAL_CAMERA", MODE="0666", GROUP="users" -ATTRS{vendor}=="PENTAX", ATTRS{model}=="DSC*", MODE="0666", GROUP="users" -ATTRS{vendor}=="RICOHIMG", ATTRS{model}=="DSC*", MODE="0666", GROUP="users" -ATTRS{vendor}=="PENTAX", ATTRS{model}=="K*", MODE="0666", GROUP="users" +ATTRS{vendor}=="PENTAX", ATTRS{model}=="DIGITAL_CAMERA", TAG+="uaccess" +ATTRS{vendor}=="PENTAX", ATTRS{model}=="DSC*", TAG+="uaccess" +ATTRS{vendor}=="RICOHIMG", ATTRS{model}=="DSC*", TAG+="uaccess" +ATTRS{vendor}=="PENTAX", ATTRS{model}=="K*", TAG+="uaccess" LABEL="pentax_rules_end" diff --git a/samsung.rules b/samsung.rules index e643a627cb..0c5e7ebc67 100644 --- a/samsung.rules +++ b/samsung.rules @@ -6,8 +6,8 @@ SUBSYSTEM!="scsi_generic", GOTO="samsung_rules_end" LABEL="samsung_rules_start" # WAIT_FOR_SYSFS="device/vendor" -ATTRS{vendor}=="SAMSUNG", ATTRS{model}=="DIGITAL_CAMERA", MODE="0666", GROUP="users" -ATTRS{vendor}=="SAMSUNG", ATTRS{model}=="DSC*", MODE="0666", GROUP="users" -ATTRS{vendor}=="SAMSUNG", ATTRS{model}=="K*", MODE="0666", GROUP="users" +ATTRS{vendor}=="SAMSUNG", ATTRS{model}=="DIGITAL_CAMERA", TAG+="uaccess" +ATTRS{vendor}=="SAMSUNG", ATTRS{model}=="DSC*", TAG+="uaccess" +ATTRS{vendor}=="SAMSUNG", ATTRS{model}=="K*", TAG+="uaccess" LABEL="samsung_rules_end" -- 2.24.0 ++++++ pkTriggerCord-0.84.04.src.tar.gz -> pkTriggerCord-0.85.00.src.tar.gz ++++++ ++++ 7424 lines of diff (skipped)