From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/upower/files/, sys-power/upower/
Date: Sun, 20 Mar 2022 22:38:32 +0000 (UTC) [thread overview]
Message-ID: <1647815877.f105cddfadecc651eef8c45ee1576d5ee80c4385.mattst88@gentoo> (raw)
commit: f105cddfadecc651eef8c45ee1576d5ee80c4385
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 22:37:23 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 22:37:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f105cddf
sys-power/upower: Fix build with USE=-doc
Closes: https://bugs.gentoo.org/835696
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
...eson-Don-t-search-for-gtk-doc-if-disabled.patch | 60 ++++++++++++++++++++++
sys-power/upower/upower-0.99.17.ebuild | 4 ++
2 files changed, 64 insertions(+)
diff --git a/sys-power/upower/files/upower-0.99.17-meson-Don-t-search-for-gtk-doc-if-disabled.patch b/sys-power/upower/files/upower-0.99.17-meson-Don-t-search-for-gtk-doc-if-disabled.patch
new file mode 100644
index 000000000000..ead41d2e64c8
--- /dev/null
+++ b/sys-power/upower/files/upower-0.99.17-meson-Don-t-search-for-gtk-doc-if-disabled.patch
@@ -0,0 +1,60 @@
+https://gitlab.freedesktop.org/upower/upower/-/merge_requests/123
+
+From 1003d5c2a69e6c28dcf68adf10181b5180b5defa Mon Sep 17 00:00:00 2001
+From: Matt Turner <mattst88@gmail.com>
+Date: Sun, 20 Mar 2022 15:32:55 -0700
+Subject: [PATCH] meson: Don't search for gtk-doc if disabled
+
+---
+ doc/meson.build | 38 ++++++++++++++++++++------------------
+ 1 file changed, 20 insertions(+), 18 deletions(-)
+
+diff --git a/doc/meson.build b/doc/meson.build
+index dc93a16..5fc253c 100644
+--- a/doc/meson.build
++++ b/doc/meson.build
+@@ -27,21 +27,23 @@ version_xml = configure_file(
+ input: 'version.xml.in',
+ configuration: cdata)
+
+-gnome.gtkdoc('UPower',
+- main_xml: 'upower-docs.xml',
+- src_dir: meson.source_root() / 'libupower-glib',
+- dependencies: [ libupower_glib_dep ],
+- scan_args: ['--rebuild-types', '--rebuild-sections'],
+- content_files: [
+- version_xml,
+- ifaces_refs,
+- 'man/UPower.xml',
+- 'man/upowerd.xml',
+- 'man/upower.xml',
+- '../COPYING',
+- ],
+- ignore_headers: [
+- 'config.h',
+- ],
+- install: get_option('gtk-doc')
+-)
++if get_option('gtk-doc')
++ gnome.gtkdoc('UPower',
++ main_xml: 'upower-docs.xml',
++ src_dir: meson.source_root() / 'libupower-glib',
++ dependencies: [ libupower_glib_dep ],
++ scan_args: ['--rebuild-types', '--rebuild-sections'],
++ content_files: [
++ version_xml,
++ ifaces_refs,
++ 'man/UPower.xml',
++ 'man/upowerd.xml',
++ 'man/upower.xml',
++ '../COPYING',
++ ],
++ ignore_headers: [
++ 'config.h',
++ ],
++ install: true
++ )
++endif
+--
+2.34.1
+
diff --git a/sys-power/upower/upower-0.99.17.ebuild b/sys-power/upower/upower-0.99.17.ebuild
index 6a7dbc6a0d03..6dba8fb1854a 100644
--- a/sys-power/upower/upower-0.99.17.ebuild
+++ b/sys-power/upower/upower-0.99.17.ebuild
@@ -44,6 +44,10 @@ S="${WORKDIR}/${PN}-v${PV}"
QA_MULTILIB_PATHS="usr/lib/${PN}/.*"
+PATCHES=(
+ "${FILESDIR}"/${P}-meson-Don-t-search-for-gtk-doc-if-disabled.patch
+)
+
src_prepare() {
default
xdg_environment_reset
next reply other threads:[~2022-03-20 22:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-20 22:38 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-05-04 9:50 [gentoo-commits] repo/gentoo:master commit in: sys-power/upower/files/, sys-power/upower/ Pacho Ramos
2019-01-20 13:40 Pacho Ramos
2018-10-13 9:06 Pacho Ramos
2018-03-07 11:37 Michael Palimaka
2017-06-18 9:30 Pacho Ramos
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=1647815877.f105cddfadecc651eef8c45ee1576d5ee80c4385.mattst88@gentoo \
--to=mattst88@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