Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/hexchat/, net-irc/hexchat/files/
Date: Sun, 26 Aug 2018 17:28:15
Message-Id: 1535303849.e1c0c1e605017b8714fdac338d14d9c3186a6e77.mgorny@gentoo
1 commit: e1c0c1e605017b8714fdac338d14d9c3186a6e77
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 26 17:17:29 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 26 17:17:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c0c1e6
7
8 net-irc/hexchat: Clean old up
9
10 ...hexchat-2.12.2-configure.ac-remove-werror.patch | 25 ----
11 net-irc/hexchat/hexchat-2.12.4-r1.ebuild | 147 ---------------------
12 2 files changed, 172 deletions(-)
13
14 diff --git a/net-irc/hexchat/files/hexchat-2.12.2-configure.ac-remove-werror.patch b/net-irc/hexchat/files/hexchat-2.12.2-configure.ac-remove-werror.patch
15 deleted file mode 100644
16 index 7798d81c740..00000000000
17 --- a/net-irc/hexchat/files/hexchat-2.12.2-configure.ac-remove-werror.patch
18 +++ /dev/null
19 @@ -1,25 +0,0 @@
20 -The option -Werror=missing-include-dirs causes the build to fail if
21 -non-exsistent directories are added via -I. Removing the rest of the -Werror*
22 -flags to ensure no new bugs get created because a -Werror flag stopped the
23 -build.
24 -
25 ---- hexchat-2.12.2/configure.ac.old 2016-10-15 13:40:30.585210113 -0700
26 -+++ hexchat-2.12.2/configure.ac 2016-10-15 13:40:44.937008119 -0700
27 -@@ -634,17 +634,10 @@ AX_APPEND_COMPILE_FLAGS([\
28 - -Wno-unused-parameter \
29 - -Wno-sign-compare \
30 - -Wno-pointer-sign \
31 - -Wno-missing-field-initializers \
32 - -Wno-unused-result \
33 -- -Werror=format-security \
34 -- -Werror=init-self \
35 -- -Werror=declaration-after-statement \
36 -- -Werror=missing-include-dirs \
37 -- -Werror=date-time \
38 -- -Werror=implicit-function-declaration \
39 -- -Werror=pointer-arith \
40 - ])
41 -
42 - AS_IF([test "$stack_protector" = "yes"], [
43 - AX_APPEND_COMPILE_FLAGS([ \
44 - -fstack-protector-strong \
45
46 diff --git a/net-irc/hexchat/hexchat-2.12.4-r1.ebuild b/net-irc/hexchat/hexchat-2.12.4-r1.ebuild
47 deleted file mode 100644
48 index cf092fcf354..00000000000
49 --- a/net-irc/hexchat/hexchat-2.12.4-r1.ebuild
50 +++ /dev/null
51 @@ -1,147 +0,0 @@
52 -# Copyright 1999-2017 Gentoo Foundation
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=6
56 -
57 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
58 -inherit autotools fdo-mime gnome2-utils mono-env python-single-r1
59 -
60 -DESCRIPTION="Graphical IRC client based on XChat"
61 -HOMEPAGE="https://hexchat.github.io/"
62 -
63 -if [[ "${PV}" == "9999" ]] ; then
64 - inherit git-r3
65 - SRC_URI=""
66 - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
67 -else
68 - SRC_URI="https://dl.hexchat.net/${PN}/${P}.tar.xz"
69 - KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux"
70 -fi
71 -
72 -LICENSE="GPL-2 plugin-fishlim? ( MIT )"
73 -SLOT="0"
74 -IUSE="dbus debug +gtk libcanberra libnotify libproxy libressl lua nls perl plugin-checksum plugin-fishlim plugin-sysinfo python spell ssl theme-manager"
75 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
76 -
77 -COMMON_DEPEND="dev-libs/glib:2
78 - dbus? ( sys-apps/dbus )
79 - gtk? ( x11-libs/gtk+:2 )
80 - libcanberra? ( media-libs/libcanberra )
81 - libproxy? ( net-libs/libproxy )
82 - libnotify? ( x11-libs/libnotify )
83 - lua? ( dev-lang/lua:= )
84 - nls? ( virtual/libintl )
85 - perl? ( dev-lang/perl )
86 - plugin-sysinfo? ( sys-apps/pciutils )
87 - python? ( ${PYTHON_DEPS} )
88 - spell? ( app-text/iso-codes )
89 - ssl? (
90 - !libressl? ( dev-libs/openssl:0= )
91 - libressl? ( dev-libs/libressl:0= )
92 - )
93 - theme-manager? (
94 - || (
95 - ( dev-lang/mono[minimal] dev-dotnet/libgdiplus )
96 - dev-lang/mono[-minimal]
97 - )
98 - )"
99 -
100 -RDEPEND="${COMMON_DEPEND}
101 - spell? ( app-text/enchant )"
102 -DEPEND="${COMMON_DEPEND}
103 - app-arch/xz-utils
104 - virtual/pkgconfig
105 - dev-util/intltool
106 - sys-devel/autoconf-archive
107 - theme-manager? ( dev-util/monodevelop )"
108 -
109 -PATCHES=(
110 - "${FILESDIR}/hexchat-2.12.2-configure.ac-remove-werror.patch"
111 - "${FILESDIR}/hexchat-2.12.4-libressl.patch"
112 -)
113 -
114 -src_prepare() {
115 - default
116 - eautoreconf
117 -}
118 -
119 -pkg_setup() {
120 - use python && python-single-r1_pkg_setup
121 - if use theme-manager ; then
122 - mono-env_pkg_setup
123 - export XDG_CACHE_HOME="${T}/.cache"
124 - fi
125 -}
126 -
127 -src_configure() {
128 - econf \
129 - --enable-plugin \
130 - $(use_enable nls) \
131 - $(use_enable ssl openssl) \
132 - $(use_enable gtk gtkfe) \
133 - $(use_enable !gtk textfe) \
134 - $(use_enable python python "${EPYTHON}") \
135 - $(use_enable perl) \
136 - $(use_enable plugin-checksum checksum) \
137 - $(use_enable plugin-fishlim fishlim) \
138 - $(use_enable plugin-sysinfo sysinfo) \
139 - $(use_enable dbus) \
140 - $(use_enable lua) \
141 - $(use_enable libnotify) \
142 - $(use_enable libcanberra) \
143 - $(use_enable libproxy) \
144 - $(use_enable spell isocodes) \
145 - $(use_enable debug) \
146 - $(use_with theme-manager)
147 -}
148 -
149 -src_install() {
150 - emake DESTDIR="${D}" \
151 - UPDATE_ICON_CACHE=true \
152 - UPDATE_MIME_DATABASE=true \
153 - UPDATE_DESKTOP_DATABASE=true \
154 - install
155 - dodoc readme.md
156 - find "${D}" -name '*.la' -delete || die
157 -}
158 -
159 -pkg_preinst() {
160 - if use gtk ; then
161 - gnome2_icon_savelist
162 - fi
163 -}
164 -
165 -pkg_postinst() {
166 - if use gtk ; then
167 - gnome2_icon_cache_update
168 - else
169 - elog "You have disabled the gtk USE flag. This means you don't have"
170 - elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"."
171 - fi
172 -
173 - if use theme-manager ; then
174 - fdo-mime_desktop_database_update
175 - fdo-mime_mime_database_update
176 - elog "Themes are available at:"
177 - elog " https://hexchat.github.io/themes.html"
178 - fi
179 -
180 - elog
181 - elog "optional dependencies:"
182 - elog " media-sound/sox (sound playback if you don't have libcanberra"
183 - elog " enabled)"
184 - elog " x11-plugins/hexchat-javascript (javascript support)"
185 - elog " x11-themes/sound-theme-freedesktop (default BEEP sound,"
186 - elog " needs libcanberra enabled)"
187 -}
188 -
189 -pkg_postrm() {
190 - if use gtk ; then
191 - gnome2_icon_cache_update
192 - fi
193 -
194 - if use theme-manager ; then
195 - fdo-mime_desktop_database_update
196 - fdo-mime_mime_database_update
197 - fi
198 -}