From: Ed Bartosh Date: Sat, 17 Jan 2009 12:27:08 +0000 (+0000) Subject: * added maemo icons X-Git-Url: http://git.maemo.org/git/?p=xkcdha;a=commitdiff_plain;h=13fbbe391b492b8bff36b8618f88a9ca8848fdf6 * added maemo icons * added /usr/bin/xkcd symbolic link to make xkcd application --- diff --git a/TODO b/TODO index 0a4b0db..7ee3649 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,3 @@ -* check connetction -* stand-alone application * slide show * statusbar applet ? * gnome applet ? diff --git a/debian/changelog b/debian/changelog index 34e04d3..795fcef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sat, 17 Jan 2009 11:12:26 +0000 + -- Ed Bartosh Sat, 17 Jan 2009 12:25:00 +0000 xkcdha (0.0.2) unstable; urgency=low diff --git a/debian/dirs b/debian/dirs index 721230f..f663b62 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,4 +1,6 @@ usr/share/applications/hildon-home +usr/share/applications/hildon usr/lib/hildon-desktop usr/share/xkcdha +usr/share/icons diff --git a/debian/rules b/debian/rules index 1127c27..55ab9c2 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/debian/xkcdha.postinst b/debian/xkcdha.postinst index b5b19d9..f129e73 100755 --- a/debian/xkcdha.postinst +++ b/debian/xkcdha.postinst @@ -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 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 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 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 index 0000000..10c1e7b --- /dev/null +++ b/xkcdha.app.desktop @@ -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 +