Accepting request 324195 from devel:libraries:c_c++

- update to version 0.2.9
  * Fix infinite loop on empty trie iteration.
  * Document about alphabet size.
  * Disable timestamp in Doxygen-generated doc.
  * etc. see ChangeLog
- remove libdatrie-doxygen-found-is-enough.patch in favour of
  libdatrie-doxygen-version-check.patch

- Add libdatrie-doxygen-found-is-enough.patch: when we find
  doxygen, we assume it is new enough. The configure script uses
  'expr 1.8.4 \< $DOXYGEN_VER', which returns false for 1.8.10.
- For safeguard, we specify the minimal required version of
  doxygen (1.8.4) in the buildrequirements.

OBS-URL: https://build.opensuse.org/request/show/324195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdatrie?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2015-09-09 18:19:57 +00:00 committed by Git OBS Bridge
commit 8cdb247333
5 changed files with 52 additions and 8 deletions

View File

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

3
libdatrie-0.2.9.tar.xz Normal file
View File

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

View File

@ -0,0 +1,18 @@
--- libdatrie-0.2.8/configure.ac 2014-01-10 05:20:37.000000000 +0100
+++ libdatrie-0.2.8/configure.ac 2015-08-18 16:42:15.274113614 +0200
@@ -112,12 +112,9 @@ if test "x$enable_doxygen_doc" = "xyes";
else
AC_MSG_CHECKING([doxygen >= $DOXYGEN_REQ_VER])
DOXYGEN_VER=$($DOXYGEN --version)
- if expr $DOXYGEN_VER \< $DOXYGEN_REQ_VER > /dev/null; then
- AC_MSG_RESULT([$DOXYGEN_VER, no, documentation disabled])
- enable_doxygen_doc="no"
- else
- AC_MSG_RESULT([$DOXYGEN_VER, yes])
- fi
+ AX_COMPARE_VERSION([$DOXYGEN_VER],[ge],[DOXYGEN_REQ_VER],
+ [AC_MSG_RESULT([$DOXYGEN_VER, yes])],
+ [AC_MSG_RESULT([$DOXYGEN_VER, no, documentation disabled]); enable_doxygen_doc="no"])
fi
fi

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Aug 18 14:48:57 UTC 2015 - pgajdos@suse.com
- update to version 0.2.9
* Fix infinite loop on empty trie iteration.
* Document about alphabet size.
* Disable timestamp in Doxygen-generated doc.
* etc. see ChangeLog
- remove libdatrie-doxygen-found-is-enough.patch in favour of
libdatrie-doxygen-version-check.patch
-------------------------------------------------------------------
Tue Aug 18 11:28:57 UTC 2015 - dimstar@opensuse.org
- Add libdatrie-doxygen-found-is-enough.patch: when we find
doxygen, we assume it is new enough. The configure script uses
'expr 1.8.4 \< $DOXYGEN_VER', which returns false for 1.8.10.
- For safeguard, we specify the minimal required version of
doxygen (1.8.4) in the buildrequirements.
-------------------------------------------------------------------
Wed Feb 4 12:34:37 UTC 2015 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libdatrie
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,19 @@
Name: libdatrie
Version: 0.2.8
Version: 0.2.9
Release: 0
Summary: Double-Array Trie Library
License: LGPL-2.1
Group: System/Libraries
Url: http://linux.thai.net/~thep/datrie/datrie.html
Source: ftp://linux.thai.net/pub/ThaiLinux/software/libthai/%{name}-%{version}.tar.xz
Source: http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# sent upstream (theppitak@gmail.com)
Patch0: libdatrie-doxygen-version-check.patch
BuildRequires: autoconf-archive
BuildRequires: doxygen
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -55,8 +59,10 @@ This package contains the development files for libdatrie.
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fiv
%configure \
--disable-static --with-pic \
--with-html-docdir=%{_docdir}/libdatrie/html
@ -79,8 +85,8 @@ mv %{buildroot}%{_datadir}/doc/libdatrie/README.migration %{buildroot}%{_docdir}
%files devel
%defattr(-,root,root)
%{_bindir}/trietool-0.2
%doc %{_mandir}/man*/trietool-0.2.*
%{_bindir}/trietool*
%doc %{_mandir}/man*/trietool*.1.gz
%{_includedir}/datrie/
%{_libdir}/libdatrie.so
%{_libdir}/pkgconfig/datrie-0.2.pc