From fb39d921c8133052dfef15757aa4d5a2be93c433 Mon Sep 17 00:00:00 2001 From: Horodniceanu Andrei Date: Mon, 20 Jun 2022 11:49:08 +0300 Subject: [PATCH 1/2] dmd-2.097.2 Signed-off-by: Horodniceanu Andrei --- dev-lang/dmd/Manifest | 1 + dev-lang/dmd/dmd-2.097.2.ebuild | 14 +++++ dev-util/dlang-tools/Manifest | 1 + .../dlang-tools/dlang-tools-2.097.2.ebuild | 54 +++++++++++++++++++ eclass/dlang-compilers.eclass | 1 + profiles/use.desc | 1 + 6 files changed, 72 insertions(+) create mode 100644 dev-lang/dmd/dmd-2.097.2.ebuild create mode 100644 dev-util/dlang-tools/dlang-tools-2.097.2.ebuild diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest index 171aecbb..18578bb7 100644 --- a/dev-lang/dmd/Manifest +++ b/dev-lang/dmd/Manifest @@ -31,4 +31,5 @@ DIST dmd.2.093.1.linux.tar.xz 24506488 BLAKE2B 101edbe659ddb3ce6ed0d66762a0d476d DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B ba3116f3a9fd9516cd1ac792f950d4ba6c27a51631e2f48698f92506daa77b0cb45e238292b0200a85def5013e5272a9d2725f74b85e5cbe1cfabf8fcdb568eb SHA512 a880928aeb6f16dc1dea7ac406cca2f8dfa75030725e5cefc9a48c1cc3e5c884800367efc293d7f9eaceb3c6c6cae2e3baea781786ccb438231c0734267ad0f0 DIST dmd.2.095.1.linux.tar.xz 22602160 BLAKE2B 874f28ab25b486c68707c4b8723ace3be5507162ce36a6c69550b3202b7deeab448bcc5b72e7492a20f9dd01648ed174506baf7460a26cf572db710e62cbf892 SHA512 5bb25551d6e2e9456225d00d9c082db1464e2ebf238f5781abb18daf29d42e62591603b0a044d9f63ddd0407e908f86c370806610d427c5cd7a100f8fbc74cee DIST dmd.2.096.1.linux.tar.xz 22825496 BLAKE2B 2a7973aaa9c713bfd29e783b459c97f6b6a68e2ce5d0674477997236f15b623ce45517c0ff59e33252e69aa3a70862ca0ec5cb7d077a050dddffef26fda02106 SHA512 de6d291f0abdd9a504522d0094a8d20beb94f6a8bd2c2b92d90267b5494ccd11f8df436b7c4ecc00d56cea0bdbb09d02376c8453e08c636ca92af38ca8fa0dbe +DIST dmd.2.097.2.linux.tar.xz 23260840 BLAKE2B 9f19a396ca468806bde4c4af855f233b259fbb07f4b0172526aca4da1a22e6581f709b3c193d9cce237661d54d9f80932b5b6d3e2d0de650f05185fcd04befaf SHA512 743c3cec56e596941e9e9c5f13e1e9001fd4e447dc2ca5c8e0be825db6dc6465b939dd02fbd1826201a9039f262d667087e6b58a8e3fe82d584aec90988a411c DIST dmd.2.099.1.linux.tar.xz 21846416 BLAKE2B e5c3baa981af46ce980c80c42729a2db99a44d3f8f464a711c299c0d7c2354c6ba8d607b57a7f6d79d7a99793cd727f1f7e9fd33c49517ea5c9783efcda00518 SHA512 20fbf33dae8e79d07993ca2b1032e86db40dd21e06dcca2ed3f7cfa8921ba25799e0dc534f989ca535d274f2984f7873a186227854d54c21aadfdd671febc43d diff --git a/dev-lang/dmd/dmd-2.097.2.ebuild b/dev-lang/dmd/dmd-2.097.2.ebuild new file mode 100644 index 00000000..8ba1c008 --- /dev/null +++ b/dev-lang/dmd/dmd-2.097.2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KEYWORDS="-* ~amd64 ~x86" +YEAR=2021 +DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.098" + +inherit dmd + +PATCHES=( + "${FILESDIR}/2.097-link-32-bit-shared-lib-with-ld.bfd.patch" +) diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest index 248f5d9a..52c4f3b2 100644 --- a/dev-util/dlang-tools/Manifest +++ b/dev-util/dlang-tools/Manifest @@ -31,6 +31,7 @@ DIST dlang-tools-2.093.1.tar.gz 118852 BLAKE2B d797d8eb5de2e8a8a404b0b77cff3fb88 DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B a590f5e5490e3f51b55a9bd4018d38ea0ee84865af52869666ca9afbec1041ce4463dab707997b1d927a0c6284cbf82f248999582ea4c0fbc72fa7fffc4df1c4 SHA512 8fc9d95e77317afd0c73c8e2b85b01175d4d3494116ec6550f8c9d99d5ecfde9e8e4ff1aa8eb7477e4974faf6b66fb0dbc32bcb7d2facf7cec6cfadd8ea9ad81 DIST dlang-tools-2.095.1.tar.gz 129274 BLAKE2B fd1fa3615d676f8f6b05892871d1e8786f9bac160eab799b01b7740db59a89cc14ad229125de04d7878935a8c6c5166c0d7711feba3d1096b6e03b73361ae1f4 SHA512 176d55bcdc99fc56c236f44c7a32d75dd2ca8a7ea3dc635ebe949f64d1fc4a6f7e4e61c342e94ff0d3431df9cc4c16b73133a40d013774e1d6406b4e51b19567 DIST dlang-tools-2.096.1.tar.gz 129294 BLAKE2B 830dc185db7176fef179831214195901c5324cc3ae4ccb7f4b60d1f303b688acf13075bf810874272ccb72ea9b19f02805baccf7ec1cd4ff4c5080264bd8697c SHA512 b25a9180faab99d31cc9a2909d699bbcfb1aa9be0f393f7c691977932d09e84d3b162a385df7318aab41dc2e671f1c38fe746c77654a8042cdbae515b273f5c6 +DIST dlang-tools-2.097.2.tar.gz 129531 BLAKE2B ac1ad83e2e0f8fe715acd78eb13a7562533aea1792ec667c14ace3cf9cf4cc88b549d995671061d211b5d6c2137f6e563ec937222e964ca73764512a67b19607 SHA512 c4a237acee21db38b0dc22cb51afd893ebf102ff8e190eb52e2e0cee5b85cfa0644e7d4547d950f55044deca8651c261e84a4629ac6958b9a4b4b47343ee38d1 DIST dlang-tools-2.099.1.tar.gz 129867 BLAKE2B 6f37d08921a1532a7d5875df99e4037fb52a5ac59585bbc98d09d225afd2ce564963cc30f1ebaad093238ca758d7db2a874f9aa357fe23dce6a9a6c9ebcb6d21 SHA512 68cde8853bac2f3c92a2fbbe3f658e29b475bea2aeb5f5ffb96f2b3e85aca693b1d14c8fa248bad882461e55957c1de5cba9ac7a02b3a28be070e4869b6a4171 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9 SHA512 a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf DIST dlang.org-2.065.0.tar.gz 1005429 BLAKE2B 01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353ee819984da5efa53547e78006d2f0a97b9c SHA512 0fb185603766b54c3b9dc57824b18ec7ea9f37281610729860543630f4546591f9523bff48eee5414235d2ee656201c444e6d2efc44ba66a052b98a0d9b4729e diff --git a/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild b/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild new file mode 100644 index 00000000..91dc009a --- /dev/null +++ b/dev-util/dlang-tools/dlang-tools-2.097.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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} )" + +inherit eapi7-ver + +DLANG_SLOT="$(ver_cut 1-2)" +RESTRICT="mirror" + +BETA="$(ver_cut 4)" +VERSION="$(ver_cut 1-3)" + +if [[ -n "${BETA}" ]]; then + VERSION="${VERSION}-b${BETA:4}" +fi +SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz" + +DLANG_VERSION_RANGE="2.075-" +DLANG_PACKAGE_TYPE="single" + +inherit eutils dlang + +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 +} diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass index 2e1ac168..ecc3eb2b 100644 --- a/eclass/dlang-compilers.eclass +++ b/eclass/dlang-compilers.eclass @@ -47,6 +47,7 @@ dlang-compilers_declare_versions() { ["2.094"]="2.094 x86 amd64" ["2.095"]="2.095 x86 amd64" ["2.096"]="2.096 x86 amd64" + ["2.097"]="2.097 ~x86 ~amd64" ["2.099"]="2.099 ~x86 ~amd64" ) diff --git a/profiles/use.desc b/profiles/use.desc index f03cb2de..afdeccf1 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -32,6 +32,7 @@ dmd-2_093 - Build for DMD 2.093 dmd-2_094 - Build for DMD 2.094 dmd-2_095 - Build for DMD 2.295 dmd-2_096 - Build for DMD 2.096 +dmd-2_097 - Build for DMD 2.097 dmd-2_099 - Build for DMD 2.099 gdc-11_2_1 - Build for GCC 11.2.1 ldc2-1_25 - Build for ldc2 1.25 From 683d126c2089cedd0beddb50eda0473ef1babd03 Mon Sep 17 00:00:00 2001 From: Horodniceanu Andrei Date: Mon, 20 Jun 2022 15:24:56 +0300 Subject: [PATCH 2/2] dmd-2.098.1 Signed-off-by: Horodniceanu Andrei --- dev-lang/dmd/Manifest | 1 + dev-lang/dmd/dmd-2.098.1.ebuild | 14 +++++ dev-util/dlang-tools/Manifest | 1 + .../dlang-tools/dlang-tools-2.098.1.ebuild | 54 +++++++++++++++++++ eclass/dlang-compilers.eclass | 1 + profiles/use.desc | 1 + 6 files changed, 72 insertions(+) create mode 100644 dev-lang/dmd/dmd-2.098.1.ebuild create mode 100644 dev-util/dlang-tools/dlang-tools-2.098.1.ebuild diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest index 18578bb7..12596ca2 100644 --- a/dev-lang/dmd/Manifest +++ b/dev-lang/dmd/Manifest @@ -32,4 +32,5 @@ DIST dmd.2.094.2.linux.tar.xz 22232888 BLAKE2B ba3116f3a9fd9516cd1ac792f950d4ba6 DIST dmd.2.095.1.linux.tar.xz 22602160 BLAKE2B 874f28ab25b486c68707c4b8723ace3be5507162ce36a6c69550b3202b7deeab448bcc5b72e7492a20f9dd01648ed174506baf7460a26cf572db710e62cbf892 SHA512 5bb25551d6e2e9456225d00d9c082db1464e2ebf238f5781abb18daf29d42e62591603b0a044d9f63ddd0407e908f86c370806610d427c5cd7a100f8fbc74cee DIST dmd.2.096.1.linux.tar.xz 22825496 BLAKE2B 2a7973aaa9c713bfd29e783b459c97f6b6a68e2ce5d0674477997236f15b623ce45517c0ff59e33252e69aa3a70862ca0ec5cb7d077a050dddffef26fda02106 SHA512 de6d291f0abdd9a504522d0094a8d20beb94f6a8bd2c2b92d90267b5494ccd11f8df436b7c4ecc00d56cea0bdbb09d02376c8453e08c636ca92af38ca8fa0dbe DIST dmd.2.097.2.linux.tar.xz 23260840 BLAKE2B 9f19a396ca468806bde4c4af855f233b259fbb07f4b0172526aca4da1a22e6581f709b3c193d9cce237661d54d9f80932b5b6d3e2d0de650f05185fcd04befaf SHA512 743c3cec56e596941e9e9c5f13e1e9001fd4e447dc2ca5c8e0be825db6dc6465b939dd02fbd1826201a9039f262d667087e6b58a8e3fe82d584aec90988a411c +DIST dmd.2.098.1.linux.tar.xz 23790368 BLAKE2B 12edf0e14af17bae1ca728bad47b9858eaf0c94e74b3fdd5158e9e083bad22c4241573ec07163bc70f7f7c2c735635b1d4779425b65401124d1d2200d2a27b02 SHA512 7f4838d2c82284c595c6f7cd3919e6c696862e6dc8b84ec6ac76ea06e11d449f6f80e9821fcb3df7184368fc905dbe473b276eb31438a84da0bf220beb1340be DIST dmd.2.099.1.linux.tar.xz 21846416 BLAKE2B e5c3baa981af46ce980c80c42729a2db99a44d3f8f464a711c299c0d7c2354c6ba8d607b57a7f6d79d7a99793cd727f1f7e9fd33c49517ea5c9783efcda00518 SHA512 20fbf33dae8e79d07993ca2b1032e86db40dd21e06dcca2ed3f7cfa8921ba25799e0dc534f989ca535d274f2984f7873a186227854d54c21aadfdd671febc43d diff --git a/dev-lang/dmd/dmd-2.098.1.ebuild b/dev-lang/dmd/dmd-2.098.1.ebuild new file mode 100644 index 00000000..8ba1c008 --- /dev/null +++ b/dev-lang/dmd/dmd-2.098.1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KEYWORDS="-* ~amd64 ~x86" +YEAR=2021 +DLANG_VERSION_RANGE="2.076-2.080 2.082 2.084-2.098" + +inherit dmd + +PATCHES=( + "${FILESDIR}/2.097-link-32-bit-shared-lib-with-ld.bfd.patch" +) diff --git a/dev-util/dlang-tools/Manifest b/dev-util/dlang-tools/Manifest index 52c4f3b2..50a5a28b 100644 --- a/dev-util/dlang-tools/Manifest +++ b/dev-util/dlang-tools/Manifest @@ -32,6 +32,7 @@ DIST dlang-tools-2.094.2.tar.gz 118427 BLAKE2B a590f5e5490e3f51b55a9bd4018d38ea0 DIST dlang-tools-2.095.1.tar.gz 129274 BLAKE2B fd1fa3615d676f8f6b05892871d1e8786f9bac160eab799b01b7740db59a89cc14ad229125de04d7878935a8c6c5166c0d7711feba3d1096b6e03b73361ae1f4 SHA512 176d55bcdc99fc56c236f44c7a32d75dd2ca8a7ea3dc635ebe949f64d1fc4a6f7e4e61c342e94ff0d3431df9cc4c16b73133a40d013774e1d6406b4e51b19567 DIST dlang-tools-2.096.1.tar.gz 129294 BLAKE2B 830dc185db7176fef179831214195901c5324cc3ae4ccb7f4b60d1f303b688acf13075bf810874272ccb72ea9b19f02805baccf7ec1cd4ff4c5080264bd8697c SHA512 b25a9180faab99d31cc9a2909d699bbcfb1aa9be0f393f7c691977932d09e84d3b162a385df7318aab41dc2e671f1c38fe746c77654a8042cdbae515b273f5c6 DIST dlang-tools-2.097.2.tar.gz 129531 BLAKE2B ac1ad83e2e0f8fe715acd78eb13a7562533aea1792ec667c14ace3cf9cf4cc88b549d995671061d211b5d6c2137f6e563ec937222e964ca73764512a67b19607 SHA512 c4a237acee21db38b0dc22cb51afd893ebf102ff8e190eb52e2e0cee5b85cfa0644e7d4547d950f55044deca8651c261e84a4629ac6958b9a4b4b47343ee38d1 +DIST dlang-tools-2.098.1.tar.gz 129699 BLAKE2B b7902b2cdcb6f9bbf6e71356cfdaaf8e3cbd05125818b13b10357226745065034cccf20618307f4a9a57ad5a35f4ba170ce7c184967e8c795546b8030bbe4f26 SHA512 a7e96cb38c95d910307c0fefa3840f8315799d4713e6c7ec591bd37863683962aede4359c7114b715a760b438df540dfc42e8da8394b1f4c892384e21fe7575e DIST dlang-tools-2.099.1.tar.gz 129867 BLAKE2B 6f37d08921a1532a7d5875df99e4037fb52a5ac59585bbc98d09d225afd2ce564963cc30f1ebaad093238ca758d7db2a874f9aa357fe23dce6a9a6c9ebcb6d21 SHA512 68cde8853bac2f3c92a2fbbe3f658e29b475bea2aeb5f5ffb96f2b3e85aca693b1d14c8fa248bad882461e55957c1de5cba9ac7a02b3a28be070e4869b6a4171 DIST dlang.org-2.064.2.tar.gz 963131 BLAKE2B a7cf0d43a1cd531722bda717882a34e01c0186f0832a12064bf0600aede0a0913190724011f0b13c76cf794434e1c82490f48e9fda66409aa2820adc7c8a40f9 SHA512 a1284955764385539dcd8949cd851100af9be47908e85d8cfd897d6409903763919dc082fc0ca88fbaaf49647168357656aee82717a375ed45407eb15ccd44cf DIST dlang.org-2.065.0.tar.gz 1005429 BLAKE2B 01fc8ec0c5148f910e2923be556208c08a18f00453ffa1f1a22d6725db6489b6f9022cd170caa3a05078baddde353ee819984da5efa53547e78006d2f0a97b9c SHA512 0fb185603766b54c3b9dc57824b18ec7ea9f37281610729860543630f4546591f9523bff48eee5414235d2ee656201c444e6d2efc44ba66a052b98a0d9b4729e diff --git a/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild b/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild new file mode 100644 index 00000000..91dc009a --- /dev/null +++ b/dev-util/dlang-tools/dlang-tools-2.098.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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} )" + +inherit eapi7-ver + +DLANG_SLOT="$(ver_cut 1-2)" +RESTRICT="mirror" + +BETA="$(ver_cut 4)" +VERSION="$(ver_cut 1-3)" + +if [[ -n "${BETA}" ]]; then + VERSION="${VERSION}-b${BETA:4}" +fi +SRC_URI="https://codeload.github.com/dlang/tools/tar.gz/v${VERSION} -> dlang-tools-${VERSION}.tar.gz" + +DLANG_VERSION_RANGE="2.075-" +DLANG_PACKAGE_TYPE="single" + +inherit eutils dlang + +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 +} diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass index ecc3eb2b..1fa07bfc 100644 --- a/eclass/dlang-compilers.eclass +++ b/eclass/dlang-compilers.eclass @@ -48,6 +48,7 @@ dlang-compilers_declare_versions() { ["2.095"]="2.095 x86 amd64" ["2.096"]="2.096 x86 amd64" ["2.097"]="2.097 ~x86 ~amd64" + ["2.098"]="2.098 ~x86 ~amd64" ["2.099"]="2.099 ~x86 ~amd64" ) diff --git a/profiles/use.desc b/profiles/use.desc index afdeccf1..d4da5ed4 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -33,6 +33,7 @@ dmd-2_094 - Build for DMD 2.094 dmd-2_095 - Build for DMD 2.295 dmd-2_096 - Build for DMD 2.096 dmd-2_097 - Build for DMD 2.097 +dmd-2_098 - Build for DMD 2.098 dmd-2_099 - Build for DMD 2.099 gdc-11_2_1 - Build for GCC 11.2.1 ldc2-1_25 - Build for ldc2 1.25