From: Julien Valroff Date: Sun, 31 Jul 2011 04:42:26 +0000 (+0200) Subject: Add Debian branch X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=aadeb3ee7c029252fedf8d7420664e92d922d3ae;p=omnibook.git Add Debian branch --- diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 651ac14..0000000 --- a/debian/README.Debian +++ /dev/null @@ -1,29 +0,0 @@ -omnibook for Debian -------------------- - -Please see docs/README for a description of the omnibook kernel module. - -The Debian omnibook source package provides omnibook-source, package -which provides the source for the kernel module. - -The omnibook-source package can be used in several ways, - - - Using the make-kpkg(1) command provided by the kernel-package Debian - package. This will produce a corresponding omnibook-modules package for - the Debian kernel-image package that you are using. - See the "modules_image" section of the make-kpkg(1) man page. - - - Using module-assistant. Simply issue the following command (as root): - $ module-assistant auto-install omnibook - Please see the module-assistant documentation for futher details. - - - Changing to the /usr/src/modules/omnibook/ directory and building as - the README file instructs using "make; make install". This will build - and install a module specific to the system you are building on and is - not under control of the packaging system. - -If your are not using module-assistant, you have to unpack -/usr/src/omnibook-source.tar.bz2 to /usr/src. - - -- Peter Soos , Wed, 25 Jan 2006 21:06:28 +0100 - -- Julien Valroff Sun, 07 Oct 2007 10:38:07 +0200 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 6f22078..0000000 --- a/debian/changelog +++ /dev/null @@ -1,208 +0,0 @@ -omnibook (3:2.20070211+git20110115.208d01c-1) unstable; urgency=low - - * Change package versioning scheme following to the switch to git - * Update my email address - * Bump Debian policy to 3.9.2 - * Apply patch from Ryan Martin to fix - alignment issue with kernel >= 2.6.33 - * Add omnibook-dkms package - * Rephrase package description - * Switch to DEP-5 style copyright file - * Various packaging improvements - - -- Julien Valroff Sat, 25 Jun 2011 08:15:49 +0200 - -omnibook (2:2.20070211+svn20100520-1) unstable; urgency=low - - * Bump Debian policy version to 3.8.4 - * Move to git - update VCS fields accordingly - * Apply patch from Tiago Batista to fix - backlight compilation issue with kernel >= 2.6.34 - - -- Julien Valroff Thu, 20 May 2010 21:07:21 +0200 - -omnibook (2:2.20070211+svn20090714b-3) unstable; urgency=low - - * Converted source package to 3.0 (quilt) format - * Added watch file - * Fixed build dependencies - * Adjusted module standards version to 3.8.3 - - -- Julien Valroff Fri, 01 Jan 2010 17:51:34 +0100 - -omnibook (2:2.20070211+svn20090714b-2) unstable; urgency=low - - * Bumped Standards Version to 3.8.3 (no changes needed) - - -- Julien Valroff Fri, 21 Aug 2009 14:01:34 +0200 - -omnibook (2:2.20070211+svn20090714b-1) unstable; urgency=low - - * New SVN snapshot: - + fix build issue induced by previous patches - + fix build with kernel >= 2.6.30 - - -- Julien Valroff Tue, 14 Jul 2009 18:17:49 +0200 - -omnibook (2:2.20070211+svn20090714-1) unstable; urgency=low - - * New SVN snapshot: - + Applied patches from Azael Avalos - to add support to Satellite X205 and other laptops based on - ICH8 - * New Standards version 3.8.2 - * Bumped DH compat to 7 - * Updated copyright information - * Now use dh_prep instead of dh_clean -k - - -- Julien Valroff Tue, 14 Jul 2009 10:03:00 +0200 - -omnibook (2:2.20070211+svn20090227-1) unstable; urgency=low - - * New SVN snapshot - + Applied patch from Danny Kukawka to - fix compiler warning about use uninitialized variable - + Applied patch from Danny Kukawka to - fix build the driver on older kernel versions - - * New Standards version 3.8.0 - no further changes needed - * Updated copryight information - - -- Julien Valroff Fri, 27 Feb 2009 19:57:35 +0100 - -omnibook (2:2.20070211+svn20071217-1) unstable; urgency=low - - * New SVN snapshot (r271) - * Added amd64 as a compatible architecture for the module - * New Standards version 3.7.3 - no further changes needed - - -- Julien Valroff Mon, 17 Dec 2007 18:00:29 +0100 - -omnibook (2:2.20070211+svn20071006-1) unstable; urgency=low - - * New SVN snapshot (r264): - + Update for acpi and backlight API changes in linux 2.6.23 - * First upload to Debian (Closes: #445602): - + Improved debian/copyright - + Bumped debhelper compat to version 5 - + Added myself as maintainer - + Updated README.Debian - * debian/control: - + Moved Homepage to own field (from pseudo-field in long description) - + Added Vcs-* fields - - -- Julien Valroff Thu, 29 Nov 2007 18:30:27 +0100 - -omnibook (2:2.20070211+svn20070905-1) unstable; urgency=low - - * Added dependency on dpatch - * [debian/rules]: - - Fixed lintian warning in the clean target - - -- Julien Valroff Wed, 05 Sep 2007 20:25:13 +0200 - -omnibook (2:2.20070211+svn20070526-1) unstable; urgency=low - - * New SVN snapshot (r259): - + Fixed compilation issue with kernel 2.6.21 - + DMI signature added: - Toshiba Satellite P25 (ectype 11) - Toshiba Satellite M60 (ectype 12) - * Added patch to disable debug for SVN snasphot - - -- Julien Valroff Sat, 26 May 2007 15:19:57 +0200 - -omnibook (2:2.20070211-1) unstable; urgency=low - - * New upstream release: - + For ectype 12 (Satellite M40X, M70, M100, ...): - - improved bluetooth control - - cooling method control - - CPU throttling ( ACPI T-States) - + Full hotkeys support for Tecra S1 - + Bluetooth control for Ectype 14 (Satellite A100, A105, M115, ...) - * Updated homepage in long description - - -- Julien Valroff Mon, 12 Feb 2007 18:50:05 +0100 - -omnibook (2:2.20060921+svn20061202-1) unstable; urgency=low - - * New SVN snapshot (r228) - - -- Julien Valroff Sat, 2 Dec 2006 10:17:07 +0100 - -omnibook (2:2.20060921+svn20061112-1) unstable; urgency=low - - * SVN snapshot: - + Disabled Acer support - + Fixed and improved bluetooth handling for TSM30X class laptop - + DMI signature added: - HP Pavilion ze4500 (ectype 7) - Toshiba Satellite 1130 (ectype 1) - Toshiba Satellite A75 (ectype 12) - Toshiba Tecra A4 (ectype 13) - + Implemented Volume down,up and Mute buttons polling for ectype 2 - + Implemented ectype 13 Fn hotkeys handling. - * changed compression of the sources in /usr/src/ to bzip2 - - -- Julien Valroff Sat, 11 Nov 2006 14:08:47 +0100 - -omnibook (2:2.20060921-1) unstable; urgency=low - - * New upstream release: - + Expand display and hotkeys features - + Added support for more laptops - + Code cleanups - + Minor bug fixes - - -- Julien Valroff Mon, 25 Sep 2006 08:14:59 +0200 - -omnibook (2:2.20060817-1) unstable; urgency=low - - * New upstream release - * [01_makfefile.dpatch] Removed - fixed upstream - * Changed defaut STEM value to linux (follows kernel-package) - * Uses dh_installmodules for maintainance scripts - - -- Julien Valroff Mon, 11 Sep 2006 18:00:50 +0200 - -omnibook (2:2.20060809-2) unstable; urgency=low - - * Include copyright and Debian changelog in omnibook-module - * Fix Makefile issue in a more elegant way - - -- Julien Valroff Thu, 10 Aug 2006 10:16:47 +0200 - -omnibook (2:2.20060809-1) unstable; urgency=low - - * New upstream release: - + Addeed autodetection of the Toshiba Satellite M40X laptop - - -- Julien Valroff Thu, 10 Aug 2006 09:40:45 +0200 - -omnibook (2:2.20060806-1) unstable; urgency=low - - * New upstream branch - Mathieu Bérard launched new project - * Added myself as co-maintainer - * Bumped upstream version and use epoch to ensure upgrades - * [debian/rules]: - + Clean-ups - + Recommends linux-image or kernel-image - * [debian/control] Improved long description - * [debian/post*.modules.in] Fixed bashisms - * Added patch to fix install target in Makefile - - -- Julien Valroff Thu, 10 Aug 2006 01:35:38 +0200 - -omnibook (20060126-1) unstable; urgency=low - - * Minor build inconveniences corrected. - - -- Daniel Gimpelevich Sun, 18 Jun 2006 12:28:55 -0700 - -omnibook (20060126-0) unstable; urgency=low - - * Locally built. - - -- Péter Soós Wed, 25 Jan 2006 21:06:28 +0100 - diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 45a4fb7..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -8 diff --git a/debian/control b/debian/control deleted file mode 100644 index 792b217..0000000 --- a/debian/control +++ /dev/null @@ -1,75 +0,0 @@ -Source: omnibook -Section: misc -Priority: optional -Maintainer: Julien Valroff -Build-Depends: debhelper (>= 8.0.0) -Build-Depends-Indep: bzip2 -Standards-Version: 3.9.2 -Homepage: http://omnibook.sf.net -Vcs-Git: git://omnibook.git.sourceforge.net/gitroot/omnibook/omnibook -Vcs-Browser: http://omnibook.git.sourceforge.net/ - -Package: omnibook-source -Architecture: all -Depends: ${misc:Depends}, module-assistant, debhelper (>= 7), make, bzip2 -Description: Source for the omnibook kernel module - The omnibook kernel module is intended to provide Linux kernel support for many - laptops such as: - * HP OmniBook and Pavilion - * Toshiba Satellite and Tecra which are not supported by the - toshiba_acpi module - * Compal ACL00 - * Many laptops manufactured by Compal Electronics, Inc as ODM - . - Supported features depends on the exact laptop model but may include: - * Enabling hotkey buttons - * Console (LCD display) blanking - * Battery status monitoring. - * Fan and fan policy support - * Touchpad control - * AC Adapter status monitoring - * External display monitors status monitoring and control - * LCD brightness (backlight) monitoring and control - * Docking station/port replicator status - * CPU temperature monitoring - * Mute LED monitoring and control - * Wifi and Bluetooth adapters monitoring and control - * Cooling method control - * CPU Throttling control - . - This module is only compatible with Linux kernels >= 2.6.9 - . - This package provides the source code for the acerhdf kernel module. - Kernel source or headers are required to compile this module. - -Package: omnibook-dkms -Architecture: all -Depends: ${misc:Depends}, dkms (>= 1.95) -Description: omnibook kernel module sources for dkms - The omnibook kernel module is intended to provide Linux kernel support for many - laptops such as: - * HP OmniBook and Pavilion - * Toshiba Satellite and Tecra which are not supported by the - toshiba_acpi module - * Compal ACL00 - * Many laptops manufactured by Compal Electronics, Inc as ODM - . - Supported features depends on the exact laptop model but may include: - * Enabling hotkey buttons - * Console (LCD display) blanking - * Battery status monitoring. - * Fan and fan policy support - * Touchpad control - * AC Adapter status monitoring - * External display monitors status monitoring and control - * LCD brightness (backlight) monitoring and control - * Docking station/port replicator status - * CPU temperature monitoring - * Mute LED monitoring and control - * Wifi and Bluetooth adapters monitoring and control - * Cooling method control - * CPU Throttling control - . - This package provides the source code for the omnibook kernel module to be - built with dkms. Kernel sources or headers are required to compile this - module. diff --git a/debian/control.modules.in b/debian/control.modules.in deleted file mode 100644 index cd41423..0000000 --- a/debian/control.modules.in +++ /dev/null @@ -1,22 +0,0 @@ -Source: omnibook -Section: misc -Priority: optional -Maintainer: Julien Valroff -Build-Depends: debhelper (>= 7) -Standards-Version: 3.9.2 - -Package: omnibook-module-_KVERS_ -Architecture: i386 amd64 -Recommends: linux-image-_KVERS_ -Provides: omnibook-module -Description: omnibook module for Linux (kernel _KVERS_) - This package contains the loadable kernel modules for the HP OmniBooks, - Pavilions, Toshiba Satellites and some other laptops manufactured by - Compal Electronics, Inc as ODM. - . - This package contains the compiled kernel modules for _KVERS_ - . - If you have compiled your own kernel, you will most likely need to build - your own omnibook-module. The omnibook-source package has been - provided for use with the Debian kernel-package utility to produce a version - of omnibook-module for your kernel. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 157f174..0000000 --- a/debian/copyright +++ /dev/null @@ -1,33 +0,0 @@ -Format: http://dep.debian.net/deps/dep5 -Upstream-Name: omnibook -Source: http://sourceforge.net/projects/omnibook - -Files: * -Copyright: 2006-2007 Mathieu Bérard -License: GPL-2+ - -Files: dump.c -Copyright: 2004-2005 Borislav Deianov -License: GPL-2+ - -Files: debian/* -Copyright: 2006 Peter Soos - 2006-2011 Julien Valroff -License: GPL-2+ - -License: GPL-2+ - This package 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. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see - . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in deleted file mode 100644 index 52c6965..0000000 --- a/debian/dkms.conf.in +++ /dev/null @@ -1,7 +0,0 @@ -PACKAGE_NAME="omnibook" -PACKAGE_VERSION="_VERSION_" -MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build" -CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean" -AUTOINSTALL=yes -BUILT_MODULE_NAME[0]="omnibook" -DEST_MODULE_LOCATION[0]=/extra diff --git a/debian/docs b/debian/docs deleted file mode 100644 index 92b9685..0000000 --- a/debian/docs +++ /dev/null @@ -1,4 +0,0 @@ -doc/BUGS -doc/CREDITS -doc/README -misc/hotkeys diff --git a/debian/omnibook-dkms.install.in b/debian/omnibook-dkms.install.in deleted file mode 100644 index b348dd3..0000000 --- a/debian/omnibook-dkms.install.in +++ /dev/null @@ -1,5 +0,0 @@ -*.c usr/src/omnibook-_VERSION_/ -*.h usr/src/omnibook-_VERSION_/ -*.lds usr/src/omnibook-_VERSION_/ -Makefile usr/src/omnibook-_VERSION_/ -debian/dkms.conf usr/src/omnibook-_VERSION_/ diff --git a/debian/omnibook-dkms.postinst b/debian/omnibook-dkms.postinst deleted file mode 100644 index 3e2b75e..0000000 --- a/debian/omnibook-dkms.postinst +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -set -e - -CVERSION=`dpkg-query -W -f='${Version}' omnibook-dkms | awk -F "-" '{print $1}' | cut -d\: -f2` - -#DEBHELPER# - -case "$1" in - configure) - echo "Adding Module to DKMS build system" - dkms add -m omnibook -v $CVERSION > /dev/null - echo "Doing initial module build" - dkms build -m omnibook -v $CVERSION > /dev/null - echo "Installing initial module" - dkms install -m omnibook -v $CVERSION --force > /dev/null - echo "Done." - ;; -esac diff --git a/debian/omnibook-dkms.prerm b/debian/omnibook-dkms.prerm deleted file mode 100644 index 5048b57..0000000 --- a/debian/omnibook-dkms.prerm +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -set -e - -#DEBHELPER# - -CVERSION=`dpkg-query -W -f='${Version}' omnibook-dkms | awk -F "-" '{print $1}' | cut -d\: -f2` - -case "$1" in - remove|upgrade) - echo "Removing all DKMS Modules" - dkms remove -m omnibook -v $CVERSION --all > /dev/null - echo "Done." - ;; -esac diff --git a/debian/patches/01_disable-debug.diff b/debian/patches/01_disable-debug.diff deleted file mode 100644 index fd753d1..0000000 --- a/debian/patches/01_disable-debug.diff +++ /dev/null @@ -1,16 +0,0 @@ -Description: Disable debug flag -Author: Julien Valroff -Forwarded: not-needed - -diff -urNad omnibook~/Makefile omnibook/Makefile ---- omnibook~/Makefile 2007-04-01 11:37:03.000000000 +0200 -+++ omnibook/Makefile 2007-05-26 15:20:41.000000000 +0200 -@@ -29,7 +29,7 @@ - #Uncomment and set to force debug behavior - #NOTE: Default (commented) behavior is to enable debug in trunk or branch svn - # snapshot and to disable it for release --#OMNIBOOK_WANT_DEBUG=n -+OMNIBOOK_WANT_DEBUG=n - - #comment to disable backlight device support - OMNIBOOK_WANT_BACKLIGHT=y diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 7e6d94e..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -01_disable-debug.diff diff --git a/debian/rules b/debian/rules deleted file mode 100755 index ec4e165..0000000 --- a/debian/rules +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/make -f - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# Name of the source package -psource := omnibook-source - -# The short upstream name, used for the module source directory -sname := omnibook - -UPSTREAM_VERSION := $(shell dpkg-parsechangelog|grep "^Version:"|cut -d" " -f2|rev|cut -d- -f2-|rev|cut -d':' -f2) - -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - sed -e 's#_VERSION_#$(UPSTREAM_VERSION)#' < debian/omnibook-dkms.install.in > debian/omnibook-dkms.install - sed -e 's#_VERSION_#$(UPSTREAM_VERSION)#' < debian/dkms.conf.in > debian/dkms.conf - -build-arch: configure-stamp build-arch-stamp -build-arch-stamp: - dh_testdir - touch build-arch-stamp - -build-indep: configure-stamp build-indep-stamp -build-indep-stamp: - dh_testdir - touch build-indep-stamp - -build: build-arch build-indep - -clean: - dh_testdir - rm -f build-arch-stamp build-indep-stamp configure-stamp - -rm -f debian/dkms.conf debian/omnibook-dkms.install - dh_clean - -install: DH_OPTIONS= -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - - # Create the directories to install the source into - dh_installdirs -p$(psource) usr/src/modules/$(sname)/debian - cp debian/compat debian/rules debian/changelog \ - debian/control debian/copyright debian/*.modules.in \ - debian/$(psource)/usr/src/modules/$(sname)/debian - cp Makefile *.c *.h *.lds debian/$(psource)/usr/src/modules/$(sname) - - cd debian/$(psource)/usr/src && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules - dh_install - -# Build architecture-independent files here. -# Pass -i to all debhelper commands in this target to reduce clutter. -binary-indep: build install - dh_testdir -i - dh_testroot -i - dh_installchangelogs -i doc/ChangeLog - dh_installdocs -i - dh_installexamples -i - dh_installman -i - dh_link -i - dh_compress -i - dh_fixperms -i - dh_installdeb -i - dh_installdeb -i - dh_shlibdeps -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -# Build architecture-dependent files here. -binary-arch: build install - -# modifieable for experiments or debugging m-a -MA_DIR ?= /usr/share/modass -# load generic variable handling --include $(MA_DIR)/include/generic.make -# load default rules, including kdist, kdist_image, ... --include $(MA_DIR)/include/common-rules.make - -kdist_clean: prep-deb-files - [ ! -f Makefile ] || $(MAKE) KSRC=$(KSRC) clean - dh_clean - -binary-modules: kdist_config prep-deb-files - dh_testroot - dh_prep - dh_installdirs lib/modules/$(KVERS)/extra - - # Build the module - $(MAKE) KSRC=$(KSRC) KVERS=$(KVERS) - - # Install the module - $(MAKE) install KSRC=$(KSRC) DESTDIR=$(CURDIR)/debian/$(PKGNAME) INSTDIR=extra DEPMOD="/bin/true" - - dh_installdocs - dh_compress - dh_installmodules - dh_installchangelogs - dh_fixperms - dh_installdeb - dh_gencontrol -- -v$(VERSION) - dh_md5sums - dh_builddeb --destdir=$(DEB_DESTDIR) - dh_prep - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure binary-modules kdist kdist_config kdist_image kdist_clean diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/watch b/debian/watch deleted file mode 100644 index 4ad4f17..0000000 --- a/debian/watch +++ /dev/null @@ -1,2 +0,0 @@ -version=3 -http://sf.net/omnibook/omnibook-(.*)\.tar\.gz