From 825d7568312da5961cd530456088ec365d085f75 Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 4 Oct 2009 21:23:13 +0100 Subject: [PATCH] first attempt at packaging -- a few rough edges --- debian/README.Debian | 24 ++++++++++++++++++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 14 ++++++++++++++ debian/copyright | 35 +++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/rules | 7 +++++++ debian/zavai.conffiles | 1 + debian/zavai.install | 4 ++++ debian/zavai_forever | 6 ++++++ 10 files changed, 98 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 debian/zavai.conffiles create mode 100644 debian/zavai.install create mode 100755 debian/zavai_forever diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..b23a936 --- /dev/null +++ b/debian/README.Debian @@ -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 Sun, 04 Oct 2009 07:18:21 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7bceae7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +zavai (0.0-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- unknown Sun, 04 Oct 2009 07:18:21 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..57d7dcc --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: zavai +Section: unknown +Priority: extra +Maintainer: Enrico Zini +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 index 0000000..a556de3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +This work was packaged for Debian by: + + unknown on Sun, 04 Oct 2009 07:18:21 +0100 + +It was downloaded from + +Upstream Author(s): + + + + +Copyright: + + + + +License: + + + +The Debian packaging is: + + Copyright (C) 2009 unknown + +# 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 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..aa7d0b5 --- /dev/null +++ b/debian/rules @@ -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 index 0000000..0f49aec --- /dev/null +++ b/debian/zavai.conffiles @@ -0,0 +1 @@ +etc/dbus-1/system.d/zavai.conf diff --git a/debian/zavai.install b/debian/zavai.install new file mode 100644 index 0000000..697e6e4 --- /dev/null +++ b/debian/zavai.install @@ -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 index 0000000..4d93a11 --- /dev/null +++ b/debian/zavai_forever @@ -0,0 +1,6 @@ +#!/bin/sh + +while true +do + /usr/bin/zavai "$@" +done -- 2.39.5