Hello community,

here is the log from the commit of package razercfg for openSUSE:Factory 
checked in at 2020-02-04 19:54:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/razercfg (Old)
 and      /work/SRC/openSUSE:Factory/.razercfg.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "razercfg"

Tue Feb  4 19:54:43 2020 rev:7 rq:770007 version:0.41

Changes:
--------
--- /work/SRC/openSUSE:Factory/razercfg/razercfg.changes        2019-03-18 
10:41:21.695272796 +0100
+++ /work/SRC/openSUSE:Factory/.razercfg.new.26092/razercfg.changes     
2020-02-04 19:54:44.509370192 +0100
@@ -1,0 +2,15 @@
+Tue Feb  4 01:40:38 UTC 2020 - Ferdinand Thiessen <[email protected]>
+
+- Removed upstream fixed 59a530d9456351b244ba19b24b2c4bfeaa4207ad.patch
+- Update to 0.41
+  * Added support for "Razer Deathadder 1800 edition/Korea PCBang"
+  * Deactivate Lachesis 5600 support (issues)
+
+-------------------------------------------------------------------
+Mon Feb  3 16:08:18 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- BuildRequire pkgconfig(udev) instead of udev: allow OBS to
+  shortcut through -mini flavors.
+- BuildRequire python3-base instead of the full python3 package.
+
+-------------------------------------------------------------------

Old:
----
  59a530d9456351b244ba19b24b2c4bfeaa4207ad.patch
  razercfg-0.40.tar.bz2
  razercfg-0.40.tar.bz2.asc

New:
----
  razercfg-0.41.tar.bz2
  razercfg-0.41.tar.bz2.asc

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

Other differences:
------------------
++++++ razercfg.spec ++++++
--- /var/tmp/diff_new_pack.gvYk2E/_old  2020-02-04 19:54:45.365370691 +0100
+++ /var/tmp/diff_new_pack.gvYk2E/_new  2020-02-04 19:54:45.365370691 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package razercfg
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,37 +12,35 @@
 # 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/
 #
 
 
 Name:           razercfg
-Version:        0.40
+Version:        0.41
 Release:        0
 Summary:        A Razer device configuration tool
 # Icons are http://creativecommons.org/licenses/by/4.0/
-License:        GPL-2.0+ and CC-BY-SA-4.0
+License:        GPL-2.0-or-later AND CC-BY-SA-4.0
 Group:          Hardware/Other
