commit: 80b720032fadd857520c550ed249c573c8365a8d Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me> AuthorDate: Fri Aug 8 15:22:44 2025 +0000 Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me> CommitDate: Sun Aug 24 15:29:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=80b72003
dev-util/dlang-tools: drop 2.106.1 Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me> Part-of: https://github.com/gentoo/dlang/pull/140 Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me> dev-util/dlang-tools/Manifest | 1 - dev-util/dlang-tools/dlang-tools-2.106.1.ebuild | 61 ---------------------- .../dlang-tools/files/2.067-no-narrowing.patch | 17 ------ .../dlang-tools/files/replace-bits-mathdef-h.patch | 11 ---- 4 files changed, 90 deletions(-) diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest index c8335dc..ff8a67b 100644 --- a/dev-util/dlang-tools/Manifest +++ b/dev-util/dlang-tools/Manifest @@ -1,2 +1 @@ -DIST dlang-tools-2.106.1.tar.gz 129644 BLAKE2B 014adf42be0c4f82b96d1857eff01e5927a5e179cf99e0928abb2300b7ed3e1e2719e2a38a0ff36dc776b61dcd5ae24affd18ed26a1eabdab1185430eeb888b3 SHA512 bed6ec6cf6287104ad1d5e79e8512094b1aec69be09206104ea58d4bff8af8c5f15012db0237aa195a58baa85a8d880b054ea66a7352fc0684218bfa563b2d32 DIST dlang-tools-2.111.0.tar.gz 128314 BLAKE2B fd5575387fd464509d2a7e6c9f23b70227efa713c3abade50b94091548da347fc916532b644bffd3db1ad56cd3d818e8fb5b7f98bd16bc8474a86d865c770bfa SHA512 0e1c3f206ebef0f0f68843d6dea3ddf8610ae2732c197ab84f5840d0b9498c598123e6ac7fb95edde24ca853d66ac29011eda6fb7b42a8f3ca3f5ae1599c913f diff --git a/dev-util/dlang-tools/dlang-tools-2.106.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.106.1.ebuild deleted file mode 100644 index 39fd4f8..0000000 --- a/dev-util/dlang-tools/dlang-tools-2.106.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Ancilliary tools for the D programming language compiler" -HOMEPAGE="http://dlang.org/" -LICENSE="Boost-1.0" - -SLOT="0" -KEYWORDS="amd64 x86" -TOOLS="ddemangle detab dustmite rdmd" -IUSE="+ddemangle detab dustmite +rdmd" -REQUIRED_USE="|| ( ${TOOLS} )" - -DLANG_SLOT="$(ver_cut 1-2)" -RESTRICT="mirror" - -BETA="$(ver_cut 4)" -VERSION="$(ver_cut 1-3)" - -if [[ -n "${BETA}" ]]; then - # We want to convert a Gentoo version string into an upstream one: 2.097.0_rc1 -> 2.097.0-rc.1 - VERSION="$(ver_rs 3 "-" 4 ".")" -fi -SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz" - -DLANG_VERSION_RANGE="2.075-2.106" -DLANG_PACKAGE_TYPE="single" - -inherit desktop dlang xdg-utils - -S="${WORKDIR}/tools-${VERSION}" - -d_src_compile() { - use ddemangle && dlang_compile_bin ddemangle ddemangle.d - use detab && dlang_compile_bin detab detab.d - use dustmite && dlang_compile_bin dustmite DustMite/dustmite.d DustMite/splitter.d DustMite/polyhash.d - use rdmd && dlang_compile_bin rdmd rdmd.d -} - -d_src_install() { - for tool in ${TOOLS}; do - if use "${tool}"; then - dobin "${tool}" - fi - done - - # file icons - for size in 16 22 24 32 48 256; do - newicon --size "${size}" --context mimetypes "${FILESDIR}/icons/${size}/dmd-source.png" text-x-dsrc.png - done -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/dev-util/dlang-tools/files/2.067-no-narrowing.patch b/dev-util/dlang-tools/files/2.067-no-narrowing.patch deleted file mode 100644 index cbae28f..0000000 --- a/dev-util/dlang-tools/files/2.067-no-narrowing.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- dmd2/dmd/src/posix.mak -+++ dmd2/dmd/src/posix.mak -@@ -83,7 +83,13 @@ endif - else - # Default Warnings - WARNINGS := -Wno-deprecated -Wstrict-aliasing --ifeq ($(HOST_CC), clang++) -+# GCC Specific -+ifeq ($(findstring g++,$(HOST_CC)), g++) -+WARNINGS := $(WARNINGS) \ -+ -Wno-narrowing -+endif -+# Clang Specific -+ifeq ($(findstring clang++,$(HOST_CC)), clang++) - WARNINGS := $(WARNINGS) \ - -Wno-logical-op-parentheses \ - -Wno-dynamic-class-memaccess \ diff --git a/dev-util/dlang-tools/files/replace-bits-mathdef-h.patch b/dev-util/dlang-tools/files/replace-bits-mathdef-h.patch deleted file mode 100644 index f1e35bf..0000000 --- a/dev-util/dlang-tools/files/replace-bits-mathdef-h.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- dmd2/dmd/src/root/port.c -+++ dmd2/dmd/src/root/port.c -@@ -355,7 +355,7 @@ - #include <math.h> - #if linux - #include <bits/nan.h> --#include <bits/mathdef.h> -+#include <complex.h> - #endif - #if __FreeBSD__ && __i386__ - #include <ieeefp.h>
