debian/0000755000000000000000000000000012173024456007172 5ustar debian/rules0000755000000000000000000000061112173023154010242 0ustar #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed %: dh $@ --with quilt --with autoreconf override_dh_auto_configure: find . -name *_vala.stamp | xargs rm -f dh_auto_configure -- --enable-vala override_dh_strip: dh_strip --dbg-package=fso-usaged-dbg override_dh_installdocs: dh_installdocs --link-doc=fso-usaged override_dh_autoreconf: dh_autoreconf --as-needed debian/patches/0000755000000000000000000000000012173023154010613 5ustar debian/patches/fix-pkglibdir.patch0000644000000000000000000000257512173023154014400 0ustar Description: search modules in multiarch path The modules are installed correctly into the multiarch path, but the code doesn't look for them in these directories. This patch changes the module search path to the correct multiarch path. Author: Rico Rommel --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,12 @@ AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) +LIBDIR=`eval echo $libdir` +LIBDIR=`eval echo $LIBDIR` +AC_SUBST([LIBDIR]) + + + ######################################################################################### # Vala building options -- allows tarball builds without installing vala ######################################################################################### @@ -127,6 +133,20 @@ [enable_datafiles=${enableval}]) AM_CONDITIONAL(WANT_DATAFILES, test "${enable_datafiles}" != "no") + +######################################################################################### +# libdir +######################################################################################### + + +if test "x$LIBDIR" != "xNONE"; then + pkglibdir='${LIBDIR}/cornucopia/modules/fsousaged' +else + pkgdatadir='/usr/local/share/fsousaged' +fi + + + ######################################################################################### # check for debugging ######################################################################################### debian/patches/series0000644000000000000000000000002412173023154012024 0ustar fix-pkglibdir.patch debian/control0000644000000000000000000000656412173023154010602 0ustar Source: fso-usaged Section: misc Priority: extra Maintainer: Debian FreeSmartphone.Org Team Uploaders: Heiko Stuebner , Rico Rommel , Sebastian Reichel Build-Depends: debhelper (>= 9), dh-autoreconf, libfso-glib-dev (>= 2012.07.27.1), libfsoframework-dev (>= 0.12.0), libgee-dev (>= 0.5.0), libglib2.0-dev (>= 2.26.0), pkg-config, quilt, valac (>=0.16) Standards-Version: 3.9.4 Homepage: http://freesmartphone.org/ Vcs-Git: git://anonscm.debian.org/pkg-fso/fso-usaged.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fso/fso-usaged.git;a=summary Package: fso-usaged Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: fso-usaged-platform Description: freesmartphone.org usage daemon fsousaged implements the freesmartphone.org Usage API. It automatically controls system resources like GSM, GPS, Bluetooth, WiFi, Display or CPU. . Some platforms (e.g. the Openmoko Freerunner) have custom lowlevel plugins, which are available in optional packages. . This package is part of the freesmartphone.org software stack and is targeted for smartphones. Package: fso-usaged-dbg Architecture: any Section: debug Depends: ${misc:Depends}, fso-usaged (= ${binary:Version}), fso-usaged-htc (= ${binary:Version}) [armel armhf], fso-usaged-openmoko (= ${binary:Version}) [armel], Description: debugging symbols for use with freesmartphone.org usage daemon fsousaged implements the freesmartphone.org Usage API. It automatically controls system resources like GSM, GPS, Bluetooth, WiFi, Display or CPU. . Some platforms (e.g. the Openmoko Freerunner) have custom lowlevel plugins, which are available in optional packages. . This package contains unstripped shared libraries. It is provided primarily to provide a backtrace with names in a debugger, this makes it somewhat easier to interpret core dumps. The libraries are installed in /usr/lib/debug and are automatically used by gdb. Package: fso-usaged-openmoko Architecture: armel Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends}, fso-usaged (= ${binary:Version}) Breaks: fso-usaged (<< 0.9.5+git20110411) Provides: fso-usaged-platform Description: freesmartphone.org usage daemon for Openmoko devices fsousaged implements the freesmartphone.org Usage API. It automatically controls system resources like GSM, GPS, Bluetooth, WiFi, Display or CPU. . This package contains the configuration and lowlevel plugins for the Openmoko Freerunner (also known as GTA02) and its predecessor GTA01. Package: fso-usaged-htc Architecture: armel armhf Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends}, fso-usaged (= ${binary:Version}) Breaks: fso-usaged (<< 0.9.5+git20110411) Provides: fso-usaged-platform Description: freesmartphone.org usage daemon for HTC devices fsousaged implements the freesmartphone.org Usage API. It automatically controls system resources like GSM, GPS, Bluetooth, WiFi, Display or CPU. . This package contains the configuration and lowlevel plugins for the following HTC devices: . * Nexus One * HTC Dream / G1 * HTC HD2 (Leo) debian/fso-usaged-htc.install0000644000000000000000000000017412173023154013367 0ustar etc/freesmartphone/conf/htc*/* etc/freesmartphone/conf/nexusone/* usr/lib/*/cornucopia/modules/fsousage/lowlevel_android.so debian/manpages0000644000000000000000000000002312173023154010675 0ustar debian/fsousaged.1 debian/changelog0000644000000000000000000001014112173023154011033 0ustar fso-usaged (0.12.0-1) unstable; urgency=low [ Rico Rommel ] * New upstream release * New fix-pkglibdir.patch to search modules in multiarch paths * Drop palm pre support * Update vala build dependencies (Closes: #709714) [ Sebastian Reichel ] * Remove deprecated DM-Upload-Allowed * Update Debian Standards Version to 3.9.4 -- Sebastian Reichel Sun, 21 Jul 2013 20:20:15 +0200 fso-usaged (0.11.0-1) unstable; urgency=low * New upstream release * enable vala compilation * enable --as-needed -- Sebastian Reichel Sat, 26 May 2012 11:43:26 +0200 fso-usaged (0.9.5+git20120214-2) unstable; urgency=low * Bump libfso-glib-dev build dependency to 2012.02.14.1 (Closes: #664170) -- Sebastian Reichel Fri, 16 Mar 2012 15:56:37 +0100 fso-usaged (0.9.5+git20120214-1) unstable; urgency=low * New upstream snapshot * depends on vala-0.14 (Closes: #663306) * bump standards to 3.9.3 -- Rico Rommel Sat, 10 Mar 2012 14:21:29 +0100 fso-usaged (0.9.5+git20110805-2) unstable; urgency=low * fix dependencies of fso-usaged-dbg for non armel architectures -- Sebastian Reichel Tue, 30 Aug 2011 02:44:15 +0200 fso-usaged (0.9.5+git20110805-1) unstable; urgency=low [ Rico Rommel ] * New upstream snapshot * bump standards to 3.9.2 * fixed lintian warnings * fixed cleanfiles in src/lib/Makefile.am and .in * fixed cleanfiles in src/plugins/dbus_service/Makefile.am and .in * fixed dependencies (Closes: #629751) * add Rico Rommel to uploaders [ Sebastian Reichel ] * add me to uploaders * switch from cdbs to debhelper * add watch file * update copyright and use DEP5 format * use multi-arch plugin directories * remove libdbus-1-dev and libdbus-glib-1-dev build-dependencies (upstream switched to glib's gdbus) * add manpage for fsousaged -- Sebastian Reichel Sun, 28 Aug 2011 15:27:17 +0200 fso-usaged (0.9.1.1+git20100507-1) unstable; urgency=low * New upstream snapshot - builds with binutils-gold (Closes: #554395) -- Heiko Stuebner Mon, 17 May 2010 18:54:30 +0200 fso-usaged (0.9.1.1+git20100224-2) unstable; urgency=low * Add patch to fix a bug in vala 0.7.10 concerning the DBus object * Install copy of openmoko_gta conf to GTA02 subdir -- Heiko Stuebner Tue, 18 Mar 2010 18:27:50 +0100 fso-usaged (0.9.1.1+git20100224-1) unstable; urgency=low * New upstream snapshot * Bump standards to 3.8.4 * Install default configs for specific hardware -- Heiko Stuebner Sat, 13 Mar 2010 19:58:10 +0100 fso-usaged (0.9.1+git20100106-1) unstable; urgency=low * New upstream snapshot -- Heiko Stuebner Sun, 10 Jan 2010 20:56:10 +0100 fso-usaged (0.9.1+git20091016-2) unstable; urgency=low * rebuild against newer versions of libfsobasics and libfsoframework -- Heiko Stuebner Sun, 22 Nov 2009 21:33:10 +0100 fso-usaged (0.9.1+git20091016-1) unstable; urgency=low * new upstream-snapshot - fix compilation with vala 0.7.7 (Closes: #549767) -- Heiko Stuebner Tue, 20 Oct 2009 19:06:10 +0200 fso-usaged (0.9.1-1) unstable; urgency=low * new upstream-release -- Heiko Stuebner Mon, 21 Sep 2009 20:56:10 +0200 fso-usaged (0.9.0+git20090818-2) unstable; urgency=low * fix lintian warnings -- Heiko Stuebner Mon, 07 Sep 2009 21:56:10 +0200 fso-usaged (0.9.0+git20090818-1) unstable; urgency=low * new upstream-snapshot * bump standards to 3.8.3 -- Heiko Stuebner Thu, 20 Aug 2009 20:56:10 +0200 fso-usaged (0.9.0-1) pkg-fso; urgency=low * new upstream-release -- Heiko Stuebner Sat, 27 Jun 2009 16:30:10 +0200 fso-usaged (0+git20090623-1) pkg-fso; urgency=low * new upstream-snapshot * upload to pkg-fso -- Heiko Stuebner Wed, 24 Jun 2009 19:30:10 +0200 fso-usaged (0+git20090616-1) UNRELEASED; urgency=low * Initial release -- Heiko Stuebner Sat, 30 May 2009 23:56:10 +0200 debian/watch0000644000000000000000000000015312173023154010214 0ustar version=3 http://downloads.freesmartphone.org/sources/cornucopia/([0-9\.]+)/fsousaged-([0-9\.]+)\.tar\.bz2 debian/gbp.conf0000644000000000000000000000267212173023154010612 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] # the default build command: #builder = debuild -i\.git/ -I.git # the default clean command: #cleaner = debuild clean # the default branch for upstream sources: upstream-branch = upstream # the default branch for the debian patch: debian-branch = master # the default tag formats used: #upstream-tag = upstream/%(version)s #debian-tag = debian/%(version)s # use pristine-tar: pristine-tar = True # Options only affecting git-buildpackage [git-buildpackage] #upstream-branch = dfsgclean # uncomment this to automatically GPG sign tags #sign-tags = True # keyid to GPG sign tags with #keyid = 0xdeadbeef # push to a remote repository after a successful tag: #posttag = git-push git.example.com # use this for more svn-buildpackage like behaviour: #export-dir = ../build-area/ #tarball-dir = ../tarballs/ #ignore-new = True # Options only affecting git-import-orig [git-import-orig] #upstream-branch = newupstream #debian-branch = dfsgclean #filter = .svn # Options only affecting git-import-dsc [git-import-dsc] #upstream-branch = svn-upstream #filter = [ 'CVS', '.cvsignore' ] # Options only affecting git-dch [git-dch] #git-log = --no-merges #snapshot-number = snapshot + 1 # include 0 digits of the commit id in the changelog enty #id-length = 0 # don't include information from meta tags #meta = False # what tags to look for to generate bug-closing changelog entries #meta-closes = Closes|LP debian/fso-usaged-openmoko.install0000644000000000000000000000014212173023154014433 0ustar etc/freesmartphone/conf/openmoko_gta/* usr/lib/*/cornucopia/modules/fsousage/lowlevel_openmoko.so debian/copyright0000644000000000000000000000134112173023154011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://www.freesmartphone.org Files: * Copyright: 2009-2011 Michael 'Mickey' Lauer License: LGPL-2.1+ Files: src/plugins/lowlevel_palmpre/plugin.vala Copyright: 2010-2011 Simon Busch License: LGPL-2.1+ Files: debian/* Copyright: 2009-2011 Heiko Stuebner License: GPL-2+ License: GPL-2+ On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: LGPL-2.1+ On Debian GNU/Linux systems, the complete text of the Lesser GNU General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/fso-usaged.install0000644000000000000000000000060012173023154012605 0ustar etc/dbus-1/system.d/fsousaged.conf etc/freesmartphone/conf/default/* usr/sbin/* usr/lib/*/cornucopia/modules/fsousage/libfsousage.so usr/lib/*/cornucopia/modules/fsousage/dbus_service.so usr/lib/*/cornucopia/modules/fsousage/lowlevel_kernel26.so usr/lib/*/cornucopia/modules/fsousage/lowlevel_kernel26_staysalive.so usr/share/dbus-1/system-services/org.freesmartphone.ousaged.service debian/compat0000644000000000000000000000000212173023154010362 0ustar 9 debian/source/0000755000000000000000000000000012173023154010464 5ustar debian/source/format0000644000000000000000000000001412173023154011672 0ustar 3.0 (quilt) debian/fsousaged.10000644000000000000000000000256412173023154011235 0ustar .TH FSOUSAGED 1 "AUGUST 28, 2011" .\" Please adjust this date whenever revising the manpage. .SH NAME fsousaged \- FSO usage daemon .SH SYNOPSIS .B fsousaged .SH DESCRIPTION fsousaged automatically controls system resources like GSM, GPS, Bluetooth, WiFi, Display or CPU. It's intended to be used on smartphones and is part of the freesmartphone.org userland. If applications need to use any of these resources they request it from fsousaged. Then the daemon will enable the resource until the applications release the resource. If multiple applications request the same resource fsousaged ensures that the resources stay enabled until all applications released the resource. Depending on the configuration fsousaged may put the system into suspend if the CPU resource is not requested. fsousaged loads its configuration from /etc/freesmartphone/conf//fsousaged.conf (platform is detected via /proc/cpuinfo). If this file can't be found it will fallback to /etc/freesmartphone/conf/default/fsousaged.conf instead. The daemon will be started automatically by DBus, once a request is send to it, but can also be started manually. .SH OPTIONS fsousaged takes no parameters. .SH AUTHOR fsousaged was written by the FSO Team . .PP This manual page was written by Sebastian Reichel , for the Debian project (but may be used by others).