public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/trace-cmd/
Date: Wed,  4 Jan 2023 04:20:10 +0000 (UTC)	[thread overview]
Message-ID: <1672805992.9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1.dlan@gentoo> (raw)

commit:     9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  4 04:14:48 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 04:19:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9fea39

dev-util/trace-cmd: fix doc issue

1) fix the man pages's wrong installation path
2) pull source-highlight as dependency

Closes: https://bugs.gentoo.org/868168
Closes: https://bugs.gentoo.org/873007

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-util/trace-cmd/trace-cmd-3.1.4.ebuild | 13 +++++++++++--
 dev-util/trace-cmd/trace-cmd-3.1.5.ebuild | 13 +++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild b/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild
index f13210697f74..308eb115628e 100644
--- a/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild
+++ b/dev-util/trace-cmd/trace-cmd-3.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -43,7 +43,10 @@ DEPEND="${RDEPEND}
 BDEPEND="
 	virtual/pkgconfig
 	python? ( dev-lang/swig )
-	doc? ( app-text/asciidoc )
+	doc? (
+		app-text/asciidoc
+		dev-util/source-highlight
+	)
 "
 
 # having trouble getting tests to compile
@@ -65,7 +68,13 @@ pkg_setup() {
 src_prepare() {
 	default
 	sed -r -e 's:([[:space:]]+)install_bash_completion($|[[:space:]]+):\1:' \
+		-e '/^prefix/s:/usr/local:/usr:g' \
 		-i Makefile || die "sed failed"
+
+	sed -i -e "s|^htmldir.*|&-${PVR}|g" \
+		-e "s|^pdfdir.*|&-${PVR}|g" \
+		Documentation/libtracecmd/Makefile \
+		Documentation/trace-cmd/Makefile || die
 }
 
 src_configure() {

diff --git a/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild b/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild
index b608032b58bf..63c0354925ab 100644
--- a/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild
+++ b/dev-util/trace-cmd/trace-cmd-3.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -43,7 +43,10 @@ DEPEND="${RDEPEND}
 BDEPEND="
 	virtual/pkgconfig
 	python? ( dev-lang/swig )
-	doc? ( app-text/asciidoc )
+	doc? (
+		app-text/asciidoc
+		dev-util/source-highlight
+	)
 "
 
 # having trouble getting tests to compile
@@ -65,7 +68,13 @@ pkg_setup() {
 src_prepare() {
 	default
 	sed -r -e 's:([[:space:]]+)install_bash_completion($|[[:space:]]+):\1:' \
+		-e '/^prefix/s:/usr/local:/usr:g' \
 		-i Makefile || die "sed failed"
+
+	sed -i -e "s|^htmldir.*|&-${PVR}|g" \
+		-e "s|^pdfdir.*|&-${PVR}|g" \
+		Documentation/libtracecmd/Makefile \
+		Documentation/trace-cmd/Makefile || die
 }
 
 src_configure() {


             reply	other threads:[~2023-01-04  4:20 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04  4:20 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-04 13:12 [gentoo-commits] repo/gentoo:master commit in: dev-util/trace-cmd/ Yixun Lan
2025-04-06  9:32 Yixun Lan
2024-11-01  3:12 Yixun Lan
2024-11-01  3:12 Yixun Lan
2024-10-26  9:42 Sam James
2024-08-23 12:35 Yixun Lan
2024-05-30  7:53 Yixun Lan
2024-04-23 23:20 Patrick McLean
2024-02-19  7:32 Yixun Lan
2024-02-13  1:19 Patrick McLean
2024-02-12 19:45 Patrick McLean
2024-02-03 13:42 Yixun Lan
2024-02-03 13:32 Yixun Lan
2024-02-03 13:32 Yixun Lan
2023-06-10  9:12 Sam James
2023-01-19 22:51 Yixun Lan
2023-01-13  6:43 Sam James
2023-01-13  6:42 Sam James
2023-01-12 23:35 Yixun Lan
2023-01-11  8:03 Arthur Zamarin
2022-12-22  6:12 Yixun Lan
2022-12-20  1:56 Yixun Lan
2022-11-16  7:34 Yixun Lan
2022-09-02 13:59 Yixun Lan
2022-09-02 13:59 Yixun Lan
2022-07-29 12:12 Arthur Zamarin
2022-06-16 16:58 Patrick McLean
2021-03-26 12:00 Agostino Sarubbo
2021-03-11 17:29 Ben Kohler
2020-08-14 23:22 Andreas Sturmlechner
2020-07-28  0:14 Patrick McLean
2020-06-05 15:45 Mart Raudsepp
2020-05-14 22:25 Aaron Bauman
2020-02-10 21:00 Michał Górny
2019-08-29  1:24 Zac Medico
2019-07-26  0:22 Patrick McLean
2019-07-19 22:58 Patrick McLean
2019-04-10  1:00 Patrick McLean
2019-03-13 21:59 Patrick McLean
2019-03-11 20:31 Patrick McLean
2018-11-13 15:31 Craig Andrews
2017-04-20 20:48 David Seifert
2016-01-13 23:23 Patrick McLean

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=1672805992.9b9fea398103ffc4d09ef56d0a63e33a68a1c6b1.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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