Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gnome-nettool/files/, net-analyzer/gnome-nettool/
Date: Thu, 07 Apr 2022 04:03:34
Message-Id: 1649304201.f5416db3f4a8682b6493d6f527d03d06f6972a94.mattst88@gentoo
1 commit: f5416db3f4a8682b6493d6f527d03d06f6972a94
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 7 04:02:44 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 7 04:03:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5416db3
7
8 net-analyzer/gnome-nettool: Version bump to 42.0
9
10 Bug: https://bugs.gentoo.org/835391
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 net-analyzer/gnome-nettool/Manifest | 1 +
14 ....0-meson-drop-unused-positional-arguments.patch | 38 +++++++++++++++++++++
15 .../gnome-nettool/gnome-nettool-42.0.ebuild | 39 ++++++++++++++++++++++
16 3 files changed, 78 insertions(+)
17
18 diff --git a/net-analyzer/gnome-nettool/Manifest b/net-analyzer/gnome-nettool/Manifest
19 index d63b7d4fc227..af7a39e5ec79 100644
20 --- a/net-analyzer/gnome-nettool/Manifest
21 +++ b/net-analyzer/gnome-nettool/Manifest
22 @@ -1 +1,2 @@
23 DIST gnome-nettool-3.8.1.tar.xz 589024 BLAKE2B f12c43b713ae81a2460b12c150e2c52baf98900b14ce0ff188b3fb1a55aa636391fb62d9c20b40d3a60ff322d4af9744d072c2727a77bced056ef0df042e21cf SHA512 c1c90fa727ebbf21442c4d0f5f4e98acf91fdd68a476f5f378167f92c3d7938ef33598525b62b838dc9b485abeb40171bdffb0fe3cb060fd3982db013a30bbed
24 +DIST gnome-nettool-42.0.tar.xz 422880 BLAKE2B 847f14781865eb936f0ded28a3f45ffa4ed02a20d335aea95a623795a2bb40bf57a49ecb28b26088c2818d028a401b3ef346806ea60305022bcafc9972094f4e SHA512 a640cd7f2008be870c4c457d3f793e6d31a10457b826641ef3cb9b831ea1d80756abc2a39aef7cb093905adafe41f27ee3c5648b1a6a3a01aa3d3ee7988330ce
25
26 diff --git a/net-analyzer/gnome-nettool/files/42.0-meson-drop-unused-positional-arguments.patch b/net-analyzer/gnome-nettool/files/42.0-meson-drop-unused-positional-arguments.patch
27 new file mode 100644
28 index 000000000000..e1da4288a742
29 --- /dev/null
30 +++ b/net-analyzer/gnome-nettool/files/42.0-meson-drop-unused-positional-arguments.patch
31 @@ -0,0 +1,38 @@
32 +https://gitlab.gnome.org/GNOME/gnome-nettool/-/merge_requests/3
33 +
34 +From 1124c3e1fdb8472d30b7636500229aa16cdc1244 Mon Sep 17 00:00:00 2001
35 +From: Jeremy Bicha <jeremy.bicha@×××××××××.com>
36 +Date: Wed, 6 Apr 2022 13:05:25 -0400
37 +Subject: [PATCH] meson: drop unused positional arguments
38 +
39 +This fixes a build error with newer meson
40 +---
41 + data/meson.build | 6 ++----
42 + 1 file changed, 2 insertions(+), 4 deletions(-)
43 +
44 +diff --git a/data/meson.build b/data/meson.build
45 +index 585e6d3..ed1e8bb 100644
46 +--- a/data/meson.build
47 ++++ b/data/meson.build
48 +@@ -20,16 +20,14 @@ desktop_in = configure_file(input: 'gnome-nettool.desktop.in.in',
49 + output: 'gnome-nettool.desktop.in',
50 + configuration: desktop_conf)
51 +
52 +-i18n.merge_file('desktop',
53 +- type: 'desktop',
54 ++i18n.merge_file(type: 'desktop',
55 + input: desktop_in,
56 + output: 'gnome-nettool.desktop',
57 + po_dir: po_dir,
58 + install: true,
59 + install_dir: join_paths(prefix, datadir, 'applications'))
60 +
61 +-i18n.merge_file('appdata',
62 +- type: 'xml',
63 ++i18n.merge_file(type: 'xml',
64 + input: 'gnome-nettool.appdata.xml.in',
65 + output: 'gnome-nettool.appdata.xml',
66 + po_dir: po_dir,
67 +--
68 +GitLab
69 +
70
71 diff --git a/net-analyzer/gnome-nettool/gnome-nettool-42.0.ebuild b/net-analyzer/gnome-nettool/gnome-nettool-42.0.ebuild
72 new file mode 100644
73 index 000000000000..947f77f258a6
74 --- /dev/null
75 +++ b/net-analyzer/gnome-nettool/gnome-nettool-42.0.ebuild
76 @@ -0,0 +1,39 @@
77 +# Copyright 1999-2022 Gentoo Authors
78 +# Distributed under the terms of the GNU General Public License v2
79 +
80 +EAPI=8
81 +
82 +inherit gnome.org meson
83 +
84 +DESCRIPTION="Graphical front-ends to various networking command-line"
85 +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-nettool"
86 +
87 +LICENSE="GPL-2"
88 +SLOT="0"
89 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
90 +
91 +COMMON_DEPEND="
92 + >=x11-libs/gtk+-3.0.0:3
93 + >=dev-libs/glib-2.26:2
94 + gnome-base/libgtop:2=
95 +"
96 +RDEPEND="${COMMON_DEPEND}
97 + || (
98 + net-misc/iputils
99 + net-analyzer/tcptraceroute
100 + net-analyzer/traceroute
101 + )
102 + net-analyzer/nmap
103 + net-dns/bind-tools
104 + net-misc/netkit-fingerd
105 + net-misc/whois
106 +"
107 +DEPEND="${COMMON_DEPEND}
108 + app-text/yelp-tools
109 + virtual/pkgconfig
110 + sys-devel/gettext
111 +"
112 +
113 +PATCHES=(
114 + "${FILESDIR}"/${PV}-meson-drop-unused-positional-arguments.patch
115 +)