diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-editors/levee | |
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/levee')
-rw-r--r-- | app-editors/levee/Manifest | 1 | ||||
-rw-r--r-- | app-editors/levee/files/levee-3.4o-darwin.patch | 16 | ||||
-rw-r--r-- | app-editors/levee/files/levee-3.5-glibc210.patch | 80 | ||||
-rw-r--r-- | app-editors/levee/files/levee-3.5a-QA.patch | 16 | ||||
-rw-r--r-- | app-editors/levee/levee-3.5a.ebuild | 40 | ||||
-rw-r--r-- | app-editors/levee/metadata.xml | 7 |
6 files changed, 160 insertions, 0 deletions
diff --git a/app-editors/levee/Manifest b/app-editors/levee/Manifest new file mode 100644 index 000000000000..25101099b142 --- /dev/null +++ b/app-editors/levee/Manifest @@ -0,0 +1 @@ +DIST levee-3.5a.tar.gz 67733 SHA256 eff1c937b1079c68725c26375969a8b51109b170bc1aba9529b989e32f7b34c8 SHA512 e95b4fc6370903dda07aff0a612c7f34425ab0b854d05a08f42b7e339d1a86a436316d31f3667748943e2ce2e68be7f2369e4a3b36c0715b00d31b8ab50cdaf1 WHIRLPOOL 44346342540da79f0a6bfde0e9a289ae4b1d8e64d04865dd9156fa2c1fc4d1edc6b4ff2578b2c4f98ec684bc9471947bd26230fc437c09d660ec52d10ed5fdf4 diff --git a/app-editors/levee/files/levee-3.4o-darwin.patch b/app-editors/levee/files/levee-3.4o-darwin.patch new file mode 100644 index 000000000000..9481b1a3ade9 --- /dev/null +++ b/app-editors/levee/files/levee-3.4o-darwin.patch @@ -0,0 +1,16 @@ +--- unixcall.c.orig 2007-03-18 17:46:05 +0100 ++++ unixcall.c 2007-03-18 17:51:13 +0100 +@@ -77,6 +77,13 @@ + static int ioset = 0; + static struct termios old; + ++#if defined(__MACH__) ++# define TCGETS TIOCGETA ++# define TCSETS TIOCSETA ++# define TCGETA TIOCGETA ++# define TCSETAF TIOCSETAF ++#endif ++ + void + initcon() + { diff --git a/app-editors/levee/files/levee-3.5-glibc210.patch b/app-editors/levee/files/levee-3.5-glibc210.patch new file mode 100644 index 000000000000..51cc829cda25 --- /dev/null +++ b/app-editors/levee/files/levee-3.5-glibc210.patch @@ -0,0 +1,80 @@ +diff -NrU5 levee-3.5.original/editcor.c levee-3.5/editcor.c +--- levee-3.5.original/editcor.c 2009-07-21 22:58:18.000000000 +0000 ++++ levee-3.5/editcor.c 2009-07-21 23:07:21.000000000 +0000 +@@ -183,11 +183,11 @@ + + strcpy(scratch, "/tmp/lv.XXXXXX"); + + clrprompt(); + printch('!'); +- if ( !getline(instring) ) ++ if ( !get_line(instring) ) + return FALSE; + + if ( (tf = mkstemp(scratch)) < 0 ) { + prints("[tempfile error]"); + return FALSE; +diff -NrU5 levee-3.5.original/extern.h levee-3.5/extern.h +--- levee-3.5.original/extern.h 2009-07-21 22:58:18.000000000 +0000 ++++ levee-3.5/extern.h 2009-07-21 23:02:39.000000000 +0000 +@@ -195,11 +195,11 @@ + extern exec_type PROC editcore(); + + extern char PROC line(), peekc(), readchar(); + extern char PROC *findparse(),*makepat(); + +-extern bool PROC getline(); ++extern bool PROC get_line(); + extern bool PROC putfile(); + extern bool PROC doyank(), deletion(), putback(); + extern bool PROC pushb(),pushi(),pushmem(),uputcmd(), delete_to_undo(); + extern bool PROC ok_to_scroll(), move_to_undo(); + +diff -NrU5 levee-3.5.original/main.c levee-3.5/main.c +--- levee-3.5.original/main.c 2009-07-21 22:58:18.000000000 +0000 ++++ levee-3.5/main.c 2009-07-21 23:09:52.000000000 +0000 +@@ -251,11 +251,11 @@ + println(); + + mode=emode; + do { + prompt(FALSE,":"); +- if (getline(instring)) ++ if (get_line(instring)) + exec(instring, &mode, &noquit); + indirect = FALSE; + if (mode == E_VISUAL && zotscreen && noquit) { /*ask for more*/ + prints(" [more]"); + if ((ch=peekc()) == 13 || ch == ' ' || ch == ':') +diff -NrU5 levee-3.5.original/misc.c levee-3.5/misc.c +--- levee-3.5.original/misc.c 2009-07-21 22:58:18.000000000 +0000 ++++ levee-3.5/misc.c 2009-07-21 23:09:10.000000000 +0000 +@@ -19,11 +19,11 @@ + */ + #include "levee.h" + #include "extern.h" + + bool PROC +-getline(str) ++get_line(str) + char *str; + { + int len; + char flag; + +diff -NrU5 levee-3.5.original/move.c levee-3.5/move.c +--- levee-3.5.original/move.c 2009-07-21 22:58:18.000000000 +0000 ++++ levee-3.5/move.c 2009-07-21 23:10:26.000000000 +0000 +@@ -158,11 +158,11 @@ + case FSEARCH: + case BSEARCH: + clrprompt(); + if (cmd == PATT_FWD || cmd == PATT_BACK) { + printch(tsearch = instring[0] = chars[cmd-PATT_FWD]); +- if (!getline(&instring[1])) ++ if (!get_line(&instring[1])) + return ESCAPED; /* needs to skip later tests */ + } + else { + if (!lsearch) + return BADMOVE; diff --git a/app-editors/levee/files/levee-3.5a-QA.patch b/app-editors/levee/files/levee-3.5a-QA.patch new file mode 100644 index 000000000000..7e37c76b34ac --- /dev/null +++ b/app-editors/levee/files/levee-3.5a-QA.patch @@ -0,0 +1,16 @@ +diff -NrU5 levee-3.5a.original/configure.inc levee-3.5a/configure.inc +--- levee-3.5a.original/configure.inc 2009-08-12 19:51:26.000000000 +0000 ++++ levee-3.5a/configure.inc 2009-08-12 20:13:41.000000000 +0000 +@@ -1074,11 +1074,11 @@ + else + PROG_INSTALL="$DEST" + fi + + AC_SUB 'INSTALL' "$PROG_INSTALL" +- AC_SUB 'INSTALL_PROGRAM' "$PROG_INSTALL -s -m 755" ++ AC_SUB 'INSTALL_PROGRAM' "$PROG_INSTALL -m 755" + AC_SUB 'INSTALL_DATA' "$PROG_INSTALL -m 444" + + # finally build a little directory installer + # if mkdir -p works, use that, otherwise use install -d, + # otherwise build a script to do it by hand. diff --git a/app-editors/levee/levee-3.5a.ebuild b/app-editors/levee/levee-3.5a.ebuild new file mode 100644 index 000000000000..28f27644e20d --- /dev/null +++ b/app-editors/levee/levee-3.5a.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs eutils + +DESCRIPTION="Really tiny vi clone, for things like rescue disks" +HOMEPAGE="http://www.pell.chi.il.us/~orc/Code/" +SRC_URI="http://www.pell.chi.il.us/~orc/Code/levee/${P}.tar.gz" + +LICENSE="levee" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +DEPEND="!app-text/lv + sys-libs/ncurses" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.4o-darwin.patch + epatch "${FILESDIR}"/${P}-QA.patch + epatch "${FILESDIR}"/${PN}-3.5-glibc210.patch +} + +src_configure() { + export AC_CPP_PROG=$(tc-getCPP) + export AC_PATH=${PATH} + export AC_LIBDIR="$($(tc-getPKG_CONFIG) --libs ncurses)" + ./configure.sh --prefix="${PREFIX}"/usr || die "configure failed" +} + +src_compile() { + emake CFLAGS="${CFLAGS} -Wall -Wextra ${LDFLAGS}" CC=$(tc-getCC) +} + +src_install() { + emake PREFIX="${D}${EPREFIX}" install +} diff --git a/app-editors/levee/metadata.xml b/app-editors/levee/metadata.xml new file mode 100644 index 000000000000..d9cd2cad66c2 --- /dev/null +++ b/app-editors/levee/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> |