-Url:            http://bues.ch/cms/hacking/razercfg.html
-Source0:        http://bues.ch/razercfg/%{name}-%{version}.tar.bz2
-Source1:        http://bues.ch/razercfg/%{name}-%{version}.tar.bz2.asc
+URL:            https://bues.ch/cms/hacking/razercfg.html
+Source0:        https://bues.ch/razercfg/%{name}-%{version}.tar.bz2
+Source1:        https://bues.ch/razercfg/%{name}-%{version}.tar.bz2.asc
 Source98:       %{name}.keyring
 Source99:       %{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE razercfg-fix-install-in-libdir -- Install libraries in 
matching directories (e.g. lib64 for 64bit).
 # Reported upstream 21. July 2015
 Patch0:         razercfg-fix-install-in-libdir.patch
-# PATCH-FIX-UPSTREAM 59a530d9456351b244ba19b24b2c4bfeaa4207ad.patch -- 
https://github.com/mbuesch/razer/commit/59a530d9456351b244ba19b24b2c4bfeaa4207ad
-Patch1:         59a530d9456351b244ba19b24b2c4bfeaa4207ad.patch
-BuildRequires:  cmake >= 2.4
+BuildRequires:  cmake
 BuildRequires:  help2man
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libusb-1_0-devel
-BuildRequires:  python3
+BuildRequires:  python3-base
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  udev
 BuildRequires:  update-desktop-files
+BuildRequires:  pkgconfig(udev)
 Requires:       python3-qt5
-%{?systemd_requires}
+%{?systemd_ordering}
 
 %description
 Razercfg is the next generation Razer device configuration
@@ -52,7 +50,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %cmake
@@ -80,6 +77,7 @@
 
 %post
 %service_add_post razerd.service
+%tmpfiles_create %_tmpfilesdir/razerd.conf
 %icon_theme_cache_post
 udevadm control --reload-rules 2>&1 > /dev/null || :
 /sbin/ldconfig
@@ -105,7 +103,9 @@
 %{_bindir}/qrazercfg-applet
 %{_libdir}/librazer.so.1
 %{_unitdir}/razerd.service
+%{_tmpfilesdir}/razerd.conf
 %{_udevrulesdir}/80-razer.rules
+%ghost %{_rundir}/razerd
 %{_datadir}/icons/hicolor/scalable/apps/razercfg*.svg
 %{_datadir}/applications/razercfg.desktop
 %{_mandir}/man1/razer*

++++++ razercfg-0.40.tar.bz2 -> razercfg-0.41.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/CMakeLists.txt 
new/razercfg-0.41/CMakeLists.txt
--- old/razercfg-0.40/CMakeLists.txt    2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/CMakeLists.txt    2019-10-15 21:33:41.000000000 +0200
@@ -29,16 +29,13 @@
 if(UDEV_DIR)
        install(FILES ${CMAKE_BINARY_DIR}/udev.rules
                DESTINATION ${UDEV_DIR}/rules.d
-               RENAME 80-razer.rules
-               PERMISSIONS OWNER_READ OWNER_WRITE
-                           GROUP_READ
-                           WORLD_READ)
+               RENAME 80-razer.rules)
 endif(UDEV_DIR)
 
 configure_file("pm-hook.sh.template" "pm-hook.sh" @ONLY)
 
 install(FILES ${CMAKE_BINARY_DIR}/pm-hook.sh
-       DESTINATION /etc/pm/sleep.d/
+       DESTINATION /etc/pm/sleep.d
        RENAME 50-razer
        PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
                    GROUP_READ GROUP_EXECUTE
@@ -48,11 +45,12 @@
 
 if(SYSTEMD_UNIT_DIR)
        install(FILES ${CMAKE_BINARY_DIR}/razerd.service
-               DESTINATION ${SYSTEMD_UNIT_DIR}
-               PERMISSIONS OWNER_READ OWNER_WRITE
-                                       GROUP_READ
-                                       WORLD_READ)
+               DESTINATION ${SYSTEMD_UNIT_DIR})
 endif(SYSTEMD_UNIT_DIR)
 
+install(FILES ${CMAKE_SOURCE_DIR}/tmpfile.conf
+       DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/tmpfiles.d
+       RENAME razerd.conf)
+
 add_subdirectory(razerd)
 add_subdirectory(ui)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/README.html 
new/razercfg-0.41/README.html
--- old/razercfg-0.40/README.html       2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/README.html       2019-10-15 21:33:41.000000000 +0200
@@ -210,7 +210,7 @@
 
 <h2>License</h2>
 
-<p>Copyright (c) 2007-2016 Michael Büsch, et al.</p>
+<p>Copyright (c) 2007-2019 Michael Büsch, et al.</p>
 
 <p>See the COPYING file for license information.</p>
 </body></html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/README.md new/razercfg-0.41/README.md
--- old/razercfg-0.40/README.md 2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/README.md 2019-10-15 21:33:41.000000000 +0200
@@ -220,6 +220,6 @@
 License
 -------
 
-Copyright (c) 2007-2016 Michael Büsch, et al.
+Copyright (c) 2007-2019 Michael Büsch, et al.
 
 See the COPYING file for license information.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/debian/changelog 
new/razercfg-0.41/debian/changelog
--- old/razercfg-0.40/debian/changelog  2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/debian/changelog  2019-10-15 21:33:41.000000000 +0200
@@ -1,5 +1,5 @@
-razercfg (0.40) UNRELEASED; urgency=medium
+razercfg (0.41) UNRELEASED; urgency=medium
 
-  * 0.40
+  * 0.41
 
  -- Michael Büsch <[email protected]>  Tue, 15 Jul 2014 11:25:47 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/librazer/librazer.c 
