[Pioneers-commits] r20 - trunk/debian

kemm at garage.maemo.org kemm at garage.maemo.org
Mon Mar 10 03:50:14 EET 2008


Author: kemm
Date: 2008-03-10 03:50:14 +0200 (Mon, 10 Mar 2008)
New Revision: 20

Modified:
   trunk/debian/changelog
   trunk/debian/compat
   trunk/debian/copyright
   trunk/debian/docs
   trunk/debian/emacsen-install.ex
   trunk/debian/emacsen-startup.ex
   trunk/debian/init.d.ex
   trunk/debian/manpage.1.ex
   trunk/debian/manpage.sgml.ex
   trunk/debian/manpage.xml.ex
   trunk/debian/postinst.ex
   trunk/debian/postrm.ex
   trunk/debian/preinst.ex
   trunk/debian/prerm.ex
   trunk/debian/watch.ex
Log:
Package

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/changelog	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,4 +1,4 @@
-maemo-pioneers (0.0.2-1) unstable; urgency=low
+maemo-pioneers (0.0.2-3) unstable; urgency=low
 
   * Move to ITOS2008
   * Hildonization

Modified: trunk/debian/compat
===================================================================
--- trunk/debian/compat	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/compat	2008-03-10 01:50:14 UTC (rev 20)
@@ -1 +1 @@
-4
+5

Modified: trunk/debian/copyright
===================================================================
--- trunk/debian/copyright	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/copyright	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,12 +1,22 @@
 This package was debianized by Alexey Antipovsky <alexey.antipovsky at gmail.com> on
-Sun, 23 Dec 2007 22:30:28 +0300.
+Mon, 18 Feb 2008 02:21:50 +0300.
 
-It was downloaded from <fill in ftp site>
+It was downloaded from <fill in http/ftp site>
 
-Copyright:
+Upstream Author: <put author(s) name and email here>
 
-Upstream Author(s): <put author(s) name and email here>
+Copyright: <put the year(s) of the copyright, and the names of the
+            copyright holder(s) here>
 
 License:
 
-<Must follow here>
+<Put the license of the package here>
+
+
+The Debian packaging is (C) 2008, Alexey Antipovsky <alexey.antipovsky at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+

Modified: trunk/debian/docs
===================================================================
--- trunk/debian/docs	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/docs	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,5 +0,0 @@
-NEWS
-README
-README.Cygwin
-README.MinGW
-TODO

Modified: trunk/debian/emacsen-install.ex
===================================================================
--- trunk/debian/emacsen-install.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/emacsen-install.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,7 +1,7 @@
 #! /bin/sh -e
 # /usr/lib/emacsen-common/packages/install/maemo-pioneers
 
-# Written by Jim Van Zandt <jrv at vanzandt.mv.com>, borrowing heavily
+# Written by Jim Van Zandt <jrv at debian.org>, borrowing heavily
 # from the install scripts for gettext by Santiago Vila
 # <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
 

Modified: trunk/debian/emacsen-startup.ex
===================================================================
--- trunk/debian/emacsen-startup.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/emacsen-startup.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,10 +1,11 @@
 ;; -*-emacs-lisp-*-
 ;;
-;; Emacs startup file for the Debian maemo-pioneers package
+;; Emacs startup file, e.g.  /etc/emacs/site-start.d/50maemo-pioneers.el
+;; for the Debian maemo-pioneers package
 ;;
 ;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
 ;; Modified by Dirk Eddelbuettel <edd at debian.org>
-;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+;; Adapted for dh-make by Jim Van Zandt <jrv at debian.org>
 
 ;; The maemo-pioneers package follows the Debian/GNU Linux 'emacsen' policy and
 ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
@@ -14,6 +15,11 @@
 (let ((package-dir (concat "/usr/share/"
                            (symbol-name flavor)
                            "/site-lisp/maemo-pioneers")))
+;; If package-dir does not exist, the maemo-pioneers package must have
+;; removed but not purged, and we should skip the setup.
   (when (file-directory-p package-dir)
-        (setq load-path (cons package-dir load-path))))
+        (setq load-path (cons package-dir load-path))
+       (autoload 'maemo-pioneers-mode "maemo-pioneers-mode"
+         "Major mode for editing maemo-pioneers files." t)
+       (add-to-list 'auto-mode-alist '("\\.maemo-pioneers$" . maemo-pioneers-mode))))
 

Modified: trunk/debian/init.d.ex
===================================================================
--- trunk/debian/init.d.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/init.d.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -49,13 +49,20 @@
 	# start-stop-daemon --stop --signal 1 --quiet --pidfile \
 	#	/var/run/$NAME.pid --exec $DAEMON
   #;;
-  restart|force-reload)
+  force-reload)
 	#
 	#	If the "reload" option is implemented, move the "force-reload"
 	#	option to the "reload" entry above. If not, "force-reload" is
