Hello community,

here is the log from the commit of package qt5ct for openSUSE:Factory checked 
in at 2017-05-02 08:54:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt5ct (Old)
 and      /work/SRC/openSUSE:Factory/.qt5ct.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt5ct"

Tue May  2 08:54:51 2017 rev:10 rq:492227 version:0.31

Changes:
--------
--- /work/SRC/openSUSE:Factory/qt5ct/qt5ct.changes      2017-04-17 
10:27:36.775153953 +0200
+++ /work/SRC/openSUSE:Factory/.qt5ct.new/qt5ct.changes 2017-05-02 
08:54:52.850424057 +0200
@@ -1,0 +2,6 @@
+Sun Apr 30 08:34:09 UTC 2017 - lnus...@suse.de
+
+- Don't set QT_QPA_PLATFORMTHEME when running a KDE session to avoid
+  overriding the settings defined there (boo#920792).
+
+-------------------------------------------------------------------

New:
----
  qt5ct.csh
  qt5ct.sh

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

Other differences:
------------------
++++++ qt5ct.spec ++++++
--- /var/tmp/diff_new_pack.lDylLw/_old  2017-05-02 08:54:53.638312958 +0200
+++ /var/tmp/diff_new_pack.lDylLw/_new  2017-05-02 08:54:53.638312958 +0200
@@ -24,6 +24,8 @@
 Group:          Development/Libraries/X11
 Url:            https://sourceforge.net/projects/qt5ct
 Source:         http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2
+Source1:        qt5ct.sh
+Source2:        qt5ct.csh
 BuildRequires:  gcc-c++
 BuildRequires:  libQt5Gui-private-headers-devel >= 5.4.0
 BuildRequires:  libQt5PlatformSupport-private-headers-devel >= 5.4.0
@@ -43,8 +45,6 @@
 
 %prep
 %setup -q
-echo "export QT_QPA_PLATFORMTHEME='%{name}'" > %{name}.sh
-echo "setenv QT_QPA_PLATFORMTHEME '%{name}'" > %{name}.csh
 
 %build
 %qmake5
@@ -52,8 +52,8 @@
 
 %install
 %qmake5_install
-install -Dpm 0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
-install -Dpm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
+install -Dpm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
+install -Dpm 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
 
 %files
 %defattr(-,root,root)

++++++ qt5ct.csh ++++++
if ( $?XDG_CURRENT_DESKTOP ) then
        if ( $XDG_CURRENT_DESKTOP != "KDE" ) then
                setenv QT_QPA_PLATFORMTHEME 'qt5ct'
        endif
else
        setenv QT_QPA_PLATFORMTHEME 'qt5ct'
endif
++++++ qt5ct.sh ++++++
if [ "$XDG_CURRENT_DESKTOP" != "KDE" ]; then
        export QT_QPA_PLATFORMTHEME='qt5ct'
fi

Reply via email to