Hello community,

here is the log from the commit of package scim-chewing for openSUSE:Factory 
checked in at 2012-09-14 12:37:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scim-chewing (Old)
 and      /work/SRC/openSUSE:Factory/.scim-chewing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scim-chewing", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/scim-chewing/scim-chewing.changes        
2012-06-16 07:31:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.scim-chewing.new/scim-chewing.changes   
2012-09-14 12:37:41.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jul  6 09:02:08 UTC 2012 - [email protected]
+
+- fix gtk3 builds.
+
+-------------------------------------------------------------------

New:
----
  scim-chewing-gtk3-abuild.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ scim-chewing.spec ++++++
--- /var/tmp/diff_new_pack.HMBoGZ/_old  2012-09-14 12:37:42.000000000 +0200
+++ /var/tmp/diff_new_pack.HMBoGZ/_new  2012-09-14 12:37:42.000000000 +0200
@@ -16,7 +16,21 @@
 #
 
 
+%if 0%{?suse_version} >= 1140
+%define scim_gtk3 1
+%else
+%define scim_gtk3 0
+%endif
+
 Name:           scim-chewing
+Version:        0.3.4
+Release:        0
+Summary:        Chewing input method module for SCIM
+License:        GPL-2.0+
+Group:          System/I18n/Chinese
+Url:            http://chewing.csie.net/
+Source0:        
http://chewing.csie.net/download/scim/scim-chewing-%{version}.tar.bz2
+Patch1:         %{name}-gtk3-abuild.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gtk2-devel
 BuildRequires:  intltool
@@ -24,34 +38,20 @@
 BuildRequires:  perl-XML-Parser
 BuildRequires:  scim-devel
 BuildRequires:  update-desktop-files
-Version:        0.3.4
-Release:        0
-PreReq:         gconf2 libxml2 orbit2 glib2
-Url:            http://chewing.csie.net/
-Source0:        
http://chewing.csie.net/download/scim/scim-chewing-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Summary:        Chewing input method module for SCIM
-License:        GPL-2.0+
-Group:          System/I18n/Chinese
 
 %description
 Chewing input method module for SCIM.
 
-
-
-Authors:
---------
-    Kanru Chen <[email protected]>
-    Jim Huang <[email protected]>
-
 %prep
 %define scim_binary_version %(pkg-config --variable=scim_binary_version scim)
-%setup -q -n %{name}-%{version}
+%setup -q
+%if 0%{?scim_gtk3}
+%patch1 -p1
+%endif
 
 %build
-#libtoolize --force
-#autoreconf -I /opt/gnome/share/aclocal --force --install --verbose
-CXXFLAGS="$RPM_OPT_FLAGS" \
+CXXFLAGS="%{optflags}" \
 ./configure --prefix=/usr \
             --sysconfdir=%{_sysconfdir} \
            --libdir=%{_libdir} \
@@ -62,8 +62,8 @@
 make 
 
 %install
-make DESTDIR=${RPM_BUILD_ROOT} install
-rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/%{scim_binary_version}/*/*.la
+%makeinstall
+rm -f %{buildroot}%{_libdir}/scim-1.0/%{scim_binary_version}/*/*.la
 %find_lang scim-chewing
 
 %clean

++++++ scim-chewing-gtk3-abuild.patch ++++++
++++ 851 lines (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to