rpms/scim-pinyin/devel scim-pinyin-0.5.0-setup-ambiguity-cast.patch, NONE, 1.1 scim-pinyin.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ryo Dairiki (ryo) fedora-extras-commits at redhat.com
Mon Jun 20 23:49:30 UTC 2005


Author: ryo

Update of /cvs/extras/rpms/scim-pinyin/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17180/devel

Modified Files:
	.cvsignore sources 
Added Files:
	scim-pinyin-0.5.0-setup-ambiguity-cast.patch scim-pinyin.spec 
Log Message:
auto-import scim-pinyin-0.5.0-2 on branch devel from scim-pinyin-0.5.0-2.src.rpm

scim-pinyin-0.5.0-setup-ambiguity-cast.patch:

--- NEW FILE scim-pinyin-0.5.0-setup-ambiguity-cast.patch ---
--- scim-pinyin-0.5.0/src/scim_pinyin_imengine_setup.cpp~	2005-01-06 22:31:00.000000000 +0900
+++ scim-pinyin-0.5.0/src/scim_pinyin_imengine_setup.cpp	2005-06-20 15:50:02.000000000 +0900
@@ -1290,7 +1290,7 @@
 __on_ambiguities_toggled               (GtkToggleButton *togglebutton,
                                         gpointer         user_data)
 {
-    int  index = (int) user_data;
+    size_t index = (size_t) user_data;
 
     if (index >= 0 && index <= SCIM_PINYIN_AmbLast) {
         __config_ambiguities [index] = gtk_toggle_button_get_active (togglebutton);


--- NEW FILE scim-pinyin.spec ---
Name:           scim-pinyin
Version:        0.5.0
Release:        2%{?dist}
Summary:        Smart Pinyin IMEngine for Smart Common Input Method platform

License:        GPL
Group:          System Environment/Libraries
URL:            http://www.scim-im.org/projects/imengines/
Source0:        http://dl.sourceforge.net/scim/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1:         scim-pinyin-0.5.0-setup-ambiguity-cast.patch

BuildRequires:  scim-devel, gtk2-devel


%description
Simplified Chinese Smart Pinyin IMEngine for SCIM.


%prep
%setup -q
%patch1 -p1 -b .orig

%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install

rm $RPM_BUILD_ROOT%{_libdir}/scim-1.0/{IMEngine,SetupUI}/*.la

%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%post
/sbin/ldconfig


%postun
/sbin/ldconfig


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README ChangeLog
%{_libdir}/scim-1.0/IMEngine/pinyin.so
%{_libdir}/scim-1.0/SetupUI/pinyin-imengine-setup.so
%{_datadir}/scim/pinyin/*
%{_datadir}/scim/icons/smart-pinyin.png


%changelog
* Mon Jun 20 2005 Jens Petersen <petersen at redhat.com> - 0.5.0-2
- add source url
- add scim-pinyin-0.5.0-setup-ambiguity-cast.patch from cvs to fixing build
  on 64bit archs (Ryo Dairiki)
- configure with --disable-static so only .la files need to be removed

* Sat Jun 18 2005 Ryo Dairiki <ryo-dairiki at users.sourceforge.net> - 0.5.0-1
- Initial packaging for Fedora Extras.

* Thu Jan 06 2005 James Su <suzhe at tsinghua.org.cn>
- Change package name to scim-pinyin.

* Mon Apr 26 2004 James Su <suzhe at tsinghua.org.cn>
- change the license to GPL.

* Thu Jun 19 2003 James Su <suzhe at tsinghua.org.cn>
- updated to include setup module.

* Thu May 22 2003 James Su <suzhe at tsinghua.org.cn>
- upto v0.2.1

* Mon Mar 31 2003 James Su <suzhe at tsinghua.org.cn>
- upto v0.2.0

* Sun Jul 7 2002 James Su <suzhe at tsinghua.org.cn>
- first public release of SCIM-chinese.




Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/scim-pinyin/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Jun 2005 23:47:40 -0000	1.1
+++ .cvsignore	20 Jun 2005 23:49:28 -0000	1.2
@@ -0,0 +1 @@
+scim-pinyin-0.5.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/scim-pinyin/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Jun 2005 23:47:40 -0000	1.1
+++ sources	20 Jun 2005 23:49:28 -0000	1.2
@@ -0,0 +1 @@
+dbf44f7af18fbae34237485a0f8907dc  scim-pinyin-0.5.0.tar.gz




More information about the fedora-extras-commits mailing list