1 |
commit: 66b191f26b1646bb6d8b8ae619f6bd5022ef5cfc |
2 |
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org> |
3 |
AuthorDate: Fri Apr 29 08:27:07 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 14 00:41:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b191f2 |
7 |
|
8 |
www-client/w3m: bump to latest release (20220429) |
9 |
|
10 |
Also bump EAPI to 8 and add myself as proxy maintainer. |
11 |
|
12 |
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/25249 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
www-client/w3m/Manifest | 1 + |
17 |
www-client/w3m/metadata.xml | 8 +- |
18 |
www-client/w3m/w3m-0.5.3_p20220429.ebuild | 133 ++++++++++++++++++++++++++++++ |
19 |
3 files changed, 141 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/www-client/w3m/Manifest b/www-client/w3m/Manifest |
22 |
index 349c85c41371..dd9dd06a0a31 100644 |
23 |
--- a/www-client/w3m/Manifest |
24 |
+++ b/www-client/w3m/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST w3m-0.5.3+git20210102.tar.gz 2189272 BLAKE2B f82c13c26b1c83cda90655abdcf30422e257a5c2e48c32d5636a70f895078d11a95fc6ce623fa94624bb2a1125b71e7654d872dfb91fd86c4290278de3cf88f8 SHA512 357eeecf0f63bfd5174c9670533882323879657bdecefd0758d853ca645e368331bfdf91e99c0917f19829e184ce892ecdc99bd865851707d93baccfb4b97632 |
27 |
+DIST w3m-0.5.3+git20220429.tar.gz 2312378 BLAKE2B 1cf73c447c2e43491d206ece63bea5f678bd12019be6722e2965bebf9902a56dba5d010b6191553f1acff990a613c2b6d5099cb98b6aa1a84e54e2947570c094 SHA512 0f29d6a1f311c3f417ca041fe3788c94946d238b618eca923cd62a6e5e598aefd898fb8a54999876179011bf37d492a989872e38375ea96ac59914b244f1517e |
28 |
DIST w3m-0.5.3_p20220216.tar.gz 2306347 BLAKE2B d312aee587d76d077ddae27c97a20957083785a269080ec2a4896f2bd9b4c90cc356a3b6d6c9a435458cf4c16b749d0b1e1c403f7bc5028a0b463c352f75ad2a SHA512 2b661eca0f1e2ff0d7646ce062cc736a30950b41e3e056061d0d65feb869fbea8f6668255c403b460d6b2786a4fd24be6e98d9eb99b8948b3113f7d4ec866a12 |
29 |
|
30 |
diff --git a/www-client/w3m/metadata.xml b/www-client/w3m/metadata.xml |
31 |
index db06b4f7b6c8..0bfbe2396368 100644 |
32 |
--- a/www-client/w3m/metadata.xml |
33 |
+++ b/www-client/w3m/metadata.xml |
34 |
@@ -1,7 +1,13 @@ |
35 |
<?xml version="1.0" encoding="UTF-8"?> |
36 |
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
37 |
<pkgmetadata> |
38 |
-<!-- maintainer-needed --> |
39 |
+ <maintainer type="person" proxied="yes"> |
40 |
+ <email>nrk@×××××××.org</email> |
41 |
+ </maintainer> |
42 |
+ <maintainer type="project" proxied="proxy"> |
43 |
+ <email>proxy-maint@g.o</email> |
44 |
+ <name>Proxy Maintainers</name> |
45 |
+ </maintainer> |
46 |
<use> |
47 |
<flag name="gdk-pixbuf">Enable support for <pkg>x11-libs/gdk-pixbuf</pkg></flag> |
48 |
<flag name="lynxkeymap">If you prefer Lynx-like key binding</flag> |
49 |
|
50 |
diff --git a/www-client/w3m/w3m-0.5.3_p20220429.ebuild b/www-client/w3m/w3m-0.5.3_p20220429.ebuild |
51 |
new file mode 100644 |
52 |
index 000000000000..c1c3e63734a0 |
53 |
--- /dev/null |
54 |
+++ b/www-client/w3m/w3m-0.5.3_p20220429.ebuild |
55 |
@@ -0,0 +1,133 @@ |
56 |
+# Copyright 1999-2022 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=8 |
60 |
+ |
61 |
+inherit autotools prefix toolchain-funcs |
62 |
+ |
63 |
+MY_P="${P/_p/+git}" |
64 |
+MY_PV="${PV/_p/+git}" |
65 |
+ |
66 |
+DESCRIPTION="Text based WWW browser, supports tables and frames" |
67 |
+HOMEPAGE="https://github.com/tats/w3m" |
68 |
+SRC_URI="https://github.com/tats/w3m/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" |
69 |
+S="${WORKDIR}/${P/_p/-git}" |
70 |
+ |
71 |
+LICENSE="w3m" |
72 |
+SLOT="0" |
73 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
74 |
+IUSE="fbcon gdk-pixbuf gpm imlib l10n_ja lynxkeymap nls nntp ssl unicode X xface" |
75 |
+ |
76 |
+REQUIRED_USE=" |
77 |
+ fbcon? ( ?? ( gdk-pixbuf imlib ) ) |
78 |
+ X? ( ?? ( gdk-pixbuf imlib ) ) |
79 |
+" |
80 |
+ |
81 |
+RDEPEND=" |
82 |
+ dev-libs/boehm-gc:= |
83 |
+ sys-libs/ncurses:0= |
84 |
+ sys-libs/zlib |
85 |
+ gdk-pixbuf? ( |
86 |
+ x11-libs/gdk-pixbuf |
87 |
+ X? ( x11-libs/gdk-pixbuf-xlib ) |
88 |
+ ) |
89 |
+ !gdk-pixbuf? ( |
90 |
+ imlib? ( media-libs/imlib2[X?] ) |
91 |
+ ) |
92 |
+ gpm? ( sys-libs/gpm ) |
93 |
+ ssl? ( dev-libs/openssl:0= ) |
94 |
+ X? ( |
95 |
+ x11-base/xorg-proto |
96 |
+ x11-libs/libXdmcp |
97 |
+ x11-libs/libXext |
98 |
+ ) |
99 |
+ xface? ( media-libs/compface ) |
100 |
+" |
101 |
+DEPEND="${RDEPEND}" |
102 |
+BDEPEND=" |
103 |
+ virtual/pkgconfig |
104 |
+" |
105 |
+ |
106 |
+PATCHES=( |
107 |
+ "${FILESDIR}"/${PN}-0.5.3_p20210102-restore-gettext-macro.patch |
108 |
+ "${FILESDIR}"/${PN}-0.5.3_p20210102-fix-configure-gettext.patch |
109 |
+) |
110 |
+ |
111 |
+src_prepare() { |
112 |
+ default |
113 |
+ |
114 |
+ sed -i "/^AR=/s:ar:$(tc-getAR):" {.,${PN}img,libwc}/Makefile.in || die |
115 |
+ hprefixify acinclude.m4 |
116 |
+ |
117 |
+ AT_NOEAUTOHEADER="yes" AT_M4DIR="m4" eautoreconf |
118 |
+} |
119 |
+ |
120 |
+src_configure() { |
121 |
+ local myconf=() |
122 |
+ local image imagelib |
123 |
+ |
124 |
+ if use gdk-pixbuf ; then |
125 |
+ imagelib="gtk3" |
126 |
+ elif use imlib ; then |
127 |
+ imagelib="imlib2" |
128 |
+ fi |
129 |
+ if [[ -n "${imagelib}" ]] ; then |
130 |
+ use X && image="${image}${image:+,}x11" |
131 |
+ use fbcon && image="${image}${image:+,}fb" |
132 |
+ fi |
133 |
+ # emacs-w3m doesn't like "--enable-m17n --disable-unicode," |
134 |
+ # so we better enable or disable both. Default to enable |
135 |
+ # m17n and unicode, see bug #47046. |
136 |
+ if use l10n_ja ; then |
137 |
+ myconf+=( --enable-japanese=$(usex unicode U E) ) |
138 |
+ else |
139 |
+ myconf+=( --with-charset=$(usex unicode UTF-8 US-ASCII) ) |
140 |
+ fi |
141 |
+ # lynxkeymap IUSE flag. bug #49397 |
142 |
+ myconf+=( --enable-keymap=$(usex lynxkeymap lynx ${PN}) ) |
143 |
+ |
144 |
+ econf \ |
145 |
+ $(use_enable gpm mouse) \ |
146 |
+ $(use_enable nls) \ |
147 |
+ $(use_enable nntp) \ |
148 |
+ $(use_enable ssl digest-auth) \ |
149 |
+ $(use_enable xface) \ |
150 |
+ $(use_with ssl) \ |
151 |
+ --enable-image=${image:-no} \ |
152 |
+ --enable-m17n \ |
153 |
+ --enable-unicode \ |
154 |
+ --with-browser="${EPREFIX}/usr/bin/xdg-open" \ |
155 |
+ --with-editor="${EPREFIX}/usr/bin/vi" \ |
156 |
+ --with-imagelib="${imagelib:-no}" \ |
157 |
+ --with-mailer="${EPREFIX}/bin/mail" \ |
158 |
+ --without-migemo \ |
159 |
+ --with-termlib=yes \ |
160 |
+ "${myconf[@]}" |
161 |
+} |
162 |
+ |
163 |
+src_install() { |
164 |
+ default |
165 |
+ |
166 |
+ insinto /etc/${PN} |
167 |
+ newins "${FILESDIR}"/${PN}.mailcap mailcap |
168 |
+ |
169 |
+ insinto /usr/share/${PN}/Bonus |
170 |
+ doins Bonus/{*.{cgi,rb},html*,makeref} |
171 |
+ |
172 |
+ docinto en |
173 |
+ dodoc doc/{HISTORY,README,keymap,menu}* |
174 |
+ newdoc Bonus/README.eng README.Bonus |
175 |
+ docinto html/en |
176 |
+ dodoc doc/*.html |
177 |
+ |
178 |
+ docinto de |
179 |
+ dodoc doc-de/README* |
180 |
+ docinto html/de |
181 |
+ dodoc doc-de/*.html |
182 |
+ |
183 |
+ docinto ja |
184 |
+ dodoc doc-jp/{HISTORY,README,keymap,menu}* |
185 |
+ newdoc Bonus/README README.Bonus |
186 |
+ docinto html/ja |
187 |
+ dodoc doc-jp/*.html |
188 |
+} |