Hello community,

here is the log from the commit of package godot for openSUSE:Factory checked 
in at 2020-07-09 13:20:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/godot (Old)
 and      /work/SRC/openSUSE:Factory/.godot.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "godot"

Thu Jul  9 13:20:36 2020 rev:5 rq:819617 version:3.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/godot/godot.changes      2020-06-27 
23:23:00.837907830 +0200
+++ /work/SRC/openSUSE:Factory/.godot.new.3060/godot.changes    2020-07-09 
13:21:52.517745160 +0200
@@ -1,0 +2,6 @@
+Tue Jul 01 12:00:00 UTC 2020 - cu...@mail.de
+
+- In .desktop file prefix "PrefersNonDefaultGPU" with "X-" only
+  until package desktop-file-utils is up to date.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ godot.spec ++++++
--- /var/tmp/diff_new_pack.5daRaJ/_old  2020-07-09 13:21:53.289747600 +0200
+++ /var/tmp/diff_new_pack.5daRaJ/_new  2020-07-09 13:21:53.289747600 +0200
@@ -37,6 +37,7 @@
 # Use system certificates as fallback for certificates
 Patch1:         certs_fallback.patch
 BuildRequires:  Mesa-devel
+BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
@@ -220,8 +221,15 @@
 # actual doc location in openSUSE
 sed -i 's/\/usr\/share\/doc\/godot\//\/usr\/share\/doc\/packages\/godot\//' 
misc/dist/linux/godot.6
 
-# rpmlint considers file invalid without "X-" prefix
-sed -i 's/PrefersNonDefaultGPU=true/X-PrefersNonDefaultGPU=true/' 
misc/dist/linux/org.godotengine.Godot.desktop
+if [[ -z "$(desktop-file-validate 
misc/dist/linux/org.godotengine.Godot.desktop)" ]];
+ then
+  # desktop-file-utils version >= 0.25
+  echo desktop-file-utils is up to date and recognizes PrefersNonDefaultGPU.
+ else
+  echo PrefersNonDefaultGPU not recognized.
+  # rpmlint considers file invalid without "X-" prefix
+  sed -i 's/PrefersNonDefaultGPU=true/X-PrefersNonDefaultGPU=true/' 
misc/dist/linux/org.godotengine.Godot.desktop
+fi
 
 # disarm shebang
 sed -i '1s/#!/##/' misc/dist/shell/godot.bash-completion


Reply via email to