From 54aca6c9a06ddf94349212d27de95eb3a4a7746d Mon Sep 17 00:00:00 2001 From: pabs3 Date: Thu, 2 Oct 2008 12:02:34 +0000 Subject: [PATCH] Implement 2109095: Add multiple sizes and a scalable version of synfig_icon installed in freedesktop.org icon directories. Scalable version by Daniel Hornung (rubikcube). git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2079 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/AUTHORS | 1 + synfig-studio/trunk/README | 1 + synfig-studio/trunk/images/Makefile.am | 59 +++++++ synfig-studio/trunk/images/synfig_icon.svg | 256 +++++++++++++++++++++++++++++ synfig-studio/trunk/src/gtkmm/about.cpp | 1 + 5 files changed, 318 insertions(+) create mode 100644 synfig-studio/trunk/images/synfig_icon.svg diff --git a/synfig-studio/trunk/AUTHORS b/synfig-studio/trunk/AUTHORS index 95c44cd..a0d6d7f 100644 --- a/synfig-studio/trunk/AUTHORS +++ b/synfig-studio/trunk/AUTHORS @@ -30,3 +30,4 @@ Artists: Chris Norman (pixelgeek) Carlos López González (genete) Aurore D (rore) +Daniel Hornung (rubikcube) diff --git a/synfig-studio/trunk/README b/synfig-studio/trunk/README index 21f3b43..12c3f0a 100644 --- a/synfig-studio/trunk/README +++ b/synfig-studio/trunk/README @@ -31,6 +31,7 @@ Copyright 2007-2008 Paul Wise Copyright 2008 Aurore D. Copyright 2008 Gerald Young Copyright 2008 David Roden +Copyright 2008 Daniel Hornung Some of the icons are placed in the Public Domain by Chris Norman Some of the icons are placed in the Public Domain by Carlos López González diff --git a/synfig-studio/trunk/images/Makefile.am b/synfig-studio/trunk/images/Makefile.am index ce8ac12..7cd5fa3 100644 --- a/synfig-studio/trunk/images/Makefile.am +++ b/synfig-studio/trunk/images/Makefile.am @@ -29,6 +29,7 @@ PNGTOICO=png2ico clean: $(RM) $(CLEANFILES) + $(RM) -r 16x16 22x22 24x24 32x32 48x48 64x64 128x128 .sif.bmp: $(SYNFIG) -q $< -o $@ --time 0 @@ -81,3 +82,61 @@ keyframe_lock_none.$(EXT): $(srcdir)/keyframe_lock_icon.sif #canvas_icon.$(EXT): canvas_icon.sif # $(SYNFIG) -q canvas_icon.sif -o canvas_icon.$(EXT) -w 128 -h 128 --time 0 + +if !WIN32_PKG +if !MACOSX_PKG + +16x16/synfig_icon.$(EXT): synfig_icon.sif + -mkdir 16x16 + $(SYNFIG) -q $< -o $@ --time 0 -w 16 -h 16 + +icons16dir = $(datadir)/icons/hicolor/16x16/apps +icons16_DATA = 16x16/synfig_icon.$(EXT) + +22x22/synfig_icon.$(EXT): synfig_icon.sif + -mkdir 22x22 + $(SYNFIG) -q $< -o $@ --time 0 -w 22 -h 22 + +icons22dir = $(datadir)/icons/hicolor/22x22/apps +icons22_DATA = 22x22/synfig_icon.$(EXT) + +24x24/synfig_icon.$(EXT): synfig_icon.sif + -mkdir 24x24 + $(SYNFIG) -q $< -o $@ --time 0 -w 24 -h 24 + +icons24dir = $(datadir)/icons/hicolor/24x24/apps +icons24_DATA = 24x24/synfig_icon.$(EXT) + +32x32/synfig_icon.$(EXT): synfig_icon.sif + -mkdir 32x32 + $(SYNFIG) -q $< -o $@ --time 0 -w 32 -h 32 + +icons32dir = $(datadir)/icons/hicolor/32x32/apps +icons32_DATA = 32x32/synfig_icon.$(EXT) + +48x48/synfig_icon.$(EXT): synfig_icon.sif + -mkdir 48x48 + $(SYNFIG) -q $< -o $@ --time 0 -w 48 -h 48 + +icons48dir = $(datadir)/icons/hicolor/48x48/apps +icons48_DATA = 48x48/synfig_icon.$(EXT) + +64x64/synfig_icon.$(EXT): synfig_icon.sif + -mkdir 64x64 + $(SYNFIG) -q $< -o $@ --time 0 -w 64 -h 64 + +icons64dir = $(datadir)/icons/hicolor/64x64/apps +icons64_DATA = 64x64/synfig_icon.$(EXT) + +128x128/synfig_icon.$(EXT): synfig_icon.sif + -mkdir 128x128 + $(SYNFIG) -q $< -o $@ --time 0 -w 128 -h 128 + +icons128dir = $(datadir)/icons/hicolor/128x128/apps +icons128_DATA = 128x128/synfig_icon.$(EXT) + +iconsscalabledir = $(datadir)/icons/hicolor/scalable/apps +iconsscalable_DATA = synfig_icon.svg + +endif +endif diff --git a/synfig-studio/trunk/images/synfig_icon.svg b/synfig-studio/trunk/images/synfig_icon.svg new file mode 100644 index 0000000..ddac44b --- /dev/null +++ b/synfig-studio/trunk/images/synfig_icon.svg @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Daniel Hornung (rubikcube) + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/synfig-studio/trunk/src/gtkmm/about.cpp b/synfig-studio/trunk/src/gtkmm/about.cpp index b3e4f52..617f9d2 100644 --- a/synfig-studio/trunk/src/gtkmm/about.cpp +++ b/synfig-studio/trunk/src/gtkmm/about.cpp @@ -159,6 +159,7 @@ About::About() artists.push_back("Aurore D (rore)"); artists.push_back("Carlos López González (genete)"); artists.push_back("Chris Norman (pixelgeek)"); + artists.push_back("Daniel Hornung (rubikcube)"); set_artists(artists); // TRANSLATORS: change this to your name, separate multiple names with \n -- 2.7.4