summaryrefslogtreecommitdiff
path: root/app-misc/vifm
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/vifm
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/vifm')
-rw-r--r--app-misc/vifm/Manifest4
-rw-r--r--app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch14
-rw-r--r--app-misc/vifm/metadata.xml33
-rw-r--r--app-misc/vifm/vifm-0.7.2.ebuild65
-rw-r--r--app-misc/vifm/vifm-0.7.7.ebuild85
-rw-r--r--app-misc/vifm/vifm-0.7.8.ebuild95
-rw-r--r--app-misc/vifm/vifm-0.8.ebuild94
7 files changed, 390 insertions, 0 deletions
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest
new file mode 100644
index 00000000000..f0663e6d36d
--- /dev/null
+++ b/app-misc/vifm/Manifest
@@ -0,0 +1,4 @@
+DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc
+DIST vifm-0.7.7.tar.bz2 633812 SHA256 0dc0271c016ab2d2017bc3c2389bd2ab747603f1c05f425a8a181f5cdaacd4d1 SHA512 a95ee365a287c06515c5541ce67e609dacb8b8640f0fec5b33bd3794a8f8445fd8052e5bbd42bda0d23f9c5b5e5591978412bcea0c7ceb6ab403fa271e219455 WHIRLPOOL 8faea36324a8cf6c125996170ab87ee58f71cadea4263857d6c89593ceea54a1a2645368718d89ec31daf477bb54c3955275c68e933a5220373a620c10d2df97
+DIST vifm-0.7.8.tar.bz2 623154 SHA256 5dfbb26c2038a58dcff12026dab736e29d547b4aa3ff5912e4d844064c9e7603 SHA512 ac70055739aeee915ccf5b22bd497ff691d159d9c0aaa4d38de69db33538a5360c9cabe0678ce51f7bce26adfc5657860d071725a14adf577f263bd180fab676 WHIRLPOOL 899ee45e6ff1ee8a3aa05bed01358c0e95cfad226713597737bd0b5eef8518deefabe9f3eff9ebde91a508818d1fcc2a3bd8ade714da8e91eaf11ac314ae51dd
+DIST vifm-0.8.tar.bz2 756795 SHA256 69eb6b50dcf462f4233ff987f0b6a295df08a27bc42577ebef725bfe58dbdeeb SHA512 b4727b7a9f577eb05c4e8830849a00759cbeb35457c8fa533136a0a68124312f2bb8c5c21239fbbd34f567ddaca247ede05e48e72b890bb4f15d12adebc23210 WHIRLPOOL 78d030cc9eda292ce75656eedc3ede3e02c87522517d7b7d49f0e993dbfc438a5b5e0dcf8fed531eeb1e045f01d5418d1e7fbc84cb53da800bb54d7ab4a636d7
diff --git a/app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch b/app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch
new file mode 100644
index 00000000000..888acd41c31
--- /dev/null
+++ b/app-misc/vifm/files/vifm-0.7.8-fix-ncurses-tinfo.patch
@@ -0,0 +1,14 @@
+diff -Nuar a/configure.ac b/configure.ac
+--- a/configure.ac 2014-10-25 17:09:35.000000000 +0200
++++ b/configure.ac 2014-11-26 16:42:50.229999426 +0100
+@@ -335,7 +335,9 @@
+ if test x$vifm_cv_curses = x/usr -a -d /usr/include/${curses_lib_name}; then
+ CPPFLAGS="$CPPFLAGS -I/usr/include/${curses_lib_name}"
+ fi
+- ncurses_found=yes])
++ ncurses_found=yes]
++ AC_SEARCH_LIBS([curs_set], [tinfo],,
++ AC_MSG_ERROR(could not find a library providing curs_set)))
+ dnl If libncursesw is not found on OS X, check for libncurses. On OS X it has
+ dnl support of wide characters.
+ if test -n "$OSX_HOST" -a "x$ncurses_found" != "xyes"; then
diff --git a/app-misc/vifm/metadata.xml b/app-misc/vifm/metadata.xml
new file mode 100644
index 00000000000..6e5b5f80d1b
--- /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>
+ <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 00000000000..c3b4be3ccdd
--- /dev/null
+++ b/app-misc/vifm/vifm-0.7.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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.7.7.ebuild b/app-misc/vifm/vifm-0.7.7.ebuild
new file mode 100644
index 00000000000..06c2fbfbca5
--- /dev/null
+++ b/app-misc/vifm/vifm-0.7.7.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit base vim-doc
+
+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="X developer +extended-keys gtk +magic vim vim-syntax"
+
+DEPEND="
+ >=sys-libs/ncurses-5.7-r7
+ 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_configure() {
+ econf \
+ $(use_enable developer) \
+ $(use_enable extended-keys) \
+ $(use_with magic libmagic) \
+ $(use_with gtk) \
+ $(use_with X X11)
+}
+
+src_install() {
+ base_src_install
+
+ if use vim; then
+ local t
+ for t in doc plugin; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/"${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.7.8.ebuild b/app-misc/vifm/vifm-0.7.8.ebuild
new file mode 100644
index 00000000000..4f158045dd3
--- /dev/null
+++ b/app-misc/vifm/vifm-0.7.8.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils vim-doc
+
+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="X developer +extended-keys gtk +magic vim vim-syntax"
+
+DEPEND="
+ >=sys-libs/ncurses-5.7-r7
+ 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() {
+ epatch "${FILESDIR}/${P}-fix-ncurses-tinfo.patch"
+ 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.8.ebuild b/app-misc/vifm/vifm-0.8.ebuild
new file mode 100644
index 00000000000..01d28b9ec95
--- /dev/null
+++ b/app-misc/vifm/vifm-0.8.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools vim-doc
+
+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="X developer +extended-keys gtk +magic vim vim-syntax"
+
+DEPEND="
+ >=sys-libs/ncurses-5.7-r7
+ 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() {
+ 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
+}