commit spacenavd for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package spacenavd for openSUSE:Factory 
checked in at 2020-04-07 10:27:42

Comparing /work/SRC/openSUSE:Factory/spacenavd (Old)
 and  /work/SRC/openSUSE:Factory/.spacenavd.new.3248 (New)


Package is "spacenavd"

Tue Apr  7 10:27:42 2020 rev:6 rq:790486 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/spacenavd/spacenavd.changes  2019-03-26 
15:43:40.872200729 +0100
+++ /work/SRC/openSUSE:Factory/.spacenavd.new.3248/spacenavd.changes
2020-04-07 10:28:25.398302926 +0200
@@ -1,0 +2,31 @@
+Tue Mar 31 15:36:18 UTC 2020 - Herbert Graeber 
+
+- Remove unnecessary  _service file
+
+---
+Sun Mar 22 17:19:36 UTC 2020 - Herbert Graeber 
+
+- Fix pidfile (/var/run -> /run)
+
+---
+Sun Mar 22 12:30:44 UTC 2020 - Herbert Graeber 
+
+- Bugfix release 0.7.1
+  * fixed build on gcc 10
+  * fixed configure script which failed to detect the version number correctly
+in release 0.7, incorrectly trying to rely on git to do so.
+- remove support for pre-systemd openSUSE releases
+- remove patch spacenavd-add-blacklist-and-device-ids.patch
+- remove patch spacenavd-add-missing-usbid.patch
+- remove patch spacenavd-0.6+git3066072.patch
+- remove patch spacenavd-fix-pidfile.patch
+- Release 0.7
+  * implemented the ability to log to syslog.
+  * ignore joystick devices when searching for USB devices (linux).
+  * added code to attempt to wrestle devices from the X server.
+  * added the new 3Dconnexion vendor id to the device matching logic.
+  * made builds reproducible by linking in alphabetical order.
+  * added option led = auto, to turn the LED on only when a client connects 
(linux).
+  * implemented a blacklist of USB device ids that should be ignored.
+
+---

Old:

  spacenavd-0.6+git3066072.patch
  spacenavd-0.6.tar.gz
  spacenavd-add-blacklist-and-device-ids.patch
  spacenavd-add-missing-usbid.patch

New:

  spacenavd-0.7.1.tar.gz
  spacenavd-fix-pidfile.patch



Other differences:
--
++ spacenavd.spec ++
--- /var/tmp/diff_new_pack.SAnVDX/_old  2020-04-07 10:28:26.274303901 +0200
+++ /var/tmp/diff_new_pack.SAnVDX/_new  2020-04-07 10:28:26.278303905 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package spacenavd
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2009,2011,2013 Herbert Graeber
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,30 +17,23 @@
 #
 
 
-%if 0%{?suse_version} > 1140
-%define has_systemd 1
-BuildRequires:  systemd-rpm-macros
-%{?systemd_requires}
-%endif
 Name:   spacenavd
-Version:0.6
+Version:0.7.1
 Release:0
 Summary:Daemon for 3Dconnexion devices
 License:GPL-3.0-or-later
 Group:  Hardware/Other
 URL:http://spacenav.sourceforge.net
-Source: 
https://github.com/FreeSpacenav/%{name}/archive/%{name}-%{version}.tar.gz
+Source: 
https://github.com/FreeSpacenav/spacenavd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:spacenavd.8.gz
 Source2:spnavrc
 Source3:xinitrc-%{name}
 Source4:%{name}.service
-Patch1: spacenavd-0.6+git3066072.patch
-# PATCH-FIX-UPSTREAM spacenavd-add-blacklist-and-device-ids.patch #4
-Patch2: spacenavd-add-blacklist-and-device-ids.patch
-# PATCH-FIX-UPSTREAM spacenavd-add-missing-usbid.patch #12
-Patch3: spacenavd-add-missing-usbid.patch
+Patch1: %{name}-fix-pidfile.patch
 BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(x11)
