Accepting request 87659 from M17N

- Add obsoletes for libibus2-32bit in baselibs.conf

- update to 1.4.0
    * Status icon for GNOME 3 (bug#723591)

OBS-URL: https://build.opensuse.org/request/show/87659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibus?expand=0&rev=17
This commit is contained in:
Lars Vogdt 2011-10-13 10:51:17 +00:00 committed by Git OBS Bridge
commit 0c32ba9b7d
7 changed files with 31 additions and 66 deletions

View File

@ -22,4 +22,6 @@ ibus-gtk3
postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache" postun "<prefix>%{_bindir}/gtk-query-immodules-3.0 --update-cache"
postun "%endif" postun "%endif"
supplements "packageand(ibus:gtk3-<targettype>)" supplements "packageand(ibus:gtk3-<targettype>)"
libibus2 libibus-1_0-0
obsoletes "libibus2-<targettype> < <version>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2784a668666efa8ae04e6f1cff5749917cd18add0a39a1d020ecc9f3df5285d
size 1380081

3
ibus-1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e5a17d910eae932dd0cd185d0a102b56ad4a2bf79d54b1e53f70174cd2c2a3f
size 1452055

View File

@ -1,35 +0,0 @@
Index: ibus-1.3.8/configure.ac
===================================================================
--- ibus-1.3.8.orig/configure.ac
+++ ibus-1.3.8/configure.ac
@@ -169,7 +169,20 @@ else
fi
# GObject introspection
-GOBJECT_INTROSPECTION_CHECK([0.6.8])
+
+AC_ARG_ENABLE(gobject-introspection,
+ AS_HELP_STRING([--disable-gobject-introspection],
+ [Do not use gobject-introspection code]),
+ [enable_gobject_introspection=$enableval],
+ [enable_gobject_introspection=yes]
+)
+AM_CONDITIONAL([HAVE_INTROSPECTION], [test "x$enable_gobject_introspection" = "xyes"])
+
+if test x"$enable_gobject_introspection" = x"yes"; then
+ GOBJECT_INTROSPECTION_CHECK([0.6.8])
+else
+ AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
+fi
IBUS_GIR_SCANNERFLAGS=
if test x"$found_introspection" = x"yes" ; then
@@ -397,7 +410,7 @@ Build options:
Build python modules $enable_python
Build gconf modules $enable_gconf
Build memconf modules $enable_memconf
- Build introspection $found_introspection
+ Build introspection $enable_gobject_introspection
IBus-1.0.gir scannerflags "$IBUS_GIR_SCANNERFLAGS"
Build vala binding $enable_vala
Build document $enable_gtk_doc

View File

@ -1,13 +0,0 @@
diff --git a/configure.ac b/configure.ac
index e446d90..ea35a7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ m4_define([ibus_version],
ibus_major_version.ibus_minor_version.ibus_micro_version[]ibus_maybe_datestamp)
AC_INIT([ibus], [ibus_version], [http://code.google.com/p/ibus/issues/entry],[ibus])
-AM_INIT_AUTOMAKE([1.10])
+AM_INIT_AUTOMAKE([1.10 foreign -Wno-portability])
AC_GNU_SOURCE
AC_CONFIG_HEADERS([config.h])

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Oct 13 11:42:01 CEST 2011 - tiwai@suse.de
- Add obsoletes for libibus2-32bit in baselibs.conf
-------------------------------------------------------------------
Wed Oct 12 12:50:19 UTC 2011 - ftake@geeko.jp
- update to 1.4.0
* Status icon for GNOME 3 (bug#723591)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 6 17:17:56 UTC 2011 - ftake@geeko.jp Tue Sep 6 17:17:56 UTC 2011 - ftake@geeko.jp

View File

@ -18,9 +18,10 @@
%define build_gtk3 (0%{suse_version} >= 1140) %define build_gtk3 (0%{suse_version} >= 1140)
%define build_without_dbus_autolaunch (0%{suse_version} >= 1210) %define build_without_dbus_autolaunch (0%{suse_version} >= 1210)
%define domain_name %{name}10
Name: ibus Name: ibus
Version: 1.3.9 Version: 1.4.0
Release: 5 Release: 5
License: LGPL V2+ License: LGPL V2+
Url: http://code.google.com/p/ibus/ Url: http://code.google.com/p/ibus/
@ -30,8 +31,6 @@ Source2: ibus-README.suse
Source3: xim.ibus.suse.template Source3: xim.ibus.suse.template
Source4: xim.d-ibus-121 Source4: xim.d-ibus-121
Patch0: ibus-python-install-dir.patch Patch0: ibus-python-install-dir.patch
#Patch1: ibus-disable-portability-check.patch
#Patch2: ibus-disable-introspect.patch
Group: System/I18n/Chinese Group: System/I18n/Chinese
Summary: Intelligent Input Bus for Linux OS Summary: Intelligent Input Bus for Linux OS
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -39,7 +38,7 @@ PreReq: /usr/bin/touch
Provides: locale(ja;ko;zh) Provides: locale(ja;ko;zh)
BuildRequires: gettext-devel gtk-doc libtool python BuildRequires: gettext-devel gtk-doc libtool python
BuildRequires: dbus-1-devel dbus-1-glib-devel dbus-1-python-devel gtk2-devel BuildRequires: dbus-1-python-devel gtk2-devel
BuildRequires: gconf2-devel python-gobject2-devel update-desktop-files BuildRequires: gconf2-devel python-gobject2-devel update-desktop-files
BuildRequires: fdupes gobject-introspection-devel intltool iso-codes-devel BuildRequires: fdupes gobject-introspection-devel intltool iso-codes-devel
Requires: python-gtk dbus-1-python notification-daemon iso-codes gconf2 python-xdg python-notify gobject-introspection Requires: python-gtk dbus-1-python notification-daemon iso-codes gconf2 python-xdg python-notify gobject-introspection
@ -53,12 +52,13 @@ IBus means Intelligent Input Bus. It is a new input framework for Linux OS. It p
full featured and user friendly input method user interface. It also may help full featured and user friendly input method user interface. It also may help
developers to develop input method easily. developers to develop input method easily.
%package -n libibus2 %package -n libibus-1_0-0
License: LGPL V2+ License: LGPL V2+
Summary: IBus libraries Summary: IBus libraries
Group: System/I18n/Chinese Group: System/I18n/Chinese
Obsoletes: libibus2 < %{version}
%description -n libibus2 %description -n libibus-1_0-0
This package contains the libraries for IBus This package contains the libraries for IBus
%package gtk %package gtk
@ -90,8 +90,8 @@ This package contains ibus im module for gtk3
%package devel %package devel
License: LGPL V2+ License: LGPL V2+
Summary: Development tools for ibus Summary: Development tools for ibus
Group: Development/Libraries/other Group: Development/Libraries/Other
Requires: libibus2 = %{version} Requires: libibus-1_0-0 = %{version}
Requires: glib2-devel Requires: glib2-devel
Requires: dbus-1-devel Requires: dbus-1-devel
Requires: gtk-doc Requires: gtk-doc
@ -144,7 +144,7 @@ pushd $RPM_BUILD_ROOT/etc/X11/xim.d/
popd popd
rm -f $RPM_BUILD_ROOT/%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.*a rm -f $RPM_BUILD_ROOT/%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.*a
rm -f $RPM_BUILD_ROOT/%{_libdir}/libibus.*a rm -f $RPM_BUILD_ROOT/%{_libdir}/libibus-*.*a
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ibus.desktop rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ibus.desktop
@ -154,9 +154,9 @@ ln -sf %{_datadir}/icons/hicolor/48x48/apps/ibus-keyboard.png \
%suse_update_desktop_file %name Utility DesktopUtility %suse_update_desktop_file %name Utility DesktopUtility
%suse_update_desktop_file ibus-setup System SystemSetup %suse_update_desktop_file ibus-setup System SystemSetup
%find_lang %{name} %find_lang %{domain_name}
%find_gconf_schemas %find_gconf_schemas
cat %{name}.schemas_list %{name}.lang > %{name}.lst cat %{name}.schemas_list %{domain_name}.lang > %{name}.lst
%fdupes -s $RPM_BUILD_ROOT %fdupes -s $RPM_BUILD_ROOT
%clean %clean
@ -174,9 +174,9 @@ rm -rf %buildroot
%postun gtk %postun gtk
%gtk2_immodule_postun %gtk2_immodule_postun
%post -n libibus2 -p /sbin/ldconfig %post -n libibus-1_0-0 -p /sbin/ldconfig
%postun -n libibus2 -p /sbin/ldconfig %postun -n libibus-1_0-0 -p /sbin/ldconfig
%if %{build_gtk3} %if %{build_gtk3}
@ -204,7 +204,7 @@ rm -rf %buildroot
%{_datadir}/pixmaps/* %{_datadir}/pixmaps/*
%{_prefix}/%{_lib}/ibus %{_prefix}/%{_lib}/ibus
%files -n libibus2 %files -n libibus-1_0-0
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/IBus-1.0.typelib %{_libdir}/girepository-1.0/IBus-1.0.typelib