diff options
Diffstat (limited to 'app-emacs/w3mnav')
-rw-r--r-- | app-emacs/w3mnav/Manifest | 6 | ||||
-rw-r--r-- | app-emacs/w3mnav/files/75w3mnav-gentoo.el | 12 | ||||
-rw-r--r-- | app-emacs/w3mnav/metadata.xml | 16 | ||||
-rw-r--r-- | app-emacs/w3mnav/w3mnav-0.5-r3.ebuild | 24 |
4 files changed, 58 insertions, 0 deletions
diff --git a/app-emacs/w3mnav/Manifest b/app-emacs/w3mnav/Manifest new file mode 100644 index 000000000000..3dc57c3213b5 --- /dev/null +++ b/app-emacs/w3mnav/Manifest @@ -0,0 +1,6 @@ +AUX 75w3mnav-gentoo.el 407 SHA256 18c45d86699dc55620b39703af9d427c0c8f4871fecee545bd6e88d9fab054a7 SHA512 03126595d1321f3716593c0db621b0b7e1297a2cf64e980eb74b002f4351a341ac9aa32db5d5badc3a5c803899b0b33ae4d4bda4ba675f88aa45e87ff5a803da WHIRLPOOL 8c297c77e172fa2cc9fa163e0bc1ae4d5698d429658a5c1446778465918e30f63c61d2dfd911af2dfdb912fb72b4adce1992aea5b2a27a1ef842ba8804f36c29 +DIST w3mnav-0.5.tar.gz 2378 SHA256 23ca6c96bd15e66c4311fd47fdc3e21671369a7e6fa7835ed6d7e895ff2f2581 SHA512 8b04d31307e6fccdfb0d5ebd9bc4c2b52d347c5c2c022ad9b3f342b4c2666858ac201e11acd7a15b77b22dbef287c0cf481119ea18443776b00e5b133431e723 WHIRLPOOL bfc79429c052df6dd5c0a13401453341c305703e648f8fdeef52495a3f42af0b80984a2de100f24dd908d6d29bd0ed00a7cfc74782531b5357b5b9e1d3159cdd +EBUILD w3mnav-0.5-r3.ebuild 558 SHA256 d7213f572d0515f95cb8b37e5822baba3b63ee06707da20498f74fd85dc5a01b SHA512 a60738fafd08b5bbed0903645320ddc8f8ff11efcf0515797f6e640b1e789fc3e709c184274aba7ad5f252960327874c34a63b5f68e6db2571001621189824d2 WHIRLPOOL 59fad7e1024c3349323289c46b2212ba199a63feb0b5971e267b3d2e23269f0155eb6d1a7d01291c9e543e6a124ba3ffcbd1009b2770af1fc0b3a0e7e293e3b1 +MISC ChangeLog 2341 SHA256 af6e09f7bcb6e48580d808ae5174ee921c1e9c7b065558d6363126195461b71b SHA512 ddf21fac5f47c94b15c4db4e4f7057446142a1afb5578499ecdd4b8e6fc7b6c2e458add57fda541c20d89a7187a9c5d7198be342855fb5926f4737199d948b34 WHIRLPOOL e63e12ad21248eb62df4bcb4b5c97642ac9ebdfb561a7b6ab30710be12d3068bc176810009abe070e422dd697ef6a1e7a802edbcd5e1450943cec00d851da45e +MISC ChangeLog-2015 2063 SHA256 ffe676ce9ca666f83cafad55048ed57143b47d354151029a1bec7517d061d4e6 SHA512 6b14dbd64adfc7b926e7b8c9d9bed55931b6cb1cd3245b50bd7f8c9bbc87700a9b150a9b7671c0bcb3f9cd75fbec152800da7fc4150481ca25c3a89bddd26d81 WHIRLPOOL a5684bb7b4789967735b73dd6f021c98c8f705d4d751d1f030e5b3d8c840108d6ad26943e60b2bc0418d04d331e5b8ac069609f5b7372b451eba6f14a33c8a60 +MISC metadata.xml 684 SHA256 23a9d650cc1a49c6f53d7df1c91aa4f3091208e447376eb5d38b550b16dfce5f SHA512 c91201b02fd86d2d818eaaf991b1bc5751ebb7de3fb4e0c65cf64e21ad37845695808b6a70bc84b1b8e96c85362da07756720bd9980b698e7792cc83f7c2912d WHIRLPOOL a99812922f62433cf90ea9f72a372d37ba4fc89b2c196ea80af6272286b845ed78aedf9ff081b2f274e4c2f5dbc38fc5e4223b89f7f45beb183169c2e3f03418 diff --git a/app-emacs/w3mnav/files/75w3mnav-gentoo.el b/app-emacs/w3mnav/files/75w3mnav-gentoo.el new file mode 100644 index 000000000000..873b58e0d3dd --- /dev/null +++ b/app-emacs/w3mnav/files/75w3mnav-gentoo.el @@ -0,0 +1,12 @@ +(add-to-list 'load-path "@SITELISP@") + +(autoload 'w3m-nav-go-top "w3mnav" nil t) +(autoload 'w3m-nav-go-prev "w3mnav" nil t) +(autoload 'w3m-nav-go-next "w3mnav" nil t) + +(add-hook 'w3m-mode-hook + (lambda () + (setq w3m-mode-map w3m-info-like-map) + (define-key w3m-mode-map "t" 'w3m-nav-go-top) + (define-key w3m-mode-map "[" 'w3m-nav-go-prev) + (define-key w3m-mode-map "]" 'w3m-nav-go-next))) diff --git a/app-emacs/w3mnav/metadata.xml b/app-emacs/w3mnav/metadata.xml new file mode 100644 index 000000000000..3d6712d0944a --- /dev/null +++ b/app-emacs/w3mnav/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<longdescription> + w3mnav.el is an Emacs add-on that kludges some Info-like navigation + keys to the w3m Web browser. This functionality was originally part + of the Scheme support package Quack, and was intended to work with + the numerous Scheme books that were converted to HTML from LaTeX + format. It also works with some other HTML pages that have book-like + "next page" and "previous page" links. +</longdescription> +</pkgmetadata> diff --git a/app-emacs/w3mnav/w3mnav-0.5-r3.ebuild b/app-emacs/w3mnav/w3mnav-0.5-r3.ebuild new file mode 100644 index 000000000000..d79f39ef371f --- /dev/null +++ b/app-emacs/w3mnav/w3mnav-0.5-r3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit elisp + +DESCRIPTION="Add Info-like navigation keys to the emacs-w3m web browser" +HOMEPAGE="http://www.neilvandyke.org/w3mnav/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="app-emacs/emacs-w3m" +RDEPEND="${DEPEND}" + +SITEFILE="75${PN}-gentoo.el" + +src_compile() { + ${EMACS} ${EMACSFLAGS} -L "${SITELISP}/emacs-w3m" \ + -f batch-byte-compile w3mnav.el || die "byte-compile failed" +} |