SHA256
1
0
forked from pool/enchant

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
This commit is contained in:
OBS User autobuild 2010-04-02 22:10:15 +00:00 committed by Git OBS Bridge
parent 68c5635d26
commit a92eb812d4
4 changed files with 59 additions and 110 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00e2af40d57cfa138b4e008734e1d6203087bcb6463d8f72eccf7c1d60beb99a
size 466890

3
enchant-1.6.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6b9134c5c175346f8076feb5cbcff4732aa1d13715e33e16feebc59d4aa57bb
size 476475

View File

@ -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 Sun May 24 14:07:30 CEST 2009 - vuntz@novell.com

View File

@ -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 # 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
@ -19,30 +19,27 @@
Name: enchant Name: enchant
BuildRequires: aspell-devel dbus-1-glib-devel gcc-c++ glib2-devel hunspell-devel libvoikko-devel Version: 1.6.0
# 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
Release: 1 Release: 1
License: LGPLv2.1+
Summary: Generic Spell Checking Library Summary: Generic Spell Checking Library
Source: %{name}-%{version}.tar.bz2 Group: Productivity/Text/Spell
Url: http://www.abisource.com/ 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
A library providing an efficient extensible abstraction for dealing A library providing an efficient extensible abstraction for dealing
with different spell checking libraries. with different spell checking libraries.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%package voikko %package voikko
License: LGPL v2.1 or later License: LGPLv2.1+
Summary: Generic Spell Checking Library - Voikko Plugin Summary: Generic Spell Checking Library - Voikko Plugin
Group: Productivity/Text/Spell Group: Productivity/Text/Spell
Provides: locale(%{name}:fi) 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 extensible abstraction for dealing with different spell checking
libraries. libraries.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%package zemberek %package zemberek
License: LGPL v2.1 or later License: LGPLv2.1+
Summary: Generic Spell Checking Library - Zemberek Plugin Summary: Generic Spell Checking Library - Zemberek Plugin
Group: Productivity/Text/Spell Group: Productivity/Text/Spell
Provides: locale(%{name}:az) 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 providing an efficient extensible abstraction for dealing with
different spell checking libraries. different spell checking libraries.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%package -n libenchant1 %package -n libenchant1
License: LGPL v2.1 or later License: LGPLv2.1+
Summary: Generic Spell Checking Library Summary: Generic Spell Checking Library
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -90,14 +75,8 @@ Requires: %{name} = %{version}
A library providing an efficient extensible abstraction for dealing A library providing an efficient extensible abstraction for dealing
with different spell checking libraries. with different spell checking libraries.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%package devel %package devel
License: LGPL v2.1 or later License: LGPLv2.1+
Summary: Include Files and Libraries mandatory for Development Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} glib2-devel libstdc++-devel 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 This package contains all necessary include files and libraries needed
to develop applications that require these. to develop applications that require these.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%prep %prep
%setup -q %setup -q
%build %build
%configure --with-pic \ %configure --with-pic \
--disable-static --disable-static \
--enable-zemberek
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
%makeinstall %makeinstall
%if %suse_version > 1110 %if %suse_version > 1110
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + find %{buildroot} -type f -name "*.la" -delete -print
%endif %endif
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%post -n libenchant1 -p /sbin/ldconfig %post -n libenchant1 -p /sbin/ldconfig
@ -140,9 +114,10 @@ rm -rf $RPM_BUILD_ROOT
%defattr (-, root, root) %defattr (-, root, root)
%{_bindir}/* %{_bindir}/*
%{_datadir}/enchant %{_datadir}/enchant
%{_libdir}/enchant %dir %{_libdir}/enchant
%exclude %{_libdir}/enchant/libenchant_voikko.so %{_libdir}/enchant/libenchant_aspell.so
%exclude %{_libdir}/enchant/libenchant_zemberek.so %{_libdir}/enchant/libenchant_ispell.so
%{_libdir}/enchant/libenchant_myspell.so
%doc %{_mandir}/man?/*.* %doc %{_mandir}/man?/*.*
%files voikko %files voikko
@ -167,61 +142,3 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %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.