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/, x11-terms/rxvt-unicode/files/
Date: Wed, 29 Mar 2017 03:17:52
Message-Id: 1490757450.c9aee86fef439a3ead40700ff2fb120d19b44bc6.jer@gentoo
1 commit: c9aee86fef439a3ead40700ff2fb120d19b44bc6
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 29 03:05:16 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 29 03:17:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9aee86f
7
8 x11-terms/rxvt-unicode: Drop USE=vanilla (bug #613724 by Alex Efros).
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 .../rxvt-unicode-9.06-case-insensitive-fs.patch | 4 +-
13 x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild | 83 ++++++++++++++++++++++
14 2 files changed, 85 insertions(+), 2 deletions(-)
15
16 diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-case-insensitive-fs.patch b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-case-insensitive-fs.patch
17 index 49fa01adc34..916e24aab38 100644
18 --- a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-case-insensitive-fs.patch
19 +++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-case-insensitive-fs.patch
20 @@ -1,7 +1,7 @@
21 Avoid "make: `install' is up to date." on case insensitive filesystems
22
23 ---- Makefile.in
24 -+++ Makefile.in
25 +--- a/Makefile.in
26 ++++ b/Makefile.in
27 @@ -86,3 +86,5 @@
28 dist: tar.bz2
29
30
31 diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild
32 new file mode 100644
33 index 00000000000..e7b929cafa0
34 --- /dev/null
35 +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild
36 @@ -0,0 +1,83 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +inherit autotools eutils
42 +
43 +DESCRIPTION="rxvt clone with xft and unicode support"
44 +HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
45 +SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +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"
50 +IUSE="
51 + 256-color blink fading-colors +font-styles iso14755 +mousewheel +perl
52 + pixbuf startup-notification unicode3 xft
53 +"
54 +RESTRICT="test"
55 +
56 +RDEPEND="
57 + >=sys-libs/ncurses-5.7-r6:=
58 + kernel_Darwin? ( dev-perl/Mac-Pasteboard )
59 + media-libs/fontconfig
60 + perl? ( dev-lang/perl:= )
61 + pixbuf? ( x11-libs/gdk-pixbuf x11-libs/gtk+:2 )
62 + startup-notification? ( x11-libs/startup-notification )
63 + x11-libs/libX11
64 + x11-libs/libXrender
65 + xft? ( x11-libs/libXft )
66 +"
67 +DEPEND="
68 + ${RDEPEND}
69 + virtual/pkgconfig
70 + x11-proto/xproto
71 +"
72 +PATCHES=(
73 + "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
74 + "${FILESDIR}"/${PN}-9.21-xsubpp.patch
75 +)
76 +
77 +src_prepare() {
78 + default
79 +
80 + # kill the rxvt-unicode terminfo file - #192083
81 + sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
82 +
83 + eautoreconf
84 +}
85 +
86 +src_configure() {
87 + # --enable-everything goes first: the order of the arguments matters
88 + econf \
89 + --enable-everything \
90 + $(use_enable 256-color) \
91 + $(use_enable blink text-blink) \
92 + $(use_enable fading-colors fading) \
93 + $(use_enable font-styles) \
94 + $(use_enable iso14755) \
95 + $(use_enable mousewheel) \
96 + $(use_enable perl) \
97 + $(use_enable pixbuf) \
98 + $(use_enable startup-notification) \
99 + $(use_enable unicode3) \
100 + $(use_enable xft)
101 +}
102 +
103 +src_compile() {
104 + default
105 +
106 + sed -i \
107 + -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
108 + "${S}"/doc/rxvt-tabbed || die
109 +}
110 +
111 +src_install() {
112 + default
113 +
114 + dodoc \
115 + README.FAQ Changes doc/README* doc/changes.txt doc/etc/* doc/rxvt-tabbed
116 +
117 + make_desktop_entry urxvt rxvt-unicode utilities-terminal \
118 + "System;TerminalEmulator"
119 +}