commit ckb-next for openSUSE:Factory

2020-08-29 Thread root
Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2020-08-29 20:44:49

Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and  /work/SRC/openSUSE:Factory/.ckb-next.new.3399 (New)


Package is "ckb-next"

Sat Aug 29 20:44:49 2020 rev:8 rq:830485 version:0.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes2020-06-09 
00:07:36.137916073 +0200
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.3399/ckb-next.changes  
2020-08-29 20:44:58.229530808 +0200
@@ -1,0 +2,5 @@
+Sat Aug 29 14:54:55 UTC 2020 - Jannik Seiler 
+
+- Adjust ckb-next-systemd.patch to the change for %_libexecdir
+
+---



Other differences:
--
++ ckb-next-systemd.patch ++
--- /var/tmp/diff_new_pack.eTnY7n/_old  2020-08-29 20:44:59.037531145 +0200
+++ /var/tmp/diff_new_pack.eTnY7n/_new  2020-08-29 20:44:59.041531147 +0200
@@ -29,7 +29,7 @@
  
  [Service]
 -ExecStart=@CMAKE_INSTALL_PREFIX@/bin/ckb-next-daemon
-+ExecStart=@CMAKE_INSTALL_PREFIX@/lib/ckb-next-daemon
++ExecStart=@CMAKE_INSTALL_LIBEXECDIR@/ckb-next-daemon
  Restart=on-failure
  
  [Install]




commit ckb-next for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2020-06-09 00:05:44

Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and  /work/SRC/openSUSE:Factory/.ckb-next.new.3606 (New)


Package is "ckb-next"

Tue Jun  9 00:05:44 2020 rev:7 rq:812444 version:0.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes2019-11-21 
12:59:58.114503821 +0100
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.3606/ckb-next.changes  
2020-06-09 00:07:36.137916073 +0200
@@ -1,0 +2,5 @@
+Mon Jun  8 07:44:47 UTC 2020 - aloi...@gmx.com
+
+- Add ckb-next-gcc10.patch
+
+---

New:

  ckb-next-gcc10.patch



Other differences:
--
++ ckb-next.spec ++
--- /var/tmp/diff_new_pack.EZTYbH/_old  2020-06-09 00:07:37.701921622 +0200
+++ /var/tmp/diff_new_pack.EZTYbH/_new  2020-06-09 00:07:37.701921622 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ckb-next
 #
-# 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
@@ -34,6 +34,8 @@
 Patch4: ckb-next-udev.patch
 # PATCH-FIX-UPSTREAM 422.patch boo#1135528
 Patch5: 422.patch
+# PATCH-FIX-UPSTREAM ckb-next-gcc10.patch
+Patch6: ckb-next-gcc10.patch
 BuildRequires:  ImageMagick
 BuildRequires:  cmake
 BuildRequires:  hicolor-icon-theme

++ ckb-next-gcc10.patch ++
>From a9f41cd8b8f5b04c0c66c6d94f96a9725943831e Mon Sep 17 00:00:00 2001
From: Erik Zeek 
Date: Tue, 12 May 2020 09:56:49 -0600
Subject: [PATCH] Fix gcc-10/-fno-common error

gcc-10 now defaults to -fno-common and does not automatically add extern
to variables declared in headers.

https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Erik Zeek 
---
 src/daemon/devnode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/devnode.h b/src/daemon/devnode.h
index a0b3a931..349e778d 100644
--- a/src/daemon/devnode.h
+++ b/src/daemon/devnode.h
@@ -5,7 +5,7 @@
 #include "usb.h"
 
 /// Device path base ("/dev/input/ckb" or "/var/run/ckb")
-const char *const devpath;
+extern const char *const devpath;
 
 /// Group ID for the control nodes. -1 to give read/write access to everybody
 extern long gid;



commit ckb-next for openSUSE:Factory

2019-11-21 Thread root
Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2019-11-21 12:59:57

Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and  /work/SRC/openSUSE:Factory/.ckb-next.new.26869 (New)


Package is "ckb-next"

Thu Nov 21 12:59:57 2019 rev:6 rq:750052 version:0.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes2019-10-09 
15:19:27.972496949 +0200
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.26869/ckb-next.changes 
2019-11-21 12:59:58.114503821 +0100
@@ -1,0 +2,6 @@
+Wed Nov 20 23:15:31 UTC 2019 - Simon Lees 
+
+- %make_jobs is depricated replaced by %cmake_build
+- Use %autosetup to simplify maintenance
+
+---



