Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2015-08-10 09:14:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2015-07-14 17:30:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new/plasma-framework.changes 2015-08-10 09:14:03.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Jul 27 16:53:56 UTC 2015 - [email protected] + +- use update-alternatives for desktoptheme/input.svgz + to provide space for inputmethods to step in. +- in KDE 4, this icon wasn't held by KDE upstream, + so many inputmethods use it to integrate monochrome + systray icons for the DE. Now as it is held and + reserved, we need to allow inputmethods to override + it until they find a new solution. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.P6fdun/_old 2015-08-10 09:14:03.000000000 +0200 +++ /var/tmp/diff_new_pack.P6fdun/_new 2015-08-10 09:14:03.000000000 +0200 @@ -69,7 +69,10 @@ %else BuildRequires: pkgconfig(gl) %endif +BuildRequires: update-alternatives BuildRequires: pkgconfig(x11) +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: libqt5-qtquickcontrols %if %{with lang} Recommends: %{name}-lang = %{version} @@ -134,9 +137,28 @@ echo "%doc %lang(lt) %{_kf5_sharedir}/locale/lt/LC_SCRIPTS" >>%{name}.lang %endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +# update-alternatives for input.svgz +mv %{buildroot}%{_datadir}/plasma/desktoptheme/default/icons/input.svgz \ + %{buildroot}%{_datadir}/plasma/desktoptheme/default/icons/input.svgz-kdeorg +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +touch %{buildroot}%{_sysconfdir}/alternatives/input.svgz +ln -sf %{_sysconfdir}/alternatives/input.svgz \ + %{buildroot}%{_datadir}/plasma/desktoptheme/default/icons/input.svgz + +%post +/sbin/ldconfig +update-alternatives --install \ + %{_datadir}/plasma/desktoptheme/default/icons/input.svgz \ + input.svgz \ + %{_datadir}/plasma/desktoptheme/default/icons/input.svgz-kdeorg \ + 60 + +%postun +/sbin/ldconfig +if [ $1 -eq 0 ] ; then + update-alternatives --remove input.svgz \ + %{_datadir}/plasma/desktoptheme/default/icons/input.svgz-kdeorg +fi %post private -p /sbin/ldconfig @@ -149,6 +171,7 @@ %files %defattr(-,root,root) %doc COPYING* +%ghost %{_sysconfdir}/alternatives/input.svgz %{_kf5_bindir}/* %{_kf5_libdir}/libKF5Plasma.so.* %{_kf5_plugindir}/
