1 |
commit: 0221ba7ea500906e84f015e6f366ccb0705037eb |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 13:17:53 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 26 13:40:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0221ba7e |
7 |
|
8 |
x11-terms/rxvt-unicode: add 9.29 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
x11-terms/rxvt-unicode/Manifest | 2 + |
13 |
x11-terms/rxvt-unicode/rxvt-unicode-9.29.ebuild | 113 ++++++++++++++++++++++++ |
14 |
2 files changed, 115 insertions(+) |
15 |
|
16 |
diff --git a/x11-terms/rxvt-unicode/Manifest b/x11-terms/rxvt-unicode/Manifest |
17 |
index 1cae105e7af0..8eaa3597db5d 100644 |
18 |
--- a/x11-terms/rxvt-unicode/Manifest |
19 |
+++ b/x11-terms/rxvt-unicode/Manifest |
20 |
@@ -1,2 +1,4 @@ |
21 |
DIST rxvt-unicode-9.26.tar.bz2 904950 BLAKE2B 1790d02eeadf630cc9bc718288af2f6bd19c3e320d3dbfa44c8cef516c8e790e0abfbfe4e557795749ddd3ec41b8358f6eac623c060240f091b3e84a549151ad SHA512 35560b57730e17c9542ea4a615fd86ce703c4e6421323e8fe1570007737a880fde90d17943e5af9e170be4111b9769f4aa7e57efca5428421fdc1c299112f8e0 |
22 |
DIST rxvt-unicode-9.26_24-bit-color_aur-20210516+eautoreconf.patch.xz 11716 BLAKE2B 7e18b0f884dbb9574515db8cfb4e1521e1e3287ac194750db288409c7e4d0bb120964e4559ce7e3b91e169935ded93f3af3045fc7c1737a5a6de2710ee2e107b SHA512 8cbcc1c04bdb83996ce08ece559ef9e7f5f530140a2a66291e0ffd049808da60787a68520b4a990dc12e1272de861a85b199ddd10ac8b245eafbfe16dc521199 |
23 |
+DIST rxvt-unicode-9.29.tar.bz2 876330 BLAKE2B 79ad6f4d60f0b6e99ca9d820c2af54ed142cffab444500885e04c36199724bdf124dbd53595358d3358b5bfa235a567b2eddd850da1b81ae7aa4ef9a453d0f4d SHA512 8af7f1e8c3f2c6bf5fa131b6ef61e836ac7c83ac2b31ccb183d7481191f55a8e87e7f9f6d93f2ae1855ca339f71b2d682471ee41ef706b7ccc21c6c8ea4b44f9 |
24 |
+DIST rxvt-unicode-9.29_24-bit-color_aur-9.26-20210712.patch.xz 7568 BLAKE2B 8ea5d813e00fd4012d145acf70e3d9b0974dddffd203fbec4bf06a0da1c9368ec316fc2903dccae3a5d71d684fd93b2a09ed208f26be1e85f77c702494db4e54 SHA512 baa226ca9adf6025a72dea925ec3be16186502bb4aab21dd61ef1f7c3e2eb793e7a1dc9619ed8228166758daa2879a465da2ace3f3b14545808955388bd2b74b |
25 |
|
26 |
diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.29.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.29.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..e3eaeeddc8d2 |
29 |
--- /dev/null |
30 |
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.29.ebuild |
31 |
@@ -0,0 +1,113 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit autotools desktop flag-o-matic systemd prefix |
38 |
+ |
39 |
+COLOUR_PATCH_NAME="${PN}-9.29_24-bit-color_aur-9.26-20210712.patch" |
40 |
+ |
41 |
+DESCRIPTION="rxvt clone with xft and unicode support" |
42 |
+HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html" |
43 |
+SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2 |
44 |
+ https://dev.gentoo.org/~marecki/dists/${PN}/${COLOUR_PATCH_NAME}.xz" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~riscv" |
49 |
+IUSE="24-bit-color 256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel |
50 |
+ +perl startup-notification unicode3 xft" |
51 |
+ |
52 |
+RDEPEND=">=sys-libs/ncurses-5.7-r6:= |
53 |
+ dev-libs/libptytty |
54 |
+ media-libs/fontconfig |
55 |
+ x11-libs/libX11 |
56 |
+ x11-libs/libXrender |
57 |
+ x11-libs/libXt |
58 |
+ gdk-pixbuf? ( x11-libs/gdk-pixbuf ) |
59 |
+ kernel_Darwin? ( dev-perl/Mac-Pasteboard ) |
60 |
+ perl? ( dev-lang/perl:= ) |
61 |
+ startup-notification? ( x11-libs/startup-notification ) |
62 |
+ xft? ( x11-libs/libXft )" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ x11-base/xorg-proto" |
65 |
+BDEPEND="virtual/pkgconfig" |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch |
69 |
+ "${FILESDIR}"/${PN}-9.21-xsubpp.patch |
70 |
+) |
71 |
+DOCS=( |
72 |
+ Changes |
73 |
+ README.FAQ |
74 |
+ doc/README.xvt |
75 |
+ doc/changes.txt |
76 |
+ doc/etc/${PN}.term{cap,info} |
77 |
+ doc/rxvt-tabbed |
78 |
+) |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ |
83 |
+ # Current patch is too aggressive to apply unconditionally, see Bug #801571 |
84 |
+ if use 24-bit-color; then |
85 |
+ eapply "${WORKDIR}"/${COLOUR_PATCH_NAME} |
86 |
+ eautoreconf |
87 |
+ fi |
88 |
+ |
89 |
+ # kill the rxvt-unicode terminfo file - #192083 |
90 |
+ sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed" |
91 |
+ |
92 |
+ # use xsubpp from Prefix - #506500 |
93 |
+ hprefixify -q '"' -w "/xsubpp/" src/Makefile.in |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ # --enable-everything goes first: the order of the arguments matters |
98 |
+ local myconf=( |
99 |
+ --enable-everything |
100 |
+ $(use_enable 256-color) |
101 |
+ $(use_enable blink text-blink) |
102 |
+ $(use_enable fading-colors fading) |
103 |
+ $(use_enable font-styles) |
104 |
+ $(use_enable gdk-pixbuf pixbuf) |
105 |
+ $(use_enable iso14755) |
106 |
+ $(use_enable mousewheel) |
107 |
+ $(use_enable perl) |
108 |
+ $(use_enable startup-notification) |
109 |
+ $(use_enable unicode3) |
110 |
+ $(use_enable xft) |
111 |
+ ) |
112 |
+ if use 24-bit-color; then |
113 |
+ myconf+=( --enable-24-bit-color ) |
114 |
+ fi |
115 |
+ econf "${myconf[@]}" |
116 |
+} |
117 |
+ |
118 |
+src_compile() { |
119 |
+ default |
120 |
+ |
121 |
+ sed -i \ |
122 |
+ -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \ |
123 |
+ "${S}"/doc/rxvt-tabbed || die |
124 |
+} |
125 |
+ |
126 |
+src_install() { |
127 |
+ default |
128 |
+ |
129 |
+ systemd_douserunit "${FILESDIR}"/urxvtd.service |
130 |
+ systemd_douserunit "${FILESDIR}"/urxvtd.socket |
131 |
+ |
132 |
+ make_desktop_entry urxvt rxvt-unicode utilities-terminal \ |
133 |
+ "System;TerminalEmulator" |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ if use 24-bit-color; then |
138 |
+ ewarn |
139 |
+ ewarn "You have enabled 24-bit colour support in ${PN}, which is UNOFFICIAL and INCOMPLETE." |
140 |
+ ewarn "You may or may not encounter visual glitches or stability issues. When in doubt," |
141 |
+ ewarn "rebuild =${CATEGORY}/${PF} with USE=-24-bit-color (the default setting)." |
142 |
+ ewarn |
143 |
+ fi |
144 |
+} |