--- libg15-1.2.6.orig/debian/rules +++ libg15-1.2.6/debian/rules @@ -1,115 +1,8 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. + +DEB_DH_MAKESHLIBS_ARGS_libg15 := --version-info -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk - -# 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 - -# shared library versions, option 1 -version=1.0.0 -major=1 -# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so -#version=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` -#major=`ls src/.libs/lib*.so.* | \ -# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` - -config.status: configure - dh_testdir - # Add here commands to configure the package. - CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info - - -build: build-stamp -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - - 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 -plibg15 - dh_installdirs -plibg15-dev - - # Add here commands to install the package into debian/tmp - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - - -# 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 -a - dh_testroot -a - dh_installchangelogs ChangeLog -a - dh_installdocs -a - dh_installexamples -a - dh_install -a --sourcedir=debian/tmp - dh_installmenu -a - dh_installdebconf -a - dh_installlogrotate -a - dh_installemacsen -a - dh_installpam -a - dh_installmime -a - dh_installinit -a - dh_installcron -a - dh_installinfo -a - dh_installman -a - dh_link -a - dh_strip -a - dh_compress -a - dh_fixperms -a -# dh_perl -a -# dh_python -a - dh_makeshlibs -a - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a - dh_md5sums -a - dh_builddeb -a - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +DEB_CONFIGURE_EXTRA_FLAGS = --quiet --- libg15-1.2.6.orig/debian/control +++ libg15-1.2.6/debian/control @@ -1,21 +1,28 @@ Source: libg15 +Section: libs Priority: optional -Maintainer: Mike Lampard -Build-Depends: debhelper (>= 4.0.0), autotools-dev, libusb-dev -Standards-Version: 3.6.2 +Maintainer: Giacomo Catenazzi +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libusb-dev +Standards-Version: 3.7.3 +Homepage: http://www.g15tools.com/ + +Package: libg15-1 Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Library for interfacing with the Logitech G15 keyboards + libg15 provides an API for low level control of the LCD display and + the extra keys on some Logitech keyboards (G11, G15) + . + This package contains the shared library and the runtime data. Package: libg15-dev Section: libdevel +Depends: libg15-1 (= ${binary:Version}) Architecture: any -Depends: libg15 (= ${Source-Version}) -Description: Development packages for libg15 - Includes the files needed for developing software that uses libg15. +Description: Library for interfacing with the Logitech G15 keyboards + libg15 provides an API for low level control of the LCD display and + the extra keys on some Logitech keyboards (G11, G15). + . + This package contains the header files and the static library. -Package: libg15 -Section: libs -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Library for interfacing with the Logitech G15 Keyboard - Provides for low-level control of the lcd and extra keys on the - Logitech G15 keyboard. --- libg15-1.2.6.orig/debian/compat +++ libg15-1.2.6/debian/compat @@ -1 +1 @@ -4 +5 --- libg15-1.2.6.orig/debian/libg15-dev.install +++ libg15-1.2.6/debian/libg15-dev.install @@ -1,6 +1,5 @@ -usr/include/* -usr/lib/lib*.a -usr/lib/lib*.so -usr/lib/pkgconfig/* -usr/lib/*.la -usr/share/pkgconfig/* +debian/tmp/usr/include/* usr/include/ +debian/tmp/usr/lib/lib*.a usr/lib/ +debian/tmp/usr/lib/lib*.so usr/lib/ +debian/tmp/usr/lib/*.la usr/lib/ + --- libg15-1.2.6.orig/debian/copyright +++ libg15-1.2.6/debian/copyright @@ -1,12 +1,30 @@ -This package was debianized by Anthony J. Mirabella on -Sun, 24 Sep 2006 22:57:06 -0400. +This package was debianized by Giacomo A. Catenazzi on +Mon, 27 Aug 2007 07:56:10 +0200. -It was downloaded from sourceforge.net +It was downloaded from http://g15tools.sourceforge.net/ -Copyright Holders: Philip Lawatsch - Alex Ibrado - Autotools support added by Anthony J. Mirabella +Upstream Authors: + + Philip Lawatsch + Alex Ibrado + Anthony J. Mirabella + +Copyright: + + Copyright (C) 2006,2007 Philip Lawatsch + Alex Ibrado + Anthony J. Mirabella License: -GPL + g15tools is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + +License can be found in the file `/usr/share/common-licenses/GPL-2'. + + +The Debian packaging is (C) 2007, Giacomo A. Catenazzi and +is licensed under the GPL v2 (or later), see `/usr/share/common-licenses/GPL-2'. + --- libg15-1.2.6.orig/debian/changelog +++ libg15-1.2.6/debian/changelog @@ -1,56 +1,30 @@ -libg15 1.2.6 edgy; urgency=low - * Re-Add 5BYTE_RETURN flag. Auto-detect does not work with Solaris' libusb. - * Add laptop GamePanel support. - -libg15 1.2.5 edgy; urgency=low - * Remove 5BYTE_RETURN flag and process key packets based on length. Please - report any regressions. - * Add Solaris detection and remove locks if detected. Solaris' libUSB - blocks on read, forcing mutexes causes writes to block too. - -libg15 1.2.4 edgy; urgency=low - * Turns out that the newer G15's have a different (5 byte) keyboard protocol. - * Optimise dumpPixmapIntoLCDFormat routine - Thanks to Adam Nielsen - -libg15 1.2.3 edgy; urgency=low - * Add support for the newer G15 keyboards which have amber backlights and - six 'G' keys. - -libg15 1.2.2 edgy; urgency=low - * Add support for the logitech Z-10 speakers - many thanks to Dwayne Fontenot for - detailed information and debugging. - -libg15 (1.2.1) edgy; urgency=low - * Add debugging function to enable/disable extra output - * All debugging output is now prefixed with libg15 to aid localising - problems. - * debugging function now also controls libusb debugging output. - * Try to claim usb interface up to 10 times before failing - * Slow down initialisation, to allow keyboard to come out of usb - auto-suspend on newer kernels. - * Attempt to combat ENOSPC by slowing down writes to the lcd if ENOSPC is - received. Unless that error occurs at least once, transfers are sent as normal. - * Add function to change keyboard backlight (independant of lcd backlight). - * Add re-initialising function, which will attempt to reconnect a keyboard - that was previously removed and replugged. - * libg15 now uses pthread mutexes to force sequential access to the bus via - libusb. Control message URBs are no longer being lost if sent by a different - thread in the middle of a screen transfer etc. - * Reset the keyboard before init to ensure correct initialisation on - kernels > 2.6.19 - -libg15 (1.1.1-1) edgy; urgency=low - - * Add basic support for the G11 keyboard - * revert all bulk transfers - bulk transfers are illegal for low-speed - devices, and cause -22 (EINVAL) warnings on new kernels. - * pass most errors to the client app. +libg15 (1.2.6-1) unstable; urgency=low - -- Anthony J. Mirabella Fri, 15 Dec 2006 05:17:49 -0500 + * New upstream release -libg15 (1.0-1) breezy; urgency=low + -- Giacomo Catenazzi Mon, 28 Jan 2008 07:58:11 +0100 - * Initial release +libg15 (1.2.5-1) unstable; urgency=low - -- Anthony J. Mirabella Sun, 24 Sep 2006 22:57:06 -0400 + * New upstream release + + -- Giacomo Catenazzi Wed, 09 Jan 2008 08:06:33 +0100 + +libg15 (1.2.4-1) unstable; urgency=low + + * New upstream release + + -- Giacomo Catenazzi Tue, 18 Dec 2007 08:08:43 +0100 + +libg15 (1.2.3-1) unstable; urgency=low + + * New upstrem version: add support of new g15 keyboards + + -- Giacomo Catenazzi Thu, 15 Nov 2007 07:44:43 +0100 + +libg15 (1.2.2-1) unstable; urgency=low + + * Initial release + + -- Giacomo Catenazzi Mon, 27 Aug 2007 07:56:10 +0200 --- libg15-1.2.6.orig/debian/README.Debian +++ libg15-1.2.6/debian/README.Debian @@ -0,0 +1,10 @@ +libg15 for Debian +----------------- + +Notes about hardware + +Notes about configuration of other packages + + + + -- Giacomo Catenazzi Mon, 27 Aug 2007 07:56:10 +0200 --- libg15-1.2.6.orig/debian/watch +++ libg15-1.2.6/debian/watch @@ -0,0 +1,7 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://sf.net/g15tools libg15-(.*)\.tar\.bz2 + --- libg15-1.2.6.orig/debian/libg15-1.install +++ libg15-1.2.6/debian/libg15-1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* usr/lib/