From a92eb812d421e505feedf57eb103611b6e2489a1c16c89dd9ae9c4e87eb66b0d Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 2 Apr 2010 22:10:15 +0000 Subject: [PATCH] Accepting request 36823 from GNOME:Factory Copy from GNOME:Factory/enchant based on submit request 36823 from user vuntz OBS-URL: https://build.opensuse.org/request/show/36823 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=11 --- enchant-1.5.0.tar.bz2 | 3 - enchant-1.6.0.tar.bz2 | 3 + enchant.changes | 32 +++++++++++ enchant.spec | 131 ++++++++---------------------------------- 4 files changed, 59 insertions(+), 110 deletions(-) delete mode 100644 enchant-1.5.0.tar.bz2 create mode 100644 enchant-1.6.0.tar.bz2 diff --git a/enchant-1.5.0.tar.bz2 b/enchant-1.5.0.tar.bz2 deleted file mode 100644 index 7eab491..0000000 --- a/enchant-1.5.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00e2af40d57cfa138b4e008734e1d6203087bcb6463d8f72eccf7c1d60beb99a -size 466890 diff --git a/enchant-1.6.0.tar.bz2 b/enchant-1.6.0.tar.bz2 new file mode 100644 index 0000000..0b87e5b --- /dev/null +++ b/enchant-1.6.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6b9134c5c175346f8076feb5cbcff4732aa1d13715e33e16feebc59d4aa57bb +size 476475 diff --git a/enchant.changes b/enchant.changes index ec2dd58..76b166c 100644 --- a/enchant.changes +++ b/enchant.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Fri Apr 2 19:11:59 CEST 2010 - vuntz@opensuse.org + +- Update to version 1.6.0: + + Add a function to get enchant's version (enchant_get_version) + + Disable zemberek plugin by default, as it's known to cause + issues/crashes with WebKit + + Fix Win32 DLL dependency not found popup occurs when module has + unmet dependencies + + Possibly fix lp#474062 + + Fix Registry handle not closed in enchant_get_registry_value_ex + + Fix Leak in _enchant_get_user_home_dirs() on Windows + + Update FSF address + + Fix Zemberek module listing a Turkish dictionary even without + Zemberek installed + + Don't assert if passed a null string list + + Fix enchant_pwl_init_with_file truncating pwl file + + Fix a double-free memory corruption bug + + Fix some small memory leaks + + Fix mis-acceptence of dictionaries which start with a partial + match of the lang id + + Fix enchant always looking in "lib" dir for plugins + + Fix the build with the MSVC compiler + + Add a --with-system-myspell option + + Package missing compile-resource file + + Compare paths ignoring case sensitivity on windows +- Drop libmalaga-devel BuildRequires. +- Pass --enable-zemberek to configure: it's in a subpackage for us, + so we can keep it even if it's experimental. +- Explicitly list the backends in the file list to make sure we + don't lose some of them by accident. + ------------------------------------------------------------------- Sun May 24 14:07:30 CEST 2009 - vuntz@novell.com diff --git a/enchant.spec b/enchant.spec index b1170b6..045e3bf 100644 --- a/enchant.spec +++ b/enchant.spec @@ -1,7 +1,7 @@ # -# spec file for package enchant (Version 1.5.0) +# spec file for package enchant (Version 1.6.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,30 +19,27 @@ Name: enchant -BuildRequires: aspell-devel dbus-1-glib-devel gcc-c++ glib2-devel hunspell-devel libvoikko-devel -# FIXME: Delete before submit. Will be fixed after malaga checkin. -BuildRequires: libmalaga-devel -License: LGPL v2.1 or later -Group: Productivity/Text/Spell -Version: 1.5.0 +Version: 1.6.0 Release: 1 +License: LGPLv2.1+ Summary: Generic Spell Checking Library -Source: %{name}-%{version}.tar.bz2 +Group: Productivity/Text/Spell Url: http://www.abisource.com/ +Source: %{name}-%{version}.tar.bz2 +BuildRequires: aspell-devel +BuildRequires: dbus-1-glib-devel +BuildRequires: gcc-c++ +BuildRequires: glib2-devel +BuildRequires: hunspell-devel +BuildRequires: libvoikko-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library providing an efficient extensible abstraction for dealing with different spell checking libraries. - - -Authors: --------- - Dom Lachowicz - %package voikko -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: Generic Spell Checking Library - Voikko Plugin Group: Productivity/Text/Spell Provides: locale(%{name}:fi) @@ -52,14 +49,8 @@ Voikko plugin (Finnish) for enchant, a library providing an efficient extensible abstraction for dealing with different spell checking libraries. - - -Authors: --------- - Dom Lachowicz - %package zemberek -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: Generic Spell Checking Library - Zemberek Plugin Group: Productivity/Text/Spell Provides: locale(%{name}:az) @@ -74,14 +65,8 @@ Zemberek plugin (Azeri, Turkmen, Turkish, Tatar) for enchant, a library providing an efficient extensible abstraction for dealing with different spell checking libraries. - - -Authors: --------- - Dom Lachowicz - %package -n libenchant1 -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: Generic Spell Checking Library Group: System/Libraries Requires: %{name} = %{version} @@ -90,14 +75,8 @@ Requires: %{name} = %{version} A library providing an efficient extensible abstraction for dealing with different spell checking libraries. - - -Authors: --------- - Dom Lachowicz - %package devel -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Requires: %{name} = %{version} glib2-devel libstdc++-devel @@ -106,28 +85,23 @@ Requires: %{name} = %{version} glib2-devel libstdc++-devel This package contains all necessary include files and libraries needed to develop applications that require these. - - -Authors: --------- - Dom Lachowicz - %prep %setup -q %build %configure --with-pic \ - --disable-static + --disable-static \ + --enable-zemberek make %{?jobs:-j%jobs} %install %makeinstall %if %suse_version > 1110 -find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + +find %{buildroot} -type f -name "*.la" -delete -print %endif %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post -n libenchant1 -p /sbin/ldconfig @@ -140,9 +114,10 @@ rm -rf $RPM_BUILD_ROOT %defattr (-, root, root) %{_bindir}/* %{_datadir}/enchant -%{_libdir}/enchant -%exclude %{_libdir}/enchant/libenchant_voikko.so -%exclude %{_libdir}/enchant/libenchant_zemberek.so +%dir %{_libdir}/enchant +%{_libdir}/enchant/libenchant_aspell.so +%{_libdir}/enchant/libenchant_ispell.so +%{_libdir}/enchant/libenchant_myspell.so %doc %{_mandir}/man?/*.* %files voikko @@ -167,61 +142,3 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog -* Sun May 24 2009 vuntz@novell.com -- Update to version 1.5.0 (no NEWS or ChangeLog). Notable changes: - + Look for myspell/uspell dictionaries in XDG data directories. - + Various backends now query for any programatically-set - dictionary paths. - + Plug memory leaks. - + Build fixes. -- Remove AutoReqProv: it's default now. -- Do not call autoreconf, there's no need for it. -- Use makeinstall. -* Tue Mar 17 2009 mboman@suse.de -- Don't delete "la" files for distro version <= 11.1 -* Fri Mar 13 2009 crrodriguez@suse.de -- remove all "la" files -* Fri Jul 25 2008 sbrabec@suse.cz -- Build with voikko (Finnish, bnc#394355) and zemberek (Azeri, - Turkmen, Turkish, Tatar) backends. -* Mon May 12 2008 sbrabec@suse.cz -- Updated to version 1.4.2: - * Improved modularity, support for new modules (not yet in - openSUSE build: Voikko, Zemberek). - * System hunspell support improved (bnc#383308). - * Dictionary search improvements (morphing, affixes, suffixes, - compound words, phonetic translation table). - * binreloc support (off in openSUSE) -* Thu Oct 18 2007 sbrabec@suse.cz -- Updated to version 1.3.0: - * New personal wordlist implementation. - * Bug and compilation fixes. -- Split according to shared library packaging policy. -* Tue Feb 13 2007 sbrabec@suse.cz -- Do not build unusable static libraries (#238552#c17). -* Thu Jan 04 2007 sbrabec@suse.cz -- Spec file cleanup. -* Tue Apr 11 2006 jpr@suse.de -- Fix potential infinite loop (#164682) -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Mon Jan 16 2006 sbrabec@suse.cz -- Updated to version 1.2.0. -* Tue Nov 08 2005 dmueller@suse.de -- don't build as root -* Wed Aug 03 2005 sbrabec@suse.cz -- Updated to version 1.1.6. -- Removed unneeded static modules and .la files for modules. -* Wed Jun 01 2005 sbrabec@suse.cz -- Fixed devel requirements. -* Tue Jan 11 2005 sbrabec@suse.cz -- Updated to version 1.1.5. -* Wed May 05 2004 sbrabec@suse.cz -- Added -fno-strict-aliasing. -* Wed Oct 29 2003 sbrabec@suse.cz -- Updated to version 1.1.1. -* Thu Aug 21 2003 ro@suse.de -- fix build on x86_64 -- run autoreconf for full libtool update -* Tue Aug 19 2003 sbrabec@suse.cz -- Initial SuSE version 0.2.0.