first attempt at packaging -- a few rough edges
authorphil <phil@hands.com>
Sun, 4 Oct 2009 20:23:13 +0000 (21:23 +0100)
committerPhilip Hands <phil@hands.com>
Sat, 10 Oct 2009 23:24:22 +0000 (00:24 +0100)
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/zavai.conffiles [new file with mode: 0644]
debian/zavai.install [new file with mode: 0644]
debian/zavai_forever [new file with mode: 0755]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..b23a936
--- /dev/null
@@ -0,0 +1,24 @@
+zavai for Debian
+----------------
+
+In order to get anything to appear in the Apps menu, copy the .desktop
+files for the progarms you'd like to run to the home directory of the
+user that will be running X, thus:
+
+   mkdir ~/.zavai
+   cp /usr/share/applications/tangogps.desktop ~/.zavai
+   cp /usr/share/applications/navit.desktop ~/.zavai
+   cp /usr/share/applications/vala-terminal.desktop ~/.zavai
+   cp /usr/share/applications/midori.desktop ~/.zavai
+   cp /usr/share/applications/zhone.desktop ~/.zavai
+   cp /usr/share/applications/FBReader.desktop ~/.zavai
+   cp conf/satmon.desktop ~/.zavai
+
+Also copy the example 'display' script there:
+
+   cp /usr/share/doc/zavai/examples/display ~/.zavai
+
+If you're running X as non-root, you'll need to add that user to group
+messagebus.
+
+ -- Philip Hands <phil@hands.com>  Sun, 04 Oct 2009 07:18:21 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..7bceae7
--- /dev/null
@@ -0,0 +1,5 @@
+zavai (0.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- unknown <phil@hands.com>  Sun, 04 Oct 2009 07:18:21 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..57d7dcc
--- /dev/null
@@ -0,0 +1,14 @@
+Source: zavai
+Section: unknown
+Priority: extra
+Maintainer: Enrico Zini <enrico@enricozini.org>
+Build-Depends: debhelper (>= 7), autotools-dev, valac, libglib2.0-dev, libdbus-glib-1-dev, libgee-dev, libgtk2.0-dev, libwnck-dev, libdevkit-power-gobject-dev
+Standards-Version: 3.8.3
+Homepage: http://git.debian.org/?p=users/enrico/zavai.git
+
+Package: zavai
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, devicekit-power
+Suggests: polygen, polygen-data
+Description: a UI for openmoko
+ A useless thing of no value
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..a556de3
--- /dev/null
@@ -0,0 +1,35 @@
+This work was packaged for Debian by:
+
+    unknown <phil@hands.com> on Sun, 04 Oct 2009 07:18:21 +0100
+
+It was downloaded from <url://example.com>
+
+Upstream Author(s):
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright:
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
+
+License:
+
+    <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is:
+
+    Copyright (C) 2009 unknown <phil@hands.com>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following lines in.
+
+and is licensed under the GPL version 3, 
+see `/usr/share/common-licenses/GPL-3'.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..aa7d0b5
--- /dev/null
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh  $@
diff --git a/debian/zavai.conffiles b/debian/zavai.conffiles
new file mode 100644 (file)
index 0000000..0f49aec
--- /dev/null
@@ -0,0 +1 @@
+etc/dbus-1/system.d/zavai.conf
diff --git a/debian/zavai.install b/debian/zavai.install
new file mode 100644 (file)
index 0000000..697e6e4
--- /dev/null
@@ -0,0 +1,4 @@
+conf/zavai.conf etc/dbus-1/system.d
+icons usr/share/zavai
+src/display usr/share/doc/zavai/examples
+debian/zavai_forever usr/bin
diff --git a/debian/zavai_forever b/debian/zavai_forever
new file mode 100755 (executable)
index 0000000..4d93a11
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+while true
+do
+       /usr/bin/zavai "$@"
+done