+%{?systemd_requires}
 Requires:   xdpyinfo
 Supplements:modalias(usb:v046DpC603d*dc*dsc*dp*ic*isc*ip*)
 Supplements:modalias(usb:v046DpC605d*dc*dsc*dp*ic*isc*ip*)
@@ -63,10 +56,8 @@
 any program that was written for the 3Dconnexion driver.
 
 %prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 %build
 %configure
@@ -80,35 +71,20 @@
 install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/spnavrc
 install -D -m 755 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/%{name}
 ln -sf service %{buildroot}%{_sbindir}/rc%{name}
-%if 0%{?has_systemd}
 install -D -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service
-%endif
 
 %post
 %fillup_only -n %{name}
-%if 0%{?has_systemd}
 %service_add_post %{name}.service
-%endif
 
 %postun
-%if 0%{?has_systemd}
 %service_del_postun %{name}.service
-%else
-%restart_on_update %{name}
-%insserv_cleanup
-%endif
 
 %pre
-%if 0%{?has_systemd}
 

commit spacenavd for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package spacenavd for openSUSE:Factory 
checked in at 2019-03-26 15:42:51

Comparing /work/SRC/openSUSE:Factory/spacenavd (Old)
 and  /work/SRC/openSUSE:Factory/.spacenavd.new.25356 (New)


Package is "spacenavd"

Tue Mar 26 15:42:51 2019 rev:5 rq:685832 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/spacenavd/spacenavd.changes  2018-08-31 
10:44:58.747241021 +0200
+++ /work/SRC/openSUSE:Factory/.spacenavd.new.25356/spacenavd.changes   
2019-03-26 15:43:40.872200729 +0100
@@ -1,0 +2,7 @@
+Sat Mar 16 11:30:05 UTC 2019 - Herbert Graeber 
+
+- Add two upstream patches for proper handling of device ids:
+  * spacenavd-add-blacklist-and-device-ids.patch
+  * spacenavd-add-missing-usbid.patch
+
+---

New:

  spacenavd-add-blacklist-and-device-ids.patch
  spacenavd-add-missing-usbid.patch



Other differences:
--
++ spacenavd.spec ++
--- /var/tmp/diff_new_pack.cM1agD/_old  2019-03-26 15:43:41.648200285 +0100
+++ /var/tmp/diff_new_pack.cM1agD/_new  2019-03-26 15:43:41.652200283 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package spacenavd
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2009,2011,2013 Herbert Graeber
 #
 # All modifications and additions to the file contributed by third parties
@@ -35,6 +35,10 @@
 Source3:xinitrc-%{name}
 Source4:%{name}.service
 Patch1: spacenavd-0.6+git3066072.patch
+# PATCH-FIX-UPSTREAM spacenavd-add-blacklist-and-device-ids.patch #4
+Patch2: spacenavd-add-blacklist-and-device-ids.patch
+# PATCH-FIX-UPSTREAM spacenavd-add-missing-usbid.patch #12
+Patch3: spacenavd-add-missing-usbid.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(x11)
 Requires:   xdpyinfo
@@ -61,6 +65,8 @@
 %prep
 %setup -q -n %{name}-%{name}-%{version}
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 %configure

++ spacenavd-add-blacklist-and-device-ids.patch ++
commit 68bf97e0458605b671c69744e3bc45e5ca2e9b2b
Author: John Tsiombikas 
Date:   Sun Oct 28 02:42:46 2018 +0300

- fixed github issue #4: added a blacklist for USB device matching, and
expanded the device list with new USB IDs provided by Herbert Graeber.

