Added an icon for the Todo project

This commit is contained in:
Pierre Pronchery 2011-01-25 16:03:18 +00:00
parent 49d8d34fc4
commit 8a1baa7cdd
13 changed files with 94 additions and 4 deletions

View File

@ -24,6 +24,12 @@ dist:
$(PACKAGE)-$(VERSION)/data/Makefile \
$(PACKAGE)-$(VERSION)/data/todo.desktop \
$(PACKAGE)-$(VERSION)/data/project.conf \
$(PACKAGE)-$(VERSION)/data/16x16/todo.png \
$(PACKAGE)-$(VERSION)/data/16x16/project.conf \
$(PACKAGE)-$(VERSION)/data/24x24/todo.png \
$(PACKAGE)-$(VERSION)/data/24x24/project.conf \
$(PACKAGE)-$(VERSION)/data/48x48/todo.png \
$(PACKAGE)-$(VERSION)/data/48x48/project.conf \
$(PACKAGE)-$(VERSION)/po/Makefile \
$(PACKAGE)-$(VERSION)/po/gettext.sh \
$(PACKAGE)-$(VERSION)/po/POTFILES \

21
data/16x16/Makefile Normal file
View File

@ -0,0 +1,21 @@
PREFIX = /usr/local
DESTDIR =
MKDIR = mkdir -p
INSTALL = install
RM = rm -f
all:
clean:
distclean: clean
install: all
$(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps
$(INSTALL) -m 0644 -- todo.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/todo.png
uninstall:
$(RM) -- $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/todo.png
.PHONY: all clean distclean install uninstall

4
data/16x16/project.conf Normal file
View File

@ -0,0 +1,4 @@
dist=todo.png
[todo.png]
install=$(PREFIX)/share/icons/hicolor/16x16/apps

BIN
data/16x16/todo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

21
data/24x24/Makefile Normal file
View File

@ -0,0 +1,21 @@
PREFIX = /usr/local
DESTDIR =
MKDIR = mkdir -p
INSTALL = install
RM = rm -f
all:
clean:
distclean: clean
install: all
$(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps
$(INSTALL) -m 0644 -- todo.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps/todo.png
uninstall:
$(RM) -- $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps/todo.png
.PHONY: all clean distclean install uninstall

4
data/24x24/project.conf Normal file
View File

@ -0,0 +1,4 @@
dist=todo.png
[todo.png]
install=$(PREFIX)/share/icons/hicolor/24x24/apps

BIN
data/24x24/todo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

21
data/48x48/Makefile Normal file
View File

@ -0,0 +1,21 @@
PREFIX = /usr/local
DESTDIR =
MKDIR = mkdir -p
INSTALL = install
RM = rm -f
all:
clean:
distclean: clean
install: all
$(MKDIR) $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps
$(INSTALL) -m 0644 -- todo.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/todo.png
uninstall:
$(RM) -- $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/todo.png
.PHONY: all clean distclean install uninstall

4
data/48x48/project.conf Normal file
View File

@ -0,0 +1,4 @@
dist=todo.png
[todo.png]
install=$(PREFIX)/share/icons/hicolor/48x48/apps

BIN
data/48x48/todo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -1,3 +1,4 @@
SUBDIRS = 16x16 24x24 48x48
PREFIX = /usr/local
DESTDIR =
MKDIR = mkdir -p
@ -5,17 +6,24 @@ INSTALL = install
RM = rm -f
all:
all: subdirs
subdirs:
@for i in $(SUBDIRS); do (cd $$i && $(MAKE)) || exit; done
clean:
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean) || exit; done
distclean: clean
distclean:
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) distclean) || exit; done
install: all
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done
$(MKDIR) $(DESTDIR)$(PREFIX)/share/applications
$(INSTALL) -m 0644 -- todo.desktop $(DESTDIR)$(PREFIX)/share/applications/todo.desktop
uninstall:
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) uninstall) || exit; done
$(RM) -- $(DESTDIR)$(PREFIX)/share/applications/todo.desktop
.PHONY: all clean distclean install uninstall
.PHONY: all subdirs clean distclean install uninstall

View File

@ -1,3 +1,4 @@
subdirs=16x16,24x24,48x48
dist=Makefile,todo.desktop
[todo.desktop]

View File

@ -2,7 +2,7 @@
Name=Todo
Comment=Remember what you have to do
Exec=todo
Icon=stock_todo
Icon=todo
Type=Application
Categories=Office;GTK;
StartupNotify=true