commit aspell for openSUSE:Factory
Hello community, here is the log from the commit of package aspell for openSUSE:Factory checked in at 2012-02-28 14:12:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aspell (Old) and /work/SRC/openSUSE:Factory/.aspell.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "aspell", Maintainer is "PGajdos@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/aspell/aspell.changes 2012-02-10 17:11:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.aspell.new/aspell.changes 2012-02-28 14:12:06.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 24 21:06:58 UTC 2012 - crrodriguez@opensuse.org + +- Build C++ code with -fvisibility-inlines-hidden +- Fix ncurses linkage. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aspell.spec ++++++ --- /var/tmp/diff_new_pack.rZaUOQ/_old 2012-02-28 14:12:07.000000000 +0100 +++ /var/tmp/diff_new_pack.rZaUOQ/_new 2012-02-28 14:12:07.000000000 +0100 @@ -16,14 +16,13 @@ # - Name: aspell Version: 0.60.6.1 -Release: 1 -License: LGPL-2.1+ +Release: 0 Summary: A Free and Open Source Spell Checker -Url: http://aspell.net/ +License: LGPL-2.1+ Group: Productivity/Text/Spell +Url: http://aspell.net/ Source0: ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz Source100: baselibs.conf # PATCH-FIX-OPENSUSE aspell-strict-aliasing.patch pnemec@suse.cz -- Fix gcc strict aliasing warnings @@ -128,12 +127,13 @@ %patch2 %build -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags}" - +autoreconf -fiv +export CXXFLAGS="%optflags `ncursesw6-config --cflags`" +#this is an ugly kludge , don't look :-) +export LDFLAGS="`ncursesw6-config --libs`" %configure \ -%if %suse_version > 1210 - --enable-curses="-lncursesw -ltinfo" \ +%if 0%{?suse_version} > 1210 + --enable-curses="-lncursesw" \ %endif --disable-rpath @@ -145,11 +145,10 @@ %else make DESTDIR=%{buildroot} install %endif - # Links for compatibility reasons (ispell and spell) ln -s %{_libdir}/aspell-0.60/ispell %{buildroot}%{_bindir} ln -s %{_libdir}/aspell-0.60/spell %{buildroot}%{_bindir} - +find %{buildroot} -name "*.la" -type f -print -delete %fdupes -s %{buildroot} %find_lang %{name} @@ -193,8 +192,6 @@ %{_bindir}/pspell-config %{_includedir}/pspell/ %{_includedir}/*.h -%{_libdir}/libaspell.la -%{_libdir}/libpspell.la %{_libdir}/libaspell.so %{_libdir}/libpspell.so %doc %{_infodir}/%{name}-dev.info%{ext_info} ++++++ aspell-epmty_file.patch ++++++ --- /var/tmp/diff_new_pack.rZaUOQ/_old 2012-02-28 14:12:07.000000000 +0100 +++ /var/tmp/diff_new_pack.rZaUOQ/_new 2012-02-28 14:12:07.000000000 +0100 @@ -1,6 +1,6 @@ ---- common/convert.cpp +--- common/convert.cpp.orig +++ common/convert.cpp -@@ -813,6 +813,7 @@ +@@ -813,6 +813,7 @@ namespace acommon { { ToUniLookup lookup; void decode(const char * in, int size, FilterCharVector & out) const { @@ -8,3 +8,39 @@ const char * stop = in + size; // this is OK even if size == -1 while (*in && in != stop) { out.append(from_utf8(in, stop)); +--- Makefile.am.orig ++++ Makefile.am +@@ -29,8 +29,10 @@ lib_LTLIBRARIES = libaspell.la + + if PSPELL_COMPATIBILITY + lib_LTLIBRARIES += libpspell.la ++libpspell_la_CXXFLAGS = -fvisibility-inlines-hidden + endif + ++libaspell_la_CXXFLAGS = -fvisibility-inlines-hidden + libaspell_la_SOURCES =\ + common/cache.cpp\ + common/string.cpp\ +@@ -194,7 +196,7 @@ libaspell_la_SOURCES +=\ + else # not COMPILE_IN_FILTERS + + dynamic_optfiles += ${optfiles} +-filter_ldflags = -module -avoid-version ++filter_ldflags = -avoid-version -module -shared -export-dynamic + + ### Add name of filter library containing your filter. Name always + ### must look like lib<filtername>-filter.la see development manual +--- lib5/Makefile.am.orig ++++ lib5/Makefile.am +@@ -1,9 +1,9 @@ +- ++AM_CXXFLAGS = -fvisibility-inlines-hidden + if INCREMENTED_SONAME + + lib_LTLIBRARIES = libaspell.la + libaspell_la_SOURCES = aspell-dummy.cpp +-libaspell_la_LDFLAGS = -version-info 16:0:1 ++libaspell_la_LDFLAGS = -no-undefined -version-info 16:0:1 + libaspell_la_LIBADD = ../libaspell.la + + if PSPELL_COMPATIBILITY -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de