[Pkg-wmaker-commits] [wmbatppc] 03/35: Imported Debian patch 1.0-1

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:23:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmbatppc.

commit b7234755a313cfdb8095a4e07b52bf93f2c609c0
Author: Julien BLACHE <jblache at debian.org>
Date:   Mon Oct 29 13:23:46 2001 +0100

    Imported Debian patch 1.0-1
---
 Makefile         | 31 +++++++++++----------
 debian/changelog | 17 ++++++++++++
 debian/control   | 22 +++++++++++++++
 debian/copyright | 15 ++++++++++
 debian/dirs      |  2 ++
 debian/docs      |  2 ++
 debian/menu      |  2 ++
 debian/rules     | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 wmbatppc.1       |  8 +++++-
 9 files changed, 166 insertions(+), 16 deletions(-)

diff --git a/Makefile b/Makefile
index c84eeac..f0e42f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,24 @@
-#
+# Modified for Debian packaging -- jblache at debian.org
+DESTDIR=
 
+PREFIX= $(DESTDIR)/usr
+CC = /usr/bin/gcc
+INSTALL = /usr/bin/install
 LIBDIR = -L/usr/X11R6/lib
-LIBS   = -lXpm -lXext -lX11 -lm
-FLAGS = -O6
-OBJS =	 \
-		wmgeneral.o \
+LIBS = -lXpm -lXext -lX11 -lm
+FLAGS = -O2
+OBJS = wmgeneral.o
 
 default:all
 
 .c.o:
-	cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
+	$(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
 
 wmbatppc.o: wmbatppc.c wmbatppc-master.xpm
-	cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall wmbatppc.c -o $*.o
+	$(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall wmbatppc.c -o $*.o
 
 wmbatppc: $(OBJS) wmbatppc.o
-	cc $(FLAGS) -o wmbatppc $(OBJS) -lXext $(LIBDIR) $(LIBS) wmbatppc.o
+	$(CC) $(FLAGS) -o wmbatppc $(OBJS) -lXext $(LIBDIR) $(LIBS) wmbatppc.o
 
 all:: wmbatppc
 
@@ -25,11 +28,9 @@ clean::
 	rm -f *~
 
 install:: wmbatppc
-	strip wmbatppc
-	cp -f wmbatppc /usr/local/bin/
-	chmod 755 /usr/local/bin/wmbatppc
-	chown root:root /usr/local/bin/wmbatppc
-	cp -f wmbatppc.1 /usr/local/man/man1
-	chmod 644 /usr/local/man/man1/wmbatppc.1
-	chown root:root /usr/local/man/man1/wmbatppc.1
+# let dh_strip handle this
+#	strip wmbatppc
+	$(INSTALL) -m 755 wmbatppc $(PREFIX)/bin
+# let dh_installman handle it
+#	$(INSTALL) -m 644 wmbatppc.1 $(PREFIX)/share/man/man1
 	@echo "wmbatppc Installation finished..."
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6f3cd45
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,17 @@
+wmbatppc (1.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Modified the menu to run wmbatppc -w (WindowMaker mode).
+
+ -- Julien BLACHE <jblache at debian.org>  Mon, 29 Oct 2001 13:23:46 +0100
+
+wmbatppc (0.2-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#114191).
+  * Reworked the description.
+
+ -- Julien BLACHE <jblache at debian.org>  Sun,  2 Sep 2001 21:09:51 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f236450
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: wmbatppc
+Section: utils
+Priority: optional
+Maintainer: Julien BLACHE <jblache at debian.org>
+Build-Depends: debhelper (>> 3.0.0), xlibs-dev
+Standards-Version: 3.5.2
+
+Package: wmbatppc
+Architecture: powerpc
+Depends: pmud, ${shlibs:Depends}
+Suggests: wmaker
+Description: Battery monitor for Apple G3/G4 ibooks/powerbooks
+ wmbatppc displays the status of your laptop's battery in a dock icon.
+ This is aimed at PPC laptops, suchs as iBooks and PowerBooks G3 or G4.
+ .
+ The status infos include the charge of the battery, the voltage, whether
+ your laptop is plugged in or not, whether the battery is charging
+ or not, the time remaining (both se and charge) and the level of the
+ battery (it indicates the level of each battery if your laptop has two
+ bays).
+ .
+ This package depends on pmud which provides the informations.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..99f8582
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+This package was debianized by Julien BLACHE <jblache at debian.org> on
+Sun,  2 Sep 2001 21:08:22 +0200.
+
+It was downloaded from http://titelou.free.fr/wmbatppc/
+
+Upstream Author: Carine BOURNEZ <titelou at free.fr>
+
+Copyright:
+
+This program is released under a totally free license, see
+/usr/share/doc/wmbatppc/COPYING for more infos. (in short: do what you want,
+and feel free to send feedback, ideas, bug reports and chocolate to its author)
+However, it uses some piece of code from other softwares that are licensed under
+the terms of the GNU General Public License. On Debian systems, the text of
+the GNU General Public License can be found in /usr/share/common-licenses/GPL.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..74c5069
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..2e3abae
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+COPYING
+README
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..a1ea4fa
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(wmbatppc):needs=wm section=Apps/System\
+  title="wmbatppc" command="/usr/bin/wmbatppc -w"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..267ee3f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/wmbatppc.sgml > wmbatppc.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/wmbatppc.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/wmbatppc
+
+
+# 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_installdebconf	
+	dh_installdocs
+#	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+	dh_installman wmbatppc.1
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs 
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/wmbatppc.1 b/wmbatppc.1
index fe8f8ce..53f33c7 100644
--- a/wmbatppc.1
+++ b/wmbatppc.1
@@ -19,7 +19,13 @@ Sets the update interval (in milliseconds), default: 100
 .TP
 .I \-display display
 This option specifies the X server to contact; see X(1).
-
+.TP
+.I \-w
+This option enables the WindowMaker/AfterStep GUI (64*64 pixmap)
+.TP
+.I \-x
+This option enables the swallowed application GUI (24*176 pixmap)
+intended for use with the GNOME Panel.
 
 .SH BUGS
 Please report any bugs you may find to:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbatppc.git



More information about the Pkg-wmaker-commits mailing list