summaryrefslogtreecommitdiff
path: root/dev-util/ddd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/ddd
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/ddd')
-rw-r--r--dev-util/ddd/Manifest10
-rw-r--r--dev-util/ddd/ddd-3.3.12-r3.ebuild90
-rw-r--r--dev-util/ddd/ddd-3.3.12-r4.ebuild94
-rw-r--r--dev-util/ddd/files/ddd-3.3.12-gcc44.patch10
-rw-r--r--dev-util/ddd/files/ddd-3.3.12-gdb-disassembler-bug.patch11
-rw-r--r--dev-util/ddd/files/ddd-3.3.12-man.patch16
-rw-r--r--dev-util/ddd/files/ddd-3.3.12-tinfo.patch11
-rw-r--r--dev-util/ddd/metadata.xml15
8 files changed, 257 insertions, 0 deletions
diff --git a/dev-util/ddd/Manifest b/dev-util/ddd/Manifest
new file mode 100644
index 000000000000..12bac66f9b75
--- /dev/null
+++ b/dev-util/ddd/Manifest
@@ -0,0 +1,10 @@
+AUX ddd-3.3.12-gcc44.patch 209 SHA256 d7b660a66546fb155c2363ce9151e0677e4d797cc76efb9305c3b27d1dbfadc3 SHA512 9373fee21d92b5661c659bcad0f9ce4bca25c86eba40d5d6e498f454cd56af225f290431bd79bfd98a6da5e49180ccb8fd37c144fb99e8b75c886c066e48b129 WHIRLPOOL 9214031c4e82fc5d669dcab25770503a2545e48f4738bf08c9b7800dec5f37acf8809c3b9d99a5fb0d50b79e51bc745a8388f910094d1880347611965a782b65
+AUX ddd-3.3.12-gdb-disassembler-bug.patch 266 SHA256 c3cbffc025e42ee554239fafeabe7a9f39d1f392ce282185ac3b4523f2244845 SHA512 15ca238a9ac88c0736c861b962558f09be53f1bc85a5d46d6efb8d6c7ff6fc089b9f730dc0b691d65bbc40010cbd4d2cc4947f369d12271c214770114d533b14 WHIRLPOOL e4faf346d1bad10ea3170a6978791a5e5b172e11efd22405567f5760c7c27c116ee147fad2269a2258cba7b349371b4f5eb4ef160f101bb792b44cc354aeff70
+AUX ddd-3.3.12-man.patch 571 SHA256 d11ba4c540f14fff9ecf5507f86148fe5da2fa7954097a3a199389bc0e9023f0 SHA512 830115e517f754702892549d780003033e29fc0668824540cc63c3270e8445549896505a6584ccee104d94ffcf152bff679d946922f9d6fffc75d77abdbb8a59 WHIRLPOOL 8213f746f5d751c2c38afeebf553a191cacdfdad75fc04c095d6abc1c9f3e36e93a714de1091aa52fa31cdacd9b4cf943b80d828e0ac5f97e23a73c845487862
+AUX ddd-3.3.12-tinfo.patch 330 SHA256 55e1743d8646cebc53810d853000255ab57f8275e1d9ed4f0160d574778a3a81 SHA512 a3cd3d59bdcce6c106d4488ec9a6c32d8baea49963f61e8e493a01131fd604664dca2e9e548852ff4c538c7123f5c1572bc54d6143340167fcdfa754002eb224 WHIRLPOOL e3e8eb096c3f571b5e0accd693e373e12b3d5fef79d4ee2ad6bff95e20944d3cca8759ccec7b0fc8e3d619cae7a56d461eb55281bcb8153ac909e22e5596090e
+DIST ddd-3.3.12.tar.gz 5687115 SHA256 3ad6cd67d7f4b1d6b2d38537261564a0d26aaed077bf25c51efc1474d0e8b65c SHA512 1249e4f5f25335f8f2c3616470f7a8f36262c00b8ac12b79f2b2806228de2831ebeb780fe09490e5e8b5b1ca108fe936ae70856f6a6ec02876fc75c7b4a7dbf3 WHIRLPOOL 5f4117036abc0b9f7cadd5547bbd7bd959427f783a5ea7d32be0682c23d31cf48fb45d4d2a2a9688190a6ff35159ebc48b15b295bcceb1f297eaf7133f252bf2
+EBUILD ddd-3.3.12-r3.ebuild 2109 SHA256 c1a5b0d128a6fef64cae14bd8771d57ad6dd92438acf46ef92120fe6226e4f82 SHA512 a35a94a13c1f0e45822924bef5788e11020e06bed74cb182b5c3517c63a0ada32ba71074253d0ccf0d2a9b200b2e7e25bc09b0945ef8cea2f2b646ed73b73044 WHIRLPOOL cc97ca0f13657d0b2b645f990c67d528ebe56fba4b03f6eaed0a60b59fe28c8452cf7e358c46cc96198c07a61addf25d2849ad6d84d008ffa8010c13e431a902
+EBUILD ddd-3.3.12-r4.ebuild 2253 SHA256 2c306038d5b8669fe15c4bcddba34fd341671ca6e7468959e9da380bf942fc11 SHA512 1848449b892ef84a52da03672ff432c903000dde5ab4836f80ffa51daa1132742605c8979a97f52bf18a52ca698a8f693fd3367aa2cfaadfb6031ae62c054f9e WHIRLPOOL 76aecbc7451c04b9ecc637c9ba19038cda2d6939577b8151dfb8a73679aa29df8c2fcc1b4131cbe49cb22626b98201f730866c0eacac9b0304028ad6a63b3de8
+MISC ChangeLog 2543 SHA256 cfac0e665e01be5c09aa111a62514561bf0b00cc1efade0d0094b07fe01640aa SHA512 124dda7bdf7a3ee64efdc85e4213ef05c77972e418b4cab8376eb1999a46abdb8670e5e5143caebe7af0cd391703956f167125b15ab18a77c51dc331718ea657 WHIRLPOOL 2848e7adc6028bdcb89b8af319ab949e2f2c2a30a4f6ba84cacaa6116ce937146739ad7bf94f86eb5a266461cab0f42cf173a75ba09e0933eb950306032e3378
+MISC ChangeLog-2015 10926 SHA256 2b85f6b8e2b805efcb97f44daabe10f0c146fb3ff06a0585e3b0581cd3adca78 SHA512 7c3415b28a546faf3bfbb375a691291a5ef7aa3029d46bd8ad92e28b89c03ea1bc0f67248ca0da44633853dcd71dabb790e1e9006562d738604a241dc72be72b WHIRLPOOL ea482b063e9784e397dd1ff5de8a8253a1ede866f8dfed87c77be94d732cd2f3bf68a4d959c02835da32eace2fa6f40204e039ef844312343394d262d93dab9c
+MISC metadata.xml 658 SHA256 007b1a8959083b4c81d84867b1f5f7cb2dcdee3338066dbc5030b25fc9e0c0fb SHA512 8b304bbca5e836ff3032079f5dd2afea432b8f48e2c57575644adbefba0ddc4f64e3682f35f53c2804c27e950785ae8040f8704c05162acf302c6fb61b70c51d WHIRLPOOL 74f806dfea6a8215f521ba49792f67f2956dd00b3a1d031e6492692794f2b08fac8b4d61f9dbdf25313b7ce9a4fab5c9182064d076db3a8538008ba62e4d6f78
diff --git a/dev-util/ddd/ddd-3.3.12-r3.ebuild b/dev-util/ddd/ddd-3.3.12-r3.ebuild
new file mode 100644
index 000000000000..bed46086f113
--- /dev/null
+++ b/dev-util/ddd/ddd-3.3.12-r3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit autotools-utils eutils
+
+DESCRIPTION="Graphical front-end for command-line debuggers"
+HOMEPAGE="https://www.gnu.org/software/ddd"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3 FDL-1.1"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="+gnuplot readline"
+
+COMMON_DEPEND="
+ sys-devel/gdb
+ sys-libs/ncurses
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ >=x11-libs/motif-2.3:0
+ ppc? ( dev-libs/elfutils )
+ ppc64? ( dev-libs/elfutils )
+ readline? ( sys-libs/readline )
+"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/xproto
+"
+RDEPEND="${COMMON_DEPEND}
+ x11-apps/xfontsel
+ gnuplot? ( sci-visualization/gnuplot )
+"
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/${P}-gcc44.patch"
+ "${FILESDIR}/${P}-gdb-disassembler-bug.patch"
+ "${FILESDIR}/${PN}-3.3.12-man.patch"
+)
+
+DOCS=(
+ AUTHORS CREDITS INSTALL NEWS PROBLEMS README TIPS TODO
+ doc/ddd{-paper.ps,.pdf,-themes.pdf}
+)
+
+AUTOTOOLS_AUTORECONF=1
+
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ --with-termlib=ncurses
+ $(use_with readline)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ # Remove app defaults
+ rm -f "${S}"/ddd/Ddd
+
+ # Install ddd distribution
+ autotools-utils_src_install
+
+ # Install application icon
+ doicon "${S}"/icons/ddd.xpm
+}
+
+pkg_postinst() {
+ if ! use gnuplot; then
+ echo
+ elog "To enable data visualization in DDD, install sci-visualization/gnuplot,"
+ elog "or re-emerge DDD with gnuplot USE flag (recommended)."
+ elog "For flat file package.use layout:"
+ elog " echo '${CATEGORY}/${PN} gnuplot' >> /etc/portage/package.use && emerge -va gnuplot"
+ elog "For directory package.use layout:"
+ elog " echo '${CATEGORY}/${PN} gnuplot' > /etc/portage/package.use/ddd && emerge -va gnuplot"
+ fi
+ echo
+ elog "To be able to debug java, bash, perl or python scripts within DDD, install respectively:"
+ elog " virtual/jdk"
+ elog " app-shells/bashdb"
+ elog " dev-lang/perl"
+ elog " dev-python/pydb"
+ echo
+}
diff --git a/dev-util/ddd/ddd-3.3.12-r4.ebuild b/dev-util/ddd/ddd-3.3.12-r4.ebuild
new file mode 100644
index 000000000000..6c0222b31bf7
--- /dev/null
+++ b/dev-util/ddd/ddd-3.3.12-r4.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools eutils
+
+DESCRIPTION="Graphical front-end for command-line debuggers"
+HOMEPAGE="https://www.gnu.org/software/ddd"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3 FDL-1.1"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="readline"
+
+COMMON_DEPEND="
+ sys-devel/gdb
+ sys-libs/ncurses:*
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ >=x11-libs/motif-2.3:0
+ ppc? ( dev-libs/elfutils )
+ ppc64? ( dev-libs/elfutils )
+ readline? ( sys-libs/readline:* )
+"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/xproto
+"
+RDEPEND="${COMMON_DEPEND}
+ x11-apps/xfontsel
+"
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/${P}-gcc44.patch"
+ "${FILESDIR}/${P}-gdb-disassembler-bug.patch"
+ "${FILESDIR}/${PN}-3.3.12-man.patch"
+ "${FILESDIR}/${PN}-3.3.12-tinfo.patch"
+)
+
+DOCS=(
+ AUTHORS CREDITS INSTALL NEWS PROBLEMS README TIPS TODO
+ doc/ddd{-paper.ps,.pdf,-themes.pdf}
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ $(use_with readline)
+}
+
+src_install() {
+ # Remove app defaults
+ rm -f "${S}"/ddd/Ddd
+
+ # Install ddd distribution
+ default
+
+ # Install application icon
+ doicon "${S}"/icons/ddd.xpm
+}
+
+pkg_postinst() {
+ if ! has_version sci-visualization/gnuplot; then
+ echo
+ elog "To enable data visualization in DDD, install sci-visualization/gnuplot."
+ elog "For flat file package.use layout:"
+ elog " echo '${CATEGORY}/${PN} gnuplot' >> /etc/portage/package.use && emerge -va gnuplot"
+ elog "For directory package.use layout:"
+ elog " echo '${CATEGORY}/${PN} gnuplot' > /etc/portage/package.use/ddd && emerge -va gnuplot"
+ elog
+ fi
+ echo
+ elog "Important notice: if you encounter DDD crashes during visualization, you might"
+ elog "have hit bug #459324. Try switching to plotting in external window:"
+ elog "Select Edit|Preferences|Helpers and switch 'plot window' to 'external'"
+ elog
+ elog "To be able to debug java, bash, perl or python scripts within DDD, install respectively:"
+ elog " virtual/jdk"
+ elog " app-shells/bashdb"
+ elog " dev-lang/perl"
+ elog " dev-python/pydb"
+ echo
+}
diff --git a/dev-util/ddd/files/ddd-3.3.12-gcc44.patch b/dev-util/ddd/files/ddd-3.3.12-gcc44.patch
new file mode 100644
index 000000000000..2464b2b4a9c4
--- /dev/null
+++ b/dev-util/ddd/files/ddd-3.3.12-gcc44.patch
@@ -0,0 +1,10 @@
+--- ddd-3.3.12-orig/ddd/strclass.C
++++ ddd-3.3.12/ddd/strclass.C
+@@ -39,6 +39,7 @@
+ #include <limits.h>
+ #include <new>
+ #include <stdlib.h>
++#include <stdio.h>
+
+ void string::error(const char* msg) const
+ {
diff --git a/dev-util/ddd/files/ddd-3.3.12-gdb-disassembler-bug.patch b/dev-util/ddd/files/ddd-3.3.12-gdb-disassembler-bug.patch
new file mode 100644
index 000000000000..738cda5946f9
--- /dev/null
+++ b/dev-util/ddd/files/ddd-3.3.12-gdb-disassembler-bug.patch
@@ -0,0 +1,11 @@
+--- a/ddd/GDBAgent.C 2004-09-01 20:07:38.000000000 +0200
++++ b/ddd/GDBAgent.C 2010-06-15 14:16:34.000000000 +0200
+@@ -3078,7 +3078,7 @@
+ {
+ string end_( end );
+ normalize_address(end_);
+- cmd += ' ';
++ cmd += ',';
+ cmd += end_;
+ }
+ return cmd;
diff --git a/dev-util/ddd/files/ddd-3.3.12-man.patch b/dev-util/ddd/files/ddd-3.3.12-man.patch
new file mode 100644
index 000000000000..06f9deb806f0
--- /dev/null
+++ b/dev-util/ddd/files/ddd-3.3.12-man.patch
@@ -0,0 +1,16 @@
+diff -ruN ddd-3.3.12/ddd/Makefile.am ddd-my/ddd/Makefile.am
+--- ddd-3.3.12/ddd/Makefile.am 2009-02-11 18:25:07.000000000 +0100
++++ ddd-my/ddd/Makefile.am 2012-11-06 01:48:46.363493473 +0100
+@@ -1371,10 +1371,8 @@
+ man_MANS = ddd.1
+
+ # `ddd.man' has 8-bit format, `ddd.1' has 7-bit format
+-ddd.1: ddd.man $(srcdir)/unumlaut.sed
+- -$(SED) -f $(srcdir)/unumlaut.sed ddd.man | $(DELETE_CR) > $@~ \
+- && $(MV) $@~ $@
+-
++ddd.1: ddd.man
++ iconv -f ISO8859-15 -t UTF-8 ddd.man > ddd.1
+
+
+ # -----------------------------------------------------------------------------
diff --git a/dev-util/ddd/files/ddd-3.3.12-tinfo.patch b/dev-util/ddd/files/ddd-3.3.12-tinfo.patch
new file mode 100644
index 000000000000..ab7df14ae9d9
--- /dev/null
+++ b/dev-util/ddd/files/ddd-3.3.12-tinfo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -360,7 +360,7 @@
+ dnl
+ _termlib="${ddd_termlib}"
+ if test "x${ddd_termlib}" = x; then
+- _termlib="mytinfo ncurses curses termcap terminfo termlib"
++ _termlib="mytinfo ncurses tinfo curses termcap terminfo termlib"
+ fi
+ _termlib_path=
+ if test x"${ddd_termlib_libraries_path}" != x; then
diff --git a/dev-util/ddd/metadata.xml b/dev-util/ddd/metadata.xml
new file mode 100644
index 000000000000..97858007ab0b
--- /dev/null
+++ b/dev-util/ddd/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>reavertm@gentoo.org</email>
+ <name>Maciej Mrozowski</name>
+ </maintainer>
+ <longdescription lang="en">
+ GNU DDD is a graphical front-end for command-line debuggers such as
+ GDB, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger,
+ or the Python debugger. Besides ``usual'' front-end features such as
+ viewing source texts, DDD has become famous through its interactive
+ graphical data display, where data structures are displayed as graphs.
+ </longdescription>
+</pkgmetadata>