Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/hexchat/
Date: Sun, 03 Oct 2021 22:02:47
Message-Id: 1633298554.6fc6aa6dec68bcc9b7c73daf07fc84cdd27408df.soap@gentoo
1 commit: 6fc6aa6dec68bcc9b7c73daf07fc84cdd27408df
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 3 22:02:34 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 3 22:02:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc6aa6d
7
8 net-irc/hexchat: [QA] revert "Bump to version 2.16.0"
9
10 Several serious QA issues:
11
12 1. Release notes mention:
13 - remove libnotify dependency on Linux, fixing hangs when notifications are shown
14 - remove libproxy dependency on Linux
15
16 But both of these are still in the ebuild as noops that make no difference
17 to the build.
18
19 2. Clearly broken src_configure, warns:
20 "WARNING: Unknown options: "with-appdata, with-dbus, with-gtk, with-libcanberra,
21 with-libnotify, with-libproxy, with-plugin, with-ssl, with-text, with-theme-manager"
22
23 None of the relevant USE flags or configure options are wired up.
24
25 3. (less severe) seems like another entry may need care too:
26 "python: rewrite plugin in python with CFFI This lowers memory usage and
27 fixed conflicts with many C Python modules including pygobject"
28
29 4. (less severe) PYTHON_COMPAT contains dead impls
30
31 Reverts: f90f93e75d38af583ba5d87e7689895a28782025
32 Signed-off-by: David Seifert <soap <AT> gentoo.org>
33
34 net-irc/hexchat/Manifest | 1 -
35 net-irc/hexchat/hexchat-2.16.0.ebuild | 134 ----------------------------------
36 2 files changed, 135 deletions(-)
37
38 diff --git a/net-irc/hexchat/Manifest b/net-irc/hexchat/Manifest
39 index 4b08e04813e..5b4c0ac7c3d 100644
40 --- a/net-irc/hexchat/Manifest
41 +++ b/net-irc/hexchat/Manifest
42 @@ -1,4 +1,3 @@
43 DIST hexchat-2.14.3.tar.xz 1292072 BLAKE2B 22bc8a0857b3ec26452843dd85c046cde055e719ce7dc23e4ec5ae33eb16251379ed84856c1812dc855a1e8d5d422c01e9352e2259f075a538226e1fcd79edd7 SHA512 c265921f2cb02c5d273bcdbb20a44a5c9f38b0f8cbba4fd56b177b676fc5d1dfd05bf80fcfa3706c7981f712f2f6c9aaaf80bccf3be0f6d96068dd393f3a7cb5
44 -DIST hexchat-2.16.0.tar.xz 1348320 BLAKE2B d5c6da74152e7ca08b629ee86cc45acb8232fbdad3d508cf56aba0c09d558b77644b704b5489e5f08a70133813f37c12e45b1529162e41b62acc9f61bca0b108 SHA512 4802f6efe0883f48d3d56ee949be1fc224b76a3c76956dcba3f913679e91424ba53c5c0d68bb4e0e790b16a08689111098958ead4c83c35cddf39855fe07c207
45 DIST hexchat-add-libera-chat.patch 696 BLAKE2B cd5f0736abd7895d017e835335a6ff9a0f6301cba7e7b8c2a4e9da7047885aac2f8b7b25b0723966bd103118c99d833d3e99481865bf20d202b0f95c0a9131bb SHA512 e3cc7df3f114a2374c1653c4ab7262dad87191f74ca759c41beecd731472478e8bdc929b0a13475a1248ed045ee1faf93cd80a225b6ed670f449d4495d4ab2ae
46 DIST hexchat-default-network.patch 1423 BLAKE2B b11982d50abb4fb7d8aab4758195cbfea1691cd7c6487ca56f995e449ff0445e2427a68064c0d8ee4b4b4e7764e438bfd68bb5402a266624cb6cfb93fbfdb30b SHA512 2691786d360278b4334e9129912ca0abde7b98f0d72f5e530b34e109eaf624d8e7280e137490dab218bacfb5bed952b2d7827640777ad73da5585517de308f42
47
48 diff --git a/net-irc/hexchat/hexchat-2.16.0.ebuild b/net-irc/hexchat/hexchat-2.16.0.ebuild
49 deleted file mode 100644
50 index 2e02fb14296..00000000000
51 --- a/net-irc/hexchat/hexchat-2.16.0.ebuild
52 +++ /dev/null
53 @@ -1,134 +0,0 @@
54 -# Copyright 1999-2021 Gentoo Authors
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=7
58 -
59 -LUA_COMPAT=( lua5-{1..4} luajit )
60 -PYTHON_COMPAT=( python3_{7..9} )
61 -
62 -inherit lua-single meson mono-env python-single-r1 xdg
63 -
64 -DESCRIPTION="Graphical IRC client based on XChat"
65 -HOMEPAGE="https://hexchat.github.io/"
66 -
67 -if [[ "${PV}" == "9999" ]] ; then
68 - inherit git-r3
69 - SRC_URI=""
70 - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
71 -else
72 - SRC_URI="https://dl.hexchat.net/${PN}/${P}.tar.xz
73 - https://github.com/hexchat/hexchat/commit/a25f2381689d2c2279a0e43b33f6c0ec8305a096.patch -> ${PN}-add-libera-chat.patch
74 - https://github.com/hexchat/hexchat/commit/d3545f37cd5f551ed8bc0ab7b20e5c8140adc0a6.patch -> ${PN}-default-network.patch"
75 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
76 -fi
77 -
78 -LICENSE="GPL-2 plugin-fishlim? ( MIT )"
79 -SLOT="0"
80 -IUSE="dbus debug +gtk libcanberra libnotify libproxy lua perl plugin-checksum plugin-fishlim plugin-sysinfo python ssl theme-manager"
81 -REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
82 - python? ( ${PYTHON_REQUIRED_USE} )"
83 -
84 -RDEPEND="
85 - dev-libs/glib:2
86 - dbus? ( dev-libs/dbus-glib )
87 - gtk? (
88 - x11-libs/gdk-pixbuf:2
89 - x11-libs/gtk+:2
90 - x11-libs/libX11
91 - x11-libs/pango
92 - )
93 - libcanberra? ( media-libs/libcanberra )
94 - libproxy? ( net-libs/libproxy )
95 - libnotify? ( x11-libs/libnotify )
96 - lua? ( ${LUA_DEPS} )
97 - perl? ( dev-lang/perl:= )
98 - plugin-sysinfo? ( sys-apps/pciutils )
99 - python? ( ${PYTHON_DEPS} )
100 - ssl? ( dev-libs/openssl:0= )
101 - theme-manager? (
102 - || (
103 - ( dev-lang/mono[minimal] dev-dotnet/libgdiplus )
104 - dev-lang/mono[-minimal]
105 - )
106 - )"
107 -
108 -DEPEND="${RDEPEND}"
109 -BDEPEND="
110 - dev-util/glib-utils
111 - app-arch/xz-utils
112 - app-text/iso-codes
113 - sys-devel/gettext
114 - virtual/pkgconfig
115 -"
116 -
117 -pkg_setup() {
118 - use lua && lua-single_pkg_setup
119 - use python && python-single-r1_pkg_setup
120 - if use theme-manager ; then
121 - mono-env_pkg_setup
122 - export XDG_CACHE_HOME="${T}/.cache"
123 - fi
124 -}
125 -
126 -src_configure() {
127 - local emesonargs=(
128 - -Dwith-gtk="$(usex gtk true false)"
129 - -Dwith-text="$(usex gtk false true)"
130 - -Dwith-ssl="$(usex ssl true false)"
131 - -Dwith-plugin=true
132 - -Dwith-dbus="$(usex dbus true false)"
133 - -Dwith-libproxy="$(usex libproxy true false)"
134 - -Dwith-libnotify="$(usex libnotify true false)"
135 - -Dwith-libcanberra="$(usex libcanberra true false)"
136 - -Dwith-theme-manager="$(usex theme-manager true false)"
137 - -Ddbus-service-use-appid=false
138 - -Dwith-checksum="$(usex plugin-checksum true false)"
139 - -Dwith-fishlim="$(usex plugin-fishlim true false)"
140 - -Dwith-lua="$(usex lua "${ELUA}" false)"
141 - -Dwith-perl="$(usex perl "${EPREFIX}"/usr/bin/perl false)"
142 - -Dwith-python="$(usex python "${EPYTHON/.*}" false)"
143 - -Dwith-sysinfo="$(usex plugin-sysinfo true false)"
144 - -Dwith-appdata=false
145 - )
146 - meson_src_configure
147 -}
148 -
149 -src_install() {
150 - meson_src_install
151 - dodoc readme.md
152 - find "${ED}" -type f -name '*.la' -delete || die
153 -}
154 -
155 -pkg_preinst() {
156 - if use gtk ; then
157 - xdg_pkg_preinst
158 - fi
159 -}
160 -
161 -pkg_postinst() {
162 - if use gtk ; then
163 - xdg_pkg_postinst
164 - else
165 - elog "You have disabled the gtk USE flag. This means you don't have"
166 - elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
167 - fi
168 -
169 - if use theme-manager ; then
170 - elog "Themes are available at:"
171 - elog " https://hexchat.github.io/themes.html"
172 - fi
173 -
174 - elog
175 - elog "optional dependencies:"
176 - elog " media-sound/sox (sound playback if you don't have libcanberra"
177 - elog " enabled)"
178 - elog " x11-plugins/hexchat-javascript (javascript support)"
179 - elog " x11-themes/sound-theme-freedesktop (default BEEP sound,"
180 - elog " needs libcanberra enabled)"
181 -}
182 -
183 -pkg_postrm() {
184 - if use gtk ; then
185 - xdg_pkg_postrm
186 - fi
187 -}