-	#	just the same as "restart".
-	#
-	echo -n "Restarting $DESC: "
+	#	just the same as "restart" except that it does nothing if the
+	#   daemon isn't already running.
+	# check wether $DAEMON is running. If so, restart
+	start-stop-daemon --stop --test --quiet --pidfile \
+		/var/run/$NAME.pid --exec $DAEMON \
+	&& $0 restart \
+	|| exit 0
+	;;
+  restart)
+    echo -n "Restarting $DESC: "
 	start-stop-daemon --stop --quiet --pidfile \
 		/var/run/$NAME.pid --exec $DAEMON
 	sleep 1

Modified: trunk/debian/manpage.1.ex
===================================================================
--- trunk/debian/manpage.1.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/manpage.1.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH MAEMO-PIONEERS SECTION "December 23, 2007"
+.TH MAEMO-PIONEERS SECTION "February 18, 2008"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:

Modified: trunk/debian/manpage.sgml.ex
===================================================================
--- trunk/debian/manpage.sgml.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/manpage.sgml.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -20,7 +20,7 @@
   <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
   <!ENTITY dhsurname   "<surname>SURNAME</surname>">
   <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>December 23, 2007</date>">
+  <!ENTITY dhdate      "<date>February 18, 2008</date>">
   <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
        allowed: see man(7), man(1). -->
   <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">

Modified: trunk/debian/manpage.xml.ex
===================================================================
--- trunk/debian/manpage.xml.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/manpage.xml.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -30,7 +30,7 @@
   <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
   <!ENTITY dhsurname   "<surname>SURNAME</surname>">
   <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>December 23, 2007</date>">
+  <!ENTITY dhdate      "<date>February 18, 2008</date>">
   <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
        allowed: see man(7), man(1). -->
   <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">

Modified: trunk/debian/postinst.ex
===================================================================
--- trunk/debian/postinst.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/postinst.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # postinst script for maemo-pioneers
 #
 # see: dh_installdeb(1)
@@ -10,20 +10,19 @@
 #        * <old-postinst> `abort-upgrade' <new version>
 #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
 #          <new-version>
+#        * <postinst> `abort-remove'
 #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
 #          <failed-install-package> <version> `removing'
 #          <conflicting-package> <version>
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
-#
 
+
 case "$1" in
     configure)
-
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
-
     ;;
 
     *)

Modified: trunk/debian/postrm.ex
===================================================================
--- trunk/debian/postrm.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/postrm.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # postrm script for maemo-pioneers
 #
 # see: dh_installdeb(1)
@@ -13,21 +13,20 @@
 #        * <new-postrm> `abort-install'
 #        * <new-postrm> `abort-install' <old-version>
 #        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
 
 case "$1" in
-       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
 
-
-        ;;
-
     *)
         echo "postrm called with unknown argument \`$1'" >&2
         exit 1
-
+    ;;
 esac
 
 # dh_installdeb will replace this with shell code automatically
@@ -36,3 +35,5 @@
 #DEBHELPER#
 
 exit 0
+
+

Modified: trunk/debian/preinst.ex
===================================================================
--- trunk/debian/preinst.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/preinst.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # preinst script for maemo-pioneers
 #
 # see: dh_installdeb(1)
@@ -10,19 +10,12 @@
 #        * <new-preinst> `install' <old-version>
 #        * <new-preinst> `upgrade' <old-version>
 #        * <old-preinst> `abort-upgrade' <new-version>
-#
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
 
 case "$1" in
     install|upgrade)
-#        if [ "$1" = "upgrade" ]
-#        then
-#            start-stop-daemon --stop --quiet --oknodo  \
-#                --pidfile /var/run/maemo-pioneers.pid  \
-#                --exec /usr/sbin/maemo-pioneers 2>/dev/null || true
-#        fi
     ;;
 
     abort-upgrade)

Modified: trunk/debian/prerm.ex
===================================================================
--- trunk/debian/prerm.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/prerm.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # prerm script for maemo-pioneers
 #
 # see: dh_installdeb(1)
@@ -19,10 +19,11 @@
 
 case "$1" in
     remove|upgrade|deconfigure)
-#       install-info --quiet --remove /usr/info/maemo-pioneers.info.gz
-        ;;
+    ;;
+
     failed-upgrade)
-        ;;
+    ;;
+
     *)
         echo "prerm called with unknown argument \`$1'" >&2
         exit 1

Modified: trunk/debian/watch.ex
===================================================================
--- trunk/debian/watch.ex	2008-03-10 01:17:29 UTC (rev 19)
+++ trunk/debian/watch.ex	2008-03-10 01:50:14 UTC (rev 20)
@@ -1,6 +1,22 @@
 # Example watch control file for uscan
 # Rename this file to "watch" and then you can run the "uscan" command
 # to check for upstream updates and more.
-# Site		Directory		Pattern			Version	Script
-version=2
-sunsite.unc.edu	/pub/Linux/Incoming	maemo-pioneers-(.*)\.tar\.gz	debian	uupdate
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage 
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php maemo-pioneers-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/maemo-pioneers-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/maemo-pioneers-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+# http://sf.net/maemo-pioneers/maemo-pioneers-(.*)\.tar\.gz
+
+



More information about the Pioneers-commits mailing list