Accepting request 72337 from home:dimstar:branches:M17N
Inroduce build_applet define / disable the applet on Factory - This build DOES work with xemacs from Factory, but not with xemacs from M17N, where xemacs has broken Requires (it misses libgpm.so.2 and a bunch of others). with xemcas from M17N xemacs fails with missing shared lib (locally tested with osc build -x gpm; it is wrong to buidlrequire gpm here though OBS-URL: https://build.opensuse.org/request/show/72337 OBS-URL: https://build.opensuse.org/package/show/M17N/uim?expand=0&rev=16
This commit is contained in:
parent
a5e0254e0f
commit
0e0580cec1
10
uim.changes
10
uim.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 16:23:54 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Introduce a build_applet define, which is set to 1 on openSUSE up
|
||||||
|
to 11.4. For current Factory, we need to disable the applet, as
|
||||||
|
it is not (yet) ported to the new libpanelapplet-4.0
|
||||||
|
infrastructure of Gnome3.
|
||||||
|
- Move the gnome applet actually to the gtk package (when building
|
||||||
|
the applet).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 9 12:29:07 CET 2011 - tiwai@suse.de
|
Wed Mar 9 12:29:07 CET 2011 - tiwai@suse.de
|
||||||
|
|
||||||
|
11
uim.spec
11
uim.spec
@ -15,7 +15,8 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# The applet does not work currently on Factory, as it has not been ported to libpanelapplet-4.0 yet.
|
||||||
|
%define build_applet 0%{?suse_version} <= 1140
|
||||||
|
|
||||||
Name: uim
|
Name: uim
|
||||||
BuildRequires: anthy-devel
|
BuildRequires: anthy-devel
|
||||||
@ -23,7 +24,6 @@ BuildRequires: canna-devel
|
|||||||
BuildRequires: emacs-x11
|
BuildRequires: emacs-x11
|
||||||
BuildRequires: emacs-x11
|
BuildRequires: emacs-x11
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gnome-panel-devel
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
BuildRequires: libgnomeui-devel
|
BuildRequires: libgnomeui-devel
|
||||||
@ -36,6 +36,9 @@ BuildRequires: pkgconfig(gtk+-2.0)
|
|||||||
%else
|
%else
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{?build_applet}
|
||||||
|
BuildRequires: gnome-panel-devel
|
||||||
|
%endif
|
||||||
BuildRequires: qt3-devel
|
BuildRequires: qt3-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: xemacs
|
BuildRequires: xemacs
|
||||||
@ -242,7 +245,6 @@ uim-module-manager --register pyload anthy anthy-utf8 canna skk tcode tutcode ha
|
|||||||
%dir %{_prefix}/lib/uim
|
%dir %{_prefix}/lib/uim
|
||||||
%endif
|
%endif
|
||||||
%{_prefix}/lib/uim/uim-helper-server
|
%{_prefix}/lib/uim/uim-helper-server
|
||||||
%{_prefix}/lib/uim/uim-toolbar-applet
|
|
||||||
%{_prefix}/lib/uim/uim-candwin-gtk
|
%{_prefix}/lib/uim/uim-candwin-gtk
|
||||||
%dir %{_libdir}/uim/plugin/
|
%dir %{_libdir}/uim/plugin/
|
||||||
%{_libdir}/uim/plugin/*.so
|
%{_libdir}/uim/plugin/*.so
|
||||||
@ -267,7 +269,10 @@ uim-module-manager --register pyload anthy anthy-utf8 canna skk tcode tutcode ha
|
|||||||
%{_bindir}/uim-toolbar-gtk
|
%{_bindir}/uim-toolbar-gtk
|
||||||
%{_bindir}/uim-toolbar-gtk-systray
|
%{_bindir}/uim-toolbar-gtk-systray
|
||||||
%{_bindir}/uim-pref-gtk
|
%{_bindir}/uim-pref-gtk
|
||||||
|
%if %{build_applet}
|
||||||
|
%{_prefix}/lib/uim/uim-toolbar-applet
|
||||||
%{_libdir}/bonobo/servers/*.server
|
%{_libdir}/bonobo/servers/*.server
|
||||||
|
%endif
|
||||||
%{_libdir}/gtk-*/*/immodules/*.so
|
%{_libdir}/gtk-*/*/immodules/*.so
|
||||||
|
|
||||||
%files -n uim-qt -f uim-chardict-qt.lang
|
%files -n uim-qt -f uim-chardict-qt.lang
|
||||||
|
Loading…
x
Reference in New Issue
Block a user