diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/insight | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/insight')
-rw-r--r-- | dev-util/insight/Manifest | 3 | ||||
-rw-r--r-- | dev-util/insight/files/99insight | 3 | ||||
-rw-r--r-- | dev-util/insight/files/insight-6.8.1-automake-1.13.patch | 123 | ||||
-rw-r--r-- | dev-util/insight/insight-6.8.1-r1.ebuild | 116 | ||||
-rw-r--r-- | dev-util/insight/insight-6.8.1.ebuild | 109 | ||||
-rw-r--r-- | dev-util/insight/metadata.xml | 6 |
6 files changed, 360 insertions, 0 deletions
diff --git a/dev-util/insight/Manifest b/dev-util/insight/Manifest new file mode 100644 index 000000000000..0d09cf05fbd6 --- /dev/null +++ b/dev-util/insight/Manifest @@ -0,0 +1,3 @@ +DIST insight-6.8-1a.tar.bz2 23900337 SHA256 51216df73adc4f68c67b60356270d5073f0ff094c1b477ecd96560f49707ea2a SHA512 ce9d5ea0ef651dbeda24f042417e6d30dd4734af5da6a02dfbdcdc777b44d816597c2f81a8beaf8b74cec07c38f3671fd38d9a39527d9ece899f5f3785d0254d WHIRLPOOL ea27f3de71460f40e78621878abad2cbfe94bc46cff0f741bf7401d8dfef79288748efb33271a48ad2eac026bec1a4728e48723ae19046def6501688eb290511 +DIST insight-6.8.1-patchset-01.tar.xz 324484 SHA256 54ca13a95d46941ebd25b8db2e31f6dcad9201dd0a414af296057b9fa91a9d0e SHA512 98551f1bdb77568ccdaf0217942cef2b3a4e6b5e5e6c27985ea805da54481fa680daaf7cc7331bc6f0a1c765d93fc8e2d8a5f76d4f56ec548e40406756aebb32 WHIRLPOOL d91122cb92078984d9d4904cb1d2a93d3c7485a37519b948be4d725ca0cd039dae57f419a242b466ce2224d2dac41d948afaded960559700e7c9f1ea8a5aeef2 +DIST insight-6.8.1-patchset-02.tar.xz 325772 SHA256 294c80770a1dab976d0daf1439b5721d57b0d89aa164d39f7cfb3f6c3109712d SHA512 1759e9d19115da634b3e57cd3aa6d628b2fbcea1666d5f34ce81c87d03112dc257a84c02fe87cc903fe505631310b72b0e0b60bace79932446bd1f864cf1c2a7 WHIRLPOOL 09b1681efc0d1f0a7b2c4bdaae8b80334af5db8c031ad9b8d70df77b0e272137854df4356562ad903afd285be1943d53dd2afd4b89a97cefb84e3ab4bfac6227 diff --git a/dev-util/insight/files/99insight b/dev-util/insight/files/99insight new file mode 100644 index 000000000000..07f191fa5b0b --- /dev/null +++ b/dev-util/insight/files/99insight @@ -0,0 +1,3 @@ +PATH=/opt/insight/bin +LDPATH=/opt/insight/lib +MANPATH=/opt/insight/man
\ No newline at end of file diff --git a/dev-util/insight/files/insight-6.8.1-automake-1.13.patch b/dev-util/insight/files/insight-6.8.1-automake-1.13.patch new file mode 100644 index 000000000000..3211c1b40a03 --- /dev/null +++ b/dev-util/insight/files/insight-6.8.1-automake-1.13.patch @@ -0,0 +1,123 @@ +From a38e3fb554ceeb9b50ed576f45893b01bfc993d8 Mon Sep 17 00:00:00 2001 +From: hasufell <hasufell@gentoo.org> +Date: Sun, 3 Nov 2013 18:03:05 +0100 +Subject: [PATCH] BUILD: fix autoreconf with automake-1.13 + +cygnus flavor has been removed from automake-1.13 +--- + bfd/Makefile.am | 2 +- + bfd/doc/Makefile.am | 2 +- + gdb/gdbtk/Makefile.am | 2 +- + gdb/gdbtk/plugins/Makefile.am | 2 +- + libgui/Makefile.am | 2 +- + libgui/library/Makefile.am | 2 +- + libgui/src/Makefile.am | 2 +- + opcodes/Makefile.am | 2 +- + tcl/cygwin/Makefile.am | 2 +- + 9 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/bfd/Makefile.am b/bfd/Makefile.am +index 8e0a79c..129270c 100644 +--- a/bfd/Makefile.am ++++ b/bfd/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to generate Makefile.in + +-AUTOMAKE_OPTIONS = 1.9 cygnus ++AUTOMAKE_OPTIONS = 1.9 + ACLOCAL_AMFLAGS = -I . -I .. -I ../config + + # Uncomment the following line when doing a release. +diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am +index 6ff434a..83f0ba4 100644 +--- a/bfd/doc/Makefile.am ++++ b/bfd/doc/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to generate Makefile.in + +-AUTOMAKE_OPTIONS = 1.9 cygnus ++AUTOMAKE_OPTIONS = 1.9 + + DOCFILES = aoutx.texi archive.texi archures.texi \ + bfdt.texi cache.texi coffcode.texi \ +diff --git a/gdb/gdbtk/Makefile.am b/gdb/gdbtk/Makefile.am +index 530ab66..1361b84 100644 +--- a/gdb/gdbtk/Makefile.am ++++ b/gdb/gdbtk/Makefile.am +@@ -1,4 +1,4 @@ + ## Process this file with automake to produce Makefile.in + +-AUTOMAKE_OPTIONS = cygnus ++AUTOMAKE_OPTIONS = + SUBDIRS = plugins +diff --git a/gdb/gdbtk/plugins/Makefile.am b/gdb/gdbtk/plugins/Makefile.am +index 03fabe7..538681e 100644 +--- a/gdb/gdbtk/plugins/Makefile.am ++++ b/gdb/gdbtk/plugins/Makefile.am +@@ -1,4 +1,4 @@ + ## Process this file with automake to produce Makefile.in + +-AUTOMAKE_OPTIONS = cygnus ++AUTOMAKE_OPTIONS = + SUBDIRS = @make_subdirs@ +diff --git a/libgui/Makefile.am b/libgui/Makefile.am +index c2604ed..b99c5a2 100644 +--- a/libgui/Makefile.am ++++ b/libgui/Makefile.am +@@ -1,4 +1,4 @@ + ## Process this file with automake to produce Makefile.in. + +-AUTOMAKE_OPTIONS = cygnus ++AUTOMAKE_OPTIONS = + SUBDIRS = library src +diff --git a/libgui/library/Makefile.am b/libgui/library/Makefile.am +index a0aae95..9dba223 100644 +--- a/libgui/library/Makefile.am ++++ b/libgui/library/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in. + +-AUTOMAKE_OPTIONS = cygnus ++AUTOMAKE_OPTIONS = + + ## Convenience variables. + TCL = advice.tcl balloon.tcl bbox.tcl bgerror.tcl bindings.tcl \ +diff --git a/libgui/src/Makefile.am b/libgui/src/Makefile.am +index 1c42b85..8362012 100644 +--- a/libgui/src/Makefile.am ++++ b/libgui/src/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in. + +-AUTOMAKE_OPTIONS = cygnus ++AUTOMAKE_OPTIONS = + + noinst_LIBRARIES = libgui.a + +diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am +index 8cd2be1..6b2ab00 100644 +--- a/opcodes/Makefile.am ++++ b/opcodes/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to generate Makefile.in + +-AUTOMAKE_OPTIONS = 1.9 cygnus ++AUTOMAKE_OPTIONS = 1.9 + ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd + + SUBDIRS = po +diff --git a/tcl/cygwin/Makefile.am b/tcl/cygwin/Makefile.am +index dd1f243..686ba57 100644 +--- a/tcl/cygwin/Makefile.am ++++ b/tcl/cygwin/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in. + +-AUTOMAKE_OPTIONS = cygnus ++AUTOMAKE_OPTIONS = + + updir=$(srcdir)/.. + vpath % $(updir)/generic:$(updir)/unix +-- +1.8.4.2 + diff --git a/dev-util/insight/insight-6.8.1-r1.ebuild b/dev-util/insight/insight-6.8.1-r1.ebuild new file mode 100644 index 000000000000..ca166c73bd49 --- /dev/null +++ b/dev-util/insight/insight-6.8.1-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils autotools versionator + +MY_P="${PN}-$(replace_version_separator 2 -)" + +DESCRIPTION="A graphical interface to the GNU debugger" +HOMEPAGE="http://sourceware.org/insight/" +SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${MY_P}a.tar.bz2 + http://dev.gentoo.org/~xarthisius/distfiles/${P}-patchset-02.tar.xz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +RDEPEND=" + dev-libs/expat + dev-tcltk/iwidgets + sys-libs/ncurses + sys-libs/readline + x11-libs/libX11 +" +DEPEND="${RDEPEND} + dev-lang/tcl:0 + dev-lang/tk:0 + dev-tcltk/itcl + dev-tcltk/itk + sys-devel/bison + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + local location + + # Messes with internal glibc defines which fails w/newer glibc. + rm "${WORKDIR}/patches/0016-insight-6.8.1-sbrk.patch" + + EPATCH_FORCE="yes" \ + EPATCH_SOURCE="${WORKDIR}/patches" \ + EPATCH_SUFFIX="patch" \ + epatch + + epatch "${FILESDIR}"/${P}-automake-1.13.patch + + # remove bundled stuff + rm -rf "${S}"/{itcl,tcl,tk,readline} || die + + for location in gdb/gdbtk/plugins libgui; do + pushd ${location} >/dev/null + eautoreconf + popd >/dev/null + done + + # disable regeneration of info pages we never install. #465460 + sed -i -e '/^SUBDIRS/s:doc::' bfd/Makefile.in || die + sed -i -e '/^AC_CONFIG_SUBDIRS/s:doc::' gdb/configure.ac || die + + cd gdb + eautoconf + + sed -i \ + -e 's:tk.h:tkInt.h:g' \ + -e 's:ITCL_BUILD_LIB_SPEC:ITCL_LIB_SPEC:g' \ + -e 's:ITK_BUILD_LIB_SPEC:ITK_LIB_SPEC:g' \ + "${S}/gdb/configure" || die +} + +src_configure() { + export ac_cv_c_itclh="${EPREFIX}/usr/include/" + export ac_cv_c_itkh="${EPREFIX}/usr/include/" + + . "${EPREFIX}/usr/$(get_libdir)/tclConfig.sh" + . "${EPREFIX}/usr/$(get_libdir)/tkConfig.sh" + . "${EPREFIX}/usr/$(get_libdir)/itclConfig.sh" + + # there will be warning about undefined options + # because it is passed only to some subdir configures + econf \ + --disable-static \ + --with-system-readline \ + --disable-rpath \ + --disable-werror \ + $(use_enable nls) \ + --enable-gdbtk \ + --enable-sim \ + --with-expat \ + --datadir="${EPREFIX}/usr/share" \ + --with-tclinclude="${TCL_SRC_DIR}" \ + --with-tkinclude="${TK_SRC_DIR}" +} + +src_install() { + # the tcl-related subdirs are not parallel safe + emake -j1 DESTDIR="${D}" install + + find "${ED}" -name '*.la' -delete + + dodoc gdb/gdbtk/{README,TODO} + + # scrub all the cruft we dont want + rm -f "${ED}"/usr/bin/{gdb,gdbtui,gdbserver} || die + rm -f "${ED}"/usr/$(get_libdir)/*.a || die + rm -f "${ED}"/usr/$(get_libdir)/*.sh || die + rm -rf "${ED}"/usr/include || die + rm -rf "${ED}"/usr/man || die + rm -rf "${ED}"/usr/share/{man,info,locale} || die + + # regen pkgIndex.tcl + echo "pkg_mkIndex \"${ED}/usr/share/${PN}/gui\"" | tclsh +} diff --git a/dev-util/insight/insight-6.8.1.ebuild b/dev-util/insight/insight-6.8.1.ebuild new file mode 100644 index 000000000000..ebe1522408bf --- /dev/null +++ b/dev-util/insight/insight-6.8.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils autotools versionator + +MY_P="${PN}-$(replace_version_separator 2 -)" + +DESCRIPTION="A graphical interface to the GNU debugger" +HOMEPAGE="http://sourceware.org/insight/" +SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${MY_P}a.tar.bz2 + http://dev.gentooexperimental.org/~scarabeus/${P}-patchset-01.tar.xz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND=" + dev-libs/expat + dev-tcltk/iwidgets + sys-libs/ncurses + sys-libs/readline + x11-libs/libX11 +" +DEPEND="${RDEPEND} + dev-lang/tcl:0 + dev-lang/tk:0 + dev-tcltk/itcl + dev-tcltk/itk + sys-devel/bison + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + local location + + EPATCH_FORCE="yes" \ + EPATCH_SOURCE="${WORKDIR}/patches" \ + EPATCH_SUFFIX="patch" \ + epatch + + epatch "${FILESDIR}"/${P}-automake-1.13.patch + + # remove bundled stuff + rm -rf "${S}"/{itcl,tcl,tk,readline} || die + + for location in gdb/gdbtk/plugins libgui; do + pushd ${location} > /dev/null + eautoreconf + popd > /dev/null + done + + cd gdb + eautoconf + + sed -i \ + -e 's:tk.h:tkInt.h:g' \ + -e 's:ITCL_BUILD_LIB_SPEC:ITCL_LIB_SPEC:g' \ + -e 's:ITK_BUILD_LIB_SPEC:ITK_LIB_SPEC:g' \ + "${S}/gdb/configure" || die +} + +src_configure() { + export ac_cv_c_itclh="${EPREFIX}/usr/include/" + export ac_cv_c_itkh="${EPREFIX}/usr/include/" + + . "${EPREFIX}/usr/$(get_libdir)/tclConfig.sh" + . "${EPREFIX}/usr/$(get_libdir)/tkConfig.sh" + . "${EPREFIX}/usr/$(get_libdir)/itclConfig.sh" + + # there will be warning about undefined options + # because it is passed only to some subdir configures + econf \ + --disable-static \ + --with-system-readline \ + --disable-rpath \ + --disable-werror \ + $(use_enable nls) \ + --enable-gdbtk \ + --enable-sim \ + --with-expat \ + --datadir=/usr/share \ + --with-tclinclude="${TCL_SRC_DIR}" \ + --with-tkinclude="${TK_SRC_DIR}" +} + +src_install() { + # the tcl-related subdirs are not parallel safe + emake -j1 DESTDIR="${D}" install + + find "${ED}" -name '*.la' -exec rm -f {} + + + dodoc gdb/gdbtk/{README,TODO} + + # scrub all the cruft we dont want + rm -f "${ED}"/usr/bin/{gdb,gdbtui,gdbserver} || die + rm -f "${ED}"/usr/$(get_libdir)/*.a || die + rm -f "${ED}"/usr/$(get_libdir)/*.sh || die + rm -rf "${ED}"/usr/include || die + rm -rf "${ED}"/usr/man || die + rm -rf "${ED}"/usr/share/{man,info,locale} || die + + # regen pkgIndex.tcl + echo "pkg_mkIndex \"${ED}/usr/share/${PN}/gui\"" | tclsh +} diff --git a/dev-util/insight/metadata.xml b/dev-util/insight/metadata.xml new file mode 100644 index 000000000000..392e8535ccce --- /dev/null +++ b/dev-util/insight/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dev-tools</herd> +<longdescription>Graphical front-end to GDB</longdescription> +</pkgmetadata> |