Browse files

changed: install linux icons according to the fdo icon theme specific…


The standard specifies that a 48x48 icon is mandatory, so add one. In
addition to that one, install media/icon.png as 256x256 icon. The old
non-square Linux-specific icon is removed.

git-svn-id: 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
anssih committed Jul 11, 2010
1 parent 5c9b321 commit cd62b293c0ad6a61e0441cbf915a3fac61d36c9e
Showing with 4 additions and 2 deletions.
  1. +4 −2
  2. BIN tools/Linux/xbmc-48x48.png
  3. BIN tools/Linux/xbmc.png
@@ -538,9 +538,11 @@ install-datas: install-scripts
@# Arch independent files
@find addons language media scripts sounds userdata system -regextype posix-extended -type f -not -iregex ".*script\.module\..*|.*$(ARCH).*|.*\.vis|.*\.xbs|.*svn.*|.*\.so|.*\.dll|.*\.pyd|.*python/.*\.zlib" -exec install -D -m 0644 "{}" $(DESTDIR)$(datarootdir)/xbmc/"{}" \; -printf " -- %-75.75f\r"
@# Icons and links
- @mkdir -p $(DESTDIR)$(datarootdir)/applications $(DESTDIR)$(datarootdir)/pixmaps
- @cp -a tools/Linux/xbmc.png $(DESTDIR)$(datarootdir)/pixmaps/
+ @mkdir -p $(DESTDIR)$(datarootdir)/applications
@cp -a tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/
+ @install -D -m 0644 tools/Linux/xbmc-48x48.png $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/xbmc.png
+ @install -D -m 0644 media/icon.png $(DESTDIR)$(datadir)/icons/hicolor/256x256/apps/xbmc.png
+ @test -z "$(DESTDIR)" && gtk-update-icon-cache -f -q $(datadir)/icons/hicolor || :
@echo "Install Live CD datas in $(DESTDIR)$(prefix) ..."
Binary file not shown.
Binary file not shown.

0 comments on commit cd62b29

Please sign in to comment.