Hello community, here is the log from the commit of package doomsday for openSUSE:Factory checked in at 2015-04-07 09:29:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/doomsday (Old) and /work/SRC/openSUSE:Factory/.doomsday.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "doomsday" Changes: -------- --- /work/SRC/openSUSE:Factory/doomsday/doomsday.changes 2014-10-18 09:09:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.doomsday.new/doomsday.changes 2015-04-07 09:29:09.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Mar 30 08:42:53 UTC 2015 - [email protected] + +- Add doomsday-no-abs-icon.patch: Do not use absolute path to + icons. Applicatio containerisation requires the icons to be below + /usr/share/icons or /usr/share/pixmaps. +- Copy the icons from the app directory to /usr/share/pixmaps. + +------------------------------------------------------------------- New: ---- doomsday-no-abs-icon.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ doomsday.spec ++++++ --- /var/tmp/diff_new_pack.taKe08/_old 2015-04-07 09:29:10.000000000 +0200 +++ /var/tmp/diff_new_pack.taKe08/_new 2015-04-07 09:29:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package doomsday # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,7 @@ #Git-Clone: git://github.com/skyjake/Doomsday-Engine Source: http://downloads.sf.net/deng/%name-%rver.tar.gz Source2: %name-rpmlintrc +Patch1: doomsday-no-abs-icon.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: Mesa-devel @@ -85,12 +86,8 @@ settings for launching a particular game (e.g., Doom). %prep -%if 0%{?__xz:1} %setup -qn %name-%rver -%else -tar --use=xz -xf "%{S:0}"; -%setup -DTqn %name-%rver -%endif +%patch -P 1 -p1 %build pushd doomsday; @@ -111,6 +108,11 @@ mv "$b/%_bindir"/{md2tool,savegametool,texc} "$b/%_libexecdir/%name/"; popd; +# Prepare for the icons +mkdir -p "$b/%_datadir/pixmaps" +cp snowberry/graphics/snowberry.png "$b/%_datadir/pixmaps/doomsday-snowberry.png" +cp doomsday/tools/shell/shell-gui/res/shell.png "$b/%_datadir/pixmaps/doomsday-shell.png" + mkdir -p "$b/%_sysconfdir/doomsday"; cat >"$b/%_sysconfdir/doomsday/paths" <<-EOF basedir: %_datadir/doomsday @@ -136,6 +138,7 @@ %_datadir/%name/icons/ %_datadir/%name/modules/ %_datadir/applications/*.desktop +%_datadir/pixmaps/doomsday-*.png %_mandir/man6/doomsday*.6* %_libexecdir/%name/ ++++++ doomsday-no-abs-icon.patch ++++++ From: Dominique Leuenberger <[email protected]> Date: 2015-03-30T09:15:11 Do not use absolute paths to icons. [Application containerization requires the icons to be below /usr/share/icons or /usr/share/pixmaps, but the specfile will take care of that.] Index: doomsday-1.14.5/distrib/linux/doomsday-engine.desktop =================================================================== --- doomsday-1.14.5.orig/distrib/linux/doomsday-engine.desktop +++ doomsday-1.14.5/distrib/linux/doomsday-engine.desktop @@ -6,5 +6,5 @@ Categories=Game;ActionGame; Exec=BIN_DIR/launch-doomsday Terminal=false Type=Application -Icon=SB_DIR/graphics/snowberry.png +Icon=doomsday-snowberry.png Index: doomsday-1.14.5/distrib/linux/doomsday-shell.desktop =================================================================== --- doomsday-1.14.5.orig/distrib/linux/doomsday-shell.desktop +++ doomsday-1.14.5/distrib/linux/doomsday-shell.desktop @@ -6,5 +6,5 @@ Categories=Game;ActionGame; Exec=BIN_DIR/doomsday-shell Terminal=false Type=Application -Icon=BASE_DIR/icons/shell.png +Icon=doomsday-shell.png
