--- batmon.app-0.2.orig/GNUmakefile +++ batmon.app-0.2/GNUmakefile @@ -8,16 +8,16 @@ # Application # VERSION = 0.2 -PACKAGE_NAME = batmon -APP_NAME = batmon -batmon_APPLICATION_ICON = +PACKAGE_NAME = BatMon +APP_NAME = BatMon +BatMon_APPLICATION_ICON = GNUSTEP_INSTALLATION_DIR = $(HOME)/GNUstep # # Resource files # -batmon_RESOURCE_FILES = \ +BatMon_RESOURCE_FILES = \ Resources/batmon.gorm\ Resources/Info-gnustep.plist\ Resources/LICENSE \ @@ -26,21 +26,21 @@ # # Header files # -batmon_HEADER_FILES = \ +BatMon_HEADER_FILES = \ AppController.h # # Class files # -batmon_OBJC_FILES = \ +BatMon_OBJC_FILES = \ AppController.m # # C files # -batmon_C_FILES = +BatMon_C_FILES = -batmon_OBJC_FILES += \ +BatMon_OBJC_FILES += \ main.m # --- batmon.app-0.2.orig/debian/BatMon.desktop +++ batmon.app-0.2/debian/BatMon.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=BatMon +Comment=Monitor battery status +Type=Application +Version=0.94 +Categories=System;Monitor; +Exec=BatMon --- batmon.app-0.2.orig/debian/changelog +++ batmon.app-0.2/debian/changelog @@ -0,0 +1,26 @@ +batmon.app (0.2-4) unstable; urgency=low + + * GNUstep transition. (Closes: #447467) + + Updated debian/rules. + * Added a desktop file. + + -- Gürkan Sengün Thu, 25 Oct 2007 23:28:37 +0200 + +batmon.app (0.2-3) unstable; urgency=low + + * Rebuild against latest libgnustep-gui-dev. + * Bump standards version. + + -- Gürkan Sengün Mon, 18 Sep 2006 22:59:25 +0200 + +batmon.app (0.2-2) unstable; urgency=low + + * Patched GNUmakefile so BatMon works. + + -- Gürkan Sengün Wed, 5 Apr 2006 14:36:36 +0200 + +batmon.app (0.2-1) unstable; urgency=low + + * Initial release. (Closes: #352096) + + -- Gürkan Sengün Sat, 21 Jan 2006 11:49:45 +0100 --- batmon.app-0.2.orig/debian/compat +++ batmon.app-0.2/debian/compat @@ -0,0 +1 @@ +4 --- batmon.app-0.2.orig/debian/control +++ batmon.app-0.2/debian/control @@ -0,0 +1,21 @@ +Source: batmon.app +Section: x11 +Priority: optional +Maintainer: Gürkan Sengün +Build-Depends: debhelper (>= 4.0.0), libgnustep-gui-dev (>= 0.12.0), gnustep-make +Standards-Version: 3.7.2 +Homepage: http://www.nongnu.org/gap/batmon/ + +Package: batmon.app +Architecture: any +Depends: ${shlibs:Depends} +Description: Battery monitor for GNUstep + Battery Monitor is a battery monitor for laptops. It displays the current + status of the battery (charge/discharge and energy level) as well as some + information about the general health of the cell. + . + Due to the way Battery Monitor is implemented it currently works only on + linux 2.6 kernels with ACPI and that too reliably only on some acpi/bios + combination (it is being worked on: the /proc file system is very + inconsistent.) A user-contributed patch to make it work on FreeBSD has been + merged in. --- batmon.app-0.2.orig/debian/copyright +++ batmon.app-0.2/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Gürkan Sengün on +Sat, 21 Jan 2006 11:49:45 +0100. + +It was downloaded from http://www.nongnu.org/gap/batmon/ + +Copyright Holder: Riccardo Mottola (multix), + FreeBSD support by Chris B. Vetter, + Free Software Foundation + +License: + + Copyright (C) 2005 Riccardo Mottola + Copyright (C) 2005 Chris B. Vetter + Copyright (C) 2005 Free Software Foundation + + This application 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 application 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 + Library General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. + +Released under the GNU GPL. +Please see /usr/share/common-licenses/GPL for the full license. --- batmon.app-0.2.orig/debian/dirs +++ batmon.app-0.2/debian/dirs @@ -0,0 +1 @@ +usr/bin --- batmon.app-0.2.orig/debian/manpages +++ batmon.app-0.2/debian/manpages @@ -0,0 +1 @@ +debian/BatMon.1 --- batmon.app-0.2.orig/debian/menu +++ batmon.app-0.2/debian/menu @@ -0,0 +1,2 @@ +?package(batmon.app):needs="X11" section="Applications/System/Monitoring"\ + title="BatMon" command="/usr/bin/BatMon" --- batmon.app-0.2.orig/debian/rules +++ batmon.app-0.2/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/GNUstep/debian/config.mk +GNUSTEP_MAKEFILES=$(GS_MAKE_DIR) + +build: build-stamp + +build-stamp: + dh_testdir + gs_make + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + gs_make clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + gs_make install GNUSTEP_INSTALLATION_DOMAIN=SYSTEM DESTDIR=$(CURDIR)/debian/batmon.app + rm -f $(CURDIR)/debian/batmon.app/usr/lib/GNUstep/Applications/BatMon.app/Resources/LICENSE + dh_install debian/*.desktop usr/share/applications/ + rm $(CURDIR)/debian/*.app/usr/lib/GNUstep/Applications/*.app/Resources/*.desktop + +# 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 + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installmenu + dh_installman + 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 --- batmon.app-0.2.orig/debian/BatMon.1 +++ batmon.app-0.2/debian/BatMon.1 @@ -0,0 +1,21 @@ +.TH BATMON 1 "January 21, 2006" +.SH NAME +BatMon \- Battery monitor +.SH SYNOPSIS +.B BatMon +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly the +.B BatMon +command. +.PP +\fBBatMon\fP is a battery monitor for laptops. It displays the current +status of the battery (charge/discharge and energy level) as well as some +information about the general health of the cell. +.SH SEE ALSO +.BR GNUstep (7). +.SH AUTHOR +BatMon was written by Riccardo Mottola. +.PP +This manual page was written by G\[:u]rkan Seng\[:u]n , +for the Debian project (but may be used by others).