diff options
Diffstat (limited to 'dev-util/ddd')
-rw-r--r-- | dev-util/ddd/Manifest | 2 | ||||
-rw-r--r-- | dev-util/ddd/ddd-3.4.0.ebuild | 82 |
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-util/ddd/Manifest b/dev-util/ddd/Manifest index cadee12fbd56..14961ea7a3d1 100644 --- a/dev-util/ddd/Manifest +++ b/dev-util/ddd/Manifest @@ -6,5 +6,7 @@ AUX ddd-3.3.12-man.patch 571 BLAKE2B 88f499833e47ae279beac8dbc4aadcfaa80e8c19f38 AUX ddd-3.3.12-parallel.patch 621 BLAKE2B 57446f5c7e797d7ddab5ed6aca01a5ffdc6af314bb797d96cfb357e214f1cf49153387635f9b585c53ebbcf7b06dcd6119b6bb2cbcaffa7d4382c4fbe9fdd181 SHA512 1157bec9212ffd4cbf86e8d36f68c80e9170091d09318effd800ce154f2b738e730db95e1e954c632dc25390e78cf88a9f1f3d14426df4069c0e5523f2dc6646 AUX ddd-3.3.12-tinfo.patch 330 BLAKE2B f0e29f408f1e5e7fa40e386ab2a1f6786a9a14dc6722aef3fc8132558b624c233102b4290c0ba0e5d55b27aa4b25e6bcdd6fcd1b4ae237540621f3961e92bffc SHA512 a3cd3d59bdcce6c106d4488ec9a6c32d8baea49963f61e8e493a01131fd604664dca2e9e548852ff4c538c7123f5c1572bc54d6143340167fcdfa754002eb224 DIST ddd-3.3.12.tar.gz 5687115 BLAKE2B 52c448eda46bfdc4f5720abda569a0c70f3680c3fdd543f6101c9af8c4c448496414c1c2a7be91590d9f14d0c8c2bb053a234d179bf900ca52df0ea8c2642131 SHA512 1249e4f5f25335f8f2c3616470f7a8f36262c00b8ac12b79f2b2806228de2831ebeb780fe09490e5e8b5b1ca108fe936ae70856f6a6ec02876fc75c7b4a7dbf3 +DIST ddd-3.4.0.tar.gz 5742233 BLAKE2B d67969ce2a9803875d8c22abb0708fae2b3e8ef7ce3e36d0969f60ee2f72251fe96774e2768f1dc57e9973684c07ba02d275a711a7a15af24585d6b1468d8eec SHA512 0498eeeb12da7c7f5e2343da2ec44b68ff2b7b9b6481386a8fb9f2d9ac3a9c7154361fe0be78ce81fd966afbc48ed212f40747d1e3b112109ec16f152c67786a EBUILD ddd-3.3.12-r5.ebuild 1956 BLAKE2B 8159630e366975aa5613c09486f10a74dbfb1f68a5fc3601db7b74d0d2b0c3378402d7916097bb5137ec2fbfe14d48b75489947e95a15f9be367789623b1c9bc SHA512 c2bd040baf2376edd1c683e0813da4a333eafb5bcaa65ba2014ae3113ef30710f977c79e675da88669b1ecef8de4abb53423aa87712f1b83f89382872033c576 +EBUILD ddd-3.4.0.ebuild 1818 BLAKE2B c8d305b169828d2cde2c9892097b64f59c8918176141b5fd9eca8589a75570f7bf8fc749a8ced225a53d778951b30ff1780653f40075e4475d9d84f458ab6877 SHA512 c844c215dd28d9120309f675b3a3971c17342b3910c573ef5396081f4f2e3429a98d33b8d7e835d6c1ed93f30291084a88d8f99dd4db8ed536e771c18bdfe548 MISC metadata.xml 741 BLAKE2B ce0a1aa5ccf21951fcc5fd69d9dfd6cce8eef7e82d6cf5314a92bce28f7604faf7f5162efe9074aec305b183dd0f98b9c69dc9c42fc2b2318857e9c21cbb235a SHA512 38030c88852f9e1b98db8272fdcce9dae23a7eae0f8e9bba4de8f0246fe90e2c47b4fbac1cbea9acd6d20fb4b387da87d23ccac46496a38060040b33476afb0d diff --git a/dev-util/ddd/ddd-3.4.0.ebuild b/dev-util/ddd/ddd-3.4.0.ebuild new file mode 100644 index 000000000000..8776b5cb7b23 --- /dev/null +++ b/dev-util/ddd/ddd-3.4.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop optfeature + +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" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="readline" + +RESTRICT="test" + +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-base/xorg-proto +" +RDEPEND="${COMMON_DEPEND} + x11-apps/xfontsel +" + +PATCHES=( + "${FILESDIR}/${PN}-3.3.12-man.patch" + "${FILESDIR}/${PN}-3.3.12-tinfo.patch" +# "${FILESDIR}/${PN}-3.4.0-gcc9.patch" + "${FILESDIR}/${PN}-3.3.12-parallel.patch" +) + +DOCS=( + AUTHORS CREDITS INSTALL NEWS README TIPS + doc/ddd{.pdf,-themes.pdf} +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with readline) +} + +src_install() { + # Remove app defaults + rm -f "${S}"/ddd/Ddd || die + + # Install ddd distribution + default + + # Install application icon + doicon "${S}"/icons/ddd.xpm +} + +pkg_postinst() { + optfeature "Data visualisation" sci-visualization/gnuplot + optfeature "Java debugging" virtual/jdk + optfeature "Bash debugging" app-shells/bashdb + optfeature "Perl debugging" dev-lang/perl + optfeature "Python debugging" dev-python/pydb + elog + 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'" +} |