--- omhacks-0.16.orig/debian/rules +++ omhacks-0.16/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +VERSION=$(shell debian/vercheck) + +%: + dh $@ + +vercheck: + debian/vercheck > /dev/null + +debsrc: vercheck + fakeroot debian/rules clean + test -z "`git ls-files -d -o -m -u -s`" || (echo "There are uncommitted changes" >&2; /bin/false) + test -z "`git diff --cached`" || (echo "There are uncommitted changes in the index" >&2; /bin/false) + tar --transform "s/^./omhacks-$(VERSION)/" --exclude=.git --exclude=debian -zcf ../omhacks-$(VERSION).tar.gz . && ln -f ../omhacks-$(VERSION).tar.gz ../omhacks_$(VERSION).orig.tar.gz + debuild -S -us -uc -rfakeroot -i.git -I.git --- omhacks-0.16.orig/debian/libomhacks0.install +++ omhacks-0.16/debian/libomhacks0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- omhacks-0.16.orig/debian/compat +++ omhacks-0.16/debian/compat @@ -0,0 +1 @@ +7 --- omhacks-0.16.orig/debian/copyright +++ omhacks-0.16/debian/copyright @@ -0,0 +1,34 @@ +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 +Source: http://git.debian.org/?p=pkg-fso/omhacks.git;a=summary + +Files: * +Copyright: 2009, 2010, 2011 Enrico Zini + 2009, 2010, 2011 Timo Juhani Lindfors +License: GPL-2+ + +Files: debian/* +Copyright: 2009, 2010, 2011 Enrico Zini + 2010, 2011 Timo Juhani Lindfors +License: GPL-2+ + +Files: COPYING +Copyright: Copyright (C) 1989, 1991 Free Software Foundation, Inc., +License: noderivs + +License: GPL-2+ + This program 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 program 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. + . + On Debian systems, the complete text of the GNU General Public License can be + found in /usr/share/common-licenses/GPL-2 file. + +License: noderivs + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. --- omhacks-0.16.orig/debian/docs +++ omhacks-0.16/debian/docs @@ -0,0 +1 @@ +README --- omhacks-0.16.orig/debian/omhacks.install +++ omhacks-0.16/debian/omhacks.install @@ -0,0 +1,4 @@ +usr/lib/pm-utils/sleep.d/* +usr/bin/* +usr/share/man/* +usr/share/doc/omhacks/examples/00at --- omhacks-0.16.orig/debian/vercheck +++ omhacks-0.16/debian/vercheck @@ -0,0 +1,13 @@ +#!/bin/sh +VERSION_CMAKE=`grep '^set(omhacks_version' CMakeLists.txt |sed -r 's/.+"([^"]+)".+/\1/'` +VERSION_DEB=`head -n 1 debian/changelog | sed -re 's/.+\(([^-]+).+/\1/'` +VERSION="$VERSION_CMAKE" + +if [ "$VERSION_CMAKE" != "$VERSION_DEB" ] +then + echo "Version mismatch between cmake ($VERSION_CMAKE) and debian/changelog ($VERSION_DEB)" >&2 + exit 1 +fi + +echo "$VERSION" +exit 0 --- omhacks-0.16.orig/debian/changelog +++ omhacks-0.16/debian/changelog @@ -0,0 +1,151 @@ +omhacks (0.16-1) unstable; urgency=low + + * New upstream release + - Fix om wifi power for 2.6.39 (by adding rfkill support) + + -- Timo Juhani Lindfors Fri, 28 Oct 2011 18:02:20 +0300 + +omhacks (0.15-1) unstable; urgency=low + + * New upstream release + - Fix error handling of om_sysfs_readfile + * Convert copyright information to DEP-5 format + * Update standards-version from 3.9.1.0 to 3.9.2 + + -- Timo Juhani Lindfors Tue, 26 Jul 2011 16:03:47 +0000 + +omhacks (0.14-1) unstable; urgency=low + + * New upstream release + - Fix off-by-one bug in om backlight brightness + + -- Timo Juhani Lindfors Tue, 15 Mar 2011 18:11:46 +0200 + +omhacks (0.13-1) unstable; urgency=low + + * New upstream release + - Improve support for Linux 2.6.34 and 2.6.37 + - om backlight brightness [0-100] + * Use versioned dependency for libomhacks0. Closes: #604000 + + -- Timo Juhani Lindfors Sat, 05 Feb 2011 15:57:48 +0200 + +omhacks (0.12-0~fso1) unstable; urgency=low + + [ Timo Jyrinki ] + * Upload to pkg-fso since Debian is in freeze + + [ Timo Juhani Lindfors ] + * New upstream release + - Improve support for Linux 2.6.32. + - om screen resolution [normal|qvga-normal] + - om screen glamo-bus-timings [4-4-4|2-4-2] + - Support multiple PMU resume reasons. Closes: #592617 + * Improve documentation of pm-suspend integration in README.Debian + * Update standards-version from 3.8.4 to 3.9.1.0 + + -- Timo Jyrinki Mon, 11 Oct 2010 18:33:45 +0300 + +omhacks (0.11-2) unstable; urgency=low + + [ Timo Juhani Lindfors ] + * Avoid crash in omhacks.so when it is run under a kernel that does not + support resume_reason. Closes: #601321 + + [ Enrico Zini ] + * Also check error code when reading led status. There was no known bug + about it, but it was an unchecked error code found during a code review + for other unchecked error codes after #601321 + * Use detected maximum brightness value instead of an arbitrary hardcoded + one + + -- Enrico Zini Mon, 25 Oct 2010 22:53:13 +0200 + +omhacks (0.11-1) unstable; urgency=low + + * New upstream release + - detailed manual page + - om wifi keep-bus-on-in-suspend [1/0] + - initial support for Linux 2.6.32 sysfs paths + * Explicitly specify source format to be 1.0 + * Update standards-version from 3.8.3 to 3.8.4 + * Make sleep.d/00at only an example to avoid dependency to atd and python. + Closes: #576312 + + -- Timo Juhani Lindfors Wed, 23 Jun 2010 07:17:53 -0400 + +omhacks (0.10-1) unstable; urgency=low + + * Fixed python typo in 00at hook + + -- Enrico Zini Wed, 10 Mar 2010 21:51:26 +0100 + +omhacks (0.9-1) unstable; urgency=low + + * Removed useless O_CREAT. Closes: #569610 + * Install at suspend hook as executable, so it actually works. + (thanks to lindi) + * Manpages and usage messages greatly improved (by lindi) + + -- Enrico Zini Wed, 24 Feb 2010 11:44:53 +0000 + +omhacks (0.8-1) unstable; urgency=low + + * New upstream release + - om battery charger-limit [0-500] (by lindi) + - om screen power [1/0] (by lindi) + - om wifi maxperf [1/0] (by lindi) + + -- Enrico Zini Sun, 10 Jan 2010 13:07:45 +0000 + +omhacks (0.7-1) unstable; urgency=low + + * New upstream release + - Link omhacks.so pm-suspend hook to libomhacks.so + - om ubx thanks to lindi + + -- Enrico Zini Mon, 28 Dec 2009 00:03:21 +0100 + +omhacks (0.6-1) unstable; urgency=low + + * New upstream release + - Forked pm-utils-light in a separate package + - New "om gps flowcontrol" function + - New "om usb" functions + - Added manpages + * Improved package descriptions + + -- Enrico Zini Fri, 18 Dec 2009 23:41:27 +0000 + +omhacks (0.5-1) unstable; urgency=low + + * New upstream version + - added uevent module + + -- Enrico Zini Thu, 17 Dec 2009 22:52:21 +0000 + +omhacks (0.4-1) unstable; urgency=low + + * New upstream release + - added function to get the max brightness value + + -- Enrico Zini Wed, 16 Dec 2009 15:10:46 +0000 + +omhacks (0.3-1) unstable; urgency=low + + * New upstream release + - dynamic plugin hook signatures changed to be the same as main() + + -- Enrico Zini Tue, 24 Nov 2009 23:34:18 +0000 + +omhacks (0.2-1) unstable; urgency=low + + * New upstream version + + -- Enrico Zini Sun, 22 Nov 2009 18:25:18 +0000 + +omhacks (0.1-1) unstable; urgency=low + + * Initial release + + -- Enrico Zini Sun, 22 Nov 2009 12:48:43 +0000 --- omhacks-0.16.orig/debian/libomhacks-dev.install +++ omhacks-0.16/debian/libomhacks-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/pkgconfig/* --- omhacks-0.16.orig/debian/control +++ omhacks-0.16/debian/control @@ -0,0 +1,46 @@ +Source: omhacks +Section: misc +Priority: extra +Maintainer: Enrico Zini +Uploaders: Timo Juhani Lindfors , Timo Jyrinki +Build-Depends: debhelper (>= 7), cmake (>= 2.6), help2man, linux-libc-dev +Standards-Version: 3.9.2 +Homepage: http://git.debian.org/?p=pkg-fso/omhacks.git;a=blob;f=README +Vcs-Git: git://git.debian.org/git/pkg-fso/omhacks.git +Vcs-Browser: http://git.debian.org/?p=pkg-fso/omhacks.git + +Package: omhacks +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends}, libomhacks0 (= ${binary:Version}) +Suggests: pm-utils-light +Description: command line interface to OpenMoko hardware + Command line interface to libomhacks functions. + . + This package provides an "om" command line tool to control various aspects of + an OpenMoko phone. + . + This has only been tested on the FreeRunner. + +Package: libomhacks-dev +Section: libdevel +Architecture: linux-any +Depends: libomhacks0 (= ${binary:Version}), ${misc:Depends} +Description: library of useful functions to control OpenMoko hardware + This library is a collective collection of functions to control various + aspects of an OpenMoko phone. It is intended to be light and simple. + . + This has only been tested on the FreeRunner. + . + This is the development library. + +Package: libomhacks0 +Section: libs +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: library of useful functions to control OpenMoko hardware + This library is a collective collection of functions to control various + aspects of an OpenMoko phone. It is intended to be light and simple. + . + This has only been tested on the FreeRunner. + . + This is the shared library. --- omhacks-0.16.orig/debian/source/format +++ omhacks-0.16/debian/source/format @@ -0,0 +1 @@ +1.0