net-libs/libnice: remove graphviz requirement

* Patched out target wouldn't do anything either way as the generated
  file is shipped with the tarball.

Closes: https://bugs.gentoo.org/877451
Closes: https://bugs.gentoo.org/889820
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32134
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2023-08-02 00:30:25 +03:00
committed by Sam James
parent cda7d60e0b
commit ebcc47b19f
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
From 42b2ca76d0b3b044ca3ada05f5200becc61aeedd Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Wed, 2 Aug 2023 00:16:29 +0300
Subject: [PATCH] Remove unnecessary target with unecessary dependency
* The generated file is included in the repository and the source files
hasn't been modified since it was added.
https://bugs.gentoo.org/877451
https://bugs.gentoo.org/889820
--- a/docs/reference/libnice/meson.build
+++ b/docs/reference/libnice/meson.build
@@ -63,14 +63,3 @@ gnome.gtkdoc('libnice',
],
install: true,
check: true)
-
-# If we ever need to regenerate this diagram.
-# Since its not expected to change much, lets not depend on GraphViz to
-# build the docs (that's also why we don't use find_program('dot') here)
-run_target('update-states.png',
- command: ['dot',
- '-Tpng',
- '-o', join_paths(meson.current_source_dir(), 'states.png'),
- '-Gsize=9.6,2.9!',
- '-Gdpi=200',
- files('states.gv')])
--
2.41.0

View File

@@ -30,6 +30,11 @@ BDEPEND="
app-text/docbook-xml-dtd:4.1.2 )
"
PATCHES=(
# bugs 877451, 889820
"${FILESDIR}/libnice-0.1.19-remove-graphviz-dependency.patch"
)
src_prepare() {
default

View File

@@ -30,6 +30,11 @@ BDEPEND="
app-text/docbook-xml-dtd:4.1.2 )
"
PATCHES=(
# bugs 877451, 889820
"${FILESDIR}/libnice-0.1.19-remove-graphviz-dependency.patch"
)
src_prepare() {
default