diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-10 13:17:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-10 13:17:42 +0000 |
commit | a20d168415edfeef20ccc631f029a2791dd77c70 (patch) | |
tree | 9c99a200b31487eb5a855e26dbc1127153795780 /x11-terms | |
parent | Drop deprecated bindnow flags, bug 226979 (diff) | |
download | gentoo-2-a20d168415edfeef20ccc631f029a2791dd77c70.tar.gz gentoo-2-a20d168415edfeef20ccc631f029a2791dd77c70.tar.bz2 gentoo-2-a20d168415edfeef20ccc631f029a2791dd77c70.zip |
old
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/eterm/eterm-0.9.4-r1.ebuild | 89 | ||||
-rw-r--r-- | x11-terms/eterm/files/eterm-0.9.4-no-default-DISPLAY.patch | 25 |
2 files changed, 0 insertions, 114 deletions
diff --git a/x11-terms/eterm/eterm-0.9.4-r1.ebuild b/x11-terms/eterm/eterm-0.9.4-r1.ebuild deleted file mode 100644 index 31098aad8139..000000000000 --- a/x11-terms/eterm/eterm-0.9.4-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-0.9.4-r1.ebuild,v 1.9 2008/12/02 06:09:29 vapier Exp $ - -inherit eutils autotools - -MY_P=Eterm-${PV} - -if [[ ${PV} == "9999" ]] ; then - #ECVS_SERVER="cvs.sourceforge.net:/cvsroot/enlightenment" - ECVS_SERVER="anoncvs.enlightenment.org:/var/cvs/e" - ECVS_MODULE="eterm/Eterm" - inherit cvs -fi - -DESCRIPTION="A vt102 terminal emulator for X" -HOMEPAGE="http://www.eterm.org/" -if [[ ${PV} == "9999" ]] ; then - SRC_URI="" -else - SRC_URI="http://www.eterm.org/download/${MY_P}.tar.gz - !minimal? ( http://www.eterm.org/download/Eterm-bg-${PV}.tar.gz ) - mirror://sourceforge/eterm/${MY_P}.tar.gz - !minimal? ( mirror://sourceforge/eterm/Eterm-bg-${PV}.tar.gz )" -fi - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE="escreen minimal mmx sse2 unicode" - -DEPEND="x11-libs/libX11 - x11-libs/libXmu - x11-libs/libXt - x11-libs/libICE - x11-libs/libSM - x11-proto/xextproto - x11-proto/xproto - >=x11-libs/libast-0.6.1 - media-libs/imlib2 - escreen? ( app-misc/screen )" - -if [[ ${PV} == "9999" ]] ; then - S=${WORKDIR}/${ECVS_MODULE} -else - S=${WORKDIR}/${MY_P} -fi - -pkg_setup() { - if ! built_with_use media-libs/imlib2 X ; then - eerror "media-libs/imlib2 was built without X support." - eerror "Please add emerge it with USE=X." - die "imlib2 needs USE=X" - fi -} -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - cvs_src_unpack - cd "${S}" - eautoreconf - else - unpack ${MY_P}.tar.gz - cd "${S}" - use minimal || unpack Eterm-bg-${PV}.tar.gz - epatch "${FILESDIR}"/eterm-0.9.4-no-default-DISPLAY.patch #216833 - fi -} - -src_compile() { - export TIC="true" - econf \ - $(use_enable escreen) \ - --with-imlib \ - --enable-trans \ - $(use_enable mmx) \ - $(use_enable sse2) \ - $(use_enable unicode multi-charset) \ - --with-delete=execute \ - --with-backspace=auto \ - || die "conf failed" - emake || die "make failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - dodoc ChangeLog README ReleaseNotes - use escreen && dodoc doc/README.Escreen - dodoc bg/README.backgrounds -} diff --git a/x11-terms/eterm/files/eterm-0.9.4-no-default-DISPLAY.patch b/x11-terms/eterm/files/eterm-0.9.4-no-default-DISPLAY.patch deleted file mode 100644 index 3dc50202a0e5..000000000000 --- a/x11-terms/eterm/files/eterm-0.9.4-no-default-DISPLAY.patch +++ /dev/null @@ -1,25 +0,0 @@ -fix from upstream - -http://bugs.gentoo.org/216833 - -Index: src/startup.c -=================================================================== -RCS file: /cvs/e/eterm/Eterm/src/startup.c,v -retrieving revision 1.58 -retrieving revision 1.59 -diff -u -p -r1.58 -r1.59 ---- src/startup.c 30 Oct 2006 21:12:12 -0000 1.58 -+++ src/startup.c 16 Apr 2008 03:23:27 -0000 1.59 -@@ -96,7 +96,11 @@ eterm_bootstrap(int argc, char *argv[]) - - /* Open display, get options/resources and create the window */ - if (getenv("DISPLAY") == NULL) { -- display_name = STRDUP(":0"); -+ /* do not default to any display due to security issues -- vapier -+ * http://article.gmane.org/gmane.comp.security.oss.general/122 -+ */ -+ libast_print_error("can't open display: DISPLAY not set\n"); -+ exit(EXIT_FAILURE); - } else { - display_name = STRDUP(getenv("DISPLAY")); - } |