summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-08 01:36:54 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-08 01:36:54 +0000
commitc1dfaaa281a6135b32afb8e50cac035d9c8c3968 (patch)
tree3bbf77f328735214d79664b527e563ac9052c035 /dev-util
parentRemoved prevision revision since it has issues. (diff)
downloadgentoo-2-c1dfaaa281a6135b32afb8e50cac035d9c8c3968.tar.gz
gentoo-2-c1dfaaa281a6135b32afb8e50cac035d9c8c3968.tar.bz2
gentoo-2-c1dfaaa281a6135b32afb8e50cac035d9c8c3968.zip
Version bump.
(Portage version: 2.1.2-r14)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/insight/ChangeLog11
-rw-r--r--dev-util/insight/files/digest-insight-6.63
-rw-r--r--dev-util/insight/files/insight-6.6-DESTDIR.patch187
-rw-r--r--dev-util/insight/files/insight-6.6-burn-paths.patch11
-rw-r--r--dev-util/insight/insight-6.6.ebuild60
5 files changed, 270 insertions, 2 deletions
diff --git a/dev-util/insight/ChangeLog b/dev-util/insight/ChangeLog
index 25870ba676ef..b40fb55c6962 100644
--- a/dev-util/insight/ChangeLog
+++ b/dev-util/insight/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/insight
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/ChangeLog,v 1.37 2006/11/28 03:08:37 tester Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/ChangeLog,v 1.38 2007/03/08 01:36:54 vapier Exp $
+
+*insight-6.6 (08 Mar 2007)
+
+ 08 Mar 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/insight-6.6-DESTDIR.patch, +files/insight-6.6-burn-paths.patch,
+ +insight-6.6.ebuild:
+ Version bump.
28 Nov 2006; Olivier Crête <tester@gentoo.org> -insight-6.1.ebuild,
-insight-6.4.ebuild, insight-6.5.ebuild:
diff --git a/dev-util/insight/files/digest-insight-6.6 b/dev-util/insight/files/digest-insight-6.6
new file mode 100644
index 000000000000..58020626350f
--- /dev/null
+++ b/dev-util/insight/files/digest-insight-6.6
@@ -0,0 +1,3 @@
+MD5 deed034bd4d2dade4ca8581fff14634d insight-6.6.tar.bz2 22569121
+RMD160 fa5c4a2a812fc07a02669460e582db3d35a8b484 insight-6.6.tar.bz2 22569121
+SHA256 937c21b75be6f3db60f43cf9507e2e59237abe8ee568e512b6bd94358781144c insight-6.6.tar.bz2 22569121
diff --git a/dev-util/insight/files/insight-6.6-DESTDIR.patch b/dev-util/insight/files/insight-6.6-DESTDIR.patch
new file mode 100644
index 000000000000..50db957f54e6
--- /dev/null
+++ b/dev-util/insight/files/insight-6.6-DESTDIR.patch
@@ -0,0 +1,187 @@
+Index: itcl/itcl/Makefile.in
+===================================================================
+RCS file: /cvs/src/src/itcl/itcl/Makefile.in,v
+retrieving revision 1.5
+diff -u -p -r1.5 Makefile.in
+--- itcl/itcl/Makefile.in 1 Sep 2005 05:32:08 -0000 1.5
++++ itcl/itcl/Makefile.in 7 Mar 2007 23:26:29 -0000
+@@ -272,16 +272,16 @@ install-binaries: binaries install-lib-b
+ #========================================================================
+
+ install-libraries: libraries
+- $(mkinstalldirs) $(includedir)
+- @echo "Installing header files in $(includedir)"
++ $(mkinstalldirs) $(DESTDIR)$(includedir)
++ @echo "Installing header files in $(DESTDIR)$(includedir)"
+ @for i in $(GENERIC_HDRS) ; do \
+ echo "Installing $$i" ; \
+- $(INSTALL_DATA) $$i $(includedir) ; \
++ $(INSTALL_DATA) $$i $(DESTDIR)$(includedir) ; \
+ done;
+- @echo "Installing library files in $(ITCL_LIBRARY)"
++ @echo "Installing library files in $(DESTDIR)$(ITCL_LIBRARY)"
+ @for i in $(srcdir)/library/*.tcl ; do \
+ echo "Installing $$i" ; \
+- $(INSTALL_DATA) $$i $(ITCL_LIBRARY) ; \
++ $(INSTALL_DATA) $$i $(DESTDIR)$(ITCL_LIBRARY) ; \
+ done;
+
+ #========================================================================
+@@ -290,14 +290,14 @@ install-libraries: libraries
+ #========================================================================
+
+ install-doc: doc
+- $(mkinstalldirs) $(mandir)/mann
+- @echo "Installing man pages in $(mandir)"
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/mann
++ @echo "Installing man pages in $(DESTDIR)$(mandir)"
+ @cd $(srcdir)/doc; for i in *.n; \
+ do \
+ echo "Installing $$i"; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+- $$i > $(mandir)/mann/$$i; \
+- chmod 444 $(mandir)/mann/$$i; \
++ $$i > $(DESTDIR)$(mandir)/mann/$$i; \
++ chmod 444 $(DESTDIR)$(mandir)/mann/$$i; \
+ done
+
+ test: $(TCLSH_PROG)
+@@ -447,7 +447,7 @@ install-lib-binaries: installdirs
+ $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
+ else :; fi; \
+ done
+- $(INSTALL_DATA) pkgIndex.tcl $(pkglibdir)
++ $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)
+
+ #========================================================================
+ # Install binary executables (e.g. .exe files)
+@@ -485,7 +485,7 @@ installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(libdir)
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+- $(mkinstalldirs) $(ITCL_LIBRARY)
++ $(mkinstalldirs) $(DESTDIR)$(ITCL_LIBRARY)
+
+ .PHONY: all binaries clean depend distclean doc install installdirs \
+ libraries test
+Index: itcl/itk/Makefile.in
+===================================================================
+RCS file: /cvs/src/src/itcl/itk/Makefile.in,v
+retrieving revision 1.5
+diff -u -p -r1.5 Makefile.in
+--- itcl/itk/Makefile.in 1 Sep 2005 05:32:09 -0000 1.5
++++ itcl/itk/Makefile.in 7 Mar 2007 23:26:29 -0000
+@@ -267,16 +267,16 @@ install-binaries: binaries install-lib-b
+ #========================================================================
+
+ install-libraries: libraries
+- $(mkinstalldirs) $(includedir)
+- @echo "Installing header files in $(includedir)"
++ $(mkinstalldirs) $(DESTDIR)$(includedir)
++ @echo "Installing header files in $(DESTDIR)$(includedir)"
+ @for i in $(GENERIC_HDRS) ; do \
+ echo "Installing $$i" ; \
+- $(INSTALL_DATA) $$i $(includedir) ; \
++ $(INSTALL_DATA) $$i $(DESTDIR)$(includedir) ; \
+ done;
+- @echo "Installing library files in $(ITK_LIBRARY)"
++ @echo "Installing library files in $(DESTDIR)$(ITK_LIBRARY)"
+ @for i in $(srcdir)/library/*.* $(srcdir)/library/tclIndex ; do \
+ echo "Installing $$i" ; \
+- $(INSTALL_DATA) $$i $(ITK_LIBRARY) ; \
++ $(INSTALL_DATA) $$i $(DESTDIR)$(ITK_LIBRARY) ; \
+ done;
+
+ #========================================================================
+@@ -285,14 +285,14 @@ install-libraries: libraries
+ #========================================================================
+
+ install-doc: doc
+- $(mkinstalldirs) $(mandir)/mann
+- @echo "Installing man pages in $(mandir)"
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/mann
++ @echo "Installing man pages in $(DESTDIR)$(mandir)"
+ @cd $(srcdir)/doc; for i in *.n; \
+ do \
+ echo "Installing $$i info $(mandir)/mann"; \
+ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
+- $$i > $(mandir)/mann/$$i; \
+- chmod 444 $(mandir)/mann/$$i; \
++ $$i > $(DESTDIR)$(mandir)/mann/$$i; \
++ chmod 444 $(DESTDIR)$(mandir)/mann/$$i; \
+ done
+
+ test: $(TCLSH_PROG)
+@@ -421,7 +421,7 @@ install-lib-binaries: installdirs
+ $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
+ else :; fi; \
+ done
+- $(INSTALL_DATA) pkgIndex.tcl $(pkglibdir)
++ $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)
+
+ #========================================================================
+ # Install binary executables (e.g. .exe files)
+@@ -459,7 +459,7 @@ installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(libdir)
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+- $(mkinstalldirs) $(ITK_LIBRARY)
++ $(mkinstalldirs) $(DESTDIR)$(ITK_LIBRARY)
+
+ .PHONY: all binaries clean depend distclean doc install installdirs \
+ libraries test
+Index: itcl/iwidgets/Makefile.in
+===================================================================
+RCS file: /cvs/src/src/itcl/iwidgets/Makefile.in,v
+retrieving revision 1.2
+diff -u -p -r1.2 Makefile.in
+--- itcl/iwidgets/Makefile.in 25 Feb 2003 00:42:12 -0000 1.2
++++ itcl/iwidgets/Makefile.in 7 Mar 2007 23:26:29 -0000
+@@ -36,13 +36,13 @@ bindir = @bindir@
+ # to be different than those used for actually reference files at
+ # run-time. INSTALL_ROOT is prepended to $prefix and $exec_prefix
+ # when installing files.
+-INSTALL_ROOT =
++INSTALL_ROOT = $(DESTDIR)
+
+ # Path name to use when installing library scripts:
+
+ # REDHAT LOCAL
+ #SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/lib/iwidgets$(IWIDGETS_VERSION)
+-SCRIPT_INSTALL_DIR = @datadir@/iwidgets$(IWIDGETS_VERSION)
++SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)@datadir@/iwidgets$(IWIDGETS_VERSION)
+ # END REDHAT LOCAL
+
+ # Directory in which to install the archive libtcl.a:
+Index: tcl/unix/Makefile.in
+===================================================================
+RCS file: /cvs/src/src/tcl/unix/Makefile.in,v
+retrieving revision 1.7
+diff -u -p -r1.7 Makefile.in
+--- tcl/unix/Makefile.in 21 Jan 2003 19:40:18 -0000 1.7
++++ tcl/unix/Makefile.in 7 Mar 2007 23:26:29 -0000
+@@ -38,7 +38,7 @@ mandir = @mandir@
+ # to be different than those used for actually reference files at
+ # run-time. INSTALL_ROOT is prepended to $prefix and $exec_prefix
+ # when installing files.
+-INSTALL_ROOT =
++INSTALL_ROOT = $(DESTDIR)
+
+ # Path for the platform independent Tcl scripting libraries:
+ # REDHAT LOCAL
+Index: tk/unix/Makefile.in
+===================================================================
+RCS file: /cvs/src/src/tk/unix/Makefile.in,v
+retrieving revision 1.8
+diff -u -p -r1.8 Makefile.in
+--- tk/unix/Makefile.in 21 Jan 2003 20:24:51 -0000 1.8
++++ tk/unix/Makefile.in 7 Mar 2007 23:26:30 -0000
+@@ -41,7 +41,7 @@ mandir = @mandir@
+ # to be different than those used for actually reference files at
+ # run-time. INSTALL_ROOT is prepended to $prefix and $exec_prefix
+ # when installing files.
+-INSTALL_ROOT =
++INSTALL_ROOT = $(DESTDIR)
+
+ # Directory from which applications will reference the library of Tcl
+ # scripts (note: you can set the TK_LIBRARY environment variable at
diff --git a/dev-util/insight/files/insight-6.6-burn-paths.patch b/dev-util/insight/files/insight-6.6-burn-paths.patch
new file mode 100644
index 000000000000..261370640b16
--- /dev/null
+++ b/dev-util/insight/files/insight-6.6-burn-paths.patch
@@ -0,0 +1,11 @@
+--- tcl/unix/Makefile.in.orig 2007-03-07 19:36:22.000000000 -0500
++++ tcl/unix/Makefile.in 2007-03-07 19:36:36.000000000 -0500
+@@ -1051,7 +1051,7 @@
+ # END REDHAT LOCAL
+
+ tclUnixInit.o: $(UNIX_DIR)/tclUnixInit.c $(GENERIC_DIR)/tclInitScript.h tclConfig.sh
+- $(CC) -c $(CC_SWITCHES) -DTCL_LIBRARY=\"\" \
++ $(CC) -c $(CC_SWITCHES) -DTCL_LIBRARY=\"${TCL_LIBRARY}\" \
+ -DTCL_PACKAGE_PATH="\"${TCL_PACKAGE_PATH}\"" \
+ $(UNIX_DIR)/tclUnixInit.c
+
diff --git a/dev-util/insight/insight-6.6.ebuild b/dev-util/insight/insight-6.6.ebuild
new file mode 100644
index 000000000000..ffdaedee84ff
--- /dev/null
+++ b/dev-util/insight/insight-6.6.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.6.ebuild,v 1.1 2007/03/08 01:36:54 vapier Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="A graphical interface to the GNU debugger"
+HOMEPAGE="http://sourceware.org/insight/"
+SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="sys-libs/ncurses
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-DESTDIR.patch
+ epatch "${FILESDIR}"/${P}-burn-paths.patch
+}
+
+src_compile() {
+ append-flags -fno-strict-aliasing # tcl code sucks
+ strip-linguas -u bfd/po opcodes/po
+ econf \
+ --disable-werror \
+ $(use_enable nls) \
+ --enable-gdbtk \
+ --disable-tui \
+ --datadir=/usr/share/${PN} \
+ || die
+ emake || die
+}
+
+src_install() {
+ # the tcl-related subdirs are not parallel safe
+ emake -j1 DESTDIR="${D}" install || die
+ dodoc gdb/gdbtk/{README,TODO}
+
+ # the gui tcl code does not consider any of the configure
+ # options given it ... instead, it requires the path to
+ # be /usr/share/redhat/...
+ mv "${D}"/usr/share/${PN}/redhat "${D}"/usr/share/ || die
+
+ # scrub all the cruft we dont want
+ local x
+ cd "${D}"/usr/bin
+ for x in * ; do
+ [[ ${x} != "insight" ]] && rm -f ${x}
+ done
+ cd "${D}"
+ rm -rf usr/{include,man,share/{info,locale,man}}
+ rm -rf usr/lib*
+}