Other differences:
--
++ ckb-next.spec ++
--- /var/tmp/diff_new_pack.UFhCgo/_old  2019-11-21 12:59:58.850503594 +0100
+++ /var/tmp/diff_new_pack.UFhCgo/_new  2019-11-21 12:59:58.854503594 +0100
@@ -60,19 +60,14 @@
 including full RGB animations.
 
 %prep
-%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
+%autosetup -p1
 
 %build
 %cmake \
-DDISABLE_UPDATER=1 \
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
-DUDEV_RULE_DIRECTORY=%{_udevrulesdir}
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install




commit ckb-next for openSUSE:Factory

2019-10-09 Thread root
Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2019-10-09 15:19:24

Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and  /work/SRC/openSUSE:Factory/.ckb-next.new.2352 (New)


Package is "ckb-next"

Wed Oct  9 15:19:24 2019 rev:5 rq:736276 version:0.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes2019-08-28 
18:36:12.725276089 +0200
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.2352/ckb-next.changes  
2019-10-09 15:19:27.972496949 +0200
@@ -1,0 +2,10 @@
+Tue Oct  8 16:39:12 UTC 2019 - Luigi Baldoni 
+
+- Update to version 0.4.2
+  Support for new devices:
+  * Harpoon RGB Pro
+  * Ironclaw RGB
+  Important bugfixes:
+  * GUI no longer crashes if an animation has no keys set
+
+---

Old:

  ckb-next-0.4.1.tar.gz

New:

  ckb-next-0.4.2.tar.gz



Other differences:
--
++ ckb-next.spec ++
--- /var/tmp/diff_new_pack.9XBrqX/_old  2019-10-09 15:19:28.484495629 +0200
+++ /var/tmp/diff_new_pack.9XBrqX/_new  2019-10-09 15:19:28.488495619 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   ckb-next
-Version:0.4.1
+Version:0.4.2
 Release:0
 Summary:RGB driver for Corsair keyboard and mice
 License:GPL-2.0-only AND BSD-3-Clause

++ ckb-next-0.4.1.tar.gz -> ckb-next-0.4.2.tar.gz ++
 3411 lines of diff (skipped)




commit ckb-next for openSUSE:Factory

2019-08-28 Thread root
Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2019-08-28 18:36:07

Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and  /work/SRC/openSUSE:Factory/.ckb-next.new.7948 (New)


Package is "ckb-next"

Wed Aug 28 18:36:07 2019 rev:4 rq:726584 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes2019-06-06 
18:15:33.456717034 +0200
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.7948/ckb-next.changes  
2019-08-28 18:36:12.725276089 +0200
@@ -1,0 +2,36 @@
+Tue Aug 27 18:22:08 UTC 2019 - Luigi Baldoni 
+
+- Update to version 0.4.1
+  Important bugfixes:
+  * Specified keyboard layout is no longer being reverted on
+restart
+  * Pipe animation no longer quits if it can't read data
+  * Media keys work again on the legacy K65
+  * Daemon no longer crashes on quit on macOS
+  * Devices are now re-activated after resume on Linux
+  * Gradient animation no longer flickers with dithering enabled
+  * HiDPI has been disabled by default due to screen resolution
+misdetection
+  * Max DPI is now per-device
+  * Extra words are now filtered from the device name
+  * gpg2 is preferred over gpg for signature verification
+  New features:
+  * An uninstall button has been added for macOS users that
+allows complete uninstallation, including older versions
+  * Life animation has a new transparent preset
+  * Confirmation dialog boxes have been added when deleting
+profiles, modes, and animations
+  * Animation preview now gets temporarily disabled while
+ckb-next is out of focus
+  * Support for multiple animation paths has been added
+  * Pollrate can now be changed through the GUI
+  Notes for packagers:
+  * Udev rules are now installed by default in /lib/udev/rules.d.
+  * Udev rule installation path can be changed with
+UDEV_RULE_DIRECTORY in cmake
+  * Init systems can manually be force-enabled with
+FORCE_INIT_SYSTEM in cmake
+
+- Refreshed ckb-next-use-run.patch and ckb-next-systemd.patch
+
+---

