desktop entry clean-up; install PREFIX in Makefile

git-svn-id: svn://svn.berlios.de/gpodder/trunk@275 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
Thomas Perl 2007-03-17 12:58:49 +00:00
parent d23a9e8a1f
commit 31cc42a9cb
3 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Sat, 17 Mar 2007 13:57:50 +0100 <thp@perli.net>
* data/gpodder.desktop: Clean-up the desktop entry file
* Makefile: Make PREFIX a variable defaulting to /usr and pass it
to setup.py's install method and to the "make uninstall" target
Sat, 17 Mar 2007 13:30:37 +0100 <thp@perli.net> Sat, 17 Mar 2007 13:30:37 +0100 <thp@perli.net>
* data/gpodder.glade: Update preferences dialog and main window's * data/gpodder.glade: Update preferences dialog and main window's
"About" menu item to be (more) compliant to the GNOME HIG "About" menu item to be (more) compliant to the GNOME HIG

View file

@ -24,6 +24,7 @@ CHANGELOG_EDT=.ChangeLog.edit
EMAIL ?= $$USER@`hostname -f` EMAIL ?= $$USER@`hostname -f`
DESTDIR ?= / DESTDIR ?= /
PREFIX ?= /usr
# default editor of user has not set "EDITOR" env variable # default editor of user has not set "EDITOR" env variable
EDITOR ?= vim EDITOR ?= vim
@ -67,7 +68,7 @@ release: distclean
python setup.py sdist python setup.py sdist
install: generators install: generators
python setup.py install --root=$(DESTDIR) python setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)
uninstall: uninstall:
@echo "##########################################################################" @echo "##########################################################################"
@ -75,7 +76,7 @@ uninstall:
@echo "# REMOVE FILES INSTALLED BY GPODDER. WATCH INSTALL PROCESS AND REMOVE #" @echo "# REMOVE FILES INSTALLED BY GPODDER. WATCH INSTALL PROCESS AND REMOVE #"
@echo "# THE REST OF THE PACKAGES MANUALLY TO COMPLETELY REMOVE GPODDER. #" @echo "# THE REST OF THE PACKAGES MANUALLY TO COMPLETELY REMOVE GPODDER. #"
@echo "##########################################################################" @echo "##########################################################################"
rm -rf /usr/share/gpodder /usr/share/pixmaps/gpodder* /usr/share/applications/gpodder.desktop /usr/share/man/man1/gpodder.man.1 /usr/bin/gpodder /usr/lib/python?.?/site-packages/gpodder/ /usr/share/locale/*/LC_MESSAGES/gpodder.mo rm -rf $(PREFIX)/share/gpodder $(PREFIX)/share/pixmaps/gpodder* $(PREFIX)/share/applications/gpodder.desktop $(PREFIX)/share/man/man1/gpodder.man.1 $(PREFIX)/bin/gpodder $(PREFIX)/lib/python?.?/site-packages/gpodder/ $(PREFIX)/share/locale/*/LC_MESSAGES/gpodder.mo
########################################################################## ##########################################################################

View file

@ -1,14 +1,13 @@
[Desktop Entry] [Desktop Entry]
Name=gPodder Name=gPodder
GenericName=Media aggregator
Comment=a media aggregator / podcast catcher Comment=a media aggregator / podcast catcher
Comment[de]=Medien-Aggregator und Podcast-Client Comment[de]=Medien-Aggregator und Podcast-Client
Comment[es]=Cliente y agregador de Podcasts Comment[es]=Cliente y agregador de Podcasts
Comment[fr]=aggrégateur de flux et client podcast Comment[fr]=aggrégateur de flux et client podcast
Comment[pt]=Cliente e agregador de Podcasts Comment[pt]=Cliente e agregador de Podcasts
Exec=gpodder Exec=gpodder
Icon=/usr/share/gpodder/images/gpodder.png Icon=gpodder.png
Miniicon=/usr/share/gpodder/images/gpodder.png
GenericName=Media aggregator
Terminal=false Terminal=false
Type=Application Type=Application
Categories=Application;AudioVideo;Audio; Categories=Application;AudioVideo;Audio;