Accepting request 203558 from home:MargueriteSu:branches:M17N
give ibus systray icon a better look in kde. OBS-URL: https://build.opensuse.org/request/show/203558 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=81
This commit is contained in:
parent
a82a1de1ec
commit
0c7dbe40e7
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 17 07:13:31 UTC 2013 - i@marguerite.su
|
||||
|
||||
- add a branding-openSUSE-KDE subpackage.
|
||||
* provides kde monochrome icons for 13.1 default KDE theme.
|
||||
- port fix for bnc#820218 here
|
||||
* ibus qt tray icon is not in keeping with KDE monochrome icon look.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 09:22:41 CST 2013 - hillwood@linuxfans.org
|
||||
|
||||
|
42
ibus.spec
42
ibus.spec
@ -30,6 +30,8 @@ Source: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
Source2: ibus-README.suse
|
||||
Source3: xim.ibus.suse.template
|
||||
Source4: xim.d-ibus-121
|
||||
Source5: kde.tar.gz
|
||||
Source6: kde-12.2.tar.gz
|
||||
%if %{with_automatic_config}
|
||||
Patch0: ibus-python-install-dir.patch
|
||||
# PATCH-FEATURE-UPSTREAM add-libgnomekbd-and-load-preload-engines.patch Issue 1641 ftake@geeko.jp
|
||||
@ -62,6 +64,10 @@ BuildRequires: libgnomekbd-devel
|
||||
%endif
|
||||
BuildRequires: libnotify-devel >= 0.7
|
||||
BuildRequires: libtool
|
||||
# directory ownership {
|
||||
BuildRequires: oxygen-icon-theme
|
||||
BuildRequires: oxygen-icon-theme-scalable
|
||||
# }
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python >= 2.5
|
||||
BuildRequires: python-gobject2-devel
|
||||
@ -140,7 +146,20 @@ Requires: %{name} = %{version}
|
||||
%description -n python-ibus
|
||||
This package contains python module for ibus
|
||||
|
||||
%package branding-openSUSE-KDE
|
||||
Summary: openSUSE branding for KDE
|
||||
Group: System/GUI/KDE
|
||||
Requires: ibus = %{version}
|
||||
Supplements: packageand(ibus:kdelibs4)
|
||||
Supplements: packageand(ibus:branding-openSUSE-KDE)
|
||||
Provides: ibus-branding = %{version}
|
||||
Conflicts: otherproviders(ibus-branding)
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description branding-openSUSE-KDE
|
||||
openSUSE branding for KDE monochrome icons in systray.
|
||||
|
||||
%package devel
|
||||
Summary: Development tools for ibus
|
||||
@ -225,6 +244,23 @@ ln -sf %{_datadir}/icons/hicolor/48x48/apps/ibus-keyboard.png \
|
||||
# touch for %%ghost
|
||||
touch $RPM_BUILD_ROOT/%{_sysconfdir}/dconf/db/ibus
|
||||
|
||||
# fix kde monochrome icons
|
||||
%if 0%{?suse_version} >= 1230
|
||||
cp -r %{SOURCE5} ./
|
||||
%else
|
||||
cp -r %{SOURCE6} ./
|
||||
mv kde-12.2.tar.gz kde.tar.gz
|
||||
%endif
|
||||
tar -xzf kde.tar.gz
|
||||
pushd kde
|
||||
for i in 16 22 24 32 48 ; do
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/oxygen/${i}x${i}/apps/
|
||||
cp -r ibus-keyboard.${i}x${i}.png %{buildroot}%{_datadir}/icons/oxygen/${i}x${i}/apps/ibus-keyboard.png
|
||||
done
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/oxygen/scalable/apps/
|
||||
cp -r ibus-keyboard.svgz %{buildroot}%{_datadir}/icons/oxygen/scalable/apps/
|
||||
popd
|
||||
|
||||
%suse_update_desktop_file %name-setup System Utility settings
|
||||
|
||||
%fdupes %buildroot/%_prefix
|
||||
@ -317,4 +353,10 @@ dconf update
|
||||
%{_datadir}/gir-1.0/IBus-1.0.gir
|
||||
%{_datadir}/vala/vapi/*
|
||||
|
||||
%files branding-openSUSE-KDE
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_datadir}/icons/oxygen/24x24
|
||||
%dir %{_datadir}/icons/oxygen/24x24/apps
|
||||
%{_datadir}/icons/oxygen/*/apps/ibus-keyboard.*
|
||||
|
||||
%changelog
|
||||
|
3
kde-12.2.tar.gz
Normal file
3
kde-12.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd72b5ac9d1ab666922a0d115f4c54a1d1fc3e73de035b2ad1e4df54fd0fc738
|
||||
size 7170
|
3
kde.tar.gz
Normal file
3
kde.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ef741cd60d35c0b8a84c3ddd11118dceda20248fbe0a3e5dbfbca619f06791aa
|
||||
size 5324
|
Loading…
Reference in New Issue
Block a user