Accepting request 1161372 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1161372 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunwind?expand=0&rev=54
This commit is contained in:
commit
47d256558c
33
dont-disable-documentation-without-latex2man.patch
Normal file
33
dont-disable-documentation-without-latex2man.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
From 1e849719a1035f34f44873a44a3d6266a59a5f1d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ross Burton <ross.burton@arm.com>
|
||||||
|
Date: Thu, 18 Jan 2024 12:59:37 +0000
|
||||||
|
Subject: [PATCH] configure: don't disable documentation if latex2man isn't
|
||||||
|
present
|
||||||
|
|
||||||
|
latex2man is only needed to generate the manpages from the LaTeX
|
||||||
|
sources, but as the git repository has pregenerated manpages in (and so
|
||||||
|
do the tarballs) this tool is only needed if the sources have been
|
||||||
|
changed.
|
||||||
|
|
||||||
|
Instead of turning off documentation, just warn that the manpages
|
||||||
|
cannot be rebuilt.
|
||||||
|
|
||||||
|
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||||
|
---
|
||||||
|
configure.ac | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 406f3773c..7744251b5 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -297,8 +297,7 @@ AC_ARG_ENABLE([documentation],
|
||||||
|
AC_MSG_RESULT([$enable_documentation])
|
||||||
|
AC_PATH_PROG([LATEX2MAN],[latex2man])
|
||||||
|
AS_IF([test "x$LATEX2MAN" = "x" && test "x$enable_documentation" != "xno"], [
|
||||||
|
- AC_MSG_WARN([latex2man not found. Install latex2man. Disabling docs.])
|
||||||
|
- enable_documentation="no";
|
||||||
|
+ AC_MSG_WARN([latex2man not found, unable to regenerate the manpages])
|
||||||
|
])
|
||||||
|
AM_CONDITIONAL([CONFIG_DOCS], [test x$enable_documentation != xno])
|
||||||
|
AM_COND_IF([CONFIG_DOCS], [AC_CONFIG_FILES([doc/Makefile doc/common.tex])])
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 22 09:28:07 UTC 2024 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Drop BuildRequires on latex2man, the tarball has manpages already.
|
||||||
|
This avoids a large dependency chain:
|
||||||
|
* Add dont-disable-documentation-without-latex2man.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 23 11:43:14 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
|
Fri Feb 23 11:43:14 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
@ -34,12 +34,13 @@ Source0: https://github.com/libunwind/libunwind/releases/download/v%{vers
|
|||||||
Source1: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.asc
|
Source1: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
|
# PATCH-FIX-UPSTREAM https://github.com/libunwind/libunwind/pull/712
|
||||||
|
Patch1: dont-disable-documentation-without-latex2man.patch
|
||||||
BuildRequires: automake >= 1.14
|
BuildRequires: automake >= 1.14
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: lzma-devel
|
BuildRequires: lzma-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: texlive-latex2man
|
|
||||||
ExcludeArch: s390
|
ExcludeArch: s390
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user