--- xkbset-0.5.orig/debian/patches/01_fix_makefile.dpatch +++ xkbset-0.5/debian/patches/01_fix_makefile.dpatch @@ -0,0 +1,39 @@ +#!/bin/sh -e +## 01_fix_makefile.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/rene/xkbset-0.5/Makefile xkbset-0.5/Makefile +--- /home/rene/xkbset-0.5/Makefile 2003-10-17 04:18:33.000000000 +0200 ++++ xkbset-0.5/Makefile 2003-10-17 04:20:25.000000000 +0200 +@@ -1,8 +1,8 @@ + X11PREFIX=/usr/X11R6 + X11BASE=/usr/X11R6 + +-INSTALL_BIN=${DESTDIR}${X11PREFIX}/bin +-INSTALL_MAN1=${DESTDIR}${X11PREFIX}/man/man1 ++INSTALL_BIN=${DESTDIR}/usr/bin ++INSTALL_MAN1=${DESTDIR}/usr/share/man/man1 + + INC_PATH=-I${X11BASE}/include + LIB_PATH=-L${X11BASE}/lib --- xkbset-0.5.orig/debian/patches/00list +++ xkbset-0.5/debian/patches/00list @@ -0,0 +1,2 @@ +01_fix_makefile +02_clarify_errors --- xkbset-0.5.orig/debian/patches/02_clarify_errors.dpatch +++ xkbset-0.5/debian/patches/02_clarify_errors.dpatch @@ -0,0 +1,45 @@ +#!/bin/sh -e +## 02_clarify_errors.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/rene/xkbset-0.3/main.c xkbset-0.3/main.c +--- /home/rene/xkbset-0.3/main.c 2000-08-17 06:36:15.000000000 +0200 ++++ xkbset-0.3/main.c 2003-10-17 04:14:31.000000000 +0200 +@@ -79,10 +79,14 @@ + if (reason_rtrn != XkbOD_Success) { + switch(reason_rtrn) { + case XkbOD_BadLibraryVersion: +- case XkbOD_BadServerVersion: +- case XkbOD_NonXkbServer: + fprintf(stderr,"Non-existent or incompatible XKB library version\n"); + break; ++ case XkbOD_BadServerVersion: ++ fprintf(stderr,"Bad X server version\n"); ++ break; ++ case XkbOD_NonXkbServer: ++ fprintf(stderr,"X Server does not support XKB..."); ++ break; + case XkbOD_ConnectionRefused: + fprintf(stderr, "Unable to open display\n"); + break; --- xkbset-0.5.orig/debian/changelog +++ xkbset-0.5/debian/changelog @@ -0,0 +1,68 @@ +xkbset (0.5-5.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfix. + * Build-depend on libx11-dev instead of the obsolete xlibs-dev; thanks to + Justin Pryzby for testing. Closes: #346782. + + -- Steve Langasek Fri, 20 Jan 2006 11:23:37 -0800 + +xkbset (0.5-5) unstable; urgency=low + + * updated standards version + + -- Francois Gurin Sun, 8 May 2005 22:10:30 -0400 + +xkbset (0.5-4) unstable; urgency=low + + * signed changes + + -- Francois Gurin Sun, 3 Apr 2005 19:00:29 -0400 + +xkbset (0.5-3) unstable; urgency=low + + * New maintainer. + + -- Francois Gurin Mon, 21 Mar 2005 18:17:47 -0500 + +xkbset (0.5-2) unstable; urgency=low + + * QA Upload. + * add dpatch to Build-Depends *blushes* + + -- Rene Engelhard Tue, 28 Oct 2003 15:47:20 +0100 + +xkbset (0.5-1) unstable; urgency=low + + * QA Upload. + * New upstream release + * debhelper compat v4 + - Build-Depend on debhelper (>> 4.0.0) + * remove dh_undocumented call + * fix lintian errors/warnings + * move to dpatch; existing Makefile changes moved to + 01_fix_makefile.dpatch + * add 02_clarify_errors to do what the name says :-) (closes: #194455), + thanks Burkhard Perkens-Golomb + * add Suggests: to perl-tk for xkbset-gui + + -- Rene Engelhard Fri, 17 Oct 2003 04:40:52 +0200 + +xkbset (0.3-3) unstable; urgency=low + + * Orphaning. I do not use this program anymore. + + -- Michael Beattie Fri, 17 Oct 2003 10:49:21 +1300 + +xkbset (0.3-2) unstable; urgency=low + + * Oops... editted the template debian/copyright file + + -- Michael Beattie Sat, 3 Aug 2002 13:23:13 +1200 + +xkbset (0.3-1) unstable; urgency=low + + * Initial Release. + + -- Michael Beattie Tue, 30 Jul 2002 14:21:02 +1200 + --- xkbset-0.5.orig/debian/compat +++ xkbset-0.5/debian/compat @@ -0,0 +1 @@ +4 --- xkbset-0.5.orig/debian/control +++ xkbset-0.5/debian/control @@ -0,0 +1,40 @@ +Source: xkbset +Section: x11 +Priority: extra +Maintainer: Francois Gurin +Build-Depends: libx11-dev, debhelper (>> 4.0.0), dpatch +Standards-Version: 3.6.1.0 + +Package: xkbset +Architecture: any +Depends: ${shlibs:Depends} +Suggests: perl-tk +Description: Small utility to change the AccessX settings of XKEYBOARD + AccessX is a set of features within the XKEYBOARD extension of the + X Window System designed to make X more accessible to users with + disabilities. XKEYBOARD is present in X11R6.1 and later. AccessX features + are typically unknown, given that in many implementations no interface + is provided to utilize their functionality. + . + Accessibility Features supported in AccessX include: + . + 1. MouseKeys + MouseKeys is a system whereby the numeric keypad can be used to control + the mouse pointer. + . + 2. SlowKeys + SlowKeys is a feature to "slow down" keyboard input. + . + 3. StickyKeys + StickyKeys enables the user who is unable to press and hold multi-key + combinations to enter them in a sequential format instead. + . + 4. BounceKeys + BounceKeys is similar to StickyKeys, except that instead of a delay + affecting all keys pressed, the delay is only enabled for the key the + user pressed last. + . + 5. RepeatKeys + RepeatKeys sets the same parameters as the global repeat settings, but + it is important to make note of it as an accessibility feature as well. + --- xkbset-0.5.orig/debian/dirs +++ xkbset-0.5/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- xkbset-0.5.orig/debian/rules +++ xkbset-0.5/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/xkbset + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- xkbset-0.5.orig/debian/copyright +++ xkbset-0.5/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Michael Beattie on +Tue, 30 Jul 2002 14:21:02 +1200. + +It was downloaded from http://www.math.missouri.edu/~stephen/software/xkbset/ + +Upstream Author: Stephen Montgomery-Smith + +Copyright: + +Copyright (c) 2000 Stephen Montgomery-Smith +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of Stephen Montgomery-Smith nor the names of his + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE STEPHEN MONTGOMERY-SMITH AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL STEPHEN MONTGOMERY-SMITH OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + --- xkbset-0.5.orig/debian/docs +++ xkbset-0.5/debian/docs @@ -0,0 +1,2 @@ +README +TODO