Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/rxvt-unicode/
Date: Wed, 10 Apr 2019 20:22:56
Message-Id: 1554927769.1573bf9c25d5666b030d0454d5b10b416f665c84.jer@gentoo
1 commit: 1573bf9c25d5666b030d0454d5b10b416f665c84
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 13:50:49 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 20:22:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1573bf9c
7
8 x11-terms/rxvt-unicode: Old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-terms/rxvt-unicode/rxvt-unicode-9.22.ebuild | 133 ------------------------
14 1 file changed, 133 deletions(-)
15
16 diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22.ebuild
17 deleted file mode 100644
18 index e60a08adddf..00000000000
19 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9.22.ebuild
20 +++ /dev/null
21 @@ -1,133 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -inherit autotools eutils
27 -
28 -DESCRIPTION="rxvt clone with xft and unicode support"
29 -HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
30 -SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2"
31 -
32 -LICENSE="GPL-3"
33 -SLOT="0"
34 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
35 -IUSE="
36 - 256-color alt-font-width blink buffer-on-clear +focused-urgency
37 - fading-colors +font-styles iso14755 +mousewheel +perl pixbuf secondary-wheel
38 - startup-notification xft unicode3 +vanilla wcwidth
39 -"
40 -
41 -RDEPEND="
42 - >=sys-libs/ncurses-5.7-r6:=
43 - kernel_Darwin? ( dev-perl/Mac-Pasteboard )
44 - media-libs/fontconfig
45 - perl? ( dev-lang/perl:= )
46 - pixbuf? ( x11-libs/gdk-pixbuf x11-libs/gtk+:2 )
47 - startup-notification? ( x11-libs/startup-notification )
48 - x11-libs/libX11
49 - x11-libs/libXrender
50 - xft? ( x11-libs/libXft )
51 -"
52 -DEPEND="
53 - ${RDEPEND}
54 - virtual/pkgconfig
55 - x11-base/xorg-proto
56 -"
57 -
58 -RESTRICT="test"
59 -REQUIRED_USE="vanilla? ( !alt-font-width !buffer-on-clear focused-urgency !secondary-wheel !wcwidth )"
60 -
61 -src_prepare() {
62 - # fix for prefix not installing properly
63 - epatch \
64 - "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch \
65 - "${FILESDIR}"/${PN}-9.21-xsubpp.patch
66 -
67 - if ! use vanilla; then
68 - ewarn "You are going to include unsupported third-party bug fixes/features."
69 - ewarn "If you want even more control over patches, then set USE=vanilla"
70 - ewarn "and store your patch set in /etc/portage/patches/${CATEGORY}/${PF}/"
71 -
72 - use wcwidth && epatch doc/wcwidth.patch
73 -
74 - # bug #240165
75 - use focused-urgency || epatch "${FILESDIR}"/${PN}-9.06-no-urgency-if-focused.diff
76 -
77 - # bug #263638
78 - epatch "${FILESDIR}"/${PN}-9.06-popups-hangs.patch
79 -
80 - # bug #237271
81 - epatch "${FILESDIR}"/${PN}-9.05_no-MOTIF-WM-INFO.patch
82 -
83 - # support for wheel scrolling on secondary screens
84 - use secondary-wheel && epatch "${FILESDIR}"/${PN}-9.19-secondary-wheel.patch
85 -
86 - # ctrl-l buffer fix
87 - use buffer-on-clear && epatch "${FILESDIR}"/${PN}-9.14-clear.patch
88 -
89 - use alt-font-width && epatch "${FILESDIR}"/${PN}-9.06-font-width.patch
90 - fi
91 -
92 - # kill the rxvt-unicode terminfo file - #192083
93 - sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
94 -
95 - epatch_user
96 -
97 - eautoreconf
98 -}
99 -
100 -src_configure() {
101 - local myconf=''
102 -
103 - use iso14755 || myconf='--disable-iso14755'
104 -
105 - econf --enable-everything \
106 - $(use_enable 256-color) \
107 - $(use_enable blink text-blink) \
108 - $(use_enable fading-colors fading) \
109 - $(use_enable font-styles) \
110 - $(use_enable mousewheel) \
111 - $(use_enable perl) \
112 - $(use_enable pixbuf) \
113 - $(use_enable startup-notification) \
114 - $(use_enable xft) \
115 - $(use_enable unicode3) \
116 - ${myconf}
117 -}
118 -
119 -src_compile() {
120 - emake || die "emake failed"
121 -
122 - sed -i \
123 - -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
124 - "${S}"/doc/rxvt-tabbed || die "tabs sed failed"
125 -}
126 -
127 -src_install() {
128 - default
129 -
130 - dodoc \
131 - README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed
132 -
133 - make_desktop_entry urxvt rxvt-unicode utilities-terminal \
134 - "System;TerminalEmulator"
135 -}
136 -
137 -pkg_postinst() {
138 - if use buffer-on-clear; then
139 - ewarn "You have enabled the buffer-on-clear USE flag."
140 - ewarn "Please note that, although this works well for most prompts,"
141 - ewarn "there have been cases with fancy prompts, like bug #397829,"
142 - ewarn "where it caused issues. Proceed with caution."
143 - ewarn " (keep this terminal open until you make sure it works)"
144 - fi
145 - if use secondary-wheel; then
146 - elog "You have enabled the secondary-wheel USE flag."
147 - elog "This allows you to scroll in secondary screens"
148 - elog "(like mutt's message list/view or nano) using the mouse wheel."
149 - elog
150 - elog "To actually enable the feature you have to add"
151 - elog " URxvt*secondaryWheel: true"
152 - elog "in your ~/.Xdefaults file"
153 - fi
154 -}