summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-08-11 10:40:41 +0000
committerUlrich Müller <ulm@gentoo.org>2011-08-11 10:40:41 +0000
commit6c29c8e7928eb138f5e66a201505adc3f9e6a7bd (patch)
tree112e04880c5fe68f123be55c3e470d5a7d6aef67 /app-misc/editor-wrapper
parentAdd missing dependency: dev-perl/Capture-Tiny (#378739) (diff)
downloadgentoo-2-6c29c8e7928eb138f5e66a201505adc3f9e6a7bd.tar.gz
gentoo-2-6c29c8e7928eb138f5e66a201505adc3f9e6a7bd.tar.bz2
gentoo-2-6c29c8e7928eb138f5e66a201505adc3f9e6a7bd.zip
Package moved from app-editors/gentoo-editor to app-misc/editor-wrapper.
(Portage version: 2.1.10.10/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'app-misc/editor-wrapper')
-rw-r--r--app-misc/editor-wrapper/ChangeLog64
-rw-r--r--app-misc/editor-wrapper/editor-wrapper-2.ebuild17
-rw-r--r--app-misc/editor-wrapper/files/editor-wrapper-2.sh17
-rw-r--r--app-misc/editor-wrapper/metadata.xml6
4 files changed, 104 insertions, 0 deletions
diff --git a/app-misc/editor-wrapper/ChangeLog b/app-misc/editor-wrapper/ChangeLog
new file mode 100644
index 000000000000..b45617e8a416
--- /dev/null
+++ b/app-misc/editor-wrapper/ChangeLog
@@ -0,0 +1,64 @@
+# ChangeLog for app-misc/editor-wrapper
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/editor-wrapper/ChangeLog,v 1.1 2011/08/11 10:40:41 ulm Exp $
+
+*editor-wrapper-2 (11 Aug 2011)
+
+ 11 Aug 2011; Ulrich Mueller <ulm@gentoo.org> +editor-wrapper-2.ebuild,
+ +files/editor-wrapper-2.sh, +metadata.xml:
+ Package moved from app-editors/gentoo-editor to app-misc/editor-wrapper.
+
+ 25 Jun 2010; Peter Volkov <pva@gentoo.org> gentoo-editor-2.ebuild:
+ ~mips keyworded, bug #293985
+
+ 25 Jun 2010; Alexis Ballier <aballier@gentoo.org> gentoo-editor-2.ebuild:
+ keyword ~sparc-fbsd
+
+ 01 Feb 2010; Markos Chandras <hwoarang@gentoo.org> gentoo-editor-2.ebuild:
+ Stable on amd64 wrt bug #301313
+
+ 26 Jan 2010; Jeroen Roovers <jer@gentoo.org> gentoo-editor-2.ebuild:
+ Stable for HPPA (bug #301313).
+
+ 23 Jan 2010; Brent Baude <ranger@gentoo.org> gentoo-editor-2.ebuild:
+ stable ppc, bug 301313
+
+ 19 Jan 2010; Raúl Porcel <armin76@gentoo.org> gentoo-editor-2.ebuild:
+ alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #301313
+
+ 19 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
+ gentoo-editor-2.ebuild:
+ stable x86, bug 301313
+
+ 18 Jan 2010; Brent Baude <ranger@gentoo.org> gentoo-editor-2.ebuild:
+ stable ppc64, bug 301313
+
+ 20 Dec 2009; Raúl Porcel <armin76@gentoo.org> gentoo-editor-2.ebuild:
+ Add ~alpha/~arm/~ia64/~m68k/~s390/~sh/~sparc wrt #293985
+
+ 09 Dec 2009; Brent Baude <ranger@gentoo.org> gentoo-editor-2.ebuild:
+ Marking gentoo-editor-2 ~ppc64 for bug 293985
+
+ 30 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> gentoo-editor-2.ebuild:
+ Keywording for ppc, bug 293985
+
+ 25 Nov 2009; Jeroen Roovers <jer@gentoo.org> gentoo-editor-2.ebuild:
+ Marked ~hppa (bug #293985).
+
+*gentoo-editor-2 (24 Nov 2009)
+
+ 24 Nov 2009; Ulrich Mueller <ulm@gentoo.org> -gentoo-editor-1.ebuild,
+ -files/gentoo-editor-1.sh, +gentoo-editor-2.ebuild,
+ +files/gentoo-editor-2.sh:
+ Pass arguments to editor transparently.
+
+ 24 Nov 2009; Alexis Ballier <aballier@gentoo.org> gentoo-editor-1.ebuild:
+ keyword ~x86-fbsd, bug #293985
+
+*gentoo-editor-1 (21 Nov 2009)
+
+ 21 Nov 2009; Ulrich Mueller <ulm@gentoo.org> +gentoo-editor-1.ebuild,
+ +files/gentoo-editor-1.sh, +metadata.xml:
+ Initial import, bug 286017. gentoo-editor script by Diego Pettenò, with
+ modifications by me.
+
diff --git a/app-misc/editor-wrapper/editor-wrapper-2.ebuild b/app-misc/editor-wrapper/editor-wrapper-2.ebuild
new file mode 100644
index 000000000000..bb342d7de7c9
--- /dev/null
+++ b/app-misc/editor-wrapper/editor-wrapper-2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/editor-wrapper/editor-wrapper-2.ebuild,v 1.1 2011/08/11 10:40:41 ulm Exp $
+
+DESCRIPTION="Wrapper script that will execute EDITOR"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+src_install() {
+ exeinto /usr/libexec
+ newexe "${FILESDIR}/${P}.sh" gentoo-editor || die
+}
diff --git a/app-misc/editor-wrapper/files/editor-wrapper-2.sh b/app-misc/editor-wrapper/files/editor-wrapper-2.sh
new file mode 100644
index 000000000000..dc8e065e0f29
--- /dev/null
+++ b/app-misc/editor-wrapper/files/editor-wrapper-2.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Copyright 2009-2011 Gentoo Foundation
+# Distributed under the terms of the MIT/X11 license
+
+# Editor wrapper script, executes ${EDITOR} with arguments $@
+
+if [ -z "${EDITOR}" ]; then
+ # Try to get EDITOR from system profile
+ EDITOR=$(. /etc/profile &>/dev/null; echo "${EDITOR}")
+fi
+
+if [ -z "${EDITOR}" ]; then
+ echo "$0: The EDITOR variable must be set" >&2
+ exit 1
+fi
+
+exec ${EDITOR} "$@"
diff --git a/app-misc/editor-wrapper/metadata.xml b/app-misc/editor-wrapper/metadata.xml
new file mode 100644
index 000000000000..83d335031da4
--- /dev/null
+++ b/app-misc/editor-wrapper/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+<herd>emacs</herd>
+</pkgmetadata>