Old:

  ckb-next-0.4.0.tar.gz

New:

  ckb-next-0.4.1.tar.gz



Other differences:
--
++ ckb-next.spec ++
--- /var/tmp/diff_new_pack.uT6KLw/_old  2019-08-28 18:36:13.433275966 +0200
+++ /var/tmp/diff_new_pack.uT6KLw/_new  2019-08-28 18:36:13.433275966 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   ckb-next
-Version:0.4.0
+Version:0.4.1
 Release:0
 Summary:RGB driver for Corsair keyboard and mice
 License:GPL-2.0-only AND BSD-3-Clause
@@ -70,7 +70,8 @@
 %build
 %cmake \
-DDISABLE_UPDATER=1 \
-   -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir}
+   -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
+   -DUDEV_RULE_DIRECTORY=%{_udevrulesdir}
 %make_jobs
 
 %install

++ ckb-next-0.4.0.tar.gz -> ckb-next-0.4.1.tar.gz ++
 4029 lines of diff (skipped)

++ ckb-next-systemd.patch ++
--- /var/tmp/diff_new_pack.uT6KLw/_old  2019-08-28 18:36:13.569275943 +0200
+++ /var/tmp/diff_new_pack.uT6KLw/_new  2019-08-28 18:36:13.569275943 +0200
@@ -1,13 +1,13 @@
-Index: ckb-next-0.4.0/src/daemon/CMakeLists.txt
+Index: ckb-next-0.4.1/src/daemon/CMakeLists.txt
 ===
 ckb-next-0.4.0.orig/src/daemon/CMakeLists.txt
-+++ ckb-next-0.4.0/src/daemon/CMakeLists.txt
+--- ckb-next-0.4.1.orig/src/daemon/CMakeLists.txt
 ckb-next-0.4.1/src/daemon/CMakeLists.txt
 @@ -294,7 +294,7 @@ elseif (LINUX)
  endif ()
  
  # A way to check for systemd
--if (EXISTS "/run/systemd/system")
-+if (EXISTS "/usr/lib/systemd/system")
+-if (EXISTS "/run/systemd/system" OR "systemd" IN_LIST FORCE_INIT_SYSTEM)
++if (EXISTS "/usr/lib/systemd/system" OR "systemd" IN_LIST 
FORCE_INIT_SYSTEM)
  message(STATUS "systemd detected")
  set(CKB_NEXT_INIT_SYSTEM "systemd" CACHE INTERNAL "")
  set(DISALLOW_SYSVINIT TRUE)
@@ -20,10 +20,10 @@
  endif ()
  
  # Declare target's auxiliary files installation paths
-Index: ckb-next-0.4.0/linux/systemd/ckb-next-daemon.service.in
+Index: ckb-next-0.4.1/linux/systemd/ckb-next-daemon.service.in
 ===
 ckb-next-0.4.0.orig/linux/systemd/ckb-next-daemon.service.in
-+++ ckb-next-0.4.0/linux/systemd/ckb-next-daemon.service.in
+--- ckb-next-0.4.1.orig/linux/systemd/ckb-next-daemon.service.in
 ckb-next-0.4.1/linux/systemd/ckb-next-daemon.service.in
 @@ -5,7 +5,7 @@
  Description=Corsair Keyboards and Mice Daemon
  

++ ckb-next-use-run.patch ++
--- /var/tmp/diff_new_pack.uT6KLw/_old  2019-08-28 18:36:13.581275940 +0200
+++ /var/tmp/diff_new_pack.uT6KLw/_new  20

commit ckb-next for openSUSE:Factory

2019-06-06 Thread root
Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2019-06-06 18:15:32

Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and  /work/SRC/openSUSE:Factory/.ckb-next.new.4811 (New)


Package is "ckb-next"

