Before I switched from the red square icon to the green curved icon. Making another...
authorEd Page <eopage@byu.net>
Sat, 13 Aug 2011 16:42:00 +0000 (11:42 -0500)
committerEd Page <eopage@byu.net>
Sat, 13 Aug 2011 18:47:42 +0000 (13:47 -0500)
Makefile
data/template.desktop
setup.py

index 0d217b3..49b8d9e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ SOURCE_PATH=$(PACKAGE_NAME)
 SOURCE=$(shell find $(SOURCE_PATH) -iname "*.py")
 
 PROGRAM=ejpi-calc
-ICON_SIZES=26 32 48 64
+ICON_SIZES=26 32 48 64 80
 ICONS=$(foreach size, $(ICON_SIZES), data/icons/$(size)/$(PROJECT_NAME).png)
 PACKAGE_VARIANTS=fremantle harmattan ubuntu
 DESKTOP_FILES=$(foreach variant, $(PACKAGE_VARIANTS), data/$(variant)/$(PROJECT_NAME).desktop)
@@ -120,7 +120,7 @@ setup.harmattan.py: setup.py src/constants.py
                -D DESKTOP_FILE_PATH=/usr/share/applications \
                -D INPUT_DESKTOP_FILE=data/$(VARIANT)/$(PROJECT_NAME).desktop \
                -D ICON_CATEGORY=apps \
-               -D ICON_SIZES=32,64 \
+               -D ICON_SIZES=64,80 \
                -o $@ $<
        chmod +x $@
 
index ecfe3b2..39f7468 100644 (file)
@@ -13,7 +13,7 @@ Comment=RPN Calculator
 #              raise RuntimeError("Unsupported desktop file flavor %r" % PROGRAM)
 #
 #      if VARIANT == "harmattan":
-#              cog.outl("Icon=/usr/share/icons/apps/64x64/%s.png" % ICON_NAME)
+#              cog.outl("Icon=/usr/share/icons/apps/80x80/%s.png" % ICON_NAME)
 #      else:
 #              cog.outl("Icon=%s" % ICON_NAME)
 #]]]
index 3fa6d75..8387afc 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -89,6 +89,7 @@ setup(
        },
        data_files=[
                (DESKTOP_FILE_PATH, [INPUT_DESKTOP_FILE]),
+               ("/usr/share/icons/hicolor/scalable/apps", ["data/%s.svg" % APP_NAME]),
        ] +
        [
                (