From: meator <meator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] doxygen: add documentation
Date: Thu, 25 May 2023 19:58:28 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44079@inbox.vuxu.org> (raw)
[-- 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
+ }
}
next reply other threads:[~2023-05-25 17:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 17:58 meator [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44079@inbox.vuxu.org \
--to=meator@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).