aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/debugedit/ChangeLog16
-rw-r--r--dev-util/debugedit/Manifest4
-rw-r--r--dev-util/debugedit/debugedit-4.4.3.ebuild27
-rw-r--r--dev-util/debugedit/files/digest-debugedit-4.4.31
-rw-r--r--dev-util/debugedit/metadata.xml7
-rw-r--r--dev-util/rhide/CVS/Entries6
-rw-r--r--dev-util/rhide/CVS/Repository1
-rw-r--r--dev-util/rhide/CVS/Root1
-rw-r--r--dev-util/rhide/ChangeLog72
-rw-r--r--dev-util/rhide/Manifest30
-rw-r--r--dev-util/rhide/files/80rhide1
-rw-r--r--dev-util/rhide/files/CVS/Entries8
-rw-r--r--dev-util/rhide/files/CVS/Repository1
-rw-r--r--dev-util/rhide/files/CVS/Root1
-rw-r--r--dev-util/rhide/files/digest-rhide-1.5-r14
-rw-r--r--dev-util/rhide/files/digest-rhide-1.5.200508234
-rw-r--r--dev-util/rhide/files/rhide-1.5-gcc-3.3.patch53
-rw-r--r--dev-util/rhide/files/rhide-1.5-rhtvision2.patch152
-rw-r--r--dev-util/rhide/files/rhide-1.5.20050823-amd64-support.patch10
-rw-r--r--dev-util/rhide/files/tvrc11
-rw-r--r--dev-util/rhide/metadata.xml9
-rw-r--r--dev-util/rhide/rhide-1.5.20050823.ebuild278
22 files changed, 697 insertions, 0 deletions
diff --git a/dev-util/debugedit/ChangeLog b/dev-util/debugedit/ChangeLog
new file mode 100644
index 0000000..efae71b
--- /dev/null
+++ b/dev-util/debugedit/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for dev-util/debugedit
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/debugedit/ChangeLog,v 1.2 2006/02/13 03:12:20 tester Exp $
+
+ 13 Feb 2006; Olivier Crête <tester@gentoo.org> debugedit-4.4.3.ebuild:
+ Mark stable on amd64
+
+*debugedit-4.4.3 (04 Jan 2006)
+
+ 04 Jan 2006; Olivier Crête <tester@gentoo.org> +metadata.xml,
+ +debugedit-4.4.3.ebuild:
+ New ebuild, debugedit is taken from the RPM distribution with the same
+ version number, it gets the list of sources files used to build a binary
+ that has debug information embedded and fixes the paths inside the stripping
+ the build directory
+
diff --git a/dev-util/debugedit/Manifest b/dev-util/debugedit/Manifest
new file mode 100644
index 0000000..e1d3900
--- /dev/null
+++ b/dev-util/debugedit/Manifest
@@ -0,0 +1,4 @@
+MD5 49fc260b767fa2349a8416122450fd18 ChangeLog 681
+MD5 97c5ecd98822255cb5a33b473e6024c6 debugedit-4.4.3.ebuild 578
+MD5 2b6e52144bcfb1ad014594cfc593f430 files/digest-debugedit-4.4.3 67
+MD5 d31a65af02ea7e1b7db91c114435fbb2 metadata.xml 155
diff --git a/dev-util/debugedit/debugedit-4.4.3.ebuild b/dev-util/debugedit/debugedit-4.4.3.ebuild
new file mode 100644
index 0000000..f8f258f
--- /dev/null
+++ b/dev-util/debugedit/debugedit-4.4.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/debugedit/debugedit-4.4.3.ebuild,v 1.2 2006/02/13 03:12:20 tester Exp $
+
+DESCRIPTION="Standalone debugedit taken from rpm"
+
+HOMEPAGE="http://www.rpm.org/"
+SRC_URI="http://dev.gentoo.org/~tester/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-libs/popt
+ dev-libs/elfutils"
+#RDEPEND=""
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin debugedit
+}
diff --git a/dev-util/debugedit/files/digest-debugedit-4.4.3 b/dev-util/debugedit/files/digest-debugedit-4.4.3
new file mode 100644
index 0000000..23f6301
--- /dev/null
+++ b/dev-util/debugedit/files/digest-debugedit-4.4.3
@@ -0,0 +1 @@
+MD5 10bdb902299d989bf7cceb9ac7121855 debugedit-4.4.3.tar.bz2 12942
diff --git a/dev-util/debugedit/metadata.xml b/dev-util/debugedit/metadata.xml
new file mode 100644
index 0000000..1170af9
--- /dev/null
+++ b/dev-util/debugedit/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pkgmetadata>
+<herd>base-system</herd>
+<maintainer>
+ <email>tester@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-util/rhide/CVS/Entries b/dev-util/rhide/CVS/Entries
new file mode 100644
index 0000000..83af8e3
--- /dev/null
+++ b/dev-util/rhide/CVS/Entries
@@ -0,0 +1,6 @@
+/rhide-1.5-r1.ebuild/1.13/Thu Jul 15 00:05:16 2004//
+D/files////
+/ChangeLog/1.15/Tue Sep 20 03:10:32 2005//
+/Manifest/1.24/Tue Sep 20 03:10:32 2005//
+/metadata.xml/1.1/Mon Aug 29 02:52:21 2005//
+/rhide-1.5.20050823.ebuild/1.1/Mon Aug 29 02:46:40 2005//
diff --git a/dev-util/rhide/CVS/Repository b/dev-util/rhide/CVS/Repository
new file mode 100644
index 0000000..70ee356
--- /dev/null
+++ b/dev-util/rhide/CVS/Repository
@@ -0,0 +1 @@
+gentoo-x86/dev-util/rhide
diff --git a/dev-util/rhide/CVS/Root b/dev-util/rhide/CVS/Root
new file mode 100644
index 0000000..c108e17
--- /dev/null
+++ b/dev-util/rhide/CVS/Root
@@ -0,0 +1 @@
+spyderous@cvs.gentoo.org:/var/cvsroot
diff --git a/dev-util/rhide/ChangeLog b/dev-util/rhide/ChangeLog
new file mode 100644
index 0000000..836cd48
--- /dev/null
+++ b/dev-util/rhide/ChangeLog
@@ -0,0 +1,72 @@
+# ChangeLog for dev-util/rhide
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/rhide/ChangeLog,v 1.15 2005/08/29 02:46:40 azarah Exp $
+
+*rhide-1.5.20050823 (29 Aug 2005)
+
+ 29 Aug 2005; Martin Schlemmer <azarah@gentoo.org>
+ +files/rhide-1.5.20050823-amd64-support.patch, +rhide-1.5.20050823.ebuild:
+ Update snapshot and do a few needed cleanups.
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> rhide-1.5-r1.ebuild,
+ rhide-1.5.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 03 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; rhide-1.5-r1.ebuild,
+ rhide-1.5.ebuild:
+ Change XFree86 references to X11.
+
+ 31 Jan 2004; Marius Mauch <genone@gentoo.org> rhide-1.5-r1.ebuild:
+ added a patch for gcc-3.3 compatibility, thanks to Jochen Eisinger
+
+ 20 Sep 2003; Marius Mauch <genone@gentoo.org> rhide-1.5-r1.ebuild:
+ added a fix for gettext-0.12, thanks to Brandy (bug 28741). Also replacesd
+ the perl calls with sed, leaving the dependency for perl atm as I'm not sure
+ if it is needed for other things as well.
+
+*rhide-1.5-r1 (03 Apr 2003)
+
+ 09 May 2003; Martin Holzer <mholzer@gentoo.org> rhide-1.5-r1.ebuild:
+ Fixed setedit source.
+
+ 03 Apr 2003; Martin Schlemmer <azarah@gentoo.org> rhide-1.5-r1 :
+ Update setedit sources to the official released ones.
+
+*rhide-1.5 (22 Mar 2003)
+
+ 09 May 2003; Martin Holzer <mholzer@gentoo.org> rhide-1.5.ebuild:
+ Fixed setedit source.
+
+ 22 Mar 2003; Martin Schlemmer <azarah@gentoo.org> rhide-1.5 :
+ New version with new hacks. I really wish these guys would try to get
+ a more sane build system. Got the beast to work with rhtvision-2.0.1
+ and setedit-0.5.0 ... although setedit's docs currently do not build
+ with texinfo-4.5. No train smach, as we still have info pages.
+
+*rhide-1.5_pre-r1 (22 Sep 2002)
+
+ 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org> rhide-1.5_pre-r1 :
+
+ Update snapshot. Patch to work with gdb-5.2.1. Patch tvision to compile
+ with gcc-3.1 and later.
+
+ 21 Aug 2002; Martin Schlemmer <azarah@gentoo.org> rhide-1.5_pre :
+
+ Install the tvision terminfo files.
+
+*rhide-1.5_pre (21 Aug 2002)
+
+ 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ New version of rhide!! This one should actually merge again :P Lots
+ of cleanups to my original ebuild.
+
+*rhide-1.4.9-r1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/dev-util/rhide/Manifest b/dev-util/rhide/Manifest
new file mode 100644
index 0000000..c753fc2
--- /dev/null
+++ b/dev-util/rhide/Manifest
@@ -0,0 +1,30 @@
+MD5 5784a2af44e325cdde5b45fc6038cc36 ChangeLog 2777
+RMD160 d30e0b7963aa6b2ab9d9ef9ab042f78f3fd6daad ChangeLog 2777
+SHA256 7cd9715f1bb4421de9e4064da6849b9f323c5bdac31b50c722a0362f9198e33d ChangeLog 2777
+MD5 c81b93769c56ac52fdc4b8a8b88a8c68 files/80rhide 27
+RMD160 592f7d77778fc74745a128779f08c4cf50dd0526 files/80rhide 27
+SHA256 05d92436263efa401a5d18106a368bc3bb68e77788ff4ca5258fef8da5f5b75c files/80rhide 27
+MD5 5fc15112eb4dc31a46ef3e687d90279a files/digest-rhide-1.5-r1 261
+RMD160 eca20bf4e905024eb5b94334a4f4830368c60e0c files/digest-rhide-1.5-r1 261
+SHA256 6f343a4005cbf5a6955a128913336065433532338a5aba04a15923eca43e0a2e files/digest-rhide-1.5-r1 261
+MD5 a6c2683f6390c63674a6db90d653a66e files/digest-rhide-1.5.20050823 285
+RMD160 5b88c7f05d72591fc9d1d46f83e1959dd7c3cde7 files/digest-rhide-1.5.20050823 285
+SHA256 7c60ebc24565e1305070ed27b2e242af45d5100af7dee30801e85ef31e7d8ffe files/digest-rhide-1.5.20050823 285
+MD5 6ff94c75f70caf1f06d4fd1011c516c3 files/rhide-1.5-gcc-3.3.patch 1837
+RMD160 92c56f8711c1628524df6a790ebc705e3384a7e7 files/rhide-1.5-gcc-3.3.patch 1837
+SHA256 76d2b8fd5ab8c79d4c43dc615c79631818ae2d15955b60eeadfc462216978da4 files/rhide-1.5-gcc-3.3.patch 1837
+MD5 85d4b0e04b34c3c230795c9588ef044b files/rhide-1.5-rhtvision2.patch 3528
+RMD160 79d8a93a675c232bb0c8f06cd7e05b8e3cd7e7fa files/rhide-1.5-rhtvision2.patch 3528
+SHA256 492ba23e00f206524608406a74dbf788fd6bbffa9021b22b60d5ab25280c72c8 files/rhide-1.5-rhtvision2.patch 3528
+MD5 8c387a4a4dba33ca685bd5adeb06cd86 files/rhide-1.5.20050823-amd64-support.patch 394
+RMD160 34d3dd7e3d743b3dd755e2a273c03bb848117564 files/rhide-1.5.20050823-amd64-support.patch 394
+SHA256 0b7fb1038e046619a062fc36749917abf119b9a59648bb1929bdec4982bf3e0c files/rhide-1.5.20050823-amd64-support.patch 394
+MD5 5a96d86d3e84dac00c7042aaa9107ee7 files/tvrc 123
+RMD160 24683f8a717bfbeb30c9c987448b1bf238f8753b files/tvrc 123
+SHA256 63e7b8a3eb7650e32b9c41843a2c652314dfaf60f1e5612ebdb12855fe6b7828 files/tvrc 123
+MD5 b612d343db3c54560665171eb7db245c metadata.xml 223
+RMD160 7af8dd320b92b8c61a58767f5221770cd236c63a metadata.xml 223
+SHA256 4b7a3ec9381367d73e7d7f56f27fcf2a703d7731c345cc88af4587743936e2f0 metadata.xml 223
+MD5 d814e79a144afe6b5f0a2e2e5ccc0048 rhide-1.5.20050823.ebuild 7147
+RMD160 ec99b4ab784a2c02f06de2d28d228e724d539bfb rhide-1.5.20050823.ebuild 7147
+SHA256 94fff564578a0f78ff5496f11c0e024a82579404850d5a91178267d94fd1a1a7 rhide-1.5.20050823.ebuild 7147
diff --git a/dev-util/rhide/files/80rhide b/dev-util/rhide/files/80rhide
new file mode 100644
index 0000000..d260622
--- /dev/null
+++ b/dev-util/rhide/files/80rhide
@@ -0,0 +1 @@
+INFOPATH="/usr/share/info"
diff --git a/dev-util/rhide/files/CVS/Entries b/dev-util/rhide/files/CVS/Entries
new file mode 100644
index 0000000..9cee330
--- /dev/null
+++ b/dev-util/rhide/files/CVS/Entries
@@ -0,0 +1,8 @@
+/80rhide/1.1/Sat Oct 27 12:53:19 2001//
+/digest-rhide-1.5-r1/1.2/Fri May 9 23:19:33 2003//
+/rhide-1.5-gcc-3.3.patch/1.1/Sat Jan 31 02:50:17 2004//
+/rhide-1.5-rhtvision2.patch/1.1/Sat Mar 22 21:52:54 2003//
+/tvrc/1.1/Sat Mar 22 21:52:54 2003//
+/digest-rhide-1.5.20050823/1.1/Mon Aug 29 02:46:40 2005//
+/rhide-1.5.20050823-amd64-support.patch/1.1/Mon Aug 29 02:46:40 2005//
+D
diff --git a/dev-util/rhide/files/CVS/Repository b/dev-util/rhide/files/CVS/Repository
new file mode 100644
index 0000000..ffef7dc
--- /dev/null
+++ b/dev-util/rhide/files/CVS/Repository
@@ -0,0 +1 @@
+gentoo-x86/dev-util/rhide/files
diff --git a/dev-util/rhide/files/CVS/Root b/dev-util/rhide/files/CVS/Root
new file mode 100644
index 0000000..c108e17
--- /dev/null
+++ b/dev-util/rhide/files/CVS/Root
@@ -0,0 +1 @@
+spyderous@cvs.gentoo.org:/var/cvsroot
diff --git a/dev-util/rhide/files/digest-rhide-1.5-r1 b/dev-util/rhide/files/digest-rhide-1.5-r1
new file mode 100644
index 0000000..10e4001
--- /dev/null
+++ b/dev-util/rhide/files/digest-rhide-1.5-r1
@@ -0,0 +1,4 @@
+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/digest-rhide-1.5.20050823 b/dev-util/rhide/files/digest-rhide-1.5.20050823
new file mode 100644
index 0000000..9cd148c
--- /dev/null
+++ b/dev-util/rhide/files/digest-rhide-1.5.20050823
@@ -0,0 +1,4 @@
+MD5 a63feb8650a1b1c472e116e30feeb3c4 rhide-1.5.20050823.tar.bz2 765258
+MD5 938319aabc91b765fd2408bfacafc5c7 tvision-2.10.20050824.tar.bz2 863122
+MD5 05a676191694ebf4ac8573e119bdb61b setedit-0.5.5.20050828.tar.bz2 1960480
+MD5 dd25473f61a3a2e1b08dee5f67ebae28 gdb-6.1.1.tar.bz2 12586670
diff --git a/dev-util/rhide/files/rhide-1.5-gcc-3.3.patch b/dev-util/rhide/files/rhide-1.5-gcc-3.3.patch
new file mode 100644
index 0000000..ba34a96
--- /dev/null
+++ b/dev-util/rhide/files/rhide-1.5-gcc-3.3.patch
@@ -0,0 +1,53 @@
+--- ./rhide-1.5/rhgdb/gdbedit.cc.orig 2004-01-23 17:44:25.000000000 +0100
++++ ./rhide-1.5/rhgdb/gdbedit.cc 2004-01-23 17:44:25.000000000 +0100
+@@ -124,8 +124,8 @@
+
+ TGDBEditWindow::TGDBEditWindow(const TRect & bounds,
+ const char *fileName, int aNumber):
+-TCEditWindow(bounds, (const char *) NULL, aNumber),
+-TWindowInit(&TGDBEditWindow::initFrame)
++TWindowInit(&TGDBEditWindow::initFrame),
++TCEditWindow(bounds, (const char *) NULL, aNumber)
+ {
+ TRect r(editor->origin.x, editor->origin.y,
+ editor->origin.x + editor->size.x,
+--- ./rhide-1.5/rhgdb/main.cc.orig 2004-01-23 17:44:25.000000000 +0100
++++ ./rhide-1.5/rhgdb/main.cc 2004-01-23 17:44:25.000000000 +0100
+@@ -172,9 +172,9 @@
+ }
+
+ RHGDBApp::RHGDBApp():
+-TApplication(),
+ TProgInit(RHGDBApp::initStatusLine,
+- RHGDBApp::initMenuBar, RHGDBApp::initDeskTop)
++ RHGDBApp::initMenuBar, RHGDBApp::initDeskTop),
++TApplication()
+ {
+ }
+
+--- ./rhide-1.5/rhgdb/options.cc.orig 2004-01-23 17:44:25.000000000 +0100
++++ ./rhide-1.5/rhgdb/options.cc 2004-01-23 17:44:25.000000000 +0100
+@@ -38,8 +38,8 @@
+ };
+
+ TEnvironmentDialog::TEnvironmentDialog():
+-TDialog(TRect(0, 0, 65, 17), _("Environment options")),
+-TWindowInit(TEnvironmentDialog::initFrame)
++TWindowInit(TEnvironmentDialog::initFrame),
++TDialog(TRect(0, 0, 65, 17), _("Environment options"))
+ {
+ TRect
+ r;
+--- ./tvision/include/tv/filedlg.h.orig 2004-01-23 17:44:25.000000000 +0100
++++ ./tvision/include/tv/filedlg.h 2004-01-23 17:44:25.000000000 +0100
+@@ -70,8 +70,8 @@
+
+ protected:
+
+- TFileDialog( StreamableInit ) : TDialog ( streamableInit ),
+- TWindowInit( &TFileDialog::initFrame ) {}
++ TFileDialog( StreamableInit ) :
++ TWindowInit( &TFileDialog::initFrame ),TDialog ( streamableInit ) {}
+ virtual void write( opstream& );
+ virtual void *read( ipstream& );
+
diff --git a/dev-util/rhide/files/rhide-1.5-rhtvision2.patch b/dev-util/rhide/files/rhide-1.5-rhtvision2.patch
new file mode 100644
index 0000000..ef032bc
--- /dev/null
+++ b/dev-util/rhide/files/rhide-1.5-rhtvision2.patch
@@ -0,0 +1,152 @@
+--- rhide-1.5/idemain.cc.orig 2003-03-22 11:25:11.000000000 +0200
++++ rhide-1.5/idemain.cc 2003-03-22 11:48:47.000000000 +0200
+@@ -114,6 +114,10 @@
+
+ #include <edhists.h>
+
++#if TV_MAJOR_VERSION==2
++#define dual_display TScreen::dual_display
++#endif
++
+ void SaveScreen();
+ void RestoreScreen();
+ static int keep_temp_dir = 0;
+@@ -1727,7 +1731,11 @@
+ TMouse::suspend();
+ update_flag = 0;
+ #ifdef __linux__
++# if TV_MAJOR_VERSION==2
++ TScreen::suspend();
++# else
+ RestoreScreen();
++# endif
+ #else
+ TScreen::suspend();
+ #endif
+@@ -1932,7 +1940,11 @@
+ char *_rhide_opt = expand_rhide_spec("$(RHIDEOPT)");
+ char *rhide_opt = NULL;
+
++#if TV_MAJOR_VERSION==2
++ TGKey::SetKbdMapping(TGKey::dosUseDirect);
++#else
+ TGKey::useBIOS = 0;
++#endif
+
+ if (*_rhide_opt)
+ {
+@@ -1977,9 +1989,11 @@
+ break;
+ case 'H':
+ #ifdef __linux__
++# if TV_MAJOR_VERSION<2
+ extern int install_console_sigs;
+
+ install_console_sigs = 0;
++# endif
+ #endif
+ break;
+ case 'S':
+@@ -2001,7 +2015,11 @@
+ #endif
+ break;
+ case 'K':
++#if TV_MAJOR_VERSION==2
++ TGKey::SetKbdMapping(TGKey::dosUseBIOS);
++#else
+ TGKey::useBIOS = 1;
++#endif
+ break;
+ case 'G':
+ arg = next_option(rhide_opt, rhide_opt_end, i, argc, argv);
+@@ -2014,7 +2032,11 @@
+ #endif
+ break;
+ case 'p':
++#if TV_MAJOR_VERSION==2
++ //#warning Fix me!
++#else
+ TGKey::translateKeyPad = 0;
++#endif
+ break;
+ case 'k':
+ arg = next_option(rhide_opt, rhide_opt_end, i, argc, argv);
+--- rhide-1.5/idedebug.cc.orig 2003-03-22 11:30:58.000000000 +0200
++++ rhide-1.5/idedebug.cc 2003-03-22 11:31:40.000000000 +0200
+@@ -49,6 +49,10 @@
+ #define Uses_TDataWindow
+ #include <libtvgdb.h>
+
++#if TV_MAJOR_VERSION==2
++#define dual_display TScreen::dual_display
++#endif
++
+ static void RemoveSessionTempFiles(void);
+
+ TDisassemblerWindow *dis_win;
+--- rhide-1.5/ideprj.cc.orig 2003-03-22 11:46:13.000000000 +0200
++++ rhide-1.5/ideprj.cc 2003-03-22 11:51:51.000000000 +0200
+@@ -316,18 +316,22 @@
+ }
+
+ /* They are in tscreen.cc */
++#if TV_MAJOR_VERSION<2
+ void setBlinkState(void);
+ void setIntenseState(void);
++#endif
+
+ void
+ SetProjectScreenMode()
+ {
+ if (TScreen::screenMode != Project.screen_mode)
+ TProgram::application->setScreenMode(Project.screen_mode);
++#if TV_MAJOR_VERSION<2
+ if (IntenseMode)
+ setIntenseState();
+ else
+ setBlinkState();
++#endif
+ }
+
+ static void
+--- rhide-1.5/rhgdb/main.cc.orig 2003-03-22 11:52:54.000000000 +0200
++++ rhide-1.5/rhgdb/main.cc 2003-03-22 11:57:24.000000000 +0200
+@@ -62,6 +62,10 @@
+ #include "rhgdb.h"
+
+
++#if TV_MAJOR_VERSION==2
++#define dual_display TScreen::dual_display
++#endif
++
+ extern int RunProgram(const char *cmd,
+ Boolean redir_stderr, Boolean redir_stdout,
+
+@@ -589,7 +593,7 @@
+ case cmUserScreen:
+ {
+ TMouse::suspend();
+-#if 0
++#if TV_MAJOR_VERSION==2
+ TScreen::suspend();
+ #else
+ RestoreScreen();
+@@ -790,12 +794,18 @@
+ use_dual_display = 1;
+ break;
+ case 'M':
++#if TV_MAJOR_VERSION<2
+ extern int use_mouse_handler;
+
+ use_mouse_handler = 0;
++#endif
+ break;
+ case 'K':
++#if TV_MAJOR_VERSION==2
++ TGKey::SetKbdMapping(TGKey::dosUseBIOS);
++#else
+ TGKey::useBIOS = 1;
++#endif
+ break;
+ case 'G':
+ // extern int screen_saving;
diff --git a/dev-util/rhide/files/rhide-1.5.20050823-amd64-support.patch b/dev-util/rhide/files/rhide-1.5.20050823-amd64-support.patch
new file mode 100644
index 0000000..6a35a96
--- /dev/null
+++ b/dev-util/rhide/files/rhide-1.5.20050823-amd64-support.patch
@@ -0,0 +1,10 @@
+--- rhide-1.5.20050823/configure.in 2005-08-29 02:34:53.000000000 +0200
++++ rhide-1.5.20050823.az/configure.in 2005-08-29 02:35:51.000000000 +0200
+@@ -8,6 +8,7 @@
+
+ case "$host" in
+ i?86-*-linux*) rhide_OS=Linux ;;
++ x86_64-*-linux*) rhide_OS=Linux ;;
+ i?86-pc-msdosdjgpp) rhide_OS=DJGPP ;;
+ *-pc-cygwin) rhide_OS=CYGWIN ;;
+ *) AC_MSG_ERROR([$host is not supported (yet). Sorry.]) ;;
diff --git a/dev-util/rhide/files/tvrc b/dev-util/rhide/files/tvrc
new file mode 100644
index 0000000..76c1d0b
--- /dev/null
+++ b/dev-util/rhide/files/tvrc
@@ -0,0 +1,11 @@
+[TV]
+{
+ [Linux]
+ {
+ # Force 'PC 437 ASCII extended' codepage, else
+ # console looks crap
+# AppCP=437
+# ScrCP=437
+ }
+}
+
diff --git a/dev-util/rhide/metadata.xml b/dev-util/rhide/metadata.xml
new file mode 100644
index 0000000..7fdfe10
--- /dev/null
+++ b/dev-util/rhide/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>azarah@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-util/rhide/rhide-1.5.20050823.ebuild b/dev-util/rhide/rhide-1.5.20050823.ebuild
new file mode 100644
index 0000000..e161b7b
--- /dev/null
+++ b/dev-util/rhide/rhide-1.5.20050823.ebuild
@@ -0,0 +1,278 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/rhide/rhide-1.5.20050823.ebuild,v 1.1 2005/08/29 02:46:40 azarah Exp $
+
+inherit eutils multilib toolchain-funcs
+
+SNAPSHOT="20050823"
+TVISIONVER="2.10.20050824"
+SETEDITVER="0.5.5.20050828"
+# RHIDE is _very_ picky about the GDB used, so dont put GDB in DEPEND
+GDBVER="6.1.1"
+
+# Used when you do not want to link TVision against X11, but do
+# want to use RHIDE inside of X ...
+ETERM_HACK="no"
+
+DESCRIPTION="Console IDE for various languages"
+HOMEPAGE="http://www.rhide.com/"
+if [ -z "${SNAPSHOT}" ]
+then
+ SRC_URI="http://rhide.sourceforge.net/snapshots/${P}.tar.gz
+ mirror://sourceforge/${PN}/${P}.tar.gz"
+else
+ SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~azarah/rhide/${P}.tar.bz2"
+ #http://rhide.sourceforge.net/snapshots/${P/_}-${SNAPSHOT}.tar.gz
+fi
+SRC_URI="${SRC_URI}
+ mirror://gentoo/tvision-${TVISIONVER}.tar.bz2
+ http://dev.gentoo.org/~azarah/rhide/tvision-${TVISIONVER}.tar.bz2
+ mirror://gentoo/setedit-${SETEDITVER}.tar.bz2
+ http://dev.gentoo.org/~azarah/rhide/setedit-${SETEDITVER}.tar.bz2
+ mirror://gnu/gdb/gdb-${GDBVER}.tar.bz2"
+# mirror://sourceforge/tvision/rhtvision-${TVISIONVER}.src.tar.gz
+# mirror://sourceforge/setedit/setedit-${SETEDITVER}.tar.gz
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="X aalib"
+
+DEPEND="virtual/libc
+ >=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 )
+ >=sys-apps/sed-4.0.7"
+# X? ( virtual/x11 )
+
+TV_S="${WORKDIR}/tvision"
+SE_S="${WORKDIR}/setedit"
+
+src_unpack() {
+ unpack ${A}
+
+ # Add support for amd64
+ for x in "${S}" "${S}/libtvuti" ; do
+ cd "${x}"
+ epatch "${FILESDIR}/${P}-amd64-support.patch"
+ autoconf
+ done
+
+ # Update snapshot version
+ if [[ -n ${SNAPSHOT} ]] ; then
+ sed -i -e "s|1998-11-29|${SNAPSHOT}|" "${S}/idemain.cc"
+ else
+ sed -i -e "s|1998-11-29|`date +%F`|" "${S}/idemain.cc"
+ fi
+
+ # Fix invalid "-O2" in CFLAGS and CXXFLAGS
+ for x in configure \
+ $(find "${S}/" -name '*.mak') \
+ $(find "${S}/" -name 'makefile.src')
+ do
+ [[ -f ${x} ]] && sed -i -e 's:-O2::g' "${x}"
+ done
+
+ # Update setedit macro's
+ for x in "${SE_S}/cfgfiles"/* ; do
+ [[ -f ${x} ]] && cp -f "${x}" "${S}/share/setedit/"
+ done
+
+ # Lame attempt to rip out X11 detection
+ if useq !X ; then
+ einfo "Disabling X support"
+ cp -f "${TV_S}/config.pl" "${TV_S}/config.pl.X11"
+ sed -i -e \
+ "s:\$conf{'HAVE_X11'}='yes':\$conf{'HAVE_X11'}='no':g" \
+ "${TV_S}/config.pl"
+ # Sanity check
+ [[ -z $(diff -u "${TV_S}/config.pl" "${TV_S}/config.pl.X11") ]] \
+ && die "TVision's config.pl was not changed!"
+ fi
+
+ # Fix codepage bug
+ has_version ">=sys-devel/gettext-0.12" && \
+ sed -i -e \
+ 's:--add-location $(po_list_l):--add-location --from-code=iso-8859-1 $(po_list_l):' \
+ "${SE_S}/internac/gnumake.in"
+}
+
+src_compile() {
+
+ # Most of these use a _very_ weird build systems,
+ # so please no comments ;/
+
+# ************* TVision *************
+
+ if [[ ! -f ${WORKDIR}/.tvision ]] ; then
+ cd "${TV_S}" || die "TVision source dir do not exist!"
+
+ einfo "Configuring TVision ..."
+ CC=$(tc-getCC) CXX=$(tc-getCXX) \
+ ./configure --prefix="/usr" \
+ --x-include="${ROOT}/usr/include" \
+ --x-lib="${ROOT}/usr/$(get_libdir)" \
+ --fhs \
+ --without-dynamic || die
+
+ einfo "Building TVision ..."
+ emake || die
+
+ touch ${WORKDIR}/.tvision
+ fi
+
+
+# ************* SetEdit *************
+
+ if [[ ! -f ${WORKDIR}/.setedit ]] ; then
+ cd "${SE_S}" || die "SetEdit source dir do not exist!"
+
+ einfo "Configuring SetEdit ..."
+ CC=$(tc-getCC) CXX=$(tc-getCXX) \
+ ./configure --prefix=/usr \
+ --fhs \
+ --libset \
+ --static \
+ --without-mp3 \
+ --without-mixer \
+ --without-migdb \
+ `use_with aalib aa` || die
+
+ einfo "Building SetEdit ..."
+ emake || die
+
+ # Make the docs
+ cd "${SE_S}/doc"
+ make || die
+
+ touch "${WORKDIR}/.setedit"
+ fi
+
+
+# ************* RHIDE ***************
+
+ cd "${S}"
+
+# addpredict "/usr/share/rhide"
+
+ export RHIDESRC="${S}"
+ export SETSRC="${SE_S}"
+ export SETOBJ="${SE_S}/makes"
+ export TVSRC="${TV_S}"
+ export TVOBJ="${TV_S}/makes"
+ export GDB_SRC="${WORKDIR}/gdb-${GDBVER}"
+
+ if [[ ! -f ${WORKDIR}/.rhide-configured ]] ; then
+ einfo "Configuring RHIDE ..."
+ CC=$(tc-getCC) CXX=$(tc-getCXX) \
+ econf || die
+
+ touch "${WORKDIR}/.rhide-configured"
+ fi
+
+ einfo "Building RHIDE ..."
+ # For now 'make -jx' breaks building
+ make CC=$(tc-getCC) CXX=$(tc-getCXX) \
+ RHIDE_GCC=$(tc-getCC) \
+ RHIDE_GXX=$(tc-getCXX) \
+ prefix="/usr" \
+ install_docdir="share/doc/${PF}" \
+ install_infodir="share/info" || die
+
+ # Update and Fix DIR entry in .info files
+ if [[ -f ${SE_S}/doc/editor.inf ]] ; then
+ sed -e 's:editor.inf:setedit.info:g' \
+ "${SE_S}/doc/editor.inf" > "${S}/share/setedit/setedit.inf"
+ fi
+ if [[ -f ${SE_S}/doc/infeng.inf ]] ; then
+ sed -e 's:infeng.inf:infview.info:g' \
+ "${SE_S}/doc/infeng.inf" > "${S}/share/setedit/infview.inf"
+ fi
+}
+
+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
+ sed -e 's:/usr/local/share:/usr/share:g' \
+ "${D}/usr/share/rhide/rhide_.env" > \
+ "${D}/usr/share/rhide/rhide.env"
+ echo 'INFOPATH=/usr/share/info' >> \
+ "${D}/usr/share/rhide/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 [[ ${ETERM_HACK} == "yes" ]] && useq !X ; then
+ # Install the terminfo file
+ tic -o "${D}/usr/share/terminfo" \
+ "${TV_S}/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 "${TV_S}/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 "${SE_S}/doc"/*.1
+ do
+ [[ -f ${x} ]] && doman "${x}"
+ done
+
+ cd "${S}"
+ dodoc todo
+ cd "${TV_S}"
+ docinto tvision
+ dodoc THANKS TODO borland.txt change.log change1.log copying* readme.txt
+ dodoc doc/*.{txt,html}
+ cd "${SE_S}"
+ docinto setedit
+ dodoc README TODO change.log change0.log copyrigh* copying.*
+}
+
+pkg_postinst() {
+ if [[ -x "${ROOT}/usr/bin/rhidex" && ${ETERM_HACK} == "yes" ]] ; 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
+}