From a1a115077fec38383d86e59229b1059de0493c75 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 11 Jan 2011 00:51:19 +0000 Subject: Add more icon sizes. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2825 a436a847-0d15-0410-975c-d299462d15a1 --- icons/128x128/patchage.png | Bin 0 -> 10307 bytes icons/256x256/patchage.png | Bin 0 -> 21512 bytes icons/512x512/patchage.png | Bin 0 -> 45907 bytes wscript | 21 +++++---------------- 4 files changed, 5 insertions(+), 16 deletions(-) create mode 100644 icons/128x128/patchage.png create mode 100644 icons/256x256/patchage.png create mode 100644 icons/512x512/patchage.png diff --git a/icons/128x128/patchage.png b/icons/128x128/patchage.png new file mode 100644 index 0000000..8082502 Binary files /dev/null and b/icons/128x128/patchage.png differ diff --git a/icons/256x256/patchage.png b/icons/256x256/patchage.png new file mode 100644 index 0000000..85070ff Binary files /dev/null and b/icons/256x256/patchage.png differ diff --git a/icons/512x512/patchage.png b/icons/512x512/patchage.png new file mode 100644 index 0000000..0b7dd34 Binary files /dev/null and b/icons/512x512/patchage.png 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', -- cgit v1.2.1