summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-03-11 17:24:38 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-03-11 17:24:38 +0000
commitb0caaad7a40947b67568d5b9c2ef3515ee1ed87d (patch)
tree839f1adef88051c9c5394b6af941e925febf132a
parentclean up (diff)
downloadgentoo-2-b0caaad7a40947b67568d5b9c2ef3515ee1ed87d.tar.gz
gentoo-2-b0caaad7a40947b67568d5b9c2ef3515ee1ed87d.tar.bz2
gentoo-2-b0caaad7a40947b67568d5b9c2ef3515ee1ed87d.zip
clean up
(Portage version: 2.1.4.4)
-rw-r--r--app-editors/jed/ChangeLog8
-rw-r--r--app-editors/jed/files/jed-0.99.16-darwin.patch12
-rw-r--r--app-editors/jed/files/jed-0.99.16-gentoo-shmode.sl63
-rw-r--r--app-editors/jed/files/jed-0.99.16-jed.info.patch46
-rw-r--r--app-editors/jed/files/jed.info.diff15
-rw-r--r--app-editors/jed/jed-0.99.16-r2.ebuild96
6 files changed, 7 insertions, 233 deletions
diff --git a/app-editors/jed/ChangeLog b/app-editors/jed/ChangeLog
index 00f5166451a8..47d4d7a3276f 100644
--- a/app-editors/jed/ChangeLog
+++ b/app-editors/jed/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/jed
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jed/ChangeLog,v 1.49 2008/03/11 15:35:50 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jed/ChangeLog,v 1.50 2008/03/11 17:24:38 opfer Exp $
+
+ 11 Mar 2008; Christian Faulhammer <opfer@gentoo.org>
+ -files/jed-0.99.16-darwin.patch, -files/jed-0.99.16-gentoo-shmode.sl,
+ -files/jed-0.99.16-jed.info.patch, -files/jed.info.diff,
+ -jed-0.99.16-r2.ebuild:
+ clean up
11 Mar 2008; Brent Baude <ranger@gentoo.org> jed-0.99.18.ebuild:
stable ppc64, bug 211991
diff --git a/app-editors/jed/files/jed-0.99.16-darwin.patch b/app-editors/jed/files/jed-0.99.16-darwin.patch
deleted file mode 100644
index f77486ae8aa1..000000000000
--- a/app-editors/jed/files/jed-0.99.16-darwin.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur jed-0.99-16/src/pty.c jed-0.99-16-patched/src/pty.c
---- jed-0.99-16/src/pty.c 2002-10-20 14:55:31.000000000 +0800
-+++ jed-0.99-16-patched/src/pty.c 2005-08-16 21:48:28.000000000 +0800
-@@ -18,7 +18,7 @@
-
- #include <errno.h>
-
--#if !defined (__linux__) && !defined(__CYGWIN__) && defined(HAVE_GRANTPT)
-+#if !defined (__linux__) && !defined(__MACH__) && !defined(__CYGWIN__) && defined(HAVE_GRANTPT)
- # define USE_SYSV_PTYS
- # include <sys/types.h>
- # include <stropts.h>
diff --git a/app-editors/jed/files/jed-0.99.16-gentoo-shmode.sl b/app-editors/jed/files/jed-0.99.16-gentoo-shmode.sl
deleted file mode 100644
index edeeb2c8f523..000000000000
--- a/app-editors/jed/files/jed-0.99.16-gentoo-shmode.sl
+++ /dev/null
@@ -1,63 +0,0 @@
-% This is a simple shell mode. It does not defined any form of indentation
-% style. Rather, it simply implements a highlighting scheme.
-
-$1 = "SH";
-
-create_syntax_table ($1);
-define_syntax ("#", "", '%', $1);
-define_syntax ("([{", ")]}", '(', $1);
-
-% Unfortunately, the editor cannot currently correctly deal with multiple
-% string characters. So, inorder to handle something like:
-% echo "I'd rather be home"
-% make the '"' character the actual string character but also give '\''
-% a string syntax. However, this will cause '"' to give problems but
-% usually, '"' characters will be paired.
-define_syntax ('\'', '"', $1);
-define_syntax ('"', '"', $1);
-
-define_syntax ('\\', '\\', $1);
-define_syntax ("-0-9a-zA-Z_", 'w', $1); % words
-define_syntax ("-+0-9", '0', $1); % Numbers
-define_syntax (",;:", ',', $1);
-define_syntax ("%-+/&*=<>|!~^", '+', $1);
-
-#ifdef HAS_DFA_SYNTAX
-%%% DFA_CACHE_BEGIN %%%
-static define setup_dfa_callback (name)
-{
- dfa_enable_highlight_cache ("shmode.dfa", name);
- dfa_define_highlight_rule ("\\\\.", "normal", name);
- dfa_define_highlight_rule ("#.*$", "comment", name);
- dfa_define_highlight_rule ("\"([^\\\\\"]|\\\\.)*\"", "string", name);
- dfa_define_highlight_rule ("\"([^\\\\\"]|\\\\.)*$", "string", name);
- dfa_define_highlight_rule ("'[^']*'", "string", name);
- dfa_define_highlight_rule ("'[^']*$", "string", name);
- dfa_define_highlight_rule ("[\\|&;\\(\\)<>]", "Qdelimiter", name);
- dfa_define_highlight_rule ("[\\[\\]\\*\\?]", "Qoperator", name);
- dfa_define_highlight_rule ("[^ \t\"'\\\\\\|&;\\(\\)<>\\[\\]\\*\\?]+",
- "Knormal", name);
- dfa_define_highlight_rule (".", "normal", name);
- dfa_build_highlight_table (name);
-}
-dfa_set_init_callback (&setup_dfa_callback, "SH");
-%%% DFA_CACHE_END %%%
-#endif
-
-() = define_keywords ($1, "cddofiifin", 2);
-() = define_keywords ($1, "forletpwdset", 3);
-() = define_keywords ($1, "casedoneechoelifelseesacevalexitifeqreadtestthentype", 4);
-() = define_keywords ($1, "aliasbreakendifendswifdefifneqlocalshiftumaskunsetuntilwhile", 5);
-() = define_keywords ($1, "exportifndefreturnsetenvsourceswitch", 6);
-() = define_keywords ($1, "breaksw", 7);
-() = define_keywords ($1, "continuefunction", 8);
-
-define sh_mode ()
-{
- set_mode("SH", 0);
- use_syntax_table ("SH");
- mode_set_mode_info ("SH", "fold_info", "#{{{\r#}}}\r\r");
- run_mode_hooks("sh_mode_hook");
- setkey("self_insert_cmd", "^I");
-}
-
diff --git a/app-editors/jed/files/jed-0.99.16-jed.info.patch b/app-editors/jed/files/jed-0.99.16-jed.info.patch
deleted file mode 100644
index cc68d38bce3a..000000000000
--- a/app-editors/jed/files/jed-0.99.16-jed.info.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -r -u jed-0.99-16-vanilla/info/jed.1in jed-0.99-16/info/jed.1in
---- jed-0.99-16-vanilla/info/jed.1in 2004-04-19 15:13:23.295493000 -0700
-+++ jed-0.99-16/info/jed.1in 2004-04-19 15:16:30.378052696 -0700
-@@ -1,6 +1,11 @@
- This is Info file jed.info, produced by Makeinfo-1.55 from the input
- file jed.ti.
-
-+INFO-DIR-SECTION Editors
-+START-INFO-DIR-ENTRY
-+* Jed: (jed). Console S-Lang-based editor.
-+END-INFO-DIR-ENTRY
-+
- 
- File: jed.info, Node: Top, Next: Introduction, Up: (dir)
-
-diff -r -u jed-0.99-16-vanilla/info/jed.2in jed-0.99-16/info/jed.2in
---- jed-0.99-16-vanilla/info/jed.2in 2002-10-19 23:55:30.000000000 -0700
-+++ jed-0.99-16/info/jed.2in 2004-04-19 15:16:35.540267920 -0700
-@@ -1,6 +1,12 @@
- 
- File: jed.info, Node: Tab Issues., Next: Searching, Prev: Marking Text (Point and Mark), Up: Basic Editing
-
-+INFO-DIR-SECTION Editors
-+START-INFO-DIR-ENTRY
-+* Jed: (jed). Console S-Lang-based editor.
-+END-INFO-DIR-ENTRY
-+
-+
- Tab Issues.
- -----------
-
-diff -r -u jed-0.99-16-vanilla/info/jed.3in jed-0.99-16/info/jed.3in
---- jed-0.99-16-vanilla/info/jed.3in 2002-10-19 23:55:30.000000000 -0700
-+++ jed-0.99-16/info/jed.3in 2004-04-19 15:16:44.429916488 -0700
-@@ -1,6 +1,11 @@
- This is Info file jed.info, produced by Makeinfo-1.55 from the input
- file jed.ti.
-
-+INFO-DIR-SECTION Editors
-+START-INFO-DIR-ENTRY
-+* Jed: (jed). Console S-Lang-based editor.
-+END-INFO-DIR-ENTRY
-+
- 
- File: jed.info, Node: Setting Keys, Next: Predefined Variables, Up: Customization
-
diff --git a/app-editors/jed/files/jed.info.diff b/app-editors/jed/files/jed.info.diff
deleted file mode 100644
index 2292be356020..000000000000
--- a/app-editors/jed/files/jed.info.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- jed.info.orig Thu Jan 24 00:25:56 2002
-+++ jed.info Thu Jan 24 00:30:11 2002
-@@ -1,6 +1,12 @@
- This is Info file jed.info, produced by Makeinfo-1.55 from the input
- file jed.ti.
-
-+INFO-DIR-SECTION Editors
-+START-INFO-DIR-ENTRY
-+* Jed: (jed). Console S-Lang-based editor.
-+END-INFO-DIR-ENTRY
-+
-+
- 
- Indirect:
- jed.1in: 83
diff --git a/app-editors/jed/jed-0.99.16-r2.ebuild b/app-editors/jed/jed-0.99.16-r2.ebuild
deleted file mode 100644
index 719006911237..000000000000
--- a/app-editors/jed/jed-0.99.16-r2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jed/jed-0.99.16-r2.ebuild,v 1.22 2007/10/10 06:53:13 opfer Exp $
-
-inherit eutils
-
-P0=${PN}-0.99-16
-S=${WORKDIR}/${P0}
-DESCRIPTION="Console S-Lang-based editor"
-HOMEPAGE="http://www.jedsoft.org/jed/"
-SRC_URI="ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/jed/v0.99/${P0}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE="X gpm truetype"
-
-RDEPEND="=sys-libs/slang-1.4*
- X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXrender )
- gpm? ( sys-libs/gpm )
- X? ( truetype? ( || ( x11-libs/libXft virtual/xft )
- >=media-libs/freetype-2.0 ) )"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"; epatch "${FILESDIR}/${P}-jed.info.patch"
- use userland_Darwin && "epatch ${FILESDIR}/${P}-darwin.patch"
-}
-
-src_compile() {
- export JED_ROOT=/usr/share/jed
-
- ./configure --host=${CHOST} \
- --prefix=$JED_ROOT \
- --bindir=/usr/bin \
- --mandir=/usr/share/man || die
-
- if use gpm ; then
- cd src
- sed -i -e 's/#MOUSEFLAGS/MOUSEFLAGS/' \
- -e 's/#MOUSELIB/MOUSELIB/' \
- -e 's/#GPMMOUSEO/GPMMOUSEO/' \
- -e 's/#OBJGPMMOUSEO/OBJGPMMOUSEO/' \
- Makefile
- cd "${S}"
- fi
-
- if use X && use truetype ; then
- cd src
- sed -i -e 's/#XRENDERFONTLIBS/XRENDERFONTLIBS/' Makefile
- sed -i -e 's/^CONFIG_H = config.h/xterm_C_FLAGS = `freetype-config --cflags`\nCONFIG_H = config.h/' Makefile
- sed -i -e 's/#define XJED_HAS_XRENDERFONT 0/#define XJED_HAS_XRENDERFONT 1/' jed-feat.h
- cd "${S}"
- fi
-
- make clean || die
-
- emake || die
-
- if use X ; then
- emake xjed || die
- fi
-}
-
-src_install() {
- # make install in ${S} claims everything is up-to-date,
- # so we manually cd ${S}/src before installing
- cd "${S}/src"
- make DESTDIR="${D}" install || die
-
- cd "${S}/doc"
- cp README AUTHORS
-
- cd "${S}"
- dodoc INSTALL INSTALL.unx README doc/AUTHORS doc/manual/jed.tex
-
- cd "${S}/info"
- rm info.info
- epatch "${FILESDIR}/jed.info.diff"
- cd "${S}"
-
- insinto /usr/share/info
- doins info/*
-
- insinto /etc
- doins lib/jed.conf
-
- # replace IDE mode with EMACS mode
- sed -i -e 's/\(_Jed_Default_Emulation = \).*/\1"emacs";/' "${D}/etc/jed.conf" || die "patching jed.conf failed"
-
- cd "${D}"
- rm -rf usr/share/jed/info
- # can't rm usr/share/jed/doc -- used internally by jed/xjed
-}