This commit is contained in:
parent
dc32846359
commit
345a264c71
13
icu-gcc44.patch
Normal file
13
icu-gcc44.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: source/layoutex/ParagraphLayout.cpp
|
||||||
|
===================================================================
|
||||||
|
--- source/layoutex/ParagraphLayout.cpp.orig 2008-07-01 03:42:02.000000000 +0200
|
||||||
|
+++ source/layoutex/ParagraphLayout.cpp 2009-03-02 21:47:07.000000000 +0100
|
||||||
|
@@ -868,7 +868,7 @@ le_int32 ParagraphLayout::getLanguageCod
|
||||||
|
|
||||||
|
return nullLanguageCode;
|
||||||
|
}
|
||||||
|
-#elif
|
||||||
|
+#else
|
||||||
|
|
||||||
|
// TODO - dummy implementation for right now...
|
||||||
|
le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 2 22:07:18 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- fix build with GCC 4.4
|
||||||
|
- remove static libraries
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
||||||
|
|
||||||
|
24
icu.spec
24
icu.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package icu (Version 4.0)
|
# spec file for package icu (Version 4.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -24,7 +24,7 @@ License: X11/MIT
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 4.0
|
Version: 4.0
|
||||||
Release: 7
|
Release: 8
|
||||||
Requires: libicu = %{version}
|
Requires: libicu = %{version}
|
||||||
Url: http://ibm.com/software/globalization/icu
|
Url: http://ibm.com/software/globalization/icu
|
||||||
Source0: icu4c-4_0-src.tar.bz2
|
Source0: icu4c-4_0-src.tar.bz2
|
||||||
@ -32,6 +32,7 @@ Source1: icu4c-4_0-docs.tar.bz2
|
|||||||
Source3: SuSEconfig.icu
|
Source3: SuSEconfig.icu
|
||||||
# PATCH-FIX-UPSTREAM icu4c-3_6-src-setBreakType-public.diff -- OOo-2.3.1 and above needs to access the setBreakType method, see http://bugs.icu-project.org/trac/ticket/5498
|
# PATCH-FIX-UPSTREAM icu4c-3_6-src-setBreakType-public.diff -- OOo-2.3.1 and above needs to access the setBreakType method, see http://bugs.icu-project.org/trac/ticket/5498
|
||||||
Patch: icu4c-3_6-src-setBreakType-public.diff
|
Patch: icu4c-3_6-src-setBreakType-public.diff
|
||||||
|
Patch1: icu-gcc44.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: International Components for Unicode
|
Summary: International Components for Unicode
|
||||||
|
|
||||||
@ -143,6 +144,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n icu -a1
|
%setup -q -n icu -a1
|
||||||
%patch
|
%patch
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd source
|
cd source
|
||||||
@ -151,18 +153,10 @@ rm -f config.cache
|
|||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
export CXXFLAGS="$CXXFLAGS -DICU_DATA_DIR='/usr/share/icu/4.0/'"
|
export CXXFLAGS="$CXXFLAGS -DICU_DATA_DIR='/usr/share/icu/4.0/'"
|
||||||
./configure --prefix=/usr \
|
%configure --disable-static --with-pic\
|
||||||
--sysconfdir=/etc \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--infodir=%{_infodir} \
|
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--without-samples
|
||||||
--without-samples \
|
%{__make} %{?jobs:-j%jobs}
|
||||||
%{_target_cpu}-suse-linux-gnu
|
|
||||||
make
|
|
||||||
#make check
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
find . -name CVS -type d | xargs rm -rf
|
find . -name CVS -type d | xargs rm -rf
|
||||||
@ -218,7 +212,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -n libicu-devel
|
%files -n libicu-devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/lib*.a
|
|
||||||
/usr/include/unicode/
|
/usr/include/unicode/
|
||||||
/usr/include/layout/
|
/usr/include/layout/
|
||||||
%{_libdir}/icu/%{version}/Makefile.inc
|
%{_libdir}/icu/%{version}/Makefile.inc
|
||||||
@ -241,6 +234,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/share/icu/%{version}/UnicodeData.txt
|
/usr/share/icu/%{version}/UnicodeData.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 02 2009 crrodriguez@suse.de
|
||||||
|
- fix build with GCC 4.4
|
||||||
|
- remove static libraries
|
||||||
* Wed Dec 10 2008 olh@suse.de
|
* Wed Dec 10 2008 olh@suse.de
|
||||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||||
(bnc#437293)
|
(bnc#437293)
|
||||||
|
Loading…
Reference in New Issue
Block a user