summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-14 03:05:03 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-14 03:05:03 +0000
commit18406207d374025e4ffb87053858b074b45da2b6 (patch)
tree61f799bba5a5d63f1f98eb94ff8ba309379150de
parent3ef1555bc5055cf5b01b40c21826600fbd50190a (diff)
debianization
git-svn-id: file:///home/lennart/svn/public/keyfuzz/trunk@11 e03e4fad-c0d1-0310-aabf-8987f8117c4c
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control22
-rw-r--r--debian/copyright11
-rw-r--r--debian/dirs1
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules107
7 files changed, 149 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3d60837
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+keyfuzz (0.2-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Lennart Poettering <mzqrovna@0pointer.net> Tue, 14 Feb 2006 03:21:24 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..71d6821
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: keyfuzz
+Section: utils
+Priority: optional
+Maintainer: Lennart Poettering <mzqrovna@0pointer.net>
+Build-Depends: debhelper (>= 4.0.0), gengetopt, lynx, xmltoman
+Standards-Version: 3.6.2
+
+Package: keyfuzz
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Manipulate the scancode/keycode translation tables of keyboard drivers
+ You may use keyfuzz to manipulate the scancode/keycode translation
+ tables of keyboard drivers supporting the Linux input layer API (as
+ included in Linux 2.6). This is useful for fixing the translation
+ tables of multimedia keyboards or laptop keyboards with special
+ keys. keyfuzz is not a daemon like Gnome acme which reacts on special
+ hotkeys but a tool to make non-standard keyboards compatible with
+ such daemons. keyfuzz should be run once at boot time, the
+ modifications it makes stay active after the tool quits until
+ reboot. keyfuzz does not interact directly with XFree86. However,
+ newer releases of the latter (4.1 and above) rely on the Linux input
+ API, so they take advantage of the fixed translation tables.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..77d3318
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+This package was debianized by Lennart Poettering <mzqrovna@0pointer.net>.
+
+It was downloaded from http://0pointer.de/lennart/projects/keyfuzz/
+
+Upstream Author: Lennart Poettering
+
+Copyright:
+
+You are free to distribute this software under the terms of the GNU General
+Public License. On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..236670a
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..afe6da2
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+doc/README
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7ee4049
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,107 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #/usr/bin/docbook-to-man debian/keyfuzz.sgml > keyfuzz.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/keyfuzz.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/keyfuzz
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+# dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+ dh_installinit -o -- start 75 S .
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install