From 45a3908a1c51ba0283a92eda253d892f647045ee84df42633ce0b30b21ed5306 Mon Sep 17 00:00:00 2001 From: Hendrik Vogelsang Date: Sat, 27 Mar 2010 16:11:05 +0000 Subject: [PATCH] Accepting request 35887 from home:vuntz:branches:editors Copy from home:vuntz:branches:editors/vim via accept of submit request 35887 revision 2. Request was accepted with message: icons. thats what your interested in huh? ;) reviewed okay! OBS-URL: https://build.opensuse.org/request/show/35887 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=14 --- gvim.png | 3 --- vim.changes | 7 +++++++ vim.spec | 6 ++++-- 3 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 gvim.png diff --git a/gvim.png b/gvim.png deleted file mode 100644 index 82ed04f..0000000 --- a/gvim.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:931f8254408e8981f89e6d75bbcb153d73755e4f7635414d7d811bd358ceb476 -size 262 diff --git a/vim.changes b/vim.changes index d6f73ab..6bae357 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Mar 27 11:48:28 CET 2010 - vuntz@opensuse.org + +- Use the icon from the tarball instead of our custom icon. It + looks much better. +- Drop gvim.png from the source package. + ------------------------------------------------------------------- Tue Feb 9 17:01:46 CET 2010 - prusnak@suse.cz diff --git a/vim.spec b/vim.spec index edc98b5..55d3d18 100644 --- a/vim.spec +++ b/vim.spec @@ -69,7 +69,6 @@ Source10: README.Japanese-XIM Source13: vitmp.c Source14: vitmp.1 Source15: vim132 -Source16: gvim.png Source18: missing-vim-client Source19: gvim.desktop Source20: spec.skeleton @@ -390,6 +389,9 @@ export GUI_OPTIONS="\ gcc %{optflags} %{S:13} -o vitmp %install +# +# create icon directory to have the icon from the tarball installed +%{__install} -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps %makeinstall STRIP=: # the last installed binary is gvim. preserve it and # fix its symlinks. e* was added here as it doesnt make much sense in @@ -693,7 +695,7 @@ fi %{_bindir}/rgvim # menu icon %{_datadir}/applications/gvim.desktop -%{_datadir}/pixmaps/gvim.png +%{_datadir}/icons/hicolor/48x48/apps/gvim.png %if 0%{?with_splitted_gvim} %files -n gvim-enhanced