Accepting request 260435 from home:MargueriteSu:branches:M17N
update themes OBS-URL: https://build.opensuse.org/request/show/260435 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=106
This commit is contained in:
parent
feacc24eef
commit
db9ee48d21
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 9 07:00:33 UTC 2014 - i@marguerite.su
|
||||||
|
|
||||||
|
- update themes
|
||||||
|
* reworked Dartmouth & New Air
|
||||||
|
* added Harlequin
|
||||||
|
- droped input.svgz
|
||||||
|
* new input-Dartmouth/Harlequin.svgz are in openSUSE-themes.tar.gz
|
||||||
|
refers to Dark/Light versions of openSUSE
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 20 09:32:24 UTC 2014 - i@marguerite.su
|
Sat Sep 20 09:32:24 UTC 2014 - i@marguerite.su
|
||||||
|
|
||||||
|
34
fcitx.spec
34
fcitx.spec
@ -33,7 +33,6 @@ Source3: xim.fcitx.suse.template
|
|||||||
Source7: xinput-fcitx
|
Source7: xinput-fcitx
|
||||||
Source8: openSUSE-themes.tar.gz
|
Source8: openSUSE-themes.tar.gz
|
||||||
Source9: macros.%{name}
|
Source9: macros.%{name}
|
||||||
Source10: input.svgz
|
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: cairo-devel
|
BuildRequires: cairo-devel
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -324,7 +323,7 @@ Tools to convert txt or scel(sougou pinyin data format) pinyin sheets to fcitx m
|
|||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
|
|
||||||
%package branding-openSUSE
|
%package branding-openSUSE
|
||||||
Summary: openSUSE default Skin for Fcitx
|
Summary: openSUSE default Skins for Fcitx
|
||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?suse_version} >= 1140
|
||||||
@ -335,7 +334,7 @@ Conflicts: otherproviders(%{name}-branding)
|
|||||||
Supplements: packageand(%{name}:branding-openSUSE)
|
Supplements: packageand(%{name}:branding-openSUSE)
|
||||||
|
|
||||||
%description branding-openSUSE
|
%description branding-openSUSE
|
||||||
openSUSE default skin for Fcitx
|
openSUSE default skins for Fcitx
|
||||||
|
|
||||||
You can either use this package or download from kde-look.org using knewstaff in fcitx-config-kde4.
|
You can either use this package or download from kde-look.org using knewstaff in fcitx-config-kde4.
|
||||||
|
|
||||||
@ -433,20 +432,20 @@ cd ..
|
|||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
# install openSUSE skins
|
# install openSUSE skins
|
||||||
pushd %{buildroot}%{_datadir}/%{name}/skin/
|
|
||||||
tar -xzf %{SOURCE8}
|
tar -xzf %{SOURCE8}
|
||||||
mv openSUSE-themes/Dartmouth ./openSUSE-default
|
mv openSUSE-themes/Harlequin %{buildroot}%{_datadir}/%{name}/skin/
|
||||||
mv openSUSE-themes/New_Air ./New_Air
|
mv openSUSE-themes/Dartmouth %{buildroot}%{_datadir}/%{name}/skin/
|
||||||
rm -rf openSUSE-themes
|
mv openSUSE-themes/NewAir %{buildroot}%{_datadir}/%{name}/skin/
|
||||||
popd
|
|
||||||
|
|
||||||
# fcitx 4.2.8 use new dbus systray mechanism, so fix the ugly oxygen keyboard icon
|
# fcitx 4.2.8 use new dbus systray mechanism, so fix the ugly oxygen keyboard icon
|
||||||
mkdir -p %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSE/icons/
|
mkdir -p %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSE/icons/
|
||||||
cp -r %{SOURCE10} %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSE/icons/
|
mkdir -p %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSElight/icons/
|
||||||
|
cp -r openSUSE-themes/input-Harlequin.svgz %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSE/icons/input.svgz
|
||||||
|
cp -r openSUSE-themes/input-Dartmouth.svgz %{buildroot}%{_kde4_appsdir}/desktoptheme/openSUSElight/icons/input.svgz
|
||||||
|
|
||||||
# Change default skin
|
# Change default skin
|
||||||
pushd %{buildroot}%{_datadir}/%{name}/configdesc
|
pushd %{buildroot}%{_datadir}/%{name}/configdesc
|
||||||
sed -i 's/DefaultValue=default/DefaultValue=openSUSE-default/' %{buildroot}%{_datadir}/%{name}/configdesc/fcitx-classic-ui.desc
|
sed -i 's/DefaultValue=default/DefaultValue=Harlequin/' %{buildroot}%{_datadir}/%{name}/configdesc/fcitx-classic-ui.desc
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -625,8 +624,9 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
|||||||
%exclude %{_libdir}/%{name}/libexec/fcitx-po-parser
|
%exclude %{_libdir}/%{name}/libexec/fcitx-po-parser
|
||||||
%exclude %{_libdir}/%{name}/libexec/fcitx-scanner
|
%exclude %{_libdir}/%{name}/libexec/fcitx-scanner
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%exclude %{_datadir}/%{name}/skin/openSUSE-default
|
%exclude %{_datadir}/%{name}/skin/Harlequin
|
||||||
%exclude %{_datadir}/%{name}/skin/New_Air
|
%exclude %{_datadir}/%{name}/skin/Dartmouth
|
||||||
|
%exclude %{_datadir}/%{name}/skin/NewAir
|
||||||
%endif
|
%endif
|
||||||
%exclude %{_datadir}/%{name}/skin/classic
|
%exclude %{_datadir}/%{name}/skin/classic
|
||||||
%exclude %{_datadir}/%{name}/skin/dark
|
%exclude %{_datadir}/%{name}/skin/dark
|
||||||
@ -736,17 +736,23 @@ update-desktop-database %{_datadir}/applications &>/dev/null ||
|
|||||||
|
|
||||||
%files branding-openSUSE
|
%files branding-openSUSE
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/%{name}/skin/openSUSE-default
|
%{_datadir}/%{name}/skin/Harlequin
|
||||||
|
%{_datadir}/%{name}/skin/Dartmouth
|
||||||
%{_kde4_appsdir}/desktoptheme/openSUSE/icons/input.svgz
|
%{_kde4_appsdir}/desktoptheme/openSUSE/icons/input.svgz
|
||||||
|
%{_kde4_appsdir}/desktoptheme/openSUSElight/icons/input.svgz
|
||||||
|
%if 0%{?suse_version} <= 1310
|
||||||
|
%dir %{_kde4_appsdir}/desktoptheme/openSUSElight
|
||||||
|
%dir %{_kde4_appsdir}/desktoptheme/openSUSElight/icons
|
||||||
%if 0%{?suse_version} <= 1220
|
%if 0%{?suse_version} <= 1220
|
||||||
%dir %{_kde4_appsdir}/desktoptheme
|
%dir %{_kde4_appsdir}/desktoptheme
|
||||||
%dir %{_kde4_appsdir}/desktoptheme/openSUSE
|
%dir %{_kde4_appsdir}/desktoptheme/openSUSE
|
||||||
%dir %{_kde4_appsdir}/desktoptheme/openSUSE/icons
|
%dir %{_kde4_appsdir}/desktoptheme/openSUSE/icons
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files skin-new-air
|
%files skin-new-air
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/%{name}/skin/New_Air
|
%{_datadir}/%{name}/skin/NewAir
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
BIN
input.svgz
BIN
input.svgz
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:5c2083e6b4c71461caae058f3c65459ee95cf7c0f42fb981eeafbde8301bfde3
|
oid sha256:da53fd98d21546e3d9094bac0e4bc581d0039526fc85bec6cd4047f680a45bbf
|
||||||
size 780402
|
size 1089588
|
||||||
|
Loading…
Reference in New Issue
Block a user