diff --git a/src/cfgfile.h b/src/cfgfile.h
index 8d56df3..a959610 100644
--- a/src/cfgfile.h
+++ b/src/cfgfile.h
@@ -1,6 +1,6 @@
 /*
-spnavcfg - an interactive GUI configurator for the spacenavd daemon.
-Copyright (C) 2007-2013 John Tsiombikas 
+spacenavd - a free software replacement driver for 6dof space-mice.
+Copyright (C) 2007-2018 John Tsiombikas 
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/dev.c b/src/dev.c
index b4e5b4b..31b435c 100644
--- a/src/dev.c
+++ b/src/dev.c
@@ -200,56 +200,86 @@ struct device *get_devices(void)
 #define VENDOR_3DCONNEXION 0x256f
 
 static int devid_list[][2] = {
-   /* 3Dconnexion devices */
-   {0x46d, 0xc603},/* spacemouse plus XT */
-   {0x46d, 0xc605},/* cadman */
-   {0x46d, 0xc606},/* spacemouse classic */
-   {0x46d, 0xc621},/* spaceball 5000 */
-   {0x46d, 0xc623},/* space traveller */
-   {0x46d, 0xc625},/* space pilot */
-   {0x46d, 0xc626},/* space navigator */
-   {0x46d, 0xc627},/* space explorer */
-   {0x46d, 0xc628},/* space navigator for notebooks*/
-   {0x46d, 0xc629},/* space pilot pro*/
-   {0x46d, 0xc62b},/* space mouse pro*/
-   {0x46d, 0xc640},/* nulooq */
+   {0x046d, 0xc603},   /* spacemouse plus XT */
+   {0x046d, 0xc605},   /* cadman */
+   {0x046d, 0xc606},   /* spacemouse classic */
+   {0x046d, 0xc621},   /* spaceball 5000 */
+   {0x046d, 0xc623},   /* space traveller */
+   {0x046d, 0xc625},   /* space pilot */
+   {0x046d, 0xc626},   /* space navigator */
+   {0x046d, 0xc627},   /* space explorer */
+   {0x046d, 0xc628},   /* space navigator for notebooks*/
+   {0x046d, 0xc629},   /* space pilot pro*/
+   {0x046d, 0xc62b},   /* space mouse pro*/
+   {0x046d, 0xc640},   /* nulooq */
+   {0x256f, 0xc62e},   /* spacemouse wireless */
+   {0x256f, 0xc631},   /* spacemouse pro wireless */
+   {0x256f, 0xc632},   /* spacemouse pro wireless receiver */
+   {0x256f, 0xc633},   /* spacemouse enterprise */
+   {0x256f, 0xc635},   /* spacemouse compact */
+   {0x256f, 0xc636},   /* spacemouse module */
 

commit spacenavd for openSUSE:Factory

2018-08-31 Thread root
Hello community,

here is the log from the commit of package spacenavd for openSUSE:Factory 
checked in at 2018-08-31 10:44:38

Comparing /work/SRC/openSUSE:Factory/spacenavd (Old)
 and  /work/SRC/openSUSE:Factory/.spacenavd.new (New)


Package is "spacenavd"

