Mailinglist Archive: opensuse-commit (1092 mails)
| < Previous | Next > |
commit m17n-lib
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Thu, 28 Feb 2008 18:20:33 +0100
- Message-id: <20080228172033.CA0D76781B8@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package m17n-lib
checked in at Thu Feb 28 18:20:33 CET 2008.
--------
--- m17n-lib/m17n-lib.changes 2007-09-05 18:49:39.000000000 +0200
+++ /mounts/work_src_done/STABLE/m17n-lib/m17n-lib.changes 2008-02-28
14:14:23.000000000 +0100
@@ -1,0 +2,12 @@
+Thu Feb 28 13:44:11 CET 2008 - schwab@xxxxxxx
+
+- Update to m17n-lib 1.5.1.
+ * New API layer FLT is created.
+ * New environment variable MDEBUG_FLT is available to turn on
+ printing debug information for FLT, and these are now obsolete;
+ MDEBUG_FONT_FLT, MDEBUG_FONT_OTF.
+ * New functions mchartable_min_char () returns the mininum character.
+ that is set some value in a char-table. New funcion
+ mchartable_min_char () is for the maximum character.
+
+-------------------------------------------------------------------
Old:
----
m17n-lib-1.4.0.tar.bz2
New:
----
m17n-lib-1.5.1.diff
m17n-lib-1.5.1.tar.gz
rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ m17n-lib.spec ++++++
--- /var/tmp/diff_new_pack.Z14743/_old 2008-02-28 18:20:03.000000000 +0100
+++ /var/tmp/diff_new_pack.Z14743/_new 2008-02-28 18:20:03.000000000 +0100
@@ -1,14 +1,14 @@
#
-# spec file for package m17n-lib (Version 1.4.0)
+# spec file for package m17n-lib (Version 1.5.1)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
+
Name: m17n-lib
BuildRequires: anthy-devel freetype2-devel fribidi-devel gd-devel ispell
ispell-british libotf-devel libxml2 m17n-db pkgconfig wordcut-devel
xorg-x11-devel
@@ -20,18 +20,19 @@
%else
%define appdefdir /usr/X11R6/lib/X11
%endif
-Version: 1.4.0
-Release: 19
-License: GPL v2 or later, LGPL v2 or later
+Version: 1.5.1
+Release: 1
+License: GPL v2 or later; LGPL v2.1 or later; X11/MIT
Group: System/I18n/Japanese
-Autoreqprov: on
+AutoReqProv: on
Requires: m17n-db
-URL: http://www.m17n.org/m17n-lib/
+Url: http://www.m17n.org/m17n-lib/
# CVS:
# cvs -d :pserver:anonymous@xxxxxxxxxxxx:/cvs/m17n login
# cvs -d :pserver:anonymous@xxxxxxxxxxxx:/cvs/m17n co m17n-lib
# cvs -d :pserver:anonymous@xxxxxxxxxxxx:/cvs/m17n co m17n-db
-Source0: http://www.m17n.org/m17n-lib/download/m17n-lib-1.4.0.tar.bz2
+Source0:
http://www.m17n.org/m17n-lib/download/m17n-lib-%{version}.tar.gz
+Patch: m17n-lib-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Multilingual Text Processing Library for the C Language
@@ -66,22 +67,21 @@
%prep
%setup -q -n %{name}-%{version}
-find . -name CVS -type d | xargs rm -rf
+%patch
+#find . -name CVS -type d | xargs rm -rf
%build
-./bootstrap.sh
-libtoolize --force --automake
-autoreconf --force --install --verbose
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing " \
-CXXFLAGS="$RPM_OPT_FLAGS-fno-strict-aliasing " \
-./configure --prefix=/usr \
+#./bootstrap.sh
+#libtoolize --force --automake
+#autoreconf --force --install --verbose
+./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
+ --prefix=/usr \
--sysconfdir=%{_sysconfdir} \
--libdir=%{_libdir} \
--with-pic
make
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf
$RPM_BUILD_ROOT;
make DESTDIR=${RPM_BUILD_ROOT} install
# Japanese app-defaults:
mkdir -p
$RPM_BUILD_ROOT%{appdefdir}/{ja,ja_JP,ja_JP.eucJP,ja_JP.SJIS,ja_JP.UTF-8}/app-defaults
@@ -97,7 +97,7 @@
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP.UTF-8/app-defaults/M17NEdit
%clean
-rm -rf $RPM_BUILD_ROOT;
+rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
@@ -106,8 +106,7 @@
%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog
-%dir %{_libdir}/lib*.so.*
-%{_libdir}/lib*.so
+%{_libdir}/lib*.so*
%{_bindir}/*
%dir %{appdefdir}/??
%dir %{appdefdir}/??_*
@@ -121,10 +120,19 @@
%{_libdir}/pkgconfig/*.pc
%changelog
-* Wed Sep 05 2007 - mfabian@xxxxxxx
+* Thu Feb 28 2008 schwab@xxxxxxx
+- Update to m17n-lib 1.5.1.
+ * New API layer FLT is created.
+ * New environment variable MDEBUG_FLT is available to turn on
+ printing debug information for FLT, and these are now obsolete;
+ MDEBUG_FONT_FLT, MDEBUG_FONT_OTF.
+ * New functions mchartable_min_char () returns the mininum character.
+ that is set some value in a char-table. New funcion
+ mchartable_min_char () is for the maximum character.
+* Wed Sep 05 2007 mfabian@xxxxxxx
- add extra BuildRequires for SUSE_Linux_10.0 repository in the
openSUSE build service.
-* Wed Aug 01 2007 - mfabian@xxxxxxx
+* Wed Aug 01 2007 mfabian@xxxxxxx
- update to 1.4.0:
• New function msymbol_put_func (), msymbol_get_func
(), mplist_put_func (), mplist_get_func (),
@@ -136,14 +144,14 @@
(was from upstream CVS).
- add -fno-strict-aliasing .
- add gd-devel to BuildRequires.
-* Thu May 24 2007 - ro@xxxxxxx
+* Thu May 24 2007 ro@xxxxxxx
- added ldconfig to post scripts
-* Tue Jan 09 2007 - mfabian@xxxxxxx
+* Tue Jan 09 2007 mfabian@xxxxxxx
- update to 1.3.4.
- fix bugzilla #32303.
-* Sun Oct 29 2006 - meissner@xxxxxxx
+* Sun Oct 29 2006 meissner@xxxxxxx
- build with RPM_OPT_FLAGS. Added some requires to -devel package.
-* Mon Aug 28 2006 - mfabian@xxxxxxx
+* Mon Aug 28 2006 mfabian@xxxxxxx
- update to 1.3.3.20060828 (fixes bugzilla #199870).
• If the environment variable "M17NDIR" is not set, the
directory "~/.m17n.d" is serched for database files.
@@ -154,39 +162,39 @@
language-related information.
• New functions mscript_list () and mscript_language_list ()
return various script-related information.
-* Mon Aug 14 2006 - mfabian@xxxxxxx
+* Mon Aug 14 2006 mfabian@xxxxxxx
- move app-defaults to /usr/share/X11 (for X11R7).
-* Tue Jun 20 2006 - mfabian@xxxxxxx
+* Tue Jun 20 2006 mfabian@xxxxxxx
- update to 1.3.3.20060620:
fixes bugzilla #185572 and some other small bugs.
- install Japanese app-defaults.
-* Wed Jan 25 2006 - mls@xxxxxxx
+* Wed Jan 25 2006 mls@xxxxxxx
- converted neededforbuild to BuildRequires
-* Fri Jan 13 2006 - mfabian@xxxxxxx
+* Fri Jan 13 2006 mfabian@xxxxxxx
- update to 1.3.0.20060113 (CVS HEAD).
-* Fri Jan 13 2006 - mfabian@xxxxxxx
+* Fri Jan 13 2006 mfabian@xxxxxxx
- update to 1.3.0.
- add pkgconfig to # neededforbuild.
-* Fri Jan 14 2005 - mfabian@xxxxxxx
+* Fri Jan 14 2005 mfabian@xxxxxxx
- add "ispell words ispell-british" to "# neededforbuild" to
make the ispell input method work.
-* Tue Dec 28 2004 - mfabian@xxxxxxx
+* Tue Dec 28 2004 mfabian@xxxxxxx
- update to 1.2.0.
-* Tue Dec 21 2004 - mfabian@xxxxxxx
+* Tue Dec 21 2004 mfabian@xxxxxxx
- update to 1.1.0.20041221 (cvs version) to test the new
minput_reset_ic() function.
-* Thu Sep 30 2004 - mfabian@xxxxxxx
+* Thu Sep 30 2004 mfabian@xxxxxxx
- add "Requires: m17n-db". m17n-lib is almost useless without
m17n-db and scim-m17n doesn't work at all without m17n-db.
-* Mon Sep 20 2004 - mfabian@xxxxxxx
+* Mon Sep 20 2004 mfabian@xxxxxxx
- Bugzilla #45562: move .so files to main package. scim-m17n needs
the .so files but it should not need to require m17n-devel.
-* Fri Aug 20 2004 - mfabian@xxxxxxx
+* Fri Aug 20 2004 mfabian@xxxxxxx
- Bugzilla #44028: rename binaries from m* to m17n-* to remove
conflict with majordomo's /usr/bin/medit.
-* Tue Aug 17 2004 - mfabian@xxxxxxx
+* Tue Aug 17 2004 mfabian@xxxxxxx
- update to 1.1.0.
- remove Zhe Su's patch m17n-lib-typedef.diff (included upstream).
- remove my useless-header.patch (included upstream).
-* Mon Aug 16 2004 - mfabian@xxxxxxx
+* Mon Aug 16 2004 mfabian@xxxxxxx
- new package: m17n-lib, version 1.0.2
++++++ m17n-lib-1.5.1.diff ++++++
--- example/medit.c
+++ example/medit.c
@@ -351,11 +351,12 @@ update_scroll_bar (int from, int to)
{
float top = (float) from / nchars;
float shown = (float) (to - from) / nchars;
- XtArgVal *l_top = (XtArgVal *) ⊤
- XtArgVal *l_shown = (XtArgVal *) &shown;
+ union { float f; XtArgVal xav; } u;
- XtSetArg (arg[0], XtNtopOfThumb, *l_top);
- XtSetArg (arg[1], XtNshown, *l_shown);
+ u.f = top;
+ XtSetArg (arg[0], XtNtopOfThumb, u.xav);
+ u.f = shown;
+ XtSetArg (arg[1], XtNshown, u.xav);
XtSetValues (SbarWidget, arg, 2);
}
@@ -1927,7 +1928,7 @@ FilterProc (Widget w, XtPointer client_d
handle = dlopen (filter_module, RTLD_NOW);
if (! handle)
return;
- *(void **) (&func) = dlsym (handle, "filter");
+ func = (void (*) (MText *, int, int)) dlsym (handle, "filter");
if (func)
(*func) (mt, mtext_property_start (selection),
mtext_property_end (selection));
--- src/face.c
+++ src/face.c
@@ -1852,7 +1852,7 @@ mface_get_prop (MFace *face, MSymbol key
{
if (key == Mhook_func)
/* This unsafe code is for backward compatiblity. */
- return *(void **) &face->hook;
+ return (void *) face->hook;
MERROR (MERROR_FACE, NULL);
}
return face->property[index];
@@ -1937,9 +1937,9 @@ mface_put_prop (MFace *face, MSymbol key
if (key == Mhook_func)
{
/* This unsafe code is for backward compatiblity. */
- if (*(void **) &face->hook == val)
+ if (face->hook == (MFaceHookFunc) val)
return 0;
- *(void **) &face->hook = val;
+ face->hook = (MFaceHookFunc) val;
}
else
{
--- src/m17n-gui.c
+++ src/m17n-gui.c
@@ -657,12 +657,13 @@ mframe (MPlist *plist)
if (! interface->handle)
{
if (! (interface->handle = dlopen (interface->library, RTLD_NOW))
- || ! (*(void **) (&interface->init)
- = dlsym (interface->handle, "device_init"))
- || ! (*(void **) (&interface->open)
- = dlsym (interface->handle, "device_open"))
- || ! (*(void **) (&interface->fini)
- = dlsym (interface->handle, "device_fini"))
+ || ! (interface->init
+ = (int (*) ()) dlsym (interface->handle, "device_init"))
+ || ! (interface->open
+ = ((int (*) (MFrame *, MPlist *))
+ dlsym (interface->handle, "device_open")))
+ || ! (interface->fini
+ = (int (*) ()) dlsym (interface->handle, "device_fini"))
|| (*interface->init) () < 0)
{
fprintf (stderr, "%s\n", (char *) dlerror ());
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |