[packages/libredwg] - updated to 0.12.5 - removed obsolete sh patch - added hack for dwg2ps.1 file missing in dist

qboosh qboosh at pld-linux.org
Thu Jul 14 16:59:40 CEST 2022


commit 945692a78b8e07ea323bd3bb1a9487ec0fd3372e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 14 17:01:28 2022 +0200

    - updated to 0.12.5
    - removed obsolete sh patch
    - added hack for dwg2ps.1 file missing in dist

 libredwg-sh.patch | 19 -------------------
 libredwg.spec     | 12 +++++++-----
 2 files changed, 7 insertions(+), 24 deletions(-)
---
diff --git a/libredwg.spec b/libredwg.spec
index 693b681..d3a234c 100644
--- a/libredwg.spec
+++ b/libredwg.spec
@@ -1,15 +1,14 @@
 Summary:	LibreDWG - free implementation of the DWG file format
 Summary(pl.UTF-8):	LibreDWG - wolnodostępna implementacja formatu plików DWG
 Name:		libredwg
-Version:	0.12.4
-Release:	3
+Version:	0.12.5
+Release:	1
 License:	GPL v3+
 Group:		Libraries
 Source0:	https://ftp.gnu.org/gnu/libredwg/%{name}-%{version}.tar.xz
-# Source0-md5:	9aba1400b02db931f4ee8a1155fd2376
+# Source0-md5:	3cb1ec853a665b74924ac417698589d7
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-python.patch
-Patch2:		%{name}-sh.patch
 URL:		http://www.gnu.org/software/libredwg/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake >= 1:1.14
@@ -98,7 +97,6 @@ Interfejs Pythona do biblioteki LibreDWG.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 # no git-version-gen in release tarball
 %{__sed} -i -e 's/m4_esyscmd.*git-version-gen.*/[%{version}],/' configure.ac
@@ -116,6 +114,10 @@ Interfejs Pythona do biblioteki LibreDWG.
 	--disable-silent-rules \
 	--with-perl-install=vendor
 
+# programs/dwg2ps.1 is missing in dist as of 0.12.5
+%{__make} -C src
+%{__make} -C programs regen-man
+
 %{__make}
 
 %install
diff --git a/libredwg-sh.patch b/libredwg-sh.patch
deleted file mode 100644
index 0b95646..0000000
--- a/libredwg-sh.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- libredwg-0.12.4/configure.ac.orig	2021-04-11 15:41:32.582128469 +0200
-+++ libredwg-0.12.4/configure.ac	2021-04-11 16:42:30.718977307 +0200
-@@ -407,13 +407,9 @@
- if test -n "$GPERF"
- then
-     AC_MSG_CHECKING([GPERF version])
--    [GPERF_VERSION=`"$GPERF" --version | head -n1 2>&1 | sed 's,GNU gperf ,,'`]
--    case $GPERF_VERSION in
--      1.*) GPERF_VERSION=$((100+${GPERF_VERSION:2:1})) ;;
--      2.*) GPERF_VERSION=$((200+${GPERF_VERSION:2:1})) ;;
--      3.*) GPERF_VERSION=$((300+${GPERF_VERSION:2:1})) ;;
--      4.*) GPERF_VERSION=$((400+${GPERF_VERSION:2:1})) ;;
--    esac
-+    [GPERF_MAJOR=`"$GPERF" --version | head -n1 2>&1 | sed 's,GNU gperf ,,' | cut -d. -f1`]
-+    [GPERF_MINOR=`"$GPERF" --version | head -n1 2>&1 | sed 's,GNU gperf ,,' | cut -d. -f2`]
-+    GPERF_VERSION=$((GPERF_MAJOR * 100 + GPERF_MINOR))
-     AC_MSG_RESULT([$GPERF_VERSION])
-     AC_DEFINE_UNQUOTED([GPERF_VERSION],[$GPERF_VERSION],
-        [versions earlier than 301 will have no size_t])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libredwg.git/commitdiff/945692a78b8e07ea323bd3bb1a9487ec0fd3372e



More information about the pld-cvs-commit mailing list