[packages/libfep] - updated to 0.1.0 - added docs patch (fix gtk-doc build)

qboosh qboosh at pld-linux.org
Mon Jan 30 21:00:49 CET 2023


commit 1aeda0df129240d2da310fffd12b73a987de933c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 30 21:02:11 2023 +0100

    - updated to 0.1.0
    - added docs patch (fix gtk-doc build)

 libfep-docs.patch | 13 +++++++++++++
 libfep.spec       | 19 +++++++++----------
 2 files changed, 22 insertions(+), 10 deletions(-)
---
diff --git a/libfep.spec b/libfep.spec
index 80cf7f0..332e711 100644
--- a/libfep.spec
+++ b/libfep.spec
@@ -1,18 +1,19 @@
 #
 # Conditional build:
-%bcond_without	apidocs		# do not build and package API docs
-%bcond_without	static_libs	# don't build static libraries
+%bcond_without	apidocs		# gtk-doc based API documentation
+%bcond_without	static_libs	# static libraries
 
 Summary:	Library to implement FEP (front end processor) on ANSI terminals
 Summary(pl.UTF-8):	Biblioteka do implementacji FEP (procesorów frontendowych) na terminalach ANSI
 Name:		libfep
-Version:	0.0.9
-Release:	4
+Version:	0.1.0
+Release:	1
 License:	GPL v3+
 Group:		Libraries
-#Source0Download: https://github.com/ueno/libfep/downloads
-Source0:	https://github.com/downloads/ueno/libfep/%{name}-%{version}.tar.gz
-# Source0-md5:	ab0dbc87b619e02e0f52a5818ff030ad
+#Source0Download: https://github.com/ueno/libfep/releases
+Source0:	https://github.com/ueno/libfep/releases/download/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	261c6d47a18acc8aecf55cda2a5275bc
+Patch0:		%{name}-docs.patch
 URL:		https://github.com/ueno/libfep/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
@@ -95,14 +96,12 @@ Dokumentacja API biblioteki libfep.
 
 %prep
 %setup -q
+%patch0 -p1
 
 # force rebuild
 %{__rm} docs/libfep/*.txt docs/libfep-glib/*.txt
 
 %build
-# must rebuild libtool because included one uses Debian's link_all_deplibs=no
-# patch, which cases g-ir-scanner to fail on libfep-glib when older libfep is
-# installed on build host
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
diff --git a/libfep-docs.patch b/libfep-docs.patch
new file mode 100644
index 0000000..0e7f51b
--- /dev/null
+++ b/libfep-docs.patch
@@ -0,0 +1,13 @@
+--- libfep-0.1.0/docs/libfep/libfep-docs.sgml.orig	2012-03-29 03:17:21.000000000 +0200
++++ libfep-0.1.0/docs/libfep/libfep-docs.sgml	2023-01-30 20:41:55.502692258 +0100
+@@ -22,10 +22,6 @@
+     <xi:include href="xml/logger.xml"/>
+ 
+   </chapter>
+-  <chapter id="object-tree">
+-    <title>Object Hierarchy</title>
+-     <xi:include href="xml/tree_index.sgml"/>
+-  </chapter>
+   <index id="api-index-full">
+     <title>API Index</title>
+     <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfep.git/commitdiff/1aeda0df129240d2da310fffd12b73a987de933c



More information about the pld-cvs-commit mailing list