From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9ECF0138331 for ; Tue, 3 Apr 2018 13:32:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8987BE0BB6; Tue, 3 Apr 2018 13:32:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FE00E0BA3 for ; Tue, 3 Apr 2018 13:32:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 598CE335CF2 for ; Tue, 3 Apr 2018 13:32:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3FD5279 for ; Tue, 3 Apr 2018 13:32:46 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1522762297.68f5765e420800dce4336c637d7043a95f4c2d99.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/w3m/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/w3m/Manifest www-client/w3m/w3m-0.5.3_p20180125.ebuild X-VCS-Directories: www-client/w3m/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: 68f5765e420800dce4336c637d7043a95f4c2d99 X-VCS-Branch: master Date: Tue, 3 Apr 2018 13:32:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9e3f6fc9-1b87-47b8-bbad-997dcfb73132 X-Archives-Hash: 3d56762bac7e0928f5c6998c174cbbf7 commit: 68f5765e420800dce4336c637d7043a95f4c2d99 Author: Akinori Hattori gentoo org> AuthorDate: Tue Apr 3 13:28:58 2018 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Tue Apr 3 13:31:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f5765e www-client/w3m: new upstream release Bug: https://bugs.gentoo.org/645714 Package-Manager: Portage-2.3.24, Repoman-2.3.6 www-client/w3m/Manifest | 1 + www-client/w3m/w3m-0.5.3_p20180125.ebuild | 129 ++++++++++++++++++++++++++++++ 2 files changed, 130 insertions(+) diff --git a/www-client/w3m/Manifest b/www-client/w3m/Manifest index 6e390148ee0..8f7f3f3e054 100644 --- a/www-client/w3m/Manifest +++ b/www-client/w3m/Manifest @@ -1 +1,2 @@ +DIST w3m-0.5.3+git20180125.tar.gz 2181743 BLAKE2B d0766fa215be971ba280e4933ee9521ac4b7806f77ced5be4de58a5e28fa478e29a9102d101174f8d216cb982827b347c0fbcbfc494068d1cb8e443e73df7228 SHA512 61b8498b927569937c509460e291eeba6eb302d34ccd6e1bf4d1eb07ac73a3ac5a477161727d310324625be04b907f8c3e970382d08c9fa0846b371699f04e14 DIST w3m-0.5.3.git20161120.tar.gz 2177917 BLAKE2B 48e7d9fee00431d65e4ae486d1cf5a376542fb0655215d95455d6f0e3ba63a6dfb243a858e0bb5e745ac75713091b17fa5c5a63c91a3e837c911ef1f576ce497 SHA512 81ecf9e5d9067a82efa5464e5f9396327a6333f9e414458a972b2b7bff138bd17c490b5258e34cb1e338c7a6c0dd6105a1bfd1e0d02edfadead79caa39106a5c diff --git a/www-client/w3m/w3m-0.5.3_p20180125.ebuild b/www-client/w3m/w3m-0.5.3_p20180125.ebuild new file mode 100644 index 00000000000..55fe127f01e --- /dev/null +++ b/www-client/w3m/w3m-0.5.3_p20180125.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools prefix vcs-snapshot + +MY_P="${P/_p/+git}" +MY_PV="${PV/_p/+git}" + +DESCRIPTION="Text based WWW browser, supports tables and frames" +HOMEPAGE="https://github.com/tats/w3m" +SRC_URI="https://github.com/tats/${PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="w3m" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="X fbcon gdk-pixbuf gpm imlib l10n_de l10n_ja libressl lynxkeymap nls nntp ssl unicode xface" + +RDEPEND="dev-libs/boehm-gc:= + sys-libs/ncurses:0= + sys-libs/zlib + X? ( + x11-libs/libXdmcp + x11-libs/libXext + ) + gdk-pixbuf? ( x11-libs/gdk-pixbuf[X?] ) + !gdk-pixbuf? ( + imlib? ( media-libs/imlib2[X?] ) + ) + gpm? ( sys-libs/gpm ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + xface? ( media-libs/compface )" +DEPEND="${RDEPEND} + virtual/pkgconfig" +S="${WORKDIR}/${MY_P}" + +REQUIRED_USE="X? ( ?? ( gdk-pixbuf imlib ) ) + fbcon? ( ?? ( gdk-pixbuf imlib ) )" + +PATCHES=( "${FILESDIR}/${PN}-img-fb.patch" ) + +src_prepare() { + default + sed -i "/^AR=/s:ar:$(tc-getAR):" {.,${PN}img,libwc}/Makefile.in + hprefixify acinclude.m4 + eautoconf +} + +src_configure() { + local myconf=() + local image imagelib + + if use gdk-pixbuf; then + imagelib="gtk2" + elif use imlib; then + imagelib="imlib2" + fi + if [[ -n "${imagelib}" ]]; then + use X && image="${image}${image:+,}x11" + use fbcon && image="${image}${image:+,}fb" + fi + # emacs-w3m doesn't like "--enable-m17n --disable-unicode," + # so we better enable or disable both. Default to enable + # m17n and unicode, see bug #47046. + if use l10n_ja; then + myconf+=( --enable-japanese=$(usex unicode U E) ) + else + myconf+=( --with-charset=$(usex unicode UTF-8 US-ASCII) ) + fi + # lynxkeymap IUSE flag. bug #49397 + myconf+=( --enable-keymap=$(usex lynxkeymap lynx ${PN}) ) + + econf \ + $(use_enable gpm mouse) \ + $(use_enable nls) \ + $(use_enable nntp) \ + $(use_enable ssl digest-auth) \ + $(use_enable xface) \ + $(use_with ssl) \ + --enable-image=${image:-no} \ + --enable-m17n \ + --enable-unicode \ + --with-browser="${EPREFIX}/usr/bin/xdg-open" \ + --with-editor="${EPREFIX}/usr/bin/vi" \ + --with-imagelib="${imagelib:-no}" \ + --with-mailer="${EPREFIX}/bin/mail" \ + --without-migemo \ + --with-termlib=yes \ + "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + einstalldocs + + # http://www.sic.med.tohoku.ac.jp/~satodai/w3m-dev/200307.month/3944.html + insinto /etc/${PN} + newins "${FILESDIR}"/${PN}.mailcap mailcap + + insinto /usr/share/${PN}/Bonus + doins Bonus/{*.{cgi,rb},html*,makeref} + + docinto en + dodoc doc/{HISTORY,README,keymap,menu}* + newdoc Bonus/README.eng README.Bonus + docinto html/en + dodoc doc/*.html + if use l10n_de; then + docinto de + dodoc doc-de/README* + docinto html/de + dodoc doc-de/*.html + else + rm -rf "${ED}"/usr/share/man/de + fi + if use l10n_ja; then + docinto ja + dodoc doc-jp/{HISTORY,README,keymap,menu}* + newdoc Bonus/README README.Bonus + docinto html/ja + dodoc doc-jp/*.html + else + rm -rf "${ED}"/usr/share/man/ja + fi +}