Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] doxygen: add documentation
@ 2023-05-25 17:58 meator
  2023-05-25 18:29 ` meator
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: meator @ 2023-05-25 17:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

There is a new pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages doxygen
https://github.com/void-linux/void-packages/pull/44079

doxygen: add documentation
<!-- Uncomment relevant sections and delete options which are not applicable -->

CC maintainer @ericonr 

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/44079.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-doxygen-44079.patch --]
[-- Type: text/x-diff, Size: 1947 bytes --]

From e012e418287327d05f9e22d063ee38c9890d8cd9 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Thu, 25 May 2023 19:51:37 +0200
Subject: [PATCH] doxygen: add documentation

---
 srcpkgs/doxygen-doc      |  1 +
 srcpkgs/doxygen/template | 30 +++++++++++++++++++++++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)
 create mode 120000 srcpkgs/doxygen-doc

diff --git a/srcpkgs/doxygen-doc b/srcpkgs/doxygen-doc
new file mode 120000
index 000000000000..a7610321645c
--- /dev/null
+++ b/srcpkgs/doxygen-doc
@@ -0,0 +1 @@
+doxygen
\ No newline at end of file
diff --git a/srcpkgs/doxygen/template b/srcpkgs/doxygen/template
index 981eb49049a9..4ebd6c15b493 100644
--- a/srcpkgs/doxygen/template
+++ b/srcpkgs/doxygen/template
@@ -1,9 +1,11 @@
 # Template file for 'doxygen'
 pkgname=doxygen
 version=1.9.5
-revision=2
+revision=3
 build_style=cmake
-hostmakedepends="perl python3 flex"
+configure_args="-Dbuild_doc=ON"
+hostmakedepends="perl python3 flex texlive-ConTeXt texlive-latexextra
+ texlive-dvi"
 checkdepends="libxml2 texlive-BibTeX"
 short_desc="Source code documentation generator tool"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -25,9 +27,27 @@ if [ "$build_option_wizard" ]; then
 	makedepends+=" qt5-devel"
 fi
 
+post_build() {
+	ninja -C build docs
+}
+
 post_install() {
-	vman doc/doxygen.1
-	if [ "$build_option_wizard" ]; then
-		vman doc/doxywizard.1
+	if [ ! "$build_option_wizard" ]; then
+		rm ${DESTDIR}/usr/share/man/man1/doxywizard.1
 	fi
+
+	# These manpages are generated because build_doc is ON, but we don't
+	# build these programs.
+	rm ${DESTDIR}/usr/share/man/man1/doxyindexer.1
+	rm ${DESTDIR}/usr/share/man/man1/doxysearch.1
+
+	mv ${DESTDIR}/usr/share/doc/packages/doxygen ${DESTDIR}/usr/share/doc/doxygen
+}
+
+doxygen-doc_package() {
+	short_desc+=" - documentation"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/share/doc/doxygen
+	}
 }

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-11-12  1:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 17:58 [PR PATCH] doxygen: add documentation meator
2023-05-25 18:29 ` meator
2023-05-27 16:34 ` meator
2023-05-27 18:26 ` [PR PATCH] [Updated] " meator
2023-05-31 11:23 ` [PR PATCH] [Updated] doxygen: update + " meator
2023-05-31 11:26 ` meator
2023-05-31 11:26 ` meator
2023-07-30 14:21 ` meator
2023-10-29  1:45 ` doxygen: " github-actions
2023-11-12  1:46 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).