diff options
Diffstat (limited to 'app-misc/vifm')
-rw-r--r-- | app-misc/vifm/Manifest | 9 | ||||
-rw-r--r-- | app-misc/vifm/metadata.xml | 33 | ||||
-rw-r--r-- | app-misc/vifm/vifm-0.7.2.ebuild | 64 | ||||
-rw-r--r-- | app-misc/vifm/vifm-0.8.2.ebuild | 95 | ||||
-rw-r--r-- | app-misc/vifm/vifm-0.9.ebuild | 96 |
5 files changed, 297 insertions, 0 deletions
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest new file mode 100644 index 000000000000..5092ae0c7d0d --- /dev/null +++ b/app-misc/vifm/Manifest @@ -0,0 +1,9 @@ +DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc +DIST vifm-0.8.2.tar.bz2 892414 SHA256 8b466d766658a24d07fc2039a26fefc6a018f5653684a6035183ca79f02c211f SHA512 e2c9f84b8a24542f7153ef8a27b38ba8c251cb0ded72401f5e93fa92540d51b5c368a73147b9fa4a883dda5f880c1d8585c1b4879d46c0e00dea87eacecfdb25 WHIRLPOOL 26d5ff1249885c3be16d7ea7a09ded43498f60243aa46b5d2b8ed3e0d548b29e305943135bcc50a27cca539a5e3b9e240693b8381bdd9c45737e617641da784c +DIST vifm-0.9.tar.bz2 971539 SHA256 ab10c99d1e4c24ff8a03c20be1c202cc15874750cc47a1614e6fe4f8d816a7fd SHA512 5ae2b03e672bd9a7f95a5c59141dabac8bc7946a4e307d6a3df70bdb52e1f7665b960a3d20709c811cbfbcf76f7836d23b5edb191968e5277fb705a291ab3a9a WHIRLPOOL c8990508f817fba4ceb6ea95e04da89b601faeb4bece63a9cea187d096f0d711807f820ffae5a1269d5a5f93d53975e30e568bff6fd09595ed4b3c1394261c96 +EBUILD vifm-0.7.2.ebuild 1471 SHA256 74a95a9b715c536d0e56b5f8e705dc6bf980c7146c467cc40a7fe1d3a08858ba SHA512 97f60228c3d17c96913abc074e02f3a67687e82b2b6b961bee0d82d3bebf5079115ebca7cc3bb9d901c0291aeeb91e722f083aac8947fc86947d6259966f18f0 WHIRLPOOL 7c02db09d18dd1be836ac3b6ced711cb7569d85b6958831d0cbaff4d36a0077b43b7e4f31c2b4329b3593c4c23bf989d76567cecbc9bd74f98ae1443161f3cee +EBUILD vifm-0.8.2.ebuild 1947 SHA256 cf350e7a3e3ed481be510b69240cf7f2a85c7fad9631c92354dedac15a3a2518 SHA512 756a9958f861270ca440354f2ebfbb6fbfc76ffd10a4d5efe8c212fadab3a52c32f671d9a471f33fe22757d3c6f52d8b9f6f3e7c8eda88594212822b0fe659a5 WHIRLPOOL b18bf59dd49cfa035dfbfca7c6dcab92e6239b0f86d71d94625d484910782f154ae2b21799b53f723fc36a73357639e4db3bf48a48582118ab569b2cbacfedfa +EBUILD vifm-0.9.ebuild 1975 SHA256 76947b541eab35b4d488731742a54342796ab1cdcaac4f3cbdfc82cefeb385e0 SHA512 27e0e9f89034149970888734f2df38bb665c380777ad30d6af4b5d5307371e40db996843823314f8c2f5e5858ba1c93c2897aef8d6043fc7e967180c7f8abe2d WHIRLPOOL 2b1fcd34a624cb54487ca4a5f4bf386e67ebd8b51cbe47ad42d1d22b9ecfd736532436f8b4d613341a9ab28c4b549ff1a94c6bb357a89b63bc61f064b77d7c4a +MISC ChangeLog 4995 SHA256 5b165b74e6def89548e81a534757a1068154202b40b81ab4e9d86774bf62eaea SHA512 ef688e9e22d58219788b620f076817d446b2b4ed1c3324398a5dced7ded2a76c94be4d4ee29932658eaaee535c081059049a55b4db4903f37daafb566ecd4ca9 WHIRLPOOL fc42920fb2696daa095562b7c36a2c222aa681ff078d1d97cb5835ac80eb40d25e4eece230f4bdf6f08b5ba163656b1e0e72ab16a927760299d9cb155769a70d +MISC ChangeLog-2015 6752 SHA256 1e2ae5d0b54d899cf66508ae29596bfbf2f079689aaf354ee52509c0fe9e64c3 SHA512 1656f6b5d0a94e79e3889408c32b31e08cc1442d2f5d4cb036d7d8b893f88e5793daf01b86902d3b2d01d2e107281221056068e651c21a001ce4f07f8fa7b76f WHIRLPOOL 285435f8b494bc944513ca179b7c975e96e9f42d8410590ebefdfb68c868cf661749da6c205241741f920f39a99e97a02d0ed04a9c7c0b48f91121efd279f030 +MISC metadata.xml 1457 SHA256 1b3f5767c9cf686dbbe83eb516d8a0bedc480a73fa1e20bf70c2c694f6109c23 SHA512 ea9d05e36d616a6d9588549317307e28acfe19f66493c870dca9767027124ba1ff45369e5f413dcac5697895f854baf148ef0afc687a801157bba40ce1be5f9a WHIRLPOOL 3a597c5083576e51df4e4cb06c4d2420e72bae8b0bd65f18b735a41e0379c105b24b050a226c9b72d8706af50b31a98829cdc1c92b3ae17672b9c1363c8d5a70 diff --git a/app-misc/vifm/metadata.xml b/app-misc/vifm/metadata.xml new file mode 100644 index 000000000000..3ed17ddd9fc2 --- /dev/null +++ b/app-misc/vifm/metadata.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>nimiux@gentoo.org</email> + <name>Chema Alonso</name> + </maintainer> + <longdescription> + Vifm is a ncurses based file manager with vi like keybindings. If you + use vi, vifm gives you complete keyboard control over your files without + having to learn a new set of commands. + </longdescription> + <longdescription lang="es"> + Vifm es un gestor de ficheros basado en ncurses con definiciones de + teclas estilo vi. Si utiliza vi, vifm le ofrece un control completo + de sus ficheros utilizando el teclado si tener que aprender un nuevo + conjunto de órdenes. + </longdescription> + <use> + <flag name="compatibility">Compatibility with previous versions of vifm</flag> + <flag name="developer">Enable features of interest to developers</flag> + <flag name="extended-keys">Support for extended keys (arrows, home etc)</flag> + <flag name="gtk">Use gtk+ to determine mimetypes</flag> + <flag name="magic">Use libmagic to determine mimetypes</flag> + <flag name="vim">Install the vifm vim plugin and vim-compatible documentation</flag> + <flag name="vim-plugin">Install the vifm vim plugin</flag> + <flag name="vim-syntax">Pulls in related vim syntax scripts</flag> + <flag name="X">Add support for X11</flag> + </use> + <upstream> + <remote-id type="sourceforge">vifm</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/vifm/vifm-0.7.2.ebuild b/app-misc/vifm/vifm-0.7.2.ebuild new file mode 100644 index 000000000000..1d2fab2e4b8e --- /dev/null +++ b/app-misc/vifm/vifm-0.7.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit base + +DESCRIPTION="Console file manager with vi(m)-like keybindings" +HOMEPAGE="http://vifm.info/" +SRC_URI="mirror://sourceforge/vifm/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc s390 x86" +IUSE="+compatibility +extended-keys +magic vim-plugin vim-syntax" + +DEPEND=" + >=sys-libs/ncurses-5.7-r7 + magic? ( sys-apps/file ) +" +RDEPEND=" + ${DEPEND} + vim-plugin? ( >=app-editors/vim-7.3 ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +DOCS=( AUTHORS FAQ NEWS README TODO ) + +S="${WORKDIR}" + +src_configure() { + econf \ + $(use_enable compatibility compatibility-mode) \ + $(use_enable extended-keys) \ + $(use_with magic libmagic) +} + +src_install() { + base_src_install + + if use vim-syntax; then + local t + for t in ftdetect ftplugin syntax; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/"${t}"/"${PN}".vim + done + fi + if use vim-plugin; then + local t + for t in doc plugin; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/"${t}"/"${PN}".* + done + fi +} + +pkg_postinst() { + elog "To use vim to view the vifm help, copy /usr/share/${P}/vifm.txt" + elog " to ~/.vim/doc/ and run ':helptags ~/.vim/doc' in vim," + elog "then edit ~/.vifm/vifmrc${PV/a/} and set USE_VIM_HELP=1" + elog "" + elog "To use the vifm plugin in vim, copy /usr/share/${P}/vifm.vim to" + elog " /usr/share/vim/vimXX/" +} diff --git a/app-misc/vifm/vifm-0.8.2.ebuild b/app-misc/vifm/vifm-0.8.2.ebuild new file mode 100644 index 000000000000..7b3de5c96e58 --- /dev/null +++ b/app-misc/vifm/vifm-0.8.2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools vim-doc versionator + +DESCRIPTION="Console file manager with vi(m)-like keybindings" +HOMEPAGE="http://vifm.info/" +SRC_URI="mirror://sourceforge/vifm/${PF}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~s390 x86" +IUSE="X developer +extended-keys gtk +magic vim vim-syntax" + +DEPEND=" + >=sys-libs/ncurses-5.9-r3:0 + magic? ( sys-apps/file ) + gtk? ( x11-libs/gtk+:2 ) + X? ( x11-libs/libX11 ) +" +RDEPEND=" + ${DEPEND} + vim? ( || ( app-editors/vim app-editors/gvim ) ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +DOCS="AUTHORS FAQ NEWS README TODO" + +src_prepare() { + sed -i -e '/stat.h/a#include <sys/sysmacros.h>' "${S}/src/modes/file_info.c" \ + || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable developer) \ + $(use_enable extended-keys) \ + $(use_with magic libmagic) \ + $(use_with gtk) \ + $(use_with X X11) +} + +src_compile() { + default +} + +src_install() { + einstall + dodoc ${DOCS} + + if use vim; then + local t + for t in app plugin; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/doc/"${t}"/"${PN}"* + done + fi + + if use vim-syntax; then + local t + for t in ftdetect ftplugin syntax; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/"${t}"/"${PN}".vim + done + fi +} + +src_test() { + emake check +} + +pkg_postinst() { + if use vim; then + update_vim_helptags + + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog + elog "You don't need to copy or link any files for" + elog " the vim plugin and documentation to work anymore." + elog "If you copied any vifm files to ~/.vim/ manually" + elog " in earlier vifm versions, please delete them." + fi + elog + elog "To use vim in vifm to view the documentation" + elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp" + elog + fi +} + +pkg_postrm() { + use vim && update_vim_helptags +} diff --git a/app-misc/vifm/vifm-0.9.ebuild b/app-misc/vifm/vifm-0.9.ebuild new file mode 100644 index 000000000000..89fba18b853e --- /dev/null +++ b/app-misc/vifm/vifm-0.9.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools vim-doc versionator + +DESCRIPTION="Console file manager with vi(m)-like keybindings" +HOMEPAGE="http://vifm.info/" +SRC_URI="mirror://sourceforge/vifm/${PF}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="X developer +extended-keys gtk +magic vim vim-syntax" + +DEPEND=" + >=sys-libs/ncurses-5.9-r3:0 + magic? ( sys-apps/file ) + gtk? ( x11-libs/gtk+:2 ) + X? ( x11-libs/libX11 ) +" +RDEPEND=" + ${DEPEND} + vim? ( || ( app-editors/vim app-editors/gvim ) ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +DOCS="AUTHORS FAQ NEWS README TODO" + +src_prepare() { + sed -i -e '/stat.h/a#include <sys/sysmacros.h>' "${S}/src/modes/file_info.c" \ + || die + eapply_user + eautoreconf +} + +src_configure() { + econf \ + $(use_enable developer) \ + $(use_enable extended-keys) \ + $(use_with magic libmagic) \ + $(use_with gtk) \ + $(use_with X X11) +} + +src_compile() { + default +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ${DOCS} + + if use vim; then + local t + for t in app plugin; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/doc/"${t}"/"${PN}"* + done + fi + + if use vim-syntax; then + local t + for t in ftdetect ftplugin syntax; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/"${t}"/"${PN}".vim + done + fi +} + +src_test() { + emake check +} + +pkg_postinst() { + if use vim; then + update_vim_helptags + + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog + elog "You don't need to copy or link any files for" + elog " the vim plugin and documentation to work anymore." + elog "If you copied any vifm files to ~/.vim/ manually" + elog " in earlier vifm versions, please delete them." + fi + elog + elog "To use vim in vifm to view the documentation" + elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp" + elog + fi +} + +pkg_postrm() { + use vim && update_vim_helptags +} |