* added maemo icons
authorEd Bartosh <bartosh@gmail.com>
Sat, 17 Jan 2009 12:27:08 +0000 (12:27 +0000)
committerEd Bartosh <bartosh@gmail.com>
Sat, 17 Jan 2009 12:27:08 +0000 (12:27 +0000)
  * added /usr/bin/xkcd symbolic link to make
    xkcd application

TODO
debian/changelog
debian/dirs
debian/rules
debian/xkcdha.postinst
maemo-icons/26x26/hildon/xkcd.png [new file with mode: 0644]
maemo-icons/40x40/hildon/xkcd.png [new file with mode: 0644]
maemo-icons/scalable/hildon/xkcd.png [new file with mode: 0644]
xkcdha.app.desktop [new file with mode: 0644]

diff --git a/TODO b/TODO
index 0a4b0db..7ee3649 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,5 +1,3 @@
-* check connetction
-* stand-alone application
 * slide show
 * statusbar applet ?
 * gnome applet ?
index 34e04d3..795fcef 100644 (file)
@@ -1,8 +1,11 @@
 xkcdha (0.0.3) unstable; urgency=low
 
   * check if connection is alive
+  * added maemo icons
+  * added /usr/bin/xkcd symbolic link to make
+    xkcd application
 
- -- Ed Bartosh <bartosh@gmail.com>  Sat, 17 Jan 2009 11:12:26 +0000
+ -- Ed Bartosh <bartosh@gmail.com>  Sat, 17 Jan 2009 12:25:00 +0000
 
 xkcdha (0.0.2) unstable; urgency=low
 
index 721230f..f663b62 100644 (file)
@@ -1,4 +1,6 @@
 usr/share/applications/hildon-home
+usr/share/applications/hildon
 usr/lib/hildon-desktop
 usr/share/xkcdha
+usr/share/icons
 
index 1127c27..55ab9c2 100755 (executable)
@@ -28,7 +28,11 @@ install: build
        dh_installdirs
        cp $(CURDIR)/$(PACKAGE).py $(PREFIX)/usr/lib/hildon-desktop/
        cp $(CURDIR)/$(PACKAGE).desktop $(PREFIX)/usr/share/applications/hildon-home/
+       cp $(CURDIR)/$(PACKAGE).app.desktop $(PREFIX)/usr/share/applications/hildon/$(PACKAGE).desktop
        cp -r $(CURDIR)/icons $(PREFIX)/usr/share/$(PACKAGE)/
+       cp -r $(CURDIR)/maemo-icons/* $(PREFIX)/usr/share/icons/
+       cp -r $(CURDIR)/img $(PREFIX)/usr/share/$(PACKAGE)/
+       dh_link usr/lib/hildon-desktop/$(PACKAGE).py usr/bin/$(PACKAGE)
 
 binary-indep: build install
        dh_testdir
index b5b19d9..f129e73 100755 (executable)
@@ -4,7 +4,12 @@ PKG="xkcdha"
 USER="user"
 GROUP="users"
 
+ICON_CACHE=/usr/bin/gtk-update-icon-cache
 IMG_DIR="/home/$USER/MyDocs/.images/$PKG"
 
-[ "$1" = "configure" -a ! -d $IMG_DIR ] && (mkdir $IMG_DIR && chown -R $USER:$GROUP $IMG_DIR)
+if [ "$1" = "configure" ]
+    [ -d $IMG_DIR ] && (mkdir $IMG_DIR && chown -R $USER:$GROUP $IMG_DIR)
+    [ -x $ICON_CACHE ] && $ICON_CACHE -f /usr/share/icons/hicolor
+fi
+
 exit 0
diff --git a/maemo-icons/26x26/hildon/xkcd.png b/maemo-icons/26x26/hildon/xkcd.png
new file mode 100644 (file)
index 0000000..a0a38ab
Binary files /dev/null and b/maemo-icons/26x26/hildon/xkcd.png differ
diff --git a/maemo-icons/40x40/hildon/xkcd.png b/maemo-icons/40x40/hildon/xkcd.png
new file mode 100644 (file)
index 0000000..1391f4b
Binary files /dev/null and b/maemo-icons/40x40/hildon/xkcd.png differ
diff --git a/maemo-icons/scalable/hildon/xkcd.png b/maemo-icons/scalable/hildon/xkcd.png
new file mode 100644 (file)
index 0000000..d0062ce
Binary files /dev/null and b/maemo-icons/scalable/hildon/xkcd.png differ
diff --git a/xkcdha.app.desktop b/xkcdha.app.desktop
new file mode 100644 (file)
index 0000000..10c1e7b
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=xkcd
+Encoding=UTF-8
+Type=Application
+Exec=/usr/bin/xkcdha
+X-Osso-Type=application/x-executable
+Icon=xkcdha
+X-Window-Icon=xkcdha
+X-Osso-Service=xkcdha
+