Hello community, here is the log from the commit of package bibletime for openSUSE:Factory checked in at 2015-04-21 10:50:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bibletime (Old) and /work/SRC/openSUSE:Factory/.bibletime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "bibletime" Changes: -------- --- /work/SRC/openSUSE:Factory/bibletime/bibletime.changes 2014-07-15 08:01:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bibletime.new/bibletime.changes 2015-04-21 10:51:04.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Apr 8 12:09:48 UTC 2015 - dimstar@opensuse.org + +- No longer package bibletime.xpm: there are perfectly good icons + inside the tarball (even in scalable svg format). +- Fix the installation location of the icon: ensure the real file + is located in /usr/share/icons/[..]. + +------------------------------------------------------------------- Old: ---- bibletime.xpm ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bibletime.spec ++++++ --- /var/tmp/diff_new_pack.LGzR4x/_old 2015-04-21 10:51:04.000000000 +0200 +++ /var/tmp/diff_new_pack.LGzR4x/_new 2015-04-21 10:51:04.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package bibletime # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012-2014 Lars Vogdt # # All modifications and additions to the file contributed by third parties @@ -25,7 +25,6 @@ Group: Productivity/Scientific/Other Url: http://www.bibletime.info/ Source0: %name-%version.tar.xz -Source1: %{name}.xpm Source2: bibletime-rpmlintrc BuildRequires: boost-devel BuildRequires: cmake @@ -107,7 +106,13 @@ # install manpages install -Dm644 docs/manpages/bibletime.1 %{buildroot}%{_mandir}/man1/bibletime.1 install -Dm644 docs/manpages/bibletime.de.1 %{buildroot}%{_mandir}/de/man1/bibletime.1 -install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.xpm +# move the icon to a valid place (/usr/share/icons is not valid... it has to be in a theme; hicolor as the usual falback) +# this is only a link pointing out of the icons +rm %{buildroot}%{_datadir}/icons/%{name}.svg +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps +mv %{buildroot}%{_datadir}/%{name}/icons/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +# then link back the icon into the app directory +ln -sf %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{buildroot}%{_datadir}/%{name}/icons/%{name}.svg %if 0%{?suse_version} %fdupes -s %{buildroot} sed -i "s|bibletime/handbook/index.html|bibletime/handbook/en/index.html|" %{buildroot}%{_datadir}/applications/%{name}.desktop @@ -128,7 +133,6 @@ %dir %kdeprefix/share/bibletime %kdeprefix/bin/* %kdeprefix/share/icons/* -%kdeprefix/share/pixmaps/%{name}.xpm %kdeprefix/share/applications/bibletime.desktop %kdeprefix/share/bibletime/*