Gentoo Archives: gentoo-dev

From: "Marty E. Plummer" <hanetzer@×××××××××.com>
To: gentoo-dev@l.g.o
Cc: "Marty E. Plummer" <hanetzer@×××××××××.com>
Subject: [gentoo-dev] [PATCH] xfconf.eclass: remove git logic
Date: Thu, 14 Jun 2018 23:47:56
Message-Id: 20180614234649.7449-1-hanetzer@startmail.com
1 There are currently no ebuilds using xfconf which are live, and the live
2 logic here is based around git-2 which has been deprecated since 20151113.
3
4 Signed-off-by: Marty E. Plummer <hanetzer@×××××××××.com>
5 ---
6 eclass/xfconf.eclass | 19 ++-----------------
7 1 file changed, 2 insertions(+), 17 deletions(-)
8
9 diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
10 index 496c42d5cf1..705324494a4 100644
11 --- a/eclass/xfconf.eclass
12 +++ b/eclass/xfconf.eclass
13 @@ -22,18 +22,11 @@ fi
14 # @DESCRIPTION:
15 # This should be an array defining arguments for econf
16
17 -unset _xfconf_live
18 -[[ $PV == *9999* ]] && _xfconf_live=git-2
19 -
20 -inherit ${_xfconf_live} autotools eutils gnome2-utils libtool xdg-utils
21 -
22 -EGIT_BOOTSTRAP=autogen.sh
23 -EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}"
24 +inherit autotools eutils gnome2-utils libtool xdg-utils
25
26 _xfconf_deps=""
27 _xfconf_m4=">=dev-util/xfce4-dev-tools-4.10"
28
29 -[[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}"
30 [[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}"
31
32 RDEPEND=""
33 @@ -47,9 +40,7 @@ case ${EAPI:-0} in
34 *) die "Unknown EAPI." ;;
35 esac
36
37 -[[ -n $_xfconf_live ]] && _xfconf_live=src_unpack
38 -
39 -EXPORT_FUNCTIONS ${_xfconf_live} src_prepare src_configure src_install pkg_preinst pkg_postinst pkg_postrm
40 +EXPORT_FUNCTIONS src_prepare src_configure src_install pkg_preinst pkg_postinst pkg_postrm
41
42 # @FUNCTION: xfconf_use_debug
43 # @DESCRIPTION:
44 @@ -101,7 +92,6 @@ xfconf_src_prepare() {
45 # Run econf with opts from the XFCONF array
46 xfconf_src_configure() {
47 debug-print-function ${FUNCNAME} "$@"
48 - [[ -n $_xfconf_live ]] && XFCONF+=( --enable-maintainer-mode )
49 econf "${XFCONF[@]}"
50 }
51
52 @@ -112,11 +102,6 @@ xfconf_src_configure() {
53 xfconf_src_install() {
54 debug-print-function ${FUNCNAME} "$@"
55
56 - # FIXME
57 - if [[ -n $_xfconf_live ]] && ! [[ -e ChangeLog ]]; then
58 - touch ChangeLog
59 - fi
60 -
61 emake DESTDIR="${D}" "$@" install
62
63 einstalldocs
64 --
65 2.17.1

Replies

Subject Author
Re: [gentoo-dev] [PATCH] xfconf.eclass: remove git logic "Michał Górny" <mgorny@g.o>