Accepting request 726583 from home:alois:branches:hardware

Update to version 0.4.1

OBS-URL: https://build.opensuse.org/request/show/726583
OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=8
This commit is contained in:
Luigi Baldoni 2019-08-27 18:50:40 +00:00 committed by Git OBS Bridge
parent b40c8b38d7
commit ea251fe22f
6 changed files with 60 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5521c5a94e87ba035c6d9340e37785fa6f29710215f3e3201bb6949c88de8bd1
size 838586

3
ckb-next-0.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:373e7cc5bb2b894f4ef7e1c9d76f463842d4f389dfe4717e9beb39662a185351
size 845316

View File

@ -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 @@ Index: ckb-next-0.4.0/src/daemon/CMakeLists.txt
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

View File

@ -1,7 +1,7 @@
Index: ckb-next-0.3.2/ckb-next-dev-detect
Index: ckb-next-0.4.1/ckb-next-dev-detect
===================================================================
--- ckb-next-0.3.2.orig/ckb-next-dev-detect
+++ ckb-next-0.3.2/ckb-next-dev-detect
--- ckb-next-0.4.1.orig/ckb-next-dev-detect
+++ ckb-next-0.4.1/ckb-next-dev-detect
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
@ -14,13 +14,13 @@ Index: ckb-next-0.3.2/ckb-next-dev-detect
fi
- OUT="${OUT}${N}${N}Dev nodes:${N}`find /dev/input/ckb* -print -type f -exec cat {} \; 2>&1`"
+ OUT="${OUT}${N}${N}Dev nodes:${N}`find /run/ckb* -print -type f -exec cat {} \; 2>&1`"
OUT="${OUT}${N}${N}Environment:${N}`printenv | grep "QT\|XDG.*DESKTOP" 2>&1`"
OUT="${OUT}${N}${N}Environment:${N}`printenv | grep "QT\|XDG.*DESKTOP\|DISPLAY" 2>&1`"
OUT="${OUT}${N}${N}Kernel command line:${N}`cat /proc/cmdline`"
fi
Index: ckb-next-0.3.2/src/daemon/devnode.c
Index: ckb-next-0.4.1/src/daemon/devnode.c
===================================================================
--- ckb-next-0.3.2.orig/src/daemon/devnode.c
+++ ckb-next-0.3.2/src/daemon/devnode.c
--- ckb-next-0.4.1.orig/src/daemon/devnode.c
+++ ckb-next-0.4.1/src/daemon/devnode.c
@@ -7,12 +7,7 @@
#include "profile.h"
#include <ckbnextconfig.h>
@ -35,10 +35,10 @@ Index: ckb-next-0.3.2/src/daemon/devnode.c
long gid = -1;
#define S_GID_READ (gid >= 0 ? S_CUSTOM_R : S_READ)
Index: ckb-next-0.3.2/src/gui/kbmanager.cpp
Index: ckb-next-0.4.1/src/gui/kbmanager.cpp
===================================================================
--- ckb-next-0.3.2.orig/src/gui/kbmanager.cpp
+++ ckb-next-0.3.2/src/gui/kbmanager.cpp
--- ckb-next-0.4.1.orig/src/gui/kbmanager.cpp
+++ ckb-next-0.4.1/src/gui/kbmanager.cpp
@@ -1,10 +1,6 @@
#include "kbmanager.h"

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue Aug 27 18:22:08 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- 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
-------------------------------------------------------------------
Wed May 29 03:55:59 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -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 @@ including full RGB animations.
%build
%cmake \
-DDISABLE_UPDATER=1 \
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir}
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
-DUDEV_RULE_DIRECTORY=%{_udevrulesdir}
%make_jobs
%install