From: Richard W.M. Jones Date: Wed, 27 Jul 2011 11:40:45 +0000 (+0100) Subject: Add icon. X-Git-Tag: 0.1.7~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=04b7ac2ae61b6b556819d16e45751af6903b9712;p=guestfs-browser.git Add icon. --- diff --git a/.gitignore b/.gitignore index 38b0473..a3f02ec 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ doc/ guestfs-browser-*.tar.gz guestfs-browser guestfs-browser.1 +guestfs-browser.desktop guestfs-browser.spec html/*.html install-sh diff --git a/Makefile.am b/Makefile.am index e535ffe..e92a3bb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,7 +24,10 @@ EXTRA_DIST = \ .gitignore guestfs-browser.spec \ guestfs-browser.pod \ guestfs-browser.1 \ - guestfs-browser.desktop \ + guestfs-browser.desktop.in \ + guestfs-browser.png \ + guestfs-browser-large.png \ + guestfs-browser.svg \ test-desktop-file-validate.sh \ html/pod.css @@ -118,10 +121,17 @@ throbber.ml: Throbber.png Throbber.gif .ml.cmx: $(OCAMLFIND) ocamlopt $(OCAMLCFLAGS) -c $< -o $@ +# Icon. +icondir = $(datadir)/$(PACKAGE_NAME)/pixmaps +icon_DATA = guestfs-browser.svg guestfs-browser-large.png guestfs-browser.png + # Desktop file. desktopdir = $(datadir)/applications desktop_DATA = guestfs-browser.desktop +guestfs-browser.desktop: guestfs-browser.desktop.in + $(SED) "s,\@icondir\@,$(icondir),g" < $< > $@ + TESTS += test-desktop-file-validate.sh # Man page. diff --git a/guestfs-browser-large.png b/guestfs-browser-large.png new file mode 100644 index 0000000..7830769 Binary files /dev/null and b/guestfs-browser-large.png differ diff --git a/guestfs-browser.desktop b/guestfs-browser.desktop.in similarity index 85% rename from guestfs-browser.desktop rename to guestfs-browser.desktop.in index 7d37778..07d7b59 100644 --- a/guestfs-browser.desktop +++ b/guestfs-browser.desktop.in @@ -2,6 +2,7 @@ Name=Virtual Machine Filesystem Browser Comment=Browse inside the filesystems of virtual machines (guestfs-browser) Exec=guestfs-browser +Icon=@icondir@/guestfs-browser.svg Type=Application Terminal=false Categories=System; diff --git a/guestfs-browser.png b/guestfs-browser.png new file mode 100644 index 0000000..042de71 Binary files /dev/null and b/guestfs-browser.png differ diff --git a/guestfs-browser.svg b/guestfs-browser.svg new file mode 100644 index 0000000..69dbd99 --- /dev/null +++ b/guestfs-browser.svg @@ -0,0 +1,366 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +