summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2023-08-02 00:30:25 +0300
committerSam James <sam@gentoo.org>2023-08-07 05:45:57 +0100
commitebcc47b19f21ecfc1e0f4e276b288000ffc540aa (patch)
treeefd73fd9c85d4cd461152d03f7a0e6dfc6867471 /net-libs
parentapp-portage/iwdevtools: stabilize 0.12.7 for ALLARCHES (diff)
downloadgentoo-ebcc47b19f21ecfc1e0f4e276b288000ffc540aa.tar.gz
gentoo-ebcc47b19f21ecfc1e0f4e276b288000ffc540aa.tar.bz2
gentoo-ebcc47b19f21ecfc1e0f4e276b288000ffc540aa.zip
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>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnice/files/libnice-0.1.19-remove-graphviz-dependency.patch30
-rw-r--r--net-libs/libnice/libnice-0.1.19-r1.ebuild5
-rw-r--r--net-libs/libnice/libnice-0.1.21.ebuild5
3 files changed, 40 insertions, 0 deletions
diff --git a/net-libs/libnice/files/libnice-0.1.19-remove-graphviz-dependency.patch b/net-libs/libnice/files/libnice-0.1.19-remove-graphviz-dependency.patch
new file mode 100644
index 000000000000..29cd023761e4
--- /dev/null
+++ b/net-libs/libnice/files/libnice-0.1.19-remove-graphviz-dependency.patch
@@ -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 it’s not expected to change much, let’s 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
+
diff --git a/net-libs/libnice/libnice-0.1.19-r1.ebuild b/net-libs/libnice/libnice-0.1.19-r1.ebuild
index 9c5c64599217..69ede6628795 100644
--- a/net-libs/libnice/libnice-0.1.19-r1.ebuild
+++ b/net-libs/libnice/libnice-0.1.19-r1.ebuild
@@ -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
diff --git a/net-libs/libnice/libnice-0.1.21.ebuild b/net-libs/libnice/libnice-0.1.21.ebuild
index 0417eadc8e07..0dca1a3694ee 100644
--- a/net-libs/libnice/libnice-0.1.21.ebuild
+++ b/net-libs/libnice/libnice-0.1.21.ebuild
@@ -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