Thu Jun  6 18:15:32 2019 rev:3 rq:706242 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes2019-03-26 
15:42:05.868255072 +0100
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.4811/ckb-next.changes  
2019-06-06 18:15:33.456717034 +0200
@@ -1,0 +2,5 @@
+Wed May 29 03:55:59 UTC 2019 - Bernhard Wiedemann 
+
+- Add 422.patch to fix animations dir (boo#1135528)
+
+---

New:

  422.patch



Other differences:
--
++ ckb-next.spec ++
--- /var/tmp/diff_new_pack.tA6eSd/_old  2019-06-06 18:15:34.160716828 +0200
+++ /var/tmp/diff_new_pack.tA6eSd/_new  2019-06-06 18:15:34.164716826 +0200
@@ -32,6 +32,8 @@
 Patch3: ckb-next-no-cmake-modules.patch
 # PATCH-FIX-UPSTREAM ckb-next-udev.patch
 Patch4: ckb-next-udev.patch
+# PATCH-FIX-UPSTREAM 422.patch boo#1135528
+Patch5: 422.patch
 BuildRequires:  ImageMagick
 BuildRequires:  cmake
 BuildRequires:  hicolor-icon-theme
@@ -63,6 +65,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %cmake \

++ 422.patch ++
https://github.com/ckb-next/ckb-next/pull/422 

>From 257d39dc187f818c6c77a7fb50b994eaa613cbb1 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" 
Date: Wed, 29 May 2019 05:28:33 +0200
Subject: [PATCH] Do not prepend /usr to libexecdir

Fix #276

Without this patch, compiling with -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir}
expanded this to /usr//usr/lib/ckb-next-animations

and there is no rpm macro to have libexecdir without /usr
but we need to use these macros to be able to use the same .spec file
across distributions (Fedora has /usr/libexec and openSUSE has /usr/lib )

This matches usage in src/daemon/CMakeLists.txt
---
 src/CMakeLists.txt | 2 +-
 src/ckbnextconfig.h.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 07804972..1b9a9e59 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -27,7 +27,7 @@
 
 # Export version, etc. to source code
 set(CKB_NEXT_VERSION_STR "${ckb-next_VERSION}")
-set(CKB_NEXT_ANIMATIONS_PATH 
"${CMAKE_INSTALL_PREFIX}/${INSTALL_DIR_ANIMATIONS}")
+set(CKB_NEXT_ANIMATIONS_PATH "${INSTALL_DIR_ANIMATIONS}")
 configure_file(
 ${CMAKE_CURRENT_LIST_DIR}/ckbnextconfig.h.in
 ${CMAKE_BINARY_DIR}/ckbnextconfig.h)
diff --git a/src/ckbnextconfig.h.in b/src/ckbnextconfig.h.in
index 7842968a..ed5e2404 100644
--- a/src/ckbnextconfig.h.in
+++ b/src/ckbnextconfig.h.in
@@ -1,5 +1,5 @@
 #cmakedefine CKB_NEXT_VERSION_STR "${ckb-next_VERSION}"
-#cmakedefine CKB_NEXT_ANIMATIONS_PATH 
"${CMAKE_INSTALL_PREFIX}/${INSTALL_DIR_ANIMATIONS}"
+#cmakedefine CKB_NEXT_ANIMATIONS_PATH "${INSTALL_DIR_ANIMATIONS}"
 
 #define CKB_NEXT_PROFILE_VER ${ckb-next_PROFILE_VER}
 



commit ckb-next for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package ckb-next for openSUSE:Factory 
checked in at 2019-03-26 15:40:33

Comparing /work/SRC/openSUSE:Factory/ckb-next (Old)
 and  /work/SRC/openSUSE:Factory/.ckb-next.new.25356 (New)


Package is "ckb-next"

