diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-editors/ersatz-emacs | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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-editors/ersatz-emacs')
-rw-r--r-- | app-editors/ersatz-emacs/Manifest | 1 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild | 43 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch | 57 | ||||
-rw-r--r-- | app-editors/ersatz-emacs/metadata.xml | 12 |
4 files changed, 113 insertions, 0 deletions
diff --git a/app-editors/ersatz-emacs/Manifest b/app-editors/ersatz-emacs/Manifest new file mode 100644 index 000000000000..bcbfd55be3b0 --- /dev/null +++ b/app-editors/ersatz-emacs/Manifest @@ -0,0 +1 @@ +DIST ersatz-emacs-20060515.tar.gz 45581 SHA256 7585aaa0aba1232204332ecf91906e0d74da9cb33dfa2889e45bcf0f251f99a5 SHA512 c30ede63ebb44076762aa430a73c73d3fa3bcd0e3d0016162aab31347257124479f464a1003012f7418e807abfd3c613c81f5196ccf65b0cb3f939b7ad5c989d WHIRLPOOL 0c19be0c1b891abf4e09d641e56008743da7297a5d6b3fa48de14b75e5a5d1bc2e9caf53d96d995a0807e47618d091bbb1348ee781bc980f2a1a79d0f582b71d diff --git a/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild b/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild new file mode 100644 index 000000000000..a0abfc41932f --- /dev/null +++ b/app-editors/ersatz-emacs/ersatz-emacs-20060515.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A very minimal imitation of the famous GNU Emacs editor" +HOMEPAGE="http://hunter.apana.org.au/~cjb/Code/" +# taken from http://hunter.apana.org.au/~cjb/Code/ersatz.tar.gz +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="!app-editors/ee + sys-libs/ncurses" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i -e "s%/usr/local/share/%/usr/share/doc/${PF}/%" ee.1 \ + || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -Wall" \ + LFLAGS="${LDFLAGS} $("$(tc-getPKG_CONFIG)" --libs ncurses)" +} + +src_install() { + # Note: /usr/bin/ee is "easy edit" on FreeBSD, so if this + # is ever keyworded *-fbsd the binary has to be renamed. + dobin ee + doman ee.1 + dodoc ChangeLog ERSATZ.keys README +} diff --git a/app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch b/app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch new file mode 100644 index 000000000000..67c40e789241 --- /dev/null +++ b/app-editors/ersatz-emacs/files/ersatz-emacs-20060515-gentoo.patch @@ -0,0 +1,57 @@ +--- display.c ++++ display.c +@@ -5,6 +5,7 @@ + * hints that are left in the windows by the commands + */ + ++#include <stdlib.h> + #include <string.h> + #include "estruct.h" + #include "edef.h" +@@ -100,7 +101,6 @@ + void vtinit () + { + VIDEO *vp; +- char *malloc (); + int i; + + (*term.t_open) (); +--- line.c ++++ line.c +@@ -47,7 +47,6 @@ + { + LINE *lp; + int size; +- char *malloc (); + + size = (used + NBLOCK - 1) & ~(NBLOCK - 1); + if (size == 0) /* Assume that an empty */ +@@ -469,8 +468,6 @@ + */ + int kinsert (int c) + { +- char *realloc (); +- char *malloc (); + char *nbufp; + + if (kused == ksize) +--- tcap.c ++++ tcap.c +@@ -2,6 +2,7 @@ + + #define termdef 1 /* don't define "term" external */ + ++#include <stdlib.h> + #include <stdio.h> /* puts(3), snprintf(3) */ + #include "estruct.h" + #include "edef.h" +--- termio.c ++++ termio.c +@@ -5,6 +5,7 @@ + */ + + #undef CTRL ++#include <stdlib.h> + #include <termios.h> + #include <unistd.h> + #include <signal.h> diff --git a/app-editors/ersatz-emacs/metadata.xml b/app-editors/ersatz-emacs/metadata.xml new file mode 100644 index 000000000000..21a5d93d303f --- /dev/null +++ b/app-editors/ersatz-emacs/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>emacs</herd> +<longdescription> + Ersatz Emacs is a very minimal imitation of the famous GNU Emacs editor. + Unlike most popular Emacs derivatives, Ersatz strives to use as little + system resources as possible and be simple enough for the casual programmer + to understand, yet still include all the functionality required for most + text editing jobs. +</longdescription> +</pkgmetadata> |