Fri Aug 31 10:44:38 2018 rev:4 rq:631854 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/spacenavd/spacenavd.changes  2018-02-19 
13:01:17.569374023 +0100
+++ /work/SRC/openSUSE:Factory/.spacenavd.new/spacenavd.changes 2018-08-31 
10:44:58.747241021 +0200
@@ -1,0 +2,65 @@
+Sat Aug 25 21:52:43 UTC 2018 - herb...@graeber-clan.de
+
+- Add patch spacenavd-0.6+git3066072.patch with some bug fixes und support
+  for newer devices: 
+  * minor formatting fixes old and new, and usage of the LED_AUTO enumeration
+in src/client.c
+  * LED state enumeration instead of magic numbers, since it's no longer
+a simple boolean value.
+  * improve device information provided by daemon
+  * updated readme file
+  * replaced the svn $rev$ substitution with git describe falling back to
+git rev-parse HEAD
+  * fixed axis detection, and added detection of the number of buttons for USB
+devices on linux
+  * Applied Wiedemann's patch (sf#6) to link object files in alphabetical order
+  * Added missing include to dev_usb_darwin.c closing bug #10
+  * fixed a small bug in device detection which sometimes skipped a single
+character during parsing
+  * added rule to match devices with the new 3Dconnexion vendor id (0x256f)
+  * Better example-spnavrc descriptions - remove some debugging printfs which
+where commited accidentally previously
+  * moved axis remapping before checking deadzones
+  * trying to remove devices from Xinput
+  * added all the missing options to the example-spnavrc file
+  * possible fix for bug #9
+  * added code to skip joystick device files while parsing 
/proc/bus/input/devices
+- Drop reproducible.patch
+
+---
+Sat Aug 25 20:38:40 UTC 2018 - herb...@graeber-clan.de
+
+- Add modalias supplements for all supported devices
+
+---
+Sat Aug 25 19:30:10 UTC 2018 - herb...@graeber-clan.de
+
+- The repository moved to github
+- Rerelease of version 0.6
+  * added example config file
+  * fixed setup_init failing to detect the correct runlevel in some cases.
+  * fixed calculation of time periods in motion events.
+  * code refactoring to support multiple operating systems.
+  * added freebsd and macos x support for serial devices.
+  * fixed build when system headers don't define EV_SYN (linux).
+  * added dependency tracking in the makefile.
+  * added separate sensitivity control for each axis.
+  * added separate deadzone control for each axis.
+  * added option to avoid grabbing the device.
+  * fixed spurious error messages on SIGHUP.
+  * added auto-repeat non-zero events option (useful for serial devices).
+  * added button number remapping configuration option.
+  * added keyboard emulation option.
+  * abort if spacenavd is already running.
+  * heed DESTDIR env var in makefile install and uninstall targets.
+  * merged serial magellan protocol code.
+  * added systemd init file under contrib/.
+  * merged Ralf Morel's patch for multiple device support.
+  * improved XAUTHORITY handling.
+  * improved device selection with predicate callback and USB ids.
+  * added joystick support.
+  * fixed axis remapping for some HID devices.
+  * fixed race condition in X detection.
+  * applied Christian Ehrlicher's patches fixing a number of memory bugs.
+
+---

Old:

  reproducible.patch

New:

  spacenavd-0.6+git3066072.patch



Other differences:
--
++ spacenavd.spec ++
--- /var/tmp/diff_new_pack.xNm4iN/_old  2018-08-31 10:44:59.827242320 +0200
+++ /var/tmp/diff_new_pack.xNm4iN/_new  2018-08-31 10:44:59.831242324 +0200
@@ -13,32 +13,44 @@
 # 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/
 #
 
 
+%if 0%{?suse_version} > 1140
+%define has_systemd 1
+BuildRequires:  systemd-rpm-macros
+%{?systemd_requires}
+%endif
 Name:   spacenavd
 Version:0.6
 Release:0
 Summary:Daemon for 3Dconnexion devices
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Hardware/Other
-Url:http://spacenav.sourceforge.net
-Source: http://downloads.sf.net/spacenav/%{name}-%{version}.tar.gz
+URL:

commit spacenavd for openSUSE:Factory

2018-02-19 Thread root
Hello community,

here is the log from the commit of package spacenavd for openSUSE:Factory 
checked in at 2018-02-19 13:01:12

Comparing /work/SRC/openSUSE:Factory/spacenavd (Old)
 and  /work/SRC/openSUSE:Factory/.spacenavd.new (New)


Package is "spacenavd"

Mon Feb 19 13:01:12 2018 rev:3 rq:577377 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/spacenavd/spacenavd.changes  2017-05-31 
12:19:28.914604974 +0200
+++ /work/SRC/openSUSE:Factory/.spacenavd.new/spacenavd.changes 2018-02-19 
13:01:17.569374023 +0100
@@ -1,0 +2,5 @@
+Wed Feb 14 19:06:12 UTC 2018 - crrodrig...@opensuse.org
+
+- Remove buildRequires on xorg-x11-devel 
+
+---



