Added the debian folder for packaging
authorHeli Hyvättinen <heli@pantteri.(none)>
Thu, 24 Mar 2011 19:34:43 +0000 (21:34 +0200)
committerHeli Hyvättinen <heli@pantteri.(none)>
Thu, 24 Mar 2011 19:34:43 +0000 (21:34 +0200)
Includes postinstall and postremoval scripts that handle sound system settings

21 files changed:
debian/changelog [new file with mode: 0755]
debian/compat [new file with mode: 0755]
debian/control [new file with mode: 0755]
debian/copyright [new file with mode: 0755]
debian/files [new file with mode: 0644]
debian/kitchenalert.debhelper.log [new file with mode: 0644]
debian/kitchenalert.install [new file with mode: 0755]
debian/kitchenalert.postinst [new file with mode: 0644]
debian/kitchenalert.postrm [new file with mode: 0644]
debian/kitchenalert.substvars [new file with mode: 0644]
debian/kitchenalert/DEBIAN/control [new file with mode: 0644]
debian/kitchenalert/DEBIAN/md5sums [new file with mode: 0644]
debian/kitchenalert/DEBIAN/postinst [new file with mode: 0755]
debian/kitchenalert/DEBIAN/postrm [new file with mode: 0755]
debian/kitchenalert/opt/KitchenAlert/DoorbellModifiedFinal.mp3 [new file with mode: 0644]
debian/kitchenalert/usr/bin/KitchenAlert [new file with mode: 0755]
debian/kitchenalert/usr/share/applications/hildon/kitchenalert.desktop [new file with mode: 0644]
debian/kitchenalert/usr/share/doc/kitchenalert/copyright [new file with mode: 0644]
debian/kitchenalert/usr/share/icons/hicolor/64x64/apps/kitchenalert.png [new file with mode: 0755]
debian/optify [new file with mode: 0755]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100755 (executable)
index 0000000..b1a5f0d
--- /dev/null
@@ -0,0 +1,25 @@
+kitchenalert (0.2.0-1) unstable; urgency=low
+
+  * finger-friendlier alert list
+  * long alert texts now split to multiple lines (no more horizontal scrolling)
+  * the system now treats the alert sound as an "alarm" and thus should no longer block it if MediaPlayer is playing (fixes #6807) (pulseaudio is restarted during installation for this to take effect)  
+  * stopping one timer no longer silences all timers if more than one is playing the alert sound
+  * timers can now be removed from the list
+  * a new default sound
+  * alert sound no longer jams when several timers alert close to each other (fixes #6381)
+  * selection no longer lost when re-entering the app (fixes #6346)
+  * "done" button renamed to "stop"
+  * the view now scrolls to the alerting timer
+  * a new icon
+  * uses QtMultimedia instead of Phonon
+  * a decent copyright file included
+  * no longer installs useless doc files  
+  
+
+ -- Heli Hyvättinen <heli.hyvattinen@kymp.net>  Thu, 24 March 2011 21:28:00 +0300
+
+kitchenalert (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Heli Hyvättinen <heli.hyvattinen@kymp.net>  Tue, 20 Jul 2010 07:28:36 +0300
diff --git a/debian/compat b/debian/compat
new file mode 100755 (executable)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100755 (executable)
index 0000000..595d48b
--- /dev/null
@@ -0,0 +1,148 @@
+Source: kitchenalert
+Priority: extra
+Section: user/utilities
+Maintainer: Heli Hyvättinen <heli.hyvattinen@kymp.net>
+Build-Depends: debhelper (>= 7), libqt4-dev
+Standards-Version: 3.8.3
+Homepage: http://kitchenalert.garage.maemo.org/
+
+Package: kitchenalert
+Section: user/utilities
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Homepage: http://kitchenalert.garage.maemo.org/
+XSBC-Bugtracker: https://garage.maemo.org/projects/kitchenalert/
+Description: Timer application with multiple timers
+ KitchenAlert is a timer application targeted especially to use in baking and cooking. Supports running multiple timers simultaneously.
+ NOTE: Does not alert during phone calls. Obeys the volume setting of the device. Testing the needed volume for the alert sound used in the location the device will be kept is highly recommended before using the application for a real alert.
+ Pulseaudio (i.e. the sound system) will be restarted during the install. 
+XB-Maemo-Upgrade-Description: Timer application with multiple timers
+ KitchenAlert is a timer application targeted especially to use in baking and cooking. Supports running multiple timers simultaneously.
+ NOTE: Does not alert during phone calls. Obeys the volume setting of the device. Testing the needed volume in the location the device will be kept is highly recommended before using the application for a real alert.
+ Pulseaudio (i.e. the sound system) will be restarted during the install.
+ New in this version:
+ Improved, finger-friendlier user interface.
+ Timers can now be removed from the list.
+ Bugfixes.  
+XB-Maemo-Display-Name: KitchenAlert
+XB-Maemo-Icon-26:
+ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c
+ 6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0
+ SU1FB9oKDQwYCTV2jAwAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJ
+ TVBXgQ4XAAAUOElEQVRo3nWaaYxl13Hff3XOufe+pfeenm7OTklDziKK9HDV
+ RllUKJlKAgSIDBOBNihS4CROACWCAyOJLQJyPuSTnARCEAGOA8SWbNORrChI
+ KIkmJYuSFdowOeIyFIcznLVnep3ut97lnMqHc9/rbtF5wOt+/fr17ao6/6r6
+ 17+u/Oq/0H/QbGpDkUaR0zSG5swMTUSzqiARI7Kwn9DvU1ijeVnKYHubgfc6
+ aDYZdrqSFzlFklBUFWVVaekDJSoe8EClEFTxKEFVQ1AJqAZVFAggAUEFBZEg
+ oPFnFEVVACUAKDuvAXXOaVqU0mhk2pqYkInBgMmi1Mm5Wdp9JEtSte2WVMEz
+ sFa6vR7dJMVmInQ6oAFNEg1FgfdBAipeBAuoKj4ohkAIiqiqgED8IsaIiiCg
+ IiIoorJjsSiigKii6Nj48UMBl6aSqpJ5Ly1jdGpqSuYGA5m3VufbE0w3Grhm
+ k1wMt25t6pq1rDsndDoarBVfVVSVp1KVSgSvqCGIeI+EoEaRICAiKmLACLLb
+ DNU63Lr3NUi0GtHRpzX6Q/xUvJBzjkQMDSPaVpXpJGV/kuhR7+XQgQNMzs6J
+ pAl+bZ3NzrZcareR9XWqEKTMc4oQKFEKRa33YoIXUUXEIM6JiKgoEgGBooqE
+ oDKOssYAo4IIex4yOi2JngjjQxl/xjWbmjgniQhNY5hWZWliQo4tHdTWXaeF
+ gwtQVNi/fol9G+uYGz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0rn7jZioCW7ld/8o3yHR8
+ p0RsS/HGl2jU/wPC1TAyCltiPAAAAABJRU5ErkJggg==
+ ====
diff --git a/debian/copyright b/debian/copyright
new file mode 100755 (executable)
index 0000000..d23ad63
--- /dev/null
@@ -0,0 +1,39 @@
+This version was packaged for Maemo 5 by:
+
+    Heli Hyvättinen <heli.hyvattinen@kymp.net> on Wed, 13 Oct 2010 13:44:07 +0300
+
+It was downloaded from:
+
+    <https://garage.maemo.org/projects/kitchenalert>
+
+Upstream Author(s):
+
+    Heli Hyvättinen <heli.hyvattinen@kymp.net>
+
+Copyright:
+
+    Copyright (C) 2010-2011 Heli Hyvättinen <heli.hyvattinen@kymp.net>
+
+
+License:
+
+    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 3 of the License, or
+    (at your option) any later version.
+
+    This package 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.
+
+    For a copy of the GNU General Public License, see <http://www.gnu.org/licenses/>.
+
+
+The Maemo5 packaging is:
+
+    Copyright (C) 2010-2011 Heli Hyvättinen <heli.hyvattinen@kymp.net>
+and is licensed under the GPL version 3, see above.
+
+
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..a637783
--- /dev/null
@@ -0,0 +1 @@
+kitchenalert_0.2.0-1_armel.deb user/utilities extra
diff --git a/debian/kitchenalert.debhelper.log b/debian/kitchenalert.debhelper.log
new file mode 100644 (file)
index 0000000..cb48554
--- /dev/null
@@ -0,0 +1,13 @@
+dh_installdirs
+dh_install
+dh_installdocs
+dh_installexamples
+dh_installman
+dh_link
+dh_compress
+dh_fixperms
+dh_installdeb
+dh_shlibdeps
+dh_gencontrol
+dh_md5sums
+dh_builddeb
diff --git a/debian/kitchenalert.install b/debian/kitchenalert.install
new file mode 100755 (executable)
index 0000000..43c2b1d
--- /dev/null
@@ -0,0 +1,3 @@
+src/kitchenalert.png usr/share/icons/hicolor/64x64/apps
+data/DoorbellModifiedFinal.mp3 /opt/KitchenAlert
+
diff --git a/debian/kitchenalert.postinst b/debian/kitchenalert.postinst
new file mode 100644 (file)
index 0000000..908ae73
--- /dev/null
@@ -0,0 +1,40 @@
+#! /bin/sh
+
+set -e
+
+gtk-update-icon-cache /usr/share/icons/hicolor
+
+#check whether the needed sound systen settings are already in place
+
+if ! grep -q KitchenAlert /usr/share/policy/etc/current/pulse/xpolicy.conf
+
+then
+
+#checks whether there is a newline at the end of the file and adds one if there is not and then
+#checks if there is an ampty line at the end of the file and add one if there is not
+
+perl -e 'use strict;' \
+-e 'use warnings;' \
+-e 'open(my $in,  "<",  "/usr/share/policy/etc/current/pulse/xpolicy.conf")  or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!";' \
+-e 'my @lines = <$in>;' \
+-e 'my $lastlineishere = $#lines;' \
+-e 'my $lastline = $lines[$lastlineishere];' \
+-e 'unless ($lastline =~ /\n$/){open(my $log, ">>", "/usr/share/policy/etc/current/pulse/xpolicy.conf") or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!"; print $log "\n"; }' \
+-e 'unless ($lastline =~ /^\n$/){open(my $log, ">>", "/usr/share/policy/etc/current/pulse/xpolicy.conf") or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!"; print $log "\n"; }'
+
+#writes the sound system settings needed
+
+echo -e "[stream]\n\
+exe    = KitchenAlert\n\
+group  = alarm" >> /usr/share/policy/etc/current/pulse/xpolicy.conf
+
+#restarts the pulseaudio so that the above changed settings take effect
+#this interrupts all playing sounds (they do not resume play at restart)
+stop pulseaudio
+start pulseaudio
+
+fi
+
+exit 0
diff --git a/debian/kitchenalert.postrm b/debian/kitchenalert.postrm
new file mode 100644 (file)
index 0000000..01e44f4
--- /dev/null
@@ -0,0 +1,34 @@
+#! /bin/sh
+
+set -e
+
+#This checks whether there is a newline at the end of the file and adds one if there was not.
+#Needed because sed deletes the last line if it does not end with a newline 
+
+perl -e 'use strict;' \
+-e 'use warnings;' \
+-e 'open(my $in,  "<",  "/usr/share/policy/etc/current/pulse/xpolicy.conf")  or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!";' \
+-e 'my @lines = <$in>;' \
+-e 'my $lastlineishere = $#lines;' \
+-e 'my $lastline = $lines[$lastlineishere];' \
+-e 'unless ($lastline =~ /\n$/){open(my $log, ">>", "/usr/share/policy/etc/current/pulse/xpolicy.conf") or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!"; print $log "\n"; }'
+#This removes three subsequent lines from xpolicy.conf if they all match (the lines added by the postinstall script)
+
+sed -i '
+/'[stream]'/ {
+#append a line
+N
+#search for KitchenAlert on the second line
+/\nexe\t= KitchenAlert/ {
+N
+#searh next line
+/\ngroup\t= alarm/ {
+
+#s/'[stream]'.*alarm//
+d
+}}}' /usr/share/policy/etc/current/pulse/xpolicy.conf 
+
+exit 0
+
+
diff --git a/debian/kitchenalert.substvars b/debian/kitchenalert.substvars
new file mode 100644 (file)
index 0000000..320cff0
--- /dev/null
@@ -0,0 +1,2 @@
+shlibs:Depends=libc6 (>= 2.5.0-1), libgcc1 (>= 1:4.2.1), libqt4-core (>= 4.7.0~git20100909), libqt4-dbus (>= 4.7.0~git20100909), libqt4-gui (>= 4.7.0~git20100909), libqt4-phonon (>= 4.7.0~git20100909), libqt4-xml (>= 4.7.0~git20100909), libstdc++6 (>= 4.2.1)
+misc:Depends=
diff --git a/debian/kitchenalert/DEBIAN/control b/debian/kitchenalert/DEBIAN/control
new file mode 100644 (file)
index 0000000..10377ee
--- /dev/null
@@ -0,0 +1,143 @@
+Package: kitchenalert
+Version: 0.2.0-1
+Section: user/utilities
+Priority: extra
+Architecture: armel
+Depends: libc6 (>= 2.5.0-1), libgcc1 (>= 1:4.2.1), libqt4-core (>= 4.7.0~git20100909), libqt4-dbus (>= 4.7.0~git20100909), libqt4-gui (>= 4.7.0~git20100909), libqt4-phonon (>= 4.7.0~git20100909), libqt4-xml (>= 4.7.0~git20100909), libstdc++6 (>= 4.2.1)
+Installed-Size: 352
+Maintainer: Heli Hyvättinen <heli.hyvattinen@kymp.net>
+Description: Timer application with multiple timers
+ KitchenAlert is a timer application targeted especially to use in baking and cooking. Supports running multiple timers simultaneously.
+ NOTE: Does not alert during phone calls. Obeys the volume setting of the device. Testing the needed volume for the alert sound used in the location the device will be kept is highly recommended before using the application for a real alert.
+ Pulseaudio (i.e. the sound system) will be restarted during the install.
+Bugtracker: https://garage.maemo.org/projects/kitchenalert/
+Maemo-Upgrade-Description: Timer application with multiple timers
+ KitchenAlert is a timer application targeted especially to use in baking and cooking. Supports running multiple timers simultaneously.
+ NOTE: Does not alert during phone calls. Obeys the volume setting of the device. Testing the needed volume in the location the device will be kept is highly recommended before using the application for a real alert.
+ Pulseaudio (i.e. the sound system) will be restarted during the install.
+ New in this version:
+ Improved, finger-friendlier user interface.
+ Timers can now be removed from the list.
+ Bugfixes.
+Maemo-Display-Name: KitchenAlert
+Maemo-Icon-26: 
+ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c
+ 6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0
+ SU1FB9oKDQwYCTV2jAwAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJ
+ TVBXgQ4XAAAUOElEQVRo3nWaaYxl13Hff3XOufe+pfeenm7OTklDziKK9HDV
+ RllUKJlKAgSIDBOBNihS4CROACWCAyOJLQJyPuSTnARCEAGOA8SWbNORrChI
+ KIkmJYuSFdowOeIyFIcznLVnep3ut97lnMqHc9/rbtF5wOt+/fr17ao6/6r6
+ 17+u/Oq/0H/QbGpDkUaR0zSG5swMTUSzqiARI7Kwn9DvU1ijeVnKYHubgfc6
+ aDYZdrqSFzlFklBUFWVVaekDJSoe8EClEFTxKEFVQ1AJqAZVF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991U8bOioWYUIS53tOZC48R46yLtLSuTt74n9f0BoDo9
+ g8+Ha0ePHDqAS5xmWSYiMdLNRgvnYt9Q3ZFQdqqRjHMDlCwVDh44MFcHbUQf
+ 6m0+Y7y7XctA0bcYPxo/qW9dkL2L0vGeCxURDh7BGzM8+dNXz9PPS7HJq+ML
+ xlG0j5iRThTvP9AdgWJcRUQgzZYZ5sMwDl694xDdlayCunpdqeMtmu7K89Ek
+ EafNsMd4HevcY7cWT+Dn2u6UnPsLXnvpudgdVEcb+rfCJ8JlJ6FH1aim7XNV
+ vmu9HYeTeuiqG9ouNvr/eYzgMb7Mnqo0Pr4oxrgmKqibbjWofBirbbsOE5Cd
+ sTFE3I+WfFEYjmXVGEi3y2wc0l33WGgch1UQcTpeGe/dou9tB/JzsX/LoldA
+ 9Sf/U5JgZ/7wR9eK50MIOkpMDWPCPqr/Gv8i1Kc0rn7jZioCW7ld/8o3yHR8
+ p0RsS/HGl2jU/wPC1TAyCltiPAAAAABJRU5ErkJggg==
+ ====
diff --git a/debian/kitchenalert/DEBIAN/md5sums b/debian/kitchenalert/DEBIAN/md5sums
new file mode 100644 (file)
index 0000000..310c0ee
--- /dev/null
@@ -0,0 +1,5 @@
+bba0339e58d930139243265e352dfa90  usr/bin/KitchenAlert
+bad2d568d0ec98cdf83a289804677908  usr/share/icons/hicolor/64x64/apps/kitchenalert.png
+bbd5fc075ae23cf86430005a93378e01  usr/share/applications/hildon/kitchenalert.desktop
+ba5bc9ecd80355b86f7f5e97de953dbc  usr/share/doc/kitchenalert/copyright
+df2047a79d70927be5a8659b78ac0933  opt/KitchenAlert/DoorbellModifiedFinal.mp3
diff --git a/debian/kitchenalert/DEBIAN/postinst b/debian/kitchenalert/DEBIAN/postinst
new file mode 100755 (executable)
index 0000000..908ae73
--- /dev/null
@@ -0,0 +1,40 @@
+#! /bin/sh
+
+set -e
+
+gtk-update-icon-cache /usr/share/icons/hicolor
+
+#check whether the needed sound systen settings are already in place
+
+if ! grep -q KitchenAlert /usr/share/policy/etc/current/pulse/xpolicy.conf
+
+then
+
+#checks whether there is a newline at the end of the file and adds one if there is not and then
+#checks if there is an ampty line at the end of the file and add one if there is not
+
+perl -e 'use strict;' \
+-e 'use warnings;' \
+-e 'open(my $in,  "<",  "/usr/share/policy/etc/current/pulse/xpolicy.conf")  or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!";' \
+-e 'my @lines = <$in>;' \
+-e 'my $lastlineishere = $#lines;' \
+-e 'my $lastline = $lines[$lastlineishere];' \
+-e 'unless ($lastline =~ /\n$/){open(my $log, ">>", "/usr/share/policy/etc/current/pulse/xpolicy.conf") or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!"; print $log "\n"; }' \
+-e 'unless ($lastline =~ /^\n$/){open(my $log, ">>", "/usr/share/policy/etc/current/pulse/xpolicy.conf") or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!"; print $log "\n"; }'
+
+#writes the sound system settings needed
+
+echo -e "[stream]\n\
+exe    = KitchenAlert\n\
+group  = alarm" >> /usr/share/policy/etc/current/pulse/xpolicy.conf
+
+#restarts the pulseaudio so that the above changed settings take effect
+#this interrupts all playing sounds (they do not resume play at restart)
+stop pulseaudio
+start pulseaudio
+
+fi
+
+exit 0
diff --git a/debian/kitchenalert/DEBIAN/postrm b/debian/kitchenalert/DEBIAN/postrm
new file mode 100755 (executable)
index 0000000..01e44f4
--- /dev/null
@@ -0,0 +1,34 @@
+#! /bin/sh
+
+set -e
+
+#This checks whether there is a newline at the end of the file and adds one if there was not.
+#Needed because sed deletes the last line if it does not end with a newline 
+
+perl -e 'use strict;' \
+-e 'use warnings;' \
+-e 'open(my $in,  "<",  "/usr/share/policy/etc/current/pulse/xpolicy.conf")  or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!";' \
+-e 'my @lines = <$in>;' \
+-e 'my $lastlineishere = $#lines;' \
+-e 'my $lastline = $lines[$lastlineishere];' \
+-e 'unless ($lastline =~ /\n$/){open(my $log, ">>", "/usr/share/policy/etc/current/pulse/xpolicy.conf") or die "Cannot open /usr/share/policy/etc/current/pulse/xpolicy.conf: $!"; print $log "\n"; }'
+#This removes three subsequent lines from xpolicy.conf if they all match (the lines added by the postinstall script)
+
+sed -i '
+/'[stream]'/ {
+#append a line
+N
+#search for KitchenAlert on the second line
+/\nexe\t= KitchenAlert/ {
+N
+#searh next line
+/\ngroup\t= alarm/ {
+
+#s/'[stream]'.*alarm//
+d
+}}}' /usr/share/policy/etc/current/pulse/xpolicy.conf 
+
+exit 0
+
+
diff --git a/debian/kitchenalert/opt/KitchenAlert/DoorbellModifiedFinal.mp3 b/debian/kitchenalert/opt/KitchenAlert/DoorbellModifiedFinal.mp3
new file mode 100644 (file)
index 0000000..dc87353
Binary files /dev/null and b/debian/kitchenalert/opt/KitchenAlert/DoorbellModifiedFinal.mp3 differ
diff --git a/debian/kitchenalert/usr/bin/KitchenAlert b/debian/kitchenalert/usr/bin/KitchenAlert
new file mode 100755 (executable)
index 0000000..b0867ea
Binary files /dev/null and b/debian/kitchenalert/usr/bin/KitchenAlert differ
diff --git a/debian/kitchenalert/usr/share/applications/hildon/kitchenalert.desktop b/debian/kitchenalert/usr/share/applications/hildon/kitchenalert.desktop
new file mode 100644 (file)
index 0000000..471635a
--- /dev/null
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Name=KitchenAlert
+Exec=/usr/bin/KitchenAlert
+Icon=kitchenalert
+Categories=Utility;
+X-Window-Icon=kitchenalert
+X-Osso-Type=application/x-executable
+Comment=Timer application with multiple timers
diff --git a/debian/kitchenalert/usr/share/doc/kitchenalert/copyright b/debian/kitchenalert/usr/share/doc/kitchenalert/copyright
new file mode 100644 (file)
index 0000000..d23ad63
--- /dev/null
@@ -0,0 +1,39 @@
+This version was packaged for Maemo 5 by:
+
+    Heli Hyvättinen <heli.hyvattinen@kymp.net> on Wed, 13 Oct 2010 13:44:07 +0300
+
+It was downloaded from:
+
+    <https://garage.maemo.org/projects/kitchenalert>
+
+Upstream Author(s):
+
+    Heli Hyvättinen <heli.hyvattinen@kymp.net>
+
+Copyright:
+
+    Copyright (C) 2010-2011 Heli Hyvättinen <heli.hyvattinen@kymp.net>
+
+
+License:
+
+    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 3 of the License, or
+    (at your option) any later version.
+
+    This package 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.
+
+    For a copy of the GNU General Public License, see <http://www.gnu.org/licenses/>.
+
+
+The Maemo5 packaging is:
+
+    Copyright (C) 2010-2011 Heli Hyvättinen <heli.hyvattinen@kymp.net>
+and is licensed under the GPL version 3, see above.
+
+
diff --git a/debian/kitchenalert/usr/share/icons/hicolor/64x64/apps/kitchenalert.png b/debian/kitchenalert/usr/share/icons/hicolor/64x64/apps/kitchenalert.png
new file mode 100755 (executable)
index 0000000..1605413
Binary files /dev/null and b/debian/kitchenalert/usr/share/icons/hicolor/64x64/apps/kitchenalert.png differ
diff --git a/debian/optify b/debian/optify
new file mode 100755 (executable)
index 0000000..865faf1
--- /dev/null
@@ -0,0 +1 @@
+auto
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..3da172c
--- /dev/null
@@ -0,0 +1,65 @@
+#!/usr/bin/make -f
+APPNAME := kitchenalert
+PATH:=/usr/bin/dh7:/usr/bin:$(PATH)
+export PATH
+SBOX_REDIRECT_IGNORE=/usr/bin/perl
+export SBOX_REDIRECT_IGNORE
+
+builddir:
+       mkdir -p builddir
+
+builddir/Makefile: builddir
+       cd builddir && qmake-qt4 PREFIX=/usr ../$(APPNAME).pro
+
+build: build-stamp
+
+build-stamp: builddir/Makefile
+       dh_testdir
+       # Add here commands to compile the package.
+       cd builddir && $(MAKE)
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+       # Add here commands to clean up after the build process.
+       rm -rf builddir
+       dh_clean
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/your_appname
+       cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
+       
+       
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+#To install the icon and the sound file:
+       dh_install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installdocs
+       dh_installexamples
+       dh_installman
+       dh_link
+#      dh_strip --dbg-package=urpo-dbg #causes failure!
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure