[packages/dico] - updated to 2.12

qboosh qboosh at pld-linux.org
Sun Jan 19 11:25:46 CET 2025


commit c89bbe28486f059b596e10f822c6f24f53ffc07e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 19 10:23:35 2025 +0100

    - updated to 2.12

 dico-nolibs.patch | 21 ++++++++++++++++-----
 dico.spec         | 18 +++++++++++-------
 2 files changed, 27 insertions(+), 12 deletions(-)
---
diff --git a/dico.spec b/dico.spec
index 957fe33..f4312c8 100644
--- a/dico.spec
+++ b/dico.spec
@@ -5,18 +5,18 @@
 Summary:	GNU Dico - flexible implementation of DICT server
 Summary(pl.UTF-8):	GNU Dico - elastyczna implementacja serwera DICT
 Name:		dico
-Version:	2.11
-Release:	5
+Version:	2.12
+Release:	1
 License:	GPL v3+
 Group:		Applications/Text
 Source0:	https://ftp.gnu.org/gnu/dico/%{name}-%{version}.tar.xz
-# Source0-md5:	f55fe3917abeb6fd74eccd3b0327d0d7
+# Source0-md5:	db97706e7581f3ef26e0ae4c14480f40
 Patch0:		%{name}-nolibs.patch
 Patch1:		%{name}-info.patch
 URL:		http://www.gnu.org/software/dico/
 BuildRequires:	WordNet-devel
-BuildRequires:	autoconf >= 2.64
-BuildRequires:	automake >= 1:1.15
+BuildRequires:	autoconf >= 2.71
+BuildRequires:	automake >= 1:1.16.5
 BuildRequires:	gettext-tools >= 0.19
 BuildRequires:	gsasl-devel >= 0.2.5
 BuildRequires:	guile-devel >= 5:2.2.0
@@ -26,6 +26,7 @@ BuildRequires:	ncurses-devel
 BuildRequires:	openldap-devel
 BuildRequires:	pam-devel
 BuildRequires:	pcre-devel
+BuildRequires:	perl-base
 BuildRequires:	python3-devel >= 1:3.2
 BuildRequires:	readline-devel
 BuildRequires:	tar >= 1:1.22
@@ -92,10 +93,12 @@ Statyczna biblioteka GNU Dico.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 %build
+# configure.ac isn't rebuildable using files from dist tarball
+#./bootstrap --modules --skip-reconfig
 %{__libtoolize}
 %{__aclocal} -I m4 -I am -I grecs/am -I gint -I imprimatur
 %{__autoconf}
@@ -144,6 +147,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/dico/dictorg.so
 %attr(755,root,root) %{_libdir}/dico/echo.so
 %attr(755,root,root) %{_libdir}/dico/gcide.so
+%attr(755,root,root) %{_libdir}/dico/greek_kbd.so
 %attr(755,root,root) %{_libdir}/dico/guile.so
 %attr(755,root,root) %{_libdir}/dico/ldap.so
 %attr(755,root,root) %{_libdir}/dico/metaphone2.so
diff --git a/dico-nolibs.patch b/dico-nolibs.patch
index 13e4075..118f917 100644
--- a/dico-nolibs.patch
+++ b/dico-nolibs.patch
@@ -1,14 +1,25 @@
---- dico-2.11/configure.ac.orig	2021-06-19 07:10:22.576405899 +0200
-+++ dico-2.11/configure.ac	2021-06-19 07:11:04.548583966 +0200
-@@ -46,9 +46,9 @@
+--- dico-2.12/configure.boot.orig	2024-12-31 10:30:59.000000000 +0100
++++ dico-2.12/configure.boot	2025-01-19 09:06:24.922554822 +0100
+@@ -55,8 +55,8 @@ LT_INIT([dlopen])
+ LTDL_INIT([nonrecursive])
+ 
+ dnl Checks for libraries.
+-AC_CHECK_LIB(socket, socket)
+-AC_CHECK_LIB(rt, nanosleep)
++AC_SEARCH_LIBS(socket, socket)
++AC_SEARCH_LIBS(nanosleep, rt)
+ 
+ dnl Checks for header files.
+ AC_HEADER_DIRENT dnl not needed ?
+--- dico-2.12/configure.ac.orig	2024-12-31 10:31:12.000000000 +0100
++++ dico-2.12/configure.ac	2025-01-19 10:02:45.670906403 +0100
+@@ -46,8 +46,8 @@ LT_INIT([dlopen])
  LTDL_INIT([nonrecursive])
  
  dnl Checks for libraries.
 -AC_CHECK_LIB(socket, socket)
--AC_CHECK_LIB(nsl, gethostbyaddr)
 -AC_CHECK_LIB(rt, nanosleep)
 +AC_SEARCH_LIBS(socket, socket)
-+AC_SEARCH_LIBS(gethostbyaddr, nsl)
 +AC_SEARCH_LIBS(nanosleep, rt)
  
  dnl Checks for header files.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dico.git/commitdiff/c89bbe28486f059b596e10f822c6f24f53ffc07e



More information about the pld-cvs-commit mailing list