summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-08-29 02:59:16 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-08-29 02:59:16 +0000
commitba42c5eeabdd2c188823489cdc59a61a30d0db81 (patch)
tree2cf39203827c2e22fd67b2618bbb4db7506052c5 /dev-util/rhide
parentversion bump (diff)
downloadhistorical-ba42c5eeabdd2c188823489cdc59a61a30d0db81.tar.gz
historical-ba42c5eeabdd2c188823489cdc59a61a30d0db81.tar.bz2
historical-ba42c5eeabdd2c188823489cdc59a61a30d0db81.zip
Remove stale ebuilds.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-util/rhide')
-rw-r--r--dev-util/rhide/Manifest10
-rw-r--r--dev-util/rhide/files/digest-rhide-1.54
-rw-r--r--dev-util/rhide/files/setedit-0.5.0-fix-includes.patch10
-rw-r--r--dev-util/rhide/files/tvision-1.1.4-gcc31-filebuf.patch214
-rw-r--r--dev-util/rhide/rhide-1.5.ebuild278
5 files changed, 3 insertions, 513 deletions
diff --git a/dev-util/rhide/Manifest b/dev-util/rhide/Manifest
index 6533a59bcd2e..a37062d72d2d 100644
--- a/dev-util/rhide/Manifest
+++ b/dev-util/rhide/Manifest
@@ -5,21 +5,17 @@ MD5 82621f05d22c15020fffaf146ac43ea1 rhide-1.5.20050823.ebuild 7146
MD5 5784a2af44e325cdde5b45fc6038cc36 ChangeLog 2777
MD5 77beedd15d778a0153d122b14854718e rhide-1.5-r1.ebuild 7004
MD5 b612d343db3c54560665171eb7db245c metadata.xml 223
-MD5 d03d9a5c5628c18c347ecee81df0bda2 rhide-1.5.ebuild 6664
-MD5 e89c29aba20b5734aaa85e4156848a1d files/tvision-1.1.4-gcc31-filebuf.patch 5921
MD5 6ff94c75f70caf1f06d4fd1011c516c3 files/rhide-1.5-gcc-3.3.patch 1837
MD5 a6c2683f6390c63674a6db90d653a66e files/digest-rhide-1.5.20050823 285
MD5 5fc15112eb4dc31a46ef3e687d90279a files/digest-rhide-1.5-r1 261
MD5 c81b93769c56ac52fdc4b8a8b88a8c68 files/80rhide 27
-MD5 1db35a722b6c9793af40527e7a43c6f0 files/setedit-0.5.0-fix-includes.patch 493
MD5 8c387a4a4dba33ca685bd5adeb06cd86 files/rhide-1.5.20050823-amd64-support.patch 394
MD5 85d4b0e04b34c3c230795c9588ef044b files/rhide-1.5-rhtvision2.patch 3528
-MD5 5fc15112eb4dc31a46ef3e687d90279a files/digest-rhide-1.5 261
MD5 5a96d86d3e84dac00c7042aaa9107ee7 files/tvrc 123
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDEnjW1ZcsMnZjRyIRAsTxAJ9MYUXfKHiWHSCJ+0OOQzklQx7g8ACgsyyK
-UunhkqfUz5k/+AgEiBUjLrk=
-=2/0W
+iD8DBQFDEnp11ZcsMnZjRyIRAgXZAKCUdPIgg0RB44rOSOVTSgv4gdpR9QCeIyoi
+o/OWp39clKc0YhIUdTzC4rQ=
+=o9ee
-----END PGP SIGNATURE-----
diff --git a/dev-util/rhide/files/digest-rhide-1.5 b/dev-util/rhide/files/digest-rhide-1.5
deleted file mode 100644
index 10e40012ebac..000000000000
--- a/dev-util/rhide/files/digest-rhide-1.5
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 e9a197c729ea80a429bd9aa8107db666 rhide-1.5.tar.gz 959140
-MD5 409c52e8ec111a10f40b41a7fd198766 rhtvision-2.0.1.src.tar.gz 1168371
-MD5 81e89ab19c9b25015fb2078512e32f03 setedit-0.5.0.tar.gz 1706625
-MD5 70e4ade69a2dff2c7b9af9a4ef44798f gdb-5.3.tar.bz2 11198721
diff --git a/dev-util/rhide/files/setedit-0.5.0-fix-includes.patch b/dev-util/rhide/files/setedit-0.5.0-fix-includes.patch
deleted file mode 100644
index 868863a7ed03..000000000000
--- a/dev-util/rhide/files/setedit-0.5.0-fix-includes.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- setedit/makes/editor.mak.orig 2003-04-03 19:26:00.000000000 +0200
-+++ setedit/makes/editor.mak 2003-04-03 19:26:04.000000000 +0200
-@@ -812,7 +812,6 @@
- ../../tvision/include/tv/opstream.h\
- ../../tvision/include/tv/osclipboard.h\
- ../../tvision/include/tv/palette.h\
-- ../../tvision/include/tv/parttree.h\
- ../../tvision/include/tv/point.h ../../tvision/include/tv/program.h\
- ../../tvision/include/tv/pstream.h ../../tvision/include/tv/rect.h\
- ../../tvision/include/tv/resource.h\
diff --git a/dev-util/rhide/files/tvision-1.1.4-gcc31-filebuf.patch b/dev-util/rhide/files/tvision-1.1.4-gcc31-filebuf.patch
deleted file mode 100644
index d4aa79b708c9..000000000000
--- a/dev-util/rhide/files/tvision-1.1.4-gcc31-filebuf.patch
+++ /dev/null
@@ -1,214 +0,0 @@
---- classes/fpbase.cc Tue Oct 9 19:05:52 2001
-+++ tvision/classes/fpbase.cc Thu Jun 6 21:30:20 2002
-@@ -22,7 +22,7 @@
-
- fpbase::fpbase()
- {
-- buf=new filebuf();
-+ buf=new CLY_filebuf();
- pstream::init(buf);
- }
-
-@@ -34,7 +34,7 @@
-
- fpbase::fpbase( const char *name, CLY_OpenModeT omode, int prot )
- {
-- buf=new filebuf();
-+ buf=new CLY_filebuf();
- open(name,omode,prot);
- pstream::init(buf);
- }
-@@ -94,3 +94,50 @@
- return buf;
- }
-
-+#ifdef CLY_DefineSpecialFileBuf
-+// gcc 3.1 specific
-+CLY_filebuf *CLY_filebuf::open(FILE *f, ios_base::openmode mode)
-+{
-+ CLY_filebuf *ret=NULL;
-+ if (!this->is_open())
-+ {
-+ _M_file.sys_open(f,mode);
-+ if (this->is_open())
-+ {
-+ _M_allocate_internal_buffer();
-+ _M_mode=mode;
-+
-+ // For time being, set both (in/out) sets of pointers.
-+ _M_set_indeterminate();
-+ if ((mode & ios_base::ate) &&
-+ this->seekoff(0,ios_base::end,mode)<0)
-+ this->close();
-+ ret=this;
-+ }
-+ }
-+ return ret;
-+}
-+
-+CLY_filebuf *CLY_filebuf::open(int h, ios_base::openmode mode)
-+{
-+ CLY_filebuf *ret=NULL;
-+ if (!this->is_open())
-+ {
-+ _M_file.sys_open(h,mode,false);
-+ if (this->is_open())
-+ {
-+ _M_allocate_internal_buffer();
-+ _M_mode=mode;
-+
-+ // For time being, set both (in/out) sets of pointers.
-+ _M_set_indeterminate();
-+ if ((mode & ios_base::ate) &&
-+ this->seekoff(0,ios_base::end,mode)<0)
-+ this->close();
-+ ret=this;
-+ }
-+ }
-+ return ret;
-+}
-+#endif // CLY_DefineSpecialFileBuf
-+
---- include/tv/fpbase.h Tue Oct 9 19:06:00 2001
-+++ tvision/include/tv/fpbase.h Thu Jun 6 21:30:20 2002
-@@ -13,6 +13,11 @@
- and not a filebuf. This is much more convenient to make the code
- compilable with gcc 3.x without breaking compatibility.
-
-+SET: Added a filebuf wrapper to get access to protected members needed
-+to open associate a filebuf with a C stream/file handle. Andris proposed
-+this idea. This is needed for gcc 3.1 and we don't know how long this
-+trick will be used.
-+
- *
- *
- */
-@@ -28,6 +33,23 @@
- #if defined( Uses_fpbase ) && !defined( __fpbase )
- #define __fpbase
-
-+#ifdef CLY_DefineSpecialFileBuf
-+class CLY_filebuf: public std::filebuf
-+{
-+public:
-+ CLY_filebuf() : std::filebuf() {};
-+ CLY_filebuf(FILE *f, std::ios_base::openmode mode)
-+ { open(f,mode); };
-+ CLY_filebuf(int h, std::ios_base::openmode mode)
-+ { open(h,mode); };
-+
-+ CLY_filebuf *open(FILE *f, std::ios_base::openmode);
-+ CLY_filebuf *open(int h, std::ios_base::openmode);
-+ std::filebuf *open(const char *file, std::ios_base::openmode mode)
-+ { return std::filebuf::open(file,mode); };
-+};
-+#endif
-+
- class fpbase : virtual public pstream
- {
-
-@@ -49,7 +71,7 @@
-
- private:
-
-- CLY_std(filebuf) *buf;
-+ CLY_filebuf *buf;
-
- };
-
---- include/compatlayer.h Wed Feb 6 15:35:38 2002
-+++ tvision/include/compatlayer.h Mon Jun 24 16:54:15 2002
-@@ -117,6 +117,7 @@
- #undef DIRSEPARATOR
- #undef DIRSEPARATOR_
- #undef CLY_ISOCpp98
-+#undef CLY_filebuf
- #undef CLY_OpenModeT
- #undef CLY_StreamPosT
- #undef CLY_StreamOffT
-@@ -133,6 +134,7 @@
- #undef CreateStrStream
- #undef GetStrStream
- #undef UsingNamespaceStd
-+#undef CLY_HiddenDifferent
-
- #ifdef TVComp_GCC
- /* GNU C is supported for various OSs: */
-@@ -225,6 +231,15 @@
- library. GCC implemented it in version 3.0. BC++ implemented some
- stuff in versions like BC++ 5.5. So that's a real mess. */
- #if __GNUC__>=3
-+ // gcc 3.1 needs a special filebuf
-+ #if __GNUC_MINOR__<1
-+ #define CLY_filebuf std::filebuf
-+ #define CLY_NewFBFromFD(f) new CLY_filebuf(fdopen(f,"rb+"),ios::in|ios::out|ios::binary)
-+ #else
-+ #undef CLY_DefineSpecialFileBuf
-+ #define CLY_DefineSpecialFileBuf 1
-+ #define CLY_NewFBFromFD(f) new CLY_filebuf(f,ios::in|ios::out|ios::binary)
-+ #endif
- #define CLY_ISOCpp98 1
- #define CLY_OpenModeT std::ios::openmode
- #define CLY_StreamPosT std::streampos
-@@ -246,7 +242,9 @@
- #define CLY_StreamOffT std::streamoff
- #define CLY_IOSSeekDir std::ios::seekdir
- #define CLY_FBOpenProtDef 0
-- #define CLY_NewFBFromFD(f) new filebuf(fdopen(f,"rb+"),ios::in|ios::out|ios::binary)
-+ #ifndef CLY_NewFBFromFD
-+ #define CLY_NewFBFromFD(f) new filebuf(fdopen(f,"rb+"),ios::in|ios::out|ios::binary)
-+ #endif
- #define CLY_PubSetBuf(a,b) pubsetbuf(a,b)
- #define CLY_FBOpen(a,b,c) open(a,b)
- #define CLY_IOSBin std::ios::binary
-@@ -252,6 +266,7 @@
- #undef IOSTREAM_HEADER
- #define IOSTREAM_HEADER <iostream>
- #else
-+ #define CLY_filebuf filebuf
- #define CLY_OpenModeT int
- #define CLY_StreamPosT streampos
- #define CLY_StreamOffT streamoff
-@@ -272,7 +271,9 @@
- #define CLY_StreamOffT streamoff
- #define CLY_IOSSeekDir ios::seek_dir
- #define CLY_FBOpenProtDef filebuf::openprot
-- #define CLY_NewFBFromFD(f) new filebuf(f)
-+ #ifndef CLY_NewFBFromFD
-+ #define CLY_NewFBFromFD(f) new filebuf(f)
-+ #endif
- #define CLY_PubSetBuf(a,b) setbuf(a,b)
- #define CLY_HaveFBAttach 1
- # CLY_FBOpen(a,b,c) open(a,b,c)
-@@ -373,6 +388,7 @@
-
- /* Win32/Cygwin -- OH! */
- #ifdef TVCompf_Cygwin
-+ #define CLY_HiddenDifferent 1
- #define CLY_Have_UGID 1
- #undef FA_ARCH
- #undef FA_DIREC
-@@ -525,6 +543,7 @@
- /* Common to all UNIX systems */
- #ifdef TVOS_UNIX
- /* Filesystem */
-+ #define CLY_HiddenDifferent 1
- #define CLY_Have_UGID 1
- #undef FA_ARCH
- #undef FA_DIREC
-@@ -830,6 +849,7 @@
- #define Uses_CLY_IfStreamGetLine 1
- #endif
-
-+ #define CLY_filebuf filebuf
- #define CLY_OpenModeT int
- #define CLY_StreamPosT streampos
- #define CLY_StreamOffT streamoff
-@@ -1040,6 +1076,7 @@
- #define IfStreamGetLine(istream,buffer,size) \
- istream.getline(buffer,size)
-
-+ #define CLY_filebuf filebuf
- #define CLY_OpenModeT int
- #define CLY_StreamPosT streampos
- #define CLY_StreamOffT streamoff
diff --git a/dev-util/rhide/rhide-1.5.ebuild b/dev-util/rhide/rhide-1.5.ebuild
deleted file mode 100644
index ad2bc64020c5..000000000000
--- a/dev-util/rhide/rhide-1.5.ebuild
+++ /dev/null
@@ -1,278 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/rhide/rhide-1.5.ebuild,v 1.12 2004/07/15 00:05:16 agriffis Exp $
-
-inherit eutils
-
-#SNAPSHOT="20020825"
-TVISIONVER="2.0.1"
-SETEDITVER="0.5.0"
-SETEDIT_S="setedit"
-# RHIDE is _very_ picky about the GDB used, so dont put GDB in DEPEND
-GDBVER="5.3"
-
-DESCRIPTION="console IDE for various languages"
-HOMEPAGE="http://www.rhide.com/"
-if [ -z "${SNAPSHOT}" ]
-then
- S="${WORKDIR}/${P}"
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-else
- S="${WORKDIR}/${P/_}-${SNAPSHOT}"
- SRC_URI="http://rhide.sourceforge.net/snapshots/${P/_}-${SNAPSHOT}.tar.gz
- mirror://gentoo/${P/_}-${SNAPSHOT}.tar.gz"
-fi
-SRC_URI="${SRC_URI}
- mirror://sourceforge/tvision/rhtvision-${TVISIONVER}.src.tar.gz
- mirror://sourceforge/setedit/setedit-${SETEDITVER}.tar.gz
- mirror://gnu/gdb/gdb-${GDBVER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE="X aalib"
-
-DEPEND="virtual/libc
- >=app-text/recode-3.6
- >=dev-libs/libpcre-2.0.6
- >=app-arch/bzip2-1.0.1
- >=sys-apps/texinfo-4.1
- >=sys-devel/gettext-0.11.0
- >=dev-lang/perl-5.6
- >=sys-libs/zlib-1.1.4
- >=sys-libs/gpm-1.20.0
- >=sys-libs/ncurses-5.2
- aalib? ( media-libs/aalib )
- X? ( virtual/x11 )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # Get it to work with rhtvision-2.0
- epatch ${FILESDIR}/${P}-rhtvision2.patch
-
- # Update snapshot version
- if [ -n "${SNAPSHOT}" ]
- then
- perl -pi -e "s|1998-11-29|${SNAPSHOT}|" ${S}/idemain.cc
- else
- perl -pi -e "s|1998-11-29|`date +%F`|" ${S}/idemain.cc
- fi
-
- # Fix invalid "-O2" in CFLAGS and CXXFLAGS
- for x in configure $(find . -name '*.mak') $(find . -name 'makefile.src')
- do
- [ -f "${x}" ] && perl -pi -e 's:-O2::g' ${x}
- done
-
- # Update setedit macro's
- for x in ${WORKDIR}/${SETEDIT_S}/cfgfiles/*
- do
- [ -f "${x}" ] && cp -f ${x} ${S}/share/setedit
- done
-
- # Hack to uncomment a needed variable
- perl -pi -e 's|//cmcUpdateCodePage|cmcUpdateCodePage|' \
- ${WORKDIR}/${SETEDIT_S}/include/ced_coma.h
-}
-
-src_compile() {
-
- # Most of these use a _very_ weird build systems,
- # so please no comments ;/
-
-# ************* TVision *************
-
- if [ ! -f "${WORKDIR}/.tvision" ]
- then
- cd ${WORKDIR}/tvision || die "TVision source dir do not exist!"
-
- DUMMYFLAGS=""
-
- ./configure --prefix=/usr \
- --fhs \
- --cflags='${DUMMYFLAGS}' \
- --cxxflags='${DUMMYFLAGS}' || die
-
- # Only build the static libs
- perl -pi -e 's/all: static-lib dynamic-lib/all: static-lib/' Makefile
-
- # -j breaks build
- make || die
-
- touch ${WORKDIR}/.tvision
- fi
-
-
-# ************* SetEdit *************
-
- if [ ! -f "${WORKDIR}/.setedit" ]
- then
- cd ${WORKDIR}/${SETEDIT_S} || die "SetEdit source dir do not exist!"
-
- ./configure --prefix=/usr \
- --fhs \
- --libset \
- --without-mp3 \
- `use_with aalib aa` || die
-
- # Latest texinfo breaks docs, so disable for now ...
- perl -pi -e 's/needed: internac doc-basic/needed: internac/' \
- Makefile
-
- # -j breaks build
- make || die
-
- # Make the docs
- cd ${WORKDIR}/${SETEDIT_S}/doc
-# make || die
-
- touch ${WORKDIR}/.setedit
- fi
-
-
-# ************* RHIDE ***************
-
- cd ${S}
-
- addpredict "/usr/share/rhide"
-
- export RHIDESRC="${S}"
- export SETSRC="${WORKDIR}/${SETEDIT_S}"
- export SETOBJ="${WORKDIR}/${SETEDIT_S}/makes"
- export TVSRC="${WORKDIR}/tvision"
- export TVOBJ="${WORKDIR}/tvision/linux"
- export GDB_SRC="${WORKDIR}/gdb-${GDBVER}"
-
- #
- # *** DETECT X11 with tvision-2.0 ***
- #
- # None of these packages have any way to specify X11 support,
- # thus we check if tvision compiled with X11 support or not.
- #
- # If it did compile with X11 support, we need to get rhide to link
- # against libX11 ...
- #
- local have_x11="$(gawk '/HAVE_X11/ { if (/yes/) print "Yes" }' \
- ${WORKDIR}/tvision/configure.cache)"
-
- if [ ! -f "${WORKDIR}/.rhide-configured" ]
- then
- econf || die
-
- if [ "${have_x11}" = "Yes" ]
- then
- einfo "Compiling with X11 support..."
- perl -pi -e 's|LDFLAGS= |LDFLAGS= -L/usr/X11R6/lib -lXmu|' \
- ${S}/config.env
-
- touch ${WORKDIR}/.tvision-with-X11
- else
- einfo "Compiling without X11 support..."
- fi
-
- touch "${WORKDIR}/.rhide-configured"
- fi
-
- # -j breaks build
- make prefix=/usr \
- install_docdir=share/doc/${PF} \
- install_infodir=share/info \
- LDFLAGS="${LDFLAGS} ${myLDFLAGS}" || die
-
- # Update and Fix DIR entry in .info files
- cd ${S}/share/setedit/
- if [ -f "${WORKDIR}/${SETEDIT_S}/doc/editor.inf" ]
- then
- sed -e 's:editor.inf:setedit.info:g' \
- ${WORKDIR}/${SETEDIT_S}/doc/editor.inf > setedit.inf
- fi
- if [ -f "${WORKDIR}/${SETEDIT_S}/doc/infeng.inf" ]
- then
- sed -e 's:infeng.inf:infview.info:g' \
- ${WORKDIR}/${SETEDIT_S}/doc/infeng.inf > infview.inf
- fi
- cd ${S}
-}
-
-src_install() {
-
- # Dont error out on sandbox violations. I should really
- # try to track this down, but its a bit tougher than usually.
- addpredict "/:/usr/share/rhide:/libide:/libtvuti:/librhuti"
-
- make prefix=${D}/usr \
- install_docdir=share/doc/${PF} \
- install_infodir=share/info \
- install || die
-
- # Install default CFG file and fix the paths
- cd ${D}/usr/share/rhide
- sed -e 's:/usr/local/share:/usr/share:g' \
- rhide_.env >rhide.env
- echo 'INFOPATH=/usr/share/info' >> rhide.env
-
- # Install sample TVision config file
- insinto /etc
- doins ${FILESDIR}/tvrc
-
- # Install env file
- insinto /etc/env.d
- doins ${FILESDIR}/80rhide
-
- # We only need the Eterm stuff if TVision was not compiled
- # with X11 support ...
- if [ ! -f "${WORKDIR}/.tvision-with-X11" ]
- then
- # Install the terminfo file
- tic -o ${D}/usr/share/terminfo \
- ${WORKDIR}/tvision/extra/eterm/xterm-eterm-tv
- insinto /usr/share/Eterm/themes/Setedit
-
- dosed 's:Eterm --title:Eterm --theme Setedit --title:' /usr/bin/rhidex
- dosed 's:Eterm --title:Eterm --theme Setedit --title:' /usr/bin/rhgdbx
-
- # Install the Eterm theme
- for x in ${WORKDIR}/tvision/extra/eterm/Setedit/*
- do
- [ -f "${x}" ] && doins ${x}
- done
- else
- rm -f ${D}/usr/bin/{rhide,rhgdb}x
- fi
-
- # Fix .info files
- for x in ${D}/usr/share/info/*.inf
- do
- [ -f "${x}" ] && mv -f ${x} ${x}o
- done
-
- # Install the manpages
- for x in ${WORKDIR}/${SETEDIT_S}/doc/*.1
- do
- [ -f "${x}" ] && doman ${x}
- done
-
- cd ${S}
- dodoc todo
- cd ${WORKDIR}/tvision
- docinto tvision
- dodoc THANKS TODO borland.txt change.log change1.log readme.txt doc/*.txt
- cd ${WORKDIR}/${SETEDIT_S}
- docinto setedit
- dodoc README TODO change.log change0.log copying.*
-}
-
-pkg_postinst() {
- if [ -x "${ROOT}/usr/bin/rhidex" ]
- then
- echo
- einfo "You might consider installing Eterm to be able to use the rhidex"
- einfo "version of RHIDE that have better keyboard support under X:"
- echo
- einfo " # emerge eterm"
- echo
- fi
-}