[Pkg-wmaker-commits] [wmsun] 01/73: Imported Debian patch 1.03-3

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 12:04:41 UTC 2015


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

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

commit c50129da372c3676c0a6713afa17a23ad445f37c
Author: Martin A. Godisch <godisch at tcs.inf.tu-dresden.de>
Date:   Mon Mar 4 02:15:09 2002 +0100

    Imported Debian patch 1.03-3
---
 debian/changelog | 19 ++++++++++++++++
 debian/config    | 10 +++++++++
 debian/control   | 16 ++++++++++++++
 debian/copyright | 27 +++++++++++++++++++++++
 debian/docs      |  2 ++
 debian/menu      |  2 ++
 debian/postinst  | 33 ++++++++++++++++++++++++++++
 debian/rules     | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/templates | 41 +++++++++++++++++++++++++++++++++++
 wmSun/Makefile   |  6 ++++--
 10 files changed, 220 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e30b240
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,19 @@
+wmsun (1.03-3) unstable; urgency=low
+
+  * Moved files from /usr/X11R6 to /usr.
+  * Updated standards version.
+
+ -- Martin A. Godisch <godisch at tcs.inf.tu-dresden.de>  Mon,  4 Mar 2002 02:15:09 +0100
+
+wmsun (1.03-2) unstable; urgency=low
+
+  * Fixed architecture in debian/control.
+
+ -- Martin A. Godisch <godisch at tcs.inf.tu-dresden.de>  Sun,  3 Mar 2002 07:51:51 +0100
+
+wmsun (1.03-1) unstable; urgency=low
+
+  * Initial release (closes: #136355).
+
+ -- Martin A. Godisch <godisch at tcs.inf.tu-dresden.de>  Fri,  1 Mar 2002 21:53:26 +0100
+
diff --git a/debian/config b/debian/config
new file mode 100644
index 0000000..c490959
--- /dev/null
+++ b/debian/config
@@ -0,0 +1,10 @@
+#! /bin/sh -e
+
+. /usr/share/debconf/confmodule
+db_version "2.0"
+db_title "Configuring wmSun"
+
+db_input medium wmsun/latitude  && db_go || :
+db_input medium wmsun/longitude && db_go || :
+
+exit 0
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..abc8390
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: wmsun
+Section: x11
+Priority: optional
+Maintainer: Martin A. Godisch <godisch at tcs.inf.tu-dresden.de>
+Build-Depends: xlibs-dev, debhelper (>> 3.0.0)
+Standards-Version: 3.5.6
+
+Package: wmsun
+Architecture: any
+Depends: debconf, ${shlibs:Depends}
+Suggests: wmaker
+Description: Dockable WindowMaker SunRise/SunSet App
+ wmSun displays the current day's Sun Rise and Set Times. You must
+ enter your Latitude and Longitude for it to work correctly. wmSun
+ is designed to work with the WindowMaker dock, but will work
+ with other window managers as well.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..51d8f58
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by
+Martin A. Godisch <godisch at tcs.inf.tu-dresden.de>
+on Mon,  1 Feb 1999 01:37:20 -0800.
+
+It was downloaded from
+http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
+
+Upstream Author: Michael G. Henderson <mghenderson at lanl.gov>
+
+Copyright (c) Michael G. Henderson <mghenderson at lanl.gov>
+
+  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.
+
+  You should have received a copy of the GNU General Public License along
+  with this program; if not, write to the Free Software Foundation, Inc.,
+  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..2e58c4d
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+BUGS
+TODO
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..230a87a
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(wmsun):needs=X11 section=Apps/Tools\
+  title="wmSun" command="/usr/bin/wmSun"
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..4a5897f
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,33 @@
+#! /bin/sh -e
+
+. /usr/share/debconf/confmodule
+menu="/usr/lib/menu/wmsun"
+
+case "$1" in
+configure)
+	db_get wmsun/latitude || :
+	if [ -n "$RET" ]; then
+		latitude="-lat $RET"
+	else
+		latitude=""
+	fi
+	db_get wmsun/longitude || :
+	if [ -n "$RET" ]; then
+		longitude="-lon $RET"
+	else
+		longitude=""
+	fi
+	echo "?package(wmsun):needs=X11 section=Apps/Tools\\" > $menu && \
+	echo "  title=\"wmSun\" command=\"/usr/bin/wmSun $latitude $longitude\"" >> $menu || :
+	;;
+abort-upgrade|abort-remove|abort-deconfigure)
+	;;
+*)
+	echo "postinst called with unknown argument \`$1'" >&2
+	exit 1
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bac123d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+#export DH_VERBOSE=1
+export DH_COMPAT=3
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	$(MAKE) -C wmSun
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	-$(MAKE) -C wmSun clean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) -C wmSun install DESTDIR=$(CURDIR)/debian/wmsun
+
+binary-indep: build install
+
+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
+#	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/debian/templates b/debian/templates
new file mode 100644
index 0000000..4015e20
--- /dev/null
+++ b/debian/templates
@@ -0,0 +1,41 @@
+Template: wmsun/latitude
+Type: string
+Description: Please enter the latitude of the observer.
+ You have to enter your latitude for wmSun to work correctly.
+ You may find it out at http://www.calle.com/world/. If you don't
+ know your latitude at this moment, leave the input field blank and
+ run `dpkg-reconfigure wmsun' later.
+ .
+ Note that this configuration applies only to the X menu system. If
+ you call wmSun from a terminal prompt you can supply the `-lat'
+ option.
+Description-de: Bitte geben Sie den Breitengrad des Beobachters an.
+ Um korrekte Zeiten zu ermitteln, mu� wmSun Ihren Breitengrad kennen.
+ Diesen k�nnen Sie unter http://www.calle.com/world/ abfragen.
+ Sollten Sie Ihren Breitengrad im Moment nicht kennen, lassen Sie das
+ Eingabefeld leer und rufen Sie sp�ter "dpkg-reconfigure wmsun" auf.
+ .
+ Beachten Sie, da� diese Konfiguration nur f�r X-Men�s verwendet wird.
+ Beim Aufruf von der Kommandozeile k�nnen Sie den Schalter "-lat"
+ angeben.
+
+Template: wmsun/longitude
+Type: string
+Description: Please enter the longitude of the observer.
+ You have to enter your longitude for wmSun to work correctly.
+ You may find it out at http://www.calle.com/world/. If you don't
+ know your longitude at this moment, leave the input field blank and
+ run `dpkg-reconfigure wmsun' later.
+ .
+ Note that this configuration applies only to the X menu system. If
+ you call wmSun from a terminal prompt you can supply the `-lon'
+ option.
+Description-de: Bitte geben Sie den L�ngengrad des Beobachters ein.
+ Um korrekte Zeiten zu ermitteln, mu� wmSun Ihren L�ngengrad kennen.
+ Diesen k�nnen Sie unter http://www.calle.com/world/ abfragen.
+ Sollten Sie Ihren L�ngengrad im Moment nicht kennen, lassen Sie das
+ Eingabefeld leer und rufen Sie sp�ter "dpkg-reconfigure wmsun" auf.
+ .
+ Beachten Sie, da� diese Konfiguration nur f�r X-Men�s verwendet wird.
+ Beim Aufruf von der Kommandozeile k�nnen Sie den Schalter "-lon"
+ angeben.
diff --git a/wmSun/Makefile b/wmSun/Makefile
index 907b2b4..bbc7fce 100644
--- a/wmSun/Makefile
+++ b/wmSun/Makefile
@@ -38,6 +38,8 @@ clean:
 	rm -f wmSun
 
 install:: wmSun
-	install -s -m 0755 wmSun $(DESTDIR)/bin
-	install    -m 0644 wmSun.1 $(DESTDIR)/man/man1 
+	install -d $(DESTDIR)/usr/bin
+	install -d $(DESTDIR)/usr/share/man/man1
+	install -s -m 0755 wmSun   $(DESTDIR)/usr/bin
+	install    -m 0644 wmSun.1 $(DESTDIR)/usr/share/man/man1
 

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



More information about the Pkg-wmaker-commits mailing list