Other differences:
--
++ spacenavd.spec ++
--- /var/tmp/diff_new_pack.71JbKI/_old  2018-02-19 13:01:19.089319208 +0100
+++ /var/tmp/diff_new_pack.71JbKI/_new  2018-02-19 13:01:19.093319064 +0100
@@ -1,19 +1,29 @@
 #
 # spec file for package spacenavd
 #
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2009,2011,2013 Herbert Graeber
 #
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# 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/
 #
 
+
 Name:  spacenavd
 Version:   0.6
 Release:   0
 Summary:   Daemon for 3Dconnexion devices
-Group: Hardware/Other
 License:   GPL-3.0+
-URL:   http://spacenav.sourceforge.net
+Group:  Hardware/Other
+Url:http://spacenav.sourceforge.net
 Source:http://downloads.sf.net/spacenav/%{name}-%{version}.tar.gz
 Source1:   spacenavd.8.gz
 Source2:   spnavrc
@@ -22,8 +32,7 @@
 # PATCH-FIX-UPSTREAM bmwiedemann https://sourceforge.net/p/spacenav/patches/6/
 Patch0: reproducible.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: xorg-x11
-BuildRequires: xorg-x11-devel
+BuildRequires:  pkgconfig(x11)
 Requires:  xdpyinfo
 %if 0%{?suse_version} > 1140
 BuildRequires:  systemd-rpm-macros





commit spacenavd for openSUSE:Factory

2017-05-31 Thread root
Hello community,

here is the log from the commit of package spacenavd for openSUSE:Factory 
checked in at 2017-05-31 12:18:18

Comparing /work/SRC/openSUSE:Factory/spacenavd (Old)
 and  /work/SRC/openSUSE:Factory/.spacenavd.new (New)


Package is "spacenavd"

Wed May 31 12:18:18 2017 rev:2 rq:498709 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/spacenavd/spacenavd.changes  2017-01-25 
23:19:55.553628430 +0100
+++ /work/SRC/openSUSE:Factory/.spacenavd.new/spacenavd.changes 2017-05-31 
12:19:28.914604974 +0200
@@ -1,0 +2,6 @@
+Sat May 27 05:26:02 UTC 2017 - bwiedem...@suse.com
+
+- Add reproducible.patch to sort input files to make build reproducible
+  (boo#1041090)
+
+---

New:

  reproducible.patch



Other differences:
--
++ spacenavd.spec ++
--- /var/tmp/diff_new_pack.Ck2uGU/_old  2017-05-31 12:19:29.810478508 +0200
+++ /var/tmp/diff_new_pack.Ck2uGU/_new  2017-05-31 12:19:29.810478508 +0200
@@ -19,6 +19,8 @@
 Source2:   spnavrc
 Source3:   xinitrc-%{name}
 Source4:   %{name}.service
+# PATCH-FIX-UPSTREAM bmwiedemann https://sourceforge.net/p/spacenav/patches/6/
+Patch0: reproducible.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
 BuildRequires: xorg-x11
 BuildRequires: xorg-x11-devel
@@ -37,6 +39,7 @@
  
 %prep  
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++ reproducible.patch ++
sort input files (boo#1041090)

when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would differ.

See https://reproducible-builds.org/ for why this matters.

Index: spacenavd-0.6/Makefile.in
===
--- spacenavd-0.6.orig/Makefile.in
+++ spacenavd-0.6/Makefile.in
@@ -1,4 +1,4 @@
-src = $(wildcard src/*.c) $(wildcard src/serial/*.c) $(wildcard 
src/magellan/*.c)
+src = $(sort $(wildcard src/*.c) $(wildcard src/serial/*.c) $(wildcard 
src/magellan/*.c))
 hdr = $(wildcard src/*.h) $(wildcard src/serial/*.h) $(wildcard 
src/magellan/*.h)
 obj = $(src:.c=.o)
 dep = $(obj:.o=.d)