sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Julien ROZO (0e8799e4ef50484307fc8553d9fd936fd0289267)
- From: Julien ROZO <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Julien ROZO (0e8799e4ef50484307fc8553d9fd936fd0289267)
- Date: Thu, 5 Jan 2012 12:16:14 -0600
GIT changes to master grimoire by Julien ROZO <julien AT rozo.org>:
ChangeLog | 3 +++
utils/razercfg/BUILD | 1 +
utils/razercfg/DEPENDS | 3 +++
utils/razercfg/DETAILS | 21 +++++++++++++++++++++
utils/razercfg/FINAL | 9 +++++++++
utils/razercfg/HISTORY | 3 +++
utils/razercfg/init.d/razerd | 29 +++++++++++++++++++++++++++++
7 files changed, 69 insertions(+)
New commits:
commit 0e8799e4ef50484307fc8553d9fd936fd0289267
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>
razercfg: new spell, Razer device configuration tool
diff --git a/ChangeLog b/ChangeLog
index 9a602be..ae003d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2012-01-05 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * utils/razercfg: new spell, Razer device configuration tool
+
2012-01-04 Julien "_kaze_" ROZO <julien AT rozo.org>
* utils/glances: new spell, CLI curses based monitoring tool
diff --git a/utils/razercfg/BUILD b/utils/razercfg/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/utils/razercfg/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/utils/razercfg/DEPENDS b/utils/razercfg/DEPENDS
new file mode 100755
index 0000000..42e00ca
--- /dev/null
+++ b/utils/razercfg/DEPENDS
@@ -0,0 +1,3 @@
+depends cmake &&
+depends libusb &&
+depends pyqt4
diff --git a/utils/razercfg/DETAILS b/utils/razercfg/DETAILS
new file mode 100755
index 0000000..0cc069e
--- /dev/null
+++ b/utils/razercfg/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=razercfg
+ VERSION=0.17
+ SOURCE="${SPELL}-${VERSION}.tar.bz2"
+ SOURCE_URL[0]=http://bu3sch.de/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:57a2e56e7253c8241a1ffdc01a9848677c75a48e029e2bb44f74fcdbe34a326f5e563c56c9e1ba96755a4de04ae79a2cf3a5888d544382efd727d9e87f778aec
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+
WEB_SITE="http://bu3sch.de/cms/index.php/${SPELL}-nextgen-config-tool"
+ LICENSE[0]=GPL
+ ENTERED=20120104
+ SHORT="Razer device configuration tool"
+cat << EOF
+This is the next generation Razer device configuration tool bringing the
+Razer gaming experience to the free OpenSource world.
+
+This utility is a replacement for the old deathaddercfg tool.
+
+The tool architecture is based on "razerd", which is a background daemon
doing
+all of the lowlevel privileged hardware accesses. The user interface tools
+are "razercfg", a commandline tool; and "qrazercfg", a QT4 based graphical
+device configuration tool
+EOF
diff --git a/utils/razercfg/FINAL b/utils/razercfg/FINAL
new file mode 100755
index 0000000..b95e037
--- /dev/null
+++ b/utils/razercfg/FINAL
@@ -0,0 +1,9 @@
+message "\n${MESSAGE_COLOR}If you don't have an xorg.conf, you don't have to
\
+do anything and it should work out-of-the-box.\n
+The X-server must _not_ be configured to a specific mouse device like \
+/dev/input/mouse0, because on configuration events razerd may have to \
+temporarly unregister the mouse from the system. This will confuse the \
+X-server, if it's configured to a specific device.\n
+Configure it to the generic /dev/input/mice device instead. This will enable
\
+the X-server to pick up the mouse again after a configuration event from \
+razerd.\n${DEFAULT_COLOR}"
diff --git a/utils/razercfg/HISTORY b/utils/razercfg/HISTORY
new file mode 100644
index 0000000..28c2dea
--- /dev/null
+++ b/utils/razercfg/HISTORY
@@ -0,0 +1,3 @@
+2012-01-04 Julien _kaze_ ROZO <julien AT rozo.org>
+ * BUILD, DEPENDS, DETAILS, FINAL, HISTORY, init.d/razerd: spell
created
+
diff --git a/utils/razercfg/init.d/razerd b/utils/razercfg/init.d/razerd
new file mode 100644
index 0000000..b495e0f
--- /dev/null
+++ b/utils/razercfg/init.d/razerd
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+PROGRAM=/usr/sbin/razerd
+RUNLEVEL=3
+NEEDS="udevd"
+PIDFILE="/var/run/razerd/razerd.pid"
+
+. /etc/init.d/smgl_init
+
+start() {
+ echo "Starting $NAME"
+ if [ -e $PIDFILE ] ; then
+ echo "$NAME already running";
+ else
+ $PROGRAM -f -B -P $PIDFILE
+ fi
+ evaluate_retval
+}
+
+stop() {
+ echo "Stopping $NAME"
+ if [ -e $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+ kill -9 $PID && rm -f $PIDFILE;
+ else
+ echo "$NAME not running";
+ fi
+ evaluate_retval
+}
- [SM-Commit] GIT changes to master grimoire by Julien ROZO (0e8799e4ef50484307fc8553d9fd936fd0289267), Julien ROZO, 01/05/2012
Archive powered by MHonArc 2.6.24.