Tue Mar 26 15:40:33 2019 rev:2 rq:682988 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/ckb-next/ckb-next.changes2019-01-21 
10:50:52.219981728 +0100
+++ /work/SRC/openSUSE:Factory/.ckb-next.new.25356/ckb-next.changes 
2019-03-26 15:42:05.868255072 +0100
@@ -1,0 +2,60 @@
+Sat Mar  9 08:46:09 UTC 2019 - Luigi Baldoni 
+
+- Update to version 0.4.0
+  Support for new devices:
+  * K70 RGB MK.2 LP
+  * M65 RGB Elite
+  * M95 Legacy
+  Important bugfixes:
+  * ST100 now works on macOS properly
+  * Strafe RGB MK.2 logo is mapped to the right LEDs, and media
+buttons are positioned correctly
+  * A buffer overflow causing the daemon to crash or hang has
+been fixed
+  * quickinstall can now run correctly with multibyte characters
+in the path
+  * Rename now works correctly in the Profile Manager context
+menu
+  * Animations with no presets no longer get loaded to prevent
+crashes
+  * K70 Lux is now marked correctly as monochrome
+  * ckb-next can be built again with Qt 5.2
+  * Save to hardware now gets disabled in the context menu for
+unsupported devices
+  * Settings backend has been changed to ini for macOS,
+preventing silent configuration data corruption
+  * The K55, the ST100 and the Polaris now have working default
+profiles
+  * A few cases that may cause the GUI to crash have been found
+and fixed
+  * Blank animation names are no longer allowed
+  New features:
+  * GUI has gained a monochrome tray icon option
+(QSystemTrayIcon only)
+  * Device brightness can be controlled by scrolling on the tray
+icon on Linux systems that support it (AppIndicator or KDE)
+  * Profiles and modes can now be changed with the --profile and
+--mode arguments passed to the GUI binary
+  * New Conway's Game of Life animation
+  * New 'snake' animation
+  * New 'pipe' animation, allowing the user to send rgb data
+from external applications
+  * Music Visualizer (mviz) is now supported on macOS, and has
+been reworked to function correctly
+  * A --version argument has been added to the daemon
+  Notes:
+  * On Linux, the udev rule has been renamed and moved
+  * On Linux, for builds with libappindicator, it can be force
+enabled/disabled by setting the CKB_NEXT_USE_APPINDICATOR
+environment variable
+  * On Linux, libappindicator support is also enabled if the Qt
+platform theme is gtk2 (Useful for Unity on Ubuntu 19.04)
+  * The restart command has been removed from the daemon
+  * Threads are now named for easier debugging
+  * Signal handler has been rewritten
+  * A few unneeded packets are no longer being sent to M65 mice
+  * Only Red channel data is being sent to monochrome devices
+
+- Refreshed ckb-next-systemd.patch and ckb-next-udev.patch
+
+---

Old:

  ckb-next-0.3.2.tar.gz

New:

  ckb-next-0.4.0.tar.gz



Other differences:
--
++ ckb-next.spec ++
--- /var/tmp/diff_new_pack.Dta3Ch/_old  2019-03-26 15:42:06.812254532 +0100
+++ /var/tmp/diff_new_pack.Dta3Ch/_new  2019-03-26 15:42:06.816254529 +0100
@@ -17,10 +17,10 @@
 
 
 Name:   ckb-next
-Version:0.3.2
+Version:0.4.0
 Release:0
 Summary:RGB driver for Corsair keyboard and mice
-License:GPL-2.0 AND BSD-3-Clause
+License:GPL-2.0-only AND BSD-3-Clause
 Group:  Hardware/Other
 URL:https://github.com/ckb-next/ckb-next
 Source: 
https://github.com/ckb-next/ckb-next/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz

++ ckb-next-0.3.2.tar.gz -> ckb-next-0.4.0.tar.gz ++
 9217 lines of diff (skipped)

++ ckb-next-systemd.patch ++
--- /var/tmp/diff_new_pack.Dta3Ch/_old  2019-03-26 15:42:06.976254438 +0100
+++ /var/tmp/diff_new_pack.Dta3Ch/_new  2019-03-26 15:42:06.980254436 +0100
@@ -1,8 +1,8 @@
-Index: ckb-next-0.3.2/src/daemon/CMakeLists.txt
+Index: ckb-next-0.4.0/src/daemon/CMakeLists.txt
 ===
 ckb-next-0.3.2.orig/src/daemon/CMakeLists.txt
-+++ ckb-next-0.3.2/src/daemon/CMakeLists.txt
-@@ -292,7 +292,7 @@ elseif (LINUX)
+--- ckb-next-0.4.0.orig/src/daemon/CMakeLists.txt
 ckb-next-0.4.0/src/daemon/CMakeLists.txt
+@@ -294,7 +294,7 @@ elseif (LINUX)
  endif ()
  
  # A way to check for systemd
@@ -11,7 +11,7 @@
  message(STATUS "systemd detected")
  set(CKB_NEXT_INIT_SYSTEM "systemd" CACHE INTERNAL ""