summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-11 00:51:19 +0000
committerDavid Robillard <d@drobilla.net>2011-01-11 00:51:19 +0000
commita1a115077fec38383d86e59229b1059de0493c75 (patch)
tree4f58d4c7cc1f589f450b83866f3ab5ae7e6d0928
parentf0037f4c1a6169baa96f83b01cc2513ecda66a47 (diff)
downloadpatchage-a1a115077fec38383d86e59229b1059de0493c75.tar.gz
patchage-a1a115077fec38383d86e59229b1059de0493c75.tar.bz2
patchage-a1a115077fec38383d86e59229b1059de0493c75.zip
Add more icon sizes.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2825 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--icons/128x128/patchage.pngbin0 -> 10307 bytes
-rw-r--r--icons/256x256/patchage.pngbin0 -> 21512 bytes
-rw-r--r--icons/512x512/patchage.pngbin0 -> 45907 bytes
-rw-r--r--wscript21
4 files changed, 5 insertions, 16 deletions
diff --git a/icons/128x128/patchage.png b/icons/128x128/patchage.png
new file mode 100644
index 0000000..8082502
--- /dev/null
+++ b/icons/128x128/patchage.png
Binary files differ
diff --git a/icons/256x256/patchage.png b/icons/256x256/patchage.png
new file mode 100644
index 0000000..85070ff
--- /dev/null
+++ b/icons/256x256/patchage.png
Binary files differ
diff --git a/icons/512x512/patchage.png b/icons/512x512/patchage.png
new file mode 100644
index 0000000..0b7dd34
--- /dev/null
+++ b/icons/512x512/patchage.png
Binary files differ
diff --git a/wscript b/wscript
index 25d0031..1469022 100644
--- a/wscript
+++ b/wscript
@@ -167,26 +167,15 @@ def build(bld):
APP_HUMAN_NAME = bld.env['APP_HUMAN_NAME'])
# Icons
- #
- # Installation layout (with /usr prefix)
- # /usr/bin/patchage
- # /usr/share/applications/patchage.desktop
- # /usr/share/icons/hicolor/16x16/apps/patchage.png
- # /usr/share/icons/hicolor/22x22/apps/patchage.png
- # /usr/share/icons/hicolor/24x24/apps/patchage.png
- # /usr/share/icons/hicolor/32x32/apps/patchage.png
- # /usr/share/icons/hicolor/48x48/apps/patchage.png
- # /usr/share/icons/hicolor/scalable/apps/patchage.svg
- # /usr/share/patchage/patchage.glade
- #
- # icon cache is updated using:
+ # After installation, icon cache should be updated using:
# gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
- icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48']
+ icon_sizes = [16, 22, 24, 32, 48, 128, 256, 512]
for s in icon_sizes:
+ d = '%dx%d' % (s, s)
bld.install_as(
- os.path.join(bld.env['DATADIR'], 'icons', 'hicolor', s, 'apps',
+ os.path.join(bld.env['DATADIR'], 'icons', 'hicolor', d, 'apps',
bld.env['APP_INSTALL_NAME'] + '.png'),
- 'icons/' + s + '/patchage.png')
+ 'icons/' + d + '/patchage.png')
bld.install_as(
os.path.join(bld.env['DATADIR'], 'icons', 'hicolor', 'scalable', 'apps',