[Pychord-commits] r6 - / make make/usr make/usr/bin make/usr/share make/usr/share/applications make/usr/share/applications/hildon make/usr/share/dbus-1 make/usr/share/dbus-1/services make/usr/share/doc make/usr/share/doc/pychord

danilo at garage.maemo.org danilo at garage.maemo.org
Sat Sep 15 21:21:44 EEST 2007


Author: danilo
Date: 2007-09-15 21:21:41 +0300 (Sat, 15 Sep 2007)
New Revision: 6

Added:
   gen.sh
   make/
   make/usr/
   make/usr/bin/
   make/usr/bin/pychord
   make/usr/share/
   make/usr/share/applications/
   make/usr/share/applications/hildon/
   make/usr/share/applications/hildon/pychord.desktop
   make/usr/share/dbus-1/
   make/usr/share/dbus-1/services/
   make/usr/share/dbus-1/services/com.nokia.pychord.service
   make/usr/share/doc/
   make/usr/share/doc/pychord/
   make/usr/share/doc/pychord/README
   make/usr/share/pychord/
Log:
Deb's script


Added: gen.sh
===================================================================
--- gen.sh	2007-09-14 01:03:53 UTC (rev 5)
+++ gen.sh	2007-09-15 18:21:41 UTC (rev 6)
@@ -0,0 +1,57 @@
+#!/bin/bash
+
+# This script should be run from within the directory with the wav 
+#files.
+
+# move into the build directory, make a docs directory
+cd make
+mkdir -p usr/share/doc/pychord
+
+# write the README file
+cat > usr/share/doc/pychord/README <<END
+This is an application to help musicians in for Maemo.
+
+END
+
+# write the control file
+cat > control <<END
+Package: PyChord
+Version: 0.3
+Section: user/others
+Priority: optional
+Architecture: all
+Depends: python2.5, pysqlite
+Installed-Size: `du -ks usr|cut -f 1`
+Maintainer: Danilo Cesar <danilocesar at danilocesar.com>
+Description: An application to help musicians with song chords.
+ 
+	This application have some features like 
+		auto-scroll
+		Search Engine (sqlite)
+END
+
+
+
+# Setting this environment variable fixes Apple's modified GNU tar so that
+# it won't make dot-underscore AppleDouble files. Google it for details...
+export COPY_EXTENDED_ATTRIBUTES_DISABLE=1
+
+# create the data tarball
+# (the tar options "czvf" mean create, zip, verbose, and filename.)
+tar czvf data.tar.gz usr/
+
+# create the control tarball
+tar czvf control.tar.gz control
+
+# create the debian-binary file
+echo 2.0 > debian-binary
+
+# create the ar (deb) archive
+ar -r pychord.deb debian-binary control.tar.gz data.tar.gz
+
+# move the new deb up a directory
+mv pychord.deb ..
+
+# remove the tarballs, and cd back up to where we started
+rm data.tar.gz control.tar.gz
+cd ..


Property changes on: gen.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: make/usr/bin/pychord
===================================================================
--- make/usr/bin/pychord	2007-09-14 01:03:53 UTC (rev 5)
+++ make/usr/bin/pychord	2007-09-15 18:21:41 UTC (rev 6)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+python2.5 /usr/share/pychord/pychord.py
+


Property changes on: make/usr/bin/pychord
___________________________________________________________________
Name: svn:executable
   + *

Added: make/usr/share/applications/hildon/pychord.desktop
===================================================================
--- make/usr/share/applications/hildon/pychord.desktop	2007-09-14 01:03:53 UTC (rev 5)
+++ make/usr/share/applications/hildon/pychord.desktop	2007-09-15 18:21:41 UTC (rev 6)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.3
+Type=Application
+Name=PyChord
+Exec=/usr/bin/pychord
+Icon=pychord
+StartupWMClass=pychord
+X-Osso-Service=com.nokia.pychord
+X-Osso-Type=application/x-executable
+

Added: make/usr/share/dbus-1/services/com.nokia.pychord.service
===================================================================
--- make/usr/share/dbus-1/services/com.nokia.pychord.service	2007-09-14 01:03:53 UTC (rev 5)
+++ make/usr/share/dbus-1/services/com.nokia.pychord.service	2007-09-15 18:21:41 UTC (rev 6)
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=com.nokia.pychord
+Exec=/usr/bin/pychord

Added: make/usr/share/doc/pychord/README
===================================================================
--- make/usr/share/doc/pychord/README	2007-09-14 01:03:53 UTC (rev 5)
+++ make/usr/share/doc/pychord/README	2007-09-15 18:21:41 UTC (rev 6)
@@ -0,0 +1,2 @@
+This is an application to help musicians in for Maemo.
+



More information about the Pychord-commits mailing list