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
commitd081602c783c0348159bbbb5ebcb20dadca84b96 (patch)
treed7a69272b388e9e121ac8f132ad16fcef4e10a34 /app-misc/editor-wrapper
parentAdd missing dependency: dev-perl/Capture-Tiny (#378739) (diff)
downloadhistorical-d081602c783c0348159bbbb5ebcb20dadca84b96.tar.gz
historical-d081602c783c0348159bbbb5ebcb20dadca84b96.tar.bz2
historical-d081602c783c0348159bbbb5ebcb20dadca84b96.zip
Package moved from app-editors/gentoo-editor to app-misc/editor-wrapper.
Package-Manager: portage-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/Manifest14
-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
5 files changed, 118 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/Manifest b/app-misc/editor-wrapper/Manifest
new file mode 100644
index 000000000000..3bb336b5b036
--- /dev/null
+++ b/app-misc/editor-wrapper/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX editor-wrapper-2.sh 416 RMD160 92c36c7859dcf1900543f232653410b6fa5168bd SHA1 051a03ddabbc6934b64754f1c88ef8351f6cc0d0 SHA256 2fd601ef0fcbd2ad264b51eed1ae104f8b39c08817fca78b8196aa10f1eb642e
+EBUILD editor-wrapper-2.ebuild 548 RMD160 cc6e51071542928a87c846da922c58b86c79ac1d SHA1 1f48025dbe5c273d3107ac3bcb46d66da420bfb9 SHA256 153418ee988626704fe804cd4de81806355c51dbe270c2c86acc8ac8dfc4db83
+MISC ChangeLog 2343 RMD160 8a8ed6bfc6892fe3f6ce4d45b6c315cf035d4845 SHA1 d47cfaa7a1725d7b6caeefc0582d7dbd66e47360 SHA256 8b7fcac611f090da0f39243c13c4da88c6ba94e9c0d73f0e70e34312c54cd82e
+MISC metadata.xml 183 RMD160 de889cdf3481996341cd4cee764cf5c72704cf10 SHA1 1f469d9815709d2c9875a251b48fb3f688cb6f19 SHA256 7d020057c52803e7181c769edb0883bb918daa3a6c4d7f5097ff49f808d14089
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk5DsvYACgkQOeoy/oIi7uzwBACeOf2/0j2I6Fv3M0soAHSPvDfS
+XogAoOOaOOvZYZUFiNPqYitg5OicIwcw
+=jTbL
+-----END PGP SIGNATURE-----
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>