diff --git a/apper-0.9.2-style.patch b/apper-0.9.2-style.patch index ee2f6d6..b02c9cb 100644 --- a/apper-0.9.2-style.patch +++ b/apper-0.9.2-style.patch @@ -5,8 +5,8 @@ diff -up apper-0.9.2/Apper/main.cpp.style apper-0.9.2/Apper/main.cpp Apper app; -+ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() ) { -+ app.setStyle(QString("cleanlooks")); ++ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() && qgetenv("APPER_NO_STYLE_OVERRIDE").isEmpty() ) { ++ //app.setStyle(QString("cleanlooks")); + app.setStyle(QString("oxygen")); + } + diff --git a/apper.spec b/apper.spec index f57ca70..b01e333 100644 --- a/apper.spec +++ b/apper.spec @@ -9,7 +9,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.2 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -35,6 +35,7 @@ Patch15: 0015-explicitly-set-PK-cache-age.patch ## upstreamable patches # hardcode known-good styles Patch100: apper-0.9.2-style.patch +Recommends: qt4-style-oxygen%{?_isa} Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} @@ -155,6 +156,9 @@ fi %changelog +* Thu Nov 10 2016 Rex Dieter - 0.9.2-7 +- Recommends: qt4-style-oxygen, support APPER_NO_STYLE_OVERRIDE env (#1380097) + * Thu May 05 2016 Rex Dieter - 0.9.2-6 - hard-code style (plastique/oxygen) to workaround UI glitches (#1209017)