Hello community,

here is the log from the commit of package primus for openSUSE:Factory checked 
in at 2017-10-07 17:50:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/primus (Old)
 and      /work/SRC/openSUSE:Factory/.primus.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "primus"

Sat Oct  7 17:50:43 2017 rev:6 rq:532096 version:0+git20150328.d1afbf6

Changes:
--------
--- /work/SRC/openSUSE:Factory/primus/primus.changes    2017-10-05 
12:04:01.416380153 +0200
+++ /work/SRC/openSUSE:Factory/.primus.new/primus.changes       2017-10-07 
17:50:44.399107659 +0200
@@ -1,0 +2,6 @@
+Fri Oct  6 07:36:32 UTC 2017 - [email protected]
+
+- Add patch to work with our nvidia laout bsc#1061561:
+  * primusrun-bsc1061561.diff
+
+-------------------------------------------------------------------

New:
----
  primusrun-bsc1061561.diff

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

Other differences:
------------------
++++++ primus.spec ++++++
--- /var/tmp/diff_new_pack.IG6tJt/_old  2017-10-07 17:50:45.663052095 +0200
+++ /var/tmp/diff_new_pack.IG6tJt/_new  2017-10-07 17:50:45.699050513 +0200
@@ -25,6 +25,7 @@
 Url:            https://github.com/amonakov/primus
 Source0:        %{name}-%{version}.tar.xz
 Source1:        baselibs.conf
+Patch0:         primusrun-bsc1061561.diff
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  gcc-c++
 BuildRequires:  libX11-devel
@@ -43,6 +44,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 
 
 %build
 export CXXFLAGS="%{optflags}"

++++++ primusrun-bsc1061561.diff ++++++
diff -burNE primus-0+git20150328.d1afbf6.orig/primusrun 
primus-0+git20150328.d1afbf6/primusrun
--- primus-0+git20150328.d1afbf6.orig/primusrun 2017-10-06 08:41:13.479966047 
+0200
+++ primus-0+git20150328.d1afbf6/primusrun      2017-10-06 08:41:28.083337367 
+0200
@@ -2,31 +2,31 @@
 
 # Readback-display synchronization method
 # 0: no sync, 1: D lags behind one frame, 2: fully synced
-# export PRIMUS_SYNC=${PRIMUS_SYNC:-0}
+export PRIMUS_SYNC=${PRIMUS_SYNC:-0}
 
 # Verbosity level
 # 0: only errors, 1: warnings (default), 2: profiling
-# export PRIMUS_VERBOSE=${PRIMUS_VERBOSE:-1}
+export PRIMUS_VERBOSE=${PRIMUS_VERBOSE:-1}
 
 # Upload/display method
 # 0: autodetect, 1: textures, 2: PBO/glDrawPixels (needs Mesa-10.1+)
-# export PRIMUS_UPLOAD=${PRIMUS_UPLOAD:-0}
+export PRIMUS_UPLOAD=${PRIMUS_UPLOAD:-0}
 
 # Approximate sleep ratio in the readback thread, percent
-# export PRIMUS_SLEEP=${PRIMUS_SLEEP:-90}
+export PRIMUS_SLEEP=${PRIMUS_SLEEP:-90}
 
 # Secondary display
-# export PRIMUS_DISPLAY=${PRIMUS_DISPLAY:-:8}
+export PRIMUS_DISPLAY=${PRIMUS_DISPLAY:-:8}
 
 # "Accelerating" libGL
 # $LIB will be interpreted by the dynamic linker
-# export PRIMUS_libGLa=${PRIMUS_libGLa:-'/usr/$LIB/nvidia/libGL.so.1'}
+export PRIMUS_libGLa=${PRIMUS_libGLa:-'/usr/$LIB/nvidia/libGL.so.1'}
 
 # "Displaying" libGL
-# export PRIMUS_libGLd=${PRIMUS_libGLd:-'/usr/$LIB/libGL.so.1'}
+export PRIMUS_libGLd=${PRIMUS_libGLd:-'/usr/$LIB/libGL.so.1'}
 
 # Directory containing primus libGL
-PRIMUS_libGL=${PRIMUS_libGL:-$(dirname `readlink -ne $0`)/'$LIB'}
+PRIMUS_libGL=${PRIMUS_libGL:-'/usr/$LIB/primus'}
 
 # On some distributions, e.g. on Ubuntu, libnvidia-tls.so is not available
 # in default search paths.  Add its path manually after the primus library

Reply via email to