Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
ckb-next
ckb-next-use-run.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ckb-next-use-run.patch of Package ckb-next
Index: ckb-next-0.5.0/ckb-next-dev-detect =================================================================== --- ckb-next-0.5.0.orig/ckb-next-dev-detect +++ ckb-next-0.5.0/ckb-next-dev-detect @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/bash # Newline N=$'\n' @@ -69,7 +69,7 @@ else OUT="${OUT}${N}${N}Daemon on current boot:${N}`journalctl -o short-precise -b 0 --unit=ckb-next-daemon 2>&1`" OUT="${OUT}${N}${N}Daemon on last boot:${N}`journalctl -o short-precise -b -1 --unit=ckb-next-daemon 2>&1`" 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}Kernel command line:${N}`cat /proc/cmdline`" GUIPATH="$(which ckb-next)" OUT="${OUT}${N}${N}GUI ldd:${N}`ldd ${GUIPATH}`" Index: ckb-next-0.5.0/src/daemon/devnode.c =================================================================== --- ckb-next-0.5.0.orig/src/daemon/devnode.c +++ ckb-next-0.5.0/src/daemon/devnode.c @@ -7,13 +7,7 @@ #include "profile.h" #include <ckbnextconfig.h> -// OSX doesn't like putting FIFOs in /dev for some reason -// Don't make these pointers, as doing so will result in sizeof() not producing the correct result. -#ifndef OS_MAC -const char devpath[] = "/dev/input/ckb"; -#else -const char devpath[] = "/var/run/ckb"; -#endif +const char devpath[] = "/run/ckb"; #define DEVPATH_LEN (sizeof(devpath) - 1) Index: ckb-next-0.5.0/src/gui/kbmanager.cpp =================================================================== --- ckb-next-0.5.0.orig/src/gui/kbmanager.cpp +++ ckb-next-0.5.0/src/gui/kbmanager.cpp @@ -2,11 +2,7 @@ #include "idletimer.h" #include <limits> -#ifndef Q_OS_MACOS -QString devpath = "/dev/input/ckb%1"; -#else -QString devpath = "/var/run/ckb%1"; -#endif +QString devpath = "/run/ckb%1"; #ifdef DEBUG_IDLE_TIMER #define IDLE_TIMER_DURATION 5000
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor