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/ng | |
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/ng')
-rw-r--r-- | app-editors/ng/Manifest | 1 | ||||
-rw-r--r-- | app-editors/ng/files/ng-1.5beta1-configure.patch | 19 | ||||
-rw-r--r-- | app-editors/ng/files/ng-1.5beta1-ncurses.patch | 12 | ||||
-rw-r--r-- | app-editors/ng/metadata.xml | 5 | ||||
-rw-r--r-- | app-editors/ng/ng-1.5_beta1-r1.ebuild | 64 | ||||
-rw-r--r-- | app-editors/ng/ng-1.5_beta1.ebuild | 62 |
6 files changed, 163 insertions, 0 deletions
diff --git a/app-editors/ng/Manifest b/app-editors/ng/Manifest new file mode 100644 index 000000000000..674042adc6b3 --- /dev/null +++ b/app-editors/ng/Manifest @@ -0,0 +1 @@ +DIST ng-1.5beta1.tar.gz 662557 SHA256 990b2ed34f2943da71af6771c0ac9a62c36857d6e6e6ad6e7dc8782860388d3c SHA512 eaf3ee067cd98aebc757def9880c5a324975e9f5d0f1db030b11853e86631bca892bf344358ca21b778f5e10ae0d2ed97553221a368326f7a4d9d41f6867abcd WHIRLPOOL 0764ac5fb4ab0f1663c5d3dc13754d1537ac5607463bcbc97d690f9743da41fc56e0deb9ab05103115667ce5e9d62d2278a43740b538b9b8e4c0edf08260d2e7 diff --git a/app-editors/ng/files/ng-1.5beta1-configure.patch b/app-editors/ng/files/ng-1.5beta1-configure.patch new file mode 100644 index 000000000000..25f383a0be2d --- /dev/null +++ b/app-editors/ng/files/ng-1.5beta1-configure.patch @@ -0,0 +1,19 @@ +diff --git a/sys/unix/configure.in b/sys/unix/configure.in +index e034edc..b62535d 100644 +--- a/sys/unix/configure.in ++++ b/sys/unix/configure.in +@@ -83,8 +83,12 @@ AC_DEFINE_UNQUOTED(RMDIR_CMD, "$rmdir_cmd") + dnl If the user wants canna support. + AC_MSG_CHECKING(if --enable-canna option specified) + AC_ARG_ENABLE(canna, +- [ --enable-canna[=DIR] Build a canna version.], +- [cv_canna="yes"; cannapath=$enableval], [cv_canna="no"]) ++ [ --enable-canna[=DIR] Build a canna version.]) ++AS_IF([test "x$enable_canna" != "xno"], [ ++ cv_canna="yes"; cannapath=$enableval ++][ ++ cv_canna="no"; ++]) + AC_MSG_RESULT($cv_canna) + if test "$cv_canna" = "yes"; then + diff --git a/app-editors/ng/files/ng-1.5beta1-ncurses.patch b/app-editors/ng/files/ng-1.5beta1-ncurses.patch new file mode 100644 index 000000000000..5395ba94ea78 --- /dev/null +++ b/app-editors/ng/files/ng-1.5beta1-ncurses.patch @@ -0,0 +1,12 @@ +--- configure.orig 2004-05-12 09:26:44.000000000 +0900 ++++ configure 2004-05-12 09:27:06.000000000 +0900 +@@ -1077,3 +1077,3 @@ + rm -f conftest* +-test "$ac_cv_search_tgetstr" = "no" && for i in curses ncurses termlib; do ++test "$ac_cv_search_tgetstr" = "no" && for i in ncurses termlib; do + LIBS="-l$i $ac_func_search_save_LIBS" +@@ -1140,3 +1140,3 @@ + rm -f conftest* +-test "$ac_cv_search_tgetstr" = "no" && for i in termcap curses ncurses; do ++test "$ac_cv_search_tgetstr" = "no" && for i in termcap ncurses; do + LIBS="-l$i $ac_func_search_save_LIBS" diff --git a/app-editors/ng/metadata.xml b/app-editors/ng/metadata.xml new file mode 100644 index 000000000000..2d5852c16c60 --- /dev/null +++ b/app-editors/ng/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +</pkgmetadata> diff --git a/app-editors/ng/ng-1.5_beta1-r1.ebuild b/app-editors/ng/ng-1.5_beta1-r1.ebuild new file mode 100644 index 000000000000..e35a9c63c123 --- /dev/null +++ b/app-editors/ng/ng-1.5_beta1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +MY_P="${P/_beta/beta}" + +DESCRIPTION="Emacs like micro editor Ng -- based on mg2a" +HOMEPAGE="http://tt.sakura.ne.jp/~amura/ng/" +SRC_URI="http://tt.sakura.ne.jp/~amura/archives/ng/${MY_P}.tar.gz" + +LICENSE="Emacs" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="canna" + +RDEPEND=">=sys-libs/ncurses-5.0 + !dev-java/nailgun + canna? ( app-i18n/canna )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4.0" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${MY_P}-ncurses.patch" + epatch "${FILESDIR}/${MY_P}-configure.patch" + sed -i -e "/NO_BACKUP/s/undef/define/" config.h || die "sed failed" + + pushd sys/unix || die + eautoconf + popd + cp sys/unix/configure . || die +} + +src_configure() { + econf $(use_enable canna) +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ng + dodoc docs/* MANIFEST dot.ng + + insinto /usr/share/ng + doins bin/* + + insinto /etc/skel + newins dot.ng .ng +} + +pkg_postinst() { + elog + elog "If you want to use user Config" + elog "cp /etc/skel/.ng ~/.ng" + elog "and edit your .ng configuration file." + elog +} diff --git a/app-editors/ng/ng-1.5_beta1.ebuild b/app-editors/ng/ng-1.5_beta1.ebuild new file mode 100644 index 000000000000..a35f2e08b706 --- /dev/null +++ b/app-editors/ng/ng-1.5_beta1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +MY_P=${P/_beta/beta} + +DESCRIPTION="Emacs like micro editor Ng -- based on mg2a" +HOMEPAGE="http://tt.sakura.ne.jp/~amura/ng/" +SRC_URI="http://tt.sakura.ne.jp/~amura/archives/ng/${MY_P}.tar.gz" + +LICENSE="Emacs" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="canna" + +RDEPEND=">=sys-libs/ncurses-5.0 + !dev-java/nailgun + canna? ( app-i18n/canna )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4.0" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${MY_P}-ncurses.patch" +} + +src_compile() { + local myconf + + if use canna; then + myconf="--enable-canna" + fi + econf ${myconf} || die + sed -i -e "s/^#undef NO_BACKUP/#define NO_BACKUP/" config.h \ + || die "sed failed" + + emake CC=$(tc-getCC) || die +} + +src_install() { + dobin ng || die + dodoc docs/* MANIFEST dot.ng + + insinto /usr/share/ng + doins bin/* + + insinto /etc/skel + newins dot.ng .ng +} + +pkg_postinst() { + elog + elog "If you want to use user Config" + elog "cp /etc/skel/.ng ~/.ng" + elog "and edit your .ng configuration file." + elog +} |