new/razercfg-0.41/librazer/librazer.c
--- old/razercfg-0.40/librazer/librazer.c       2018-10-17 19:19:46.000000000 
+0200
+++ new/razercfg-0.41/librazer/librazer.c       2019-10-15 21:33:41.000000000 
+0200
@@ -1,7 +1,7 @@
 /*
  *   Razer device access library
  *
- *   Copyright (C) 2007-2011 Michael Buesch <[email protected]>
+ *   Copyright (C) 2007-2018 Michael Buesch <[email protected]>
  *
  *   This program is free software; you can redistribute it and/or
  *   modify it under the terms of the GNU General Public License
@@ -105,11 +105,13 @@
        .release                = razer_lachesis_release,
 };
 
+#if 0
 static const struct razer_mouse_base_ops razer_lachesis5k6_base_ops = {
        .type                   = RAZER_MOUSETYPE_LACHESIS,
        .init                   = razer_lachesis5k6_init,
        .release                = razer_lachesis5k6_release,
 };
+#endif
 
 static const struct razer_mouse_base_ops razer_copperhead_base_ops = {
        .type                   = RAZER_MOUSETYPE_COPPERHEAD,
@@ -166,7 +168,7 @@
 //     USB_MOUSE(0x04B4, 0xE006, &razer_deathadder_base_ops), /* cypress 
bootloader */
        USB_MOUSE(0x1532, 0x0003, &razer_krait_base_ops),
        USB_MOUSE(0x1532, 0x000C, &razer_lachesis_base_ops), /* classic */
-       USB_MOUSE(0x1532, 0x001E, &razer_lachesis5k6_base_ops), /* 5600 DPI */
+//     USB_MOUSE(0x1532, 0x001E, &razer_lachesis5k6_base_ops), /* 5600 DPI */
        USB_MOUSE(0x1532, RAZER_NAGA_PID_CLASSIC, &razer_naga_base_ops),
        USB_MOUSE(0x1532, RAZER_NAGA_PID_EPIC, &razer_naga_base_ops),
        USB_MOUSE(0x1532, RAZER_NAGA_PID_2012, &razer_naga_base_ops),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/razerd/razerd.c 
new/razercfg-0.41/razerd/razerd.c
--- old/razercfg-0.40/razerd/razerd.c   2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/razerd/razerd.c   2019-10-15 21:33:41.000000000 +0200
@@ -78,10 +78,10 @@
 };
 
 
-#define VAR_RUN                        "/var/run"
-#define VAR_RUN_RAZERD         VAR_RUN "/razerd"
-#define SOCKPATH               VAR_RUN_RAZERD "/socket"
-#define PRIV_SOCKPATH          VAR_RUN_RAZERD "/socket.privileged"
+#define RUNDIR                 "/run"
+#define RUNDIR_RAZERD          RUNDIR "/razerd"
+#define SOCKPATH               RUNDIR_RAZERD "/socket"
+#define PRIV_SOCKPATH          RUNDIR_RAZERD "/socket.privileged"
 
 #define INTERFACE_REVISION     6
 
@@ -454,7 +454,7 @@
        privsock = -1;
 
        remove_pidfile();
-       rmdir(VAR_RUN_RAZERD);
+       rmdir(RUNDIR_RAZERD);
 }
 
 static int create_socket(const char *path, unsigned int perm,
@@ -510,11 +510,11 @@
 {
        int err;
 
-       /* Create /var/run subdirectory. */
-       err = mkdir(VAR_RUN_RAZERD, 0755);
+       /* Create /run subdirectory. */
+       err = mkdir(RUNDIR_RAZERD, 0755);
        if (err && errno != EEXIST) {
                logerr("Failed to create directory %s: %s\n",
-                      VAR_RUN_RAZERD, strerror(errno));
+                      RUNDIR_RAZERD, strerror(errno));
                return err;
        }
 
@@ -543,7 +543,7 @@
 
 err_remove_pidfile:
        remove_pidfile();
-       rmdir(VAR_RUN_RAZERD);
+       rmdir(RUNDIR_RAZERD);
 
        return -1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/tmpfile.conf 
new/razercfg-0.41/tmpfile.conf
--- old/razercfg-0.40/tmpfile.conf      1970-01-01 01:00:00.000000000 +0100
+++ new/razercfg-0.41/tmpfile.conf      2019-10-15 21:33:41.000000000 +0200
@@ -0,0 +1 @@
+d /run/razerd 0755 root root -
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/ui/CMakeLists.txt 
new/razercfg-0.41/ui/CMakeLists.txt
--- old/razercfg-0.40/ui/CMakeLists.txt 2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/ui/CMakeLists.txt 2019-10-15 21:33:41.000000000 +0200
@@ -39,26 +39,14 @@
 configure_file(razercfg.desktop.template razercfg.desktop)
 
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/razercfg.desktop
-       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/
-       PERMISSIONS OWNER_READ OWNER_WRITE
-                   GROUP_READ
-                   WORLD_READ)
+       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
 
 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/icons/razercfg-icon.svg
-       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps/
-       RENAME razercfg.svg
-       PERMISSIONS OWNER_READ OWNER_WRITE
-                   GROUP_READ
-                   WORLD_READ)
+       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps
+       RENAME razercfg.svg)
 
 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/icons/razercfg-alt.svg
-       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps/
-       PERMISSIONS OWNER_READ OWNER_WRITE
-                   GROUP_READ
-                   WORLD_READ)
+       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
 
 install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/icons/razercfg-snake.svg
-       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps/
-       PERMISSIONS OWNER_READ OWNER_WRITE
-                   GROUP_READ
-                   WORLD_READ)
+       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/ui/pyrazer/main.py 
new/razercfg-0.41/ui/pyrazer/main.py
--- old/razercfg-0.40/ui/pyrazer/main.py        2018-10-17 19:19:46.000000000 
+0200
+++ new/razercfg-0.41/ui/pyrazer/main.py        2019-10-15 21:33:41.000000000 
+0200
@@ -28,7 +28,7 @@
 import hashlib
 import struct
 
-RAZER_VERSION  = "0.40"
+RAZER_VERSION  = "0.41"
 
 
 class RazerEx(Exception):
@@ -196,8 +196,8 @@
                self.mutable = mutable
 
 class Razer(object):
-       SOCKET_PATH     = "/var/run/razerd/socket"
-       PRIVSOCKET_PATH = "/var/run/razerd/socket.privileged"
+       SOCKET_PATH     = "/run/razerd/socket"
+       PRIVSOCKET_PATH = "/run/razerd/socket.privileged"
 
        INTERFACE_REVISION = 6
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/ui/razercfg.desktop.template 
new/razercfg-0.41/ui/razercfg.desktop.template
--- old/razercfg-0.40/ui/razercfg.desktop.template      2018-10-17 
19:19:46.000000000 +0200
+++ new/razercfg-0.41/ui/razercfg.desktop.template      2019-10-15 
21:33:41.000000000 +0200
@@ -4,3 +4,4 @@
 Name=Razer Configuration
 Exec=@CMAKE_INSTALL_PREFIX@/bin/qrazercfg
 Icon=@CMAKE_INSTALL_PREFIX@/share/icons/hicolor/scalable/apps/razercfg.svg
+Comment=Graphical Razer device configuration tool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/ui/setup.py.in 
new/razercfg-0.41/ui/setup.py.in
--- old/razercfg-0.40/ui/setup.py.in    2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/ui/setup.py.in    2019-10-15 21:33:41.000000000 +0200
@@ -1,5 +1,8 @@
 #!/usr/bin/env python3
 
+import os
+import sys
+sys.path.insert(0, os.getcwd())
 from distutils.core import setup
 from pyrazer import RAZER_VERSION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/razercfg-0.40/uninstall.sh 
new/razercfg-0.41/uninstall.sh
--- old/razercfg-0.40/uninstall.sh      2018-10-17 19:19:46.000000000 +0200
+++ new/razercfg-0.41/uninstall.sh      2019-10-15 21:33:41.000000000 +0200
@@ -2,7 +2,7 @@
 #
 #   razercfg uninstaller
 #
-#   Copyright (C) 2014-2016 Michael Buesch <[email protected]>
+#   Copyright (C) 2014-2019 Michael Buesch <[email protected]>
 #
 #   This program is free software; you can redistribute it and/or
 #   modify it under the terms of the GNU General Public License
@@ -49,6 +49,7 @@
                 /bin/qrazercfg\
                 /bin/qrazercfg-applet\
                 /bin/razer-gamewrapper\
+                /lib/tmpfiles.d/razerd.conf\
                 /sbin/razerd /bin/razerd\
                 /share/applications/razercfg.desktop; do
 



Reply via email to