summaryrefslogtreecommitdiff
path: root/gnu/packages/dlang.scm
AgeCommit message (Collapse)Author
2026-04-04gnu: d-tools: Fix tests on 32bit systems.Yelninei
* gnu/packages/dlang.scm (d-tools)[#:phases]: Build test executables for the target bit size. Change-Id: I49ea559c857757abb217ff896ebd6994ea4a90c0 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-04gnu: ldc: Fix int128 alignment.Yelninei
* gnu/packages/patches/ldc-i686-int128-alignment.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/dlang.scm (ldc-bootstrap)[patches]: Use it. Change-Id: I21671c2a54634c284d8832f0627fe28494e1b0b8 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-02gnu: dmd: Build additional man pages.Yelninei
* gnu/packages/dlang.scm (dmd-bootstrap)[#:make-flags]: Add DIFFABLE=1. [#:phases]: Add 'build-man phase. Adjust path for manpages in 'install. Change-Id: I75363092c5953c81bf608a727e9daf4bafe6b5ec Merges: https://codeberg.org/guix/guix/pulls/7440 Modified-by: Nguyễn Gia Phong <cnx@loang.net> Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-03-20gnu: Reference the inherited inputs values.Ludovic Courtès
This commit was made by running this command: sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm … and then reverting individual hunks where the change would trigger unbound variable warnings or other issues (such as ‘native-inputs’ is bound in the body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined just above). Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
2026-03-14gnu: dmd: Fix tests on 32bit systems.Dariqq
* gnu/packages/dlang.scm (dmd-bootstrap)[#:phases]: In 'patch-tests skip a test on 32bit systems that tries to execute 64bit executable. Change-Id: If87b95b63ac145865e7a8dcf2a219d6bd055981f Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-03-12gnu: dmd-bootstrap: Use gdb/pinned.Efraim Flashner
* gnu/packages/dlang.scm (dmd-bootstrap)[native-inputs]: Replace gdb with gdb/pinned. Change-Id: I64c1ea0fbe6cfd994cfa504c256c7ece8d756eb1
2026-03-12gnu: d-demangler: Update synopsis and description.Jonas Meeuws
gnu/packages/dlang.scm (d-demangler) [synopsis, description]: Remove mention of a non-existent command. Refer to the package as a library. Note that this only wraps D's ‘std.demangle’. Change-Id: I8fe98d4bb031f8f50468a4c1a5b907d3ff24de0c Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: d-demangler: Reformat.Jonas Meeuws
* gnu/packages/dlang.scm (d-demangler): Reformat. Change-Id: I910f786afbc1fe4819ca9b1081a89553213bde2f Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: dmd: Reformat.Jonas Meeuws
* gnu/packages/dlang.scm (dmd-bootstrap, dmd): Reformat. Change-Id: I93ac5dff7a57138343e46b57f8d18121fec4cc20 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: dmd: Reinstate tests.Jonas Meeuws
* gnu/packages/dlang.scm (dmd-bootstrap) [#:phases]: Add ‘patch-tests’. [native-inputs]: Add gdb. * gnu/packages/dlang.scm (dmd) [arguments]: Strip ‘#:tests?’. Change-Id: I2208f9a74749c366fc32f7c885d1773955d041a8 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: dmd: Update to 2.111.0.Jonas Meeuws
* gnu/packages/dlang.scm (dmd-bootstrap): Update to 2.111.0. [#:make-flags]: Remove deprecated “-f posix.mak”. [#:phases]<patch-git-ls-tree>: Apply ‘substitute*’ to “Makefile” instead of the deprecated “posix.mak”. [supported-systems]: Add aarch64-linux (experimental). Change-Id: Ia9be09edfe7790e8e0989b2ce473dd65e66f4cb7 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: dmd: Improve packaging.Jonas Meeuws
* gnu/packages/dlang.scm (dmd-bootstrap) [#:make-flags]: Remove unneeded “DFLAGS=-L--allow-multiple-definition”. [#:modules]: Move here from dmd. Add (srfi srfi-26). [#:phases]: Add ‘patch-git-ls-tree’, ‘patch-paths-in-phobos‘. Remove ‘copy-phobos-source-and-chdir’ in favor of custom ‘unpack’. Remove ‘adjust-phobos-install-dirs’, ‘install-druntime’, ‘install-includes’, ‘install-dmd’, ‘refine-install-layout’, ‘patch-dmd.conf’ in favor of custom ‘install’. <unpack>: Replace with a copy of the gnu phase, but unpack the 2 sources to “source/dmd” and “source/phobos”. <build>: Replace. Run gnu ‘build’ in dmd subdir. <build-phobos>: New phase. Run gnu ‘build’ in phobos subdir. <check>: Replace. Run gnu ‘check’ in dmd subdir. <check-phobos>: New phase. Run gnu ‘check’ in phobos subdir. <install>: Replace with custom install script, that gets everything right the first time. Shared libraries get installed to “lib/lib“, static libraries to “out/lib”. Include files are installed to “out/include/d/dmd” to avoid conflicts with other compilers. <install-license-files>: Replace. Run gnu ‘install-license-files’ in the dmd subdir. [inputs]: Add bash-minimal (for std.process). * gnu/packages/dlang.scm (dmd) [#:modules]: Move to dmd-bootstrap. [#:make-flags]: Don't delete “DFLAGS=-L--allow-multiple-definition” as it no longer exists. [#:phases]<rewrite-references-to-bootstrap>: Rebase the ‘add-after’ on the ‘install’ phase. Simplify discovery of the executable. [native-inputs]: Substitute replacing gdmd with dmd-bootstrap for remove and append. [outputs]: Add “lib” (for “.so” files) and “debug”. Change-Id: If0d5e1a2e4a45a26252b886aaa0ac91d9814e4fe Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: dmd: Disable no-op tests.Jonas Meeuws
* gnu/packages/dlang.scm (dmd)[arguments]: Don't reinstate tests. Add a comment explaining the reasoning. Change-Id: I8ad8d6cd63b7f5b148ae448d6b4521398837208c Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: Reorganize dlang.scm.Jonas Meeuws
* gnu/packages/dlang.scm: Add additional section comments. [d-tools]: Move down. Change-Id: Ic0ac1ded1e7171d78a75d18bb2ff85e9ee50b303 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-12gnu: gdmd: Move to gcc.Jonas Meeuws
* gnu/packages/dlang.scm (gdmd): Move from here ... * gnu/packages/gcc.scm: ... to here. Change-Id: I43fa2f66f812edc6c74442c7d911fe902265f5e0 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-03-11gnu: d-tools: Skip a test.Jonas Meeuws
* gnu/packages/dlang.scm (d-tools): Add 'patch-tests phase. Fixes: guix/guix#7000 Change-Id: I2ab62691fe9428c400112d59dda49e76d2582d8b Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-03-04gnu: Export non-trivial packages that were private.Ludovic Courtès
This makes those packages visible to ‘fold-packages’, which in turns gives a clearer view of the package set to tools like (gnu ci) and ‘guix graph’. * gnu/packages/dlang.scm (ldc-bootstrap): Export and add ‘hidden?’ property. (ldc)[properties]: New field. (dmd-bootstrap): Export and add ‘hidden?’ property. (dmd)[properties]: New field. * gnu/packages/freedesktop.scm (xdgmime): Export and add ‘hidden?’ property. * gnu/packages/games.scm (glkterm, supertuxkart-data) (ring-racers-data, openttd-engine, openttd-opengfx, openttd-opensfx) (openttd-openmsx, openrct2-title-sequences, openrct2-objects) (xonotic-data): Export and add ‘hidden?’ property. (simgear): Export. * gnu/packages/gnucash.scm (gnucash-docs): Export and add ‘hidden? property. * gnu/packages/groovy.scm (java-groovy-bootstrap): Export and add ‘hidden?’ property. (groovy-bootstrap, groovy-tests-bootstrap, groovy-parser-antlr4) (groovy-test, groovy-xml, groovy-templates, groovy-groovydoc) (groovy-ant, groovy-astbuilder, groovy-bsf, groovy-cli-commons) (groovy-cli-picocli, groovy-swing, groovy-console, groovy-datetime) (groovy-dateutil, groovy-docgenerator, groovy-groovysh, groovy-jmx) (groovy-json, groovy-jsr223, groovy-nio, groovy-servlet) (groovy-sql, groovy-testng, groovy-macro, groovy-yaml): Export. (groovy)[properties]: New field. * gnu/packages/haskell-xyz.scm (ghc-chell-quickcheck-bootstrap) (ghc-options-bootstrap): Export and add ‘hidden?’ property. (ghc-system-fileio-bootstrap, ghc-system-filepath-bootstrap): Remove. * gnu/packages/haskell.scm (ghc-alex-bootstrap-for-9.4) (ghc-happy-bootstrap-for-9.4): Export. * gnu/packages/image-processing.scm (insight-toolkit-legacy): Export. * gnu/packages/java-bootstrap.scm (jikes): Export. (classpath-bootstrap): Export and add ‘hidden?’ property. (jamvm-1-bootstrap, ant-bootstrap, ecj-bootstrap): Likewise. (ecj-javac-wrapper, classpath-0.99, classpath-jamvm-wrappers): Export. (classpath-devel): Export and remove ‘hidden?’ property. (jamvm): Export. (ecj-javac-wrapper-final): Export and remove ‘hidden?’ property. (ecj4-bootstrap): Export and add ‘hidden?’ property. (ecj4-javac-wrapper): Export. (jamvm-with-ecj4): Export and remove ‘hidden?’ property. * gnu/packages/java-xml.scm (java-jaxen-bootstrap): Export and add ‘hidden?’ property. (java-jaxen)[properties]: New field. * gnu/packages/java.scm (java-plexus-container-default-bootstrap): Export and add ‘hidden?’ property. (java-plexus-container-default)[properties]: New field. (java-stringtemplate-4.0.6): Export. (antlr3-bootstrap): Export and add ‘hidden?’ property. (antlr3-3.3)[properties]: New field. (java-tunnelvisionlabs-antlr4-runtime-bootstrap): Export and add ‘hidden?’ property. (java-tunnelvisionlabs-antlr4-bootstrap): Likewise. (java-tunnelvisionlabs-antlr4-runtime)[properties]: New field. (java-tunnelvisionlabs-antlr4)[properties]: New field. (java-geronimo-genesis-2.1): Export. * gnu/packages/rails.scm (ruby-ammeter-bootstrap): Export and add ‘hidden?‘ property. (ruby-ammeter)[properties]: New field. * gnu/packages/ruby-check.scm (ruby-cucumber-compatibility-kit-bootstrap): Export and add ‘hidden?’ property. * gnu/packages/ruby-xyz.scm (ruby-rspec-block-is-expected-bootstrap): Likewise. (ruby-rubocop-capybara-minimal): Likewise. (ruby-rubocop-capybara)[property]: New field. (ruby-rubocop-rake-minimal): Export and add ‘hidden?’ property. (ruby-rubocop-rake)[properties]: New field. (ruby-rubocop-rspec-minimal): Export and add ‘hidden?’ property. (ruby-rubocop-rspec)[properties]: New field. (ruby-cucumber-without-tests): Export and add ‘hidden?’ property. (ruby-liquid-c-bootstrap): Likewise. (ruby-liquid-c)[properties]: New field. * gnu/packages/xorg.scm (xcffibgen): Export and add ‘hidden?’ property. Fixes: guix/maintenance#85 Change-Id: I39cc94accb4eefbe73801f1f237201b48e4a7def Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #6781
2025-09-18Reapply "Update Maxim's email address."Maxim Cournoyer
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, this time with the more careful command, to avoid a world rebuild: grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \ --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18Revert "Update Maxim's email address."Maxim Cournoyer
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This caused a world rebuild. Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18Update Maxim's email address.Maxim Cournoyer
The change was automated via: git grep -l maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' * .mailmap: New entry. Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2024-12-16gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs.Simon Tournier
* gnu/packages/dlang.scm (dmd-bootstrap)[arguments]<phases>: Move phobos origin from here... [native-inputs]: ...to here. Change-Id: I10cb5f628dad2fdbb01df58134996bdcd0b73d62 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-05gnu: ldc: Fix building on riscv64-linux.Efraim Flashner
* gnu/packages/dlang.scm (ldc)[arguments]: Add a configure-flag to link the executables with -latomic. Adjust the 'disable-problematic-tests phase to disable 2 tests which fail on riscv64-linux and delete some tests which fail on riscv64-linux. Adjust the custom 'check phase to skip several tests when building on riscv64-linux. Change-Id: I38a87b053c1399fa7762b4843555d6e2afc20427
2024-06-05gnu: ldc: Build with llvm-17.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap)[native-inputs]: Replace lld-wrapper-15 with lld-wrapper-17, llvm-15 with llvm-17. (ldc)[native-inputs]: Replace clang-15 with clang-17. Change-Id: I8d5b19d3da52ba9f2d1fa3afcabe74ad4ce1d5e1
2024-06-05gnu: ldc: Fix build on aarch64-linux.Efraim Flashner
* gnu/packages/dlang.scm (ldc)[arguments]: Don't delete tests which don't fail on aarch64-linux. Adjust custom 'check phase to skip some tests known to fail on aarch64-linux. Change-Id: I84ea2f356a44e12952dbb852e41921895605176a
2024-06-05gnu: ldc: Honor parallel-build?.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap)[arguments]: Adjust custom 'build phase to check parallel-build? and not parallel-tests?. Change-Id: I84b5f5153fea89d80564f5a55c8df57ff201ee69
2024-06-05gnu: ldc: Update to 1.38.0.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.38.0. (ldc)[arguments]: Adjust 'patch-paths-in-tests phase for changes in the test suite. Adjust 'disable-problematic-tests phase to change the skipped tests. Change-Id: I5315ed5d3fc7d08a97aa0b5677692fbf221bf0c1
2024-01-28gnu: dmd: Limit supported systems.Efraim Flashner
* gnu/packages/dlang.scm (dmd)[supported-systems]: New field. Change-Id: Iba50d2f832a42876fc4e4418593c3c2feacdb3f8
2024-01-26gnu: Add d-demangler.Maxim Cournoyer
* gnu/packages/dlang.scm (d-demangler): New variable. Change-Id: Ic1dc8fb8adc1b4be859552e4add074a35bdfc6d0
2024-01-26gnu: Add dmd.Maxim Cournoyer
* gnu/packages/dlang.scm (dmd-bootstrap, dmd): New variables. Change-Id: I53e00a429e2084a392341ef1bc7ea63f0fcaaab4
2024-01-26gnu: gdmd: Replace gdc-11 with gdc alias.Maxim Cournoyer
* gnu/packages/dlang.scm (gdmd) [inputs]: Replace gdc-11 with gdc. Change-Id: Ie035bb79c128c266cee85cf11bf79216f4f8b454
2024-01-25gnu: ldc: Build with llvm-15.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap)[native-inputs]: Replace llvm-14 with llvm-15, lld-wrapper-14 with lld-wrapper-15. (ldc)[native-inputs]: Replace clang-14 with clang-15. Change-Id: Iaa2023c7fb8a515c50a141d0157d9023cfb5c623
2023-12-07gnu: dub: update to 1.33.0.Hugo Nobrega
* gnu/packages/dlang.scm (dub): Update to 1.33.0. Change-Id: Ie09f43329fa4a8d79f201f4b617e498d39adec6f Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-12-02gnu: ldc: Update to 1.35.0.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.35.0. [arguments]: Adjust configure-flags to not build shared libraries. (ldc)[arguments]: Adjust configure-flags to remove defaults. Adjust 'patch-paths-in-tests phase for another hardcoded /bin/bash. Delete another test. Change-Id: Ie284a97ecda2689e6ed84a902eff990cfae8c195
2023-12-02gnu: ldc: Enable building on more architectures.Efraim Flashner
* gnu/packages/dlang.scm (ldc)[arguments]: In the custom phase 'fix-compiler-rt-library-discovery rewrite gnu-triplet->clang-arch to pass-through unmatched architectures.
2023-12-02gnu: d-tools: Update to 2.105.3.Hugo Nobrega
The previous version 2.100 was failing in `check` due to changes to the Phobos stdlib * gnu/packages/dlang.scm (d-tools): Update to 2.105.3. Change-Id: Id9e4580d555c735fb0eebe880928ef2f558f959e Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-21gnu: ldc: Update to 1.32.2.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.32.2. (ldc)[arguments]: Adjust skipped tests paths for changes in source code layout. Skip another plugin test.
2023-05-17gnu: ldc-bootstrap: Don't depend on tzdata.Leo Famulari
* gnu/packages/dlang.scm (ldc-bootstrap)[inputs]: Remove tzdata. [native-inputs]: Add tzdata-for-tests. [arguments]: Forbid references to tzdata-for-tests. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-04-14Merge branch 'master' into core-updates.Maxim Cournoyer
Conflicts: gnu/local.mk gnu/packages/build-tools.scm gnu/packages/certs.scm gnu/packages/check.scm gnu/packages/compression.scm gnu/packages/cups.scm gnu/packages/fontutils.scm gnu/packages/gnuzilla.scm gnu/packages/guile.scm gnu/packages/ibus.scm gnu/packages/image-processing.scm gnu/packages/linux.scm gnu/packages/music.scm gnu/packages/nss.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/qt.scm gnu/packages/ruby.scm gnu/packages/shells.scm gnu/packages/tex.scm gnu/packages/video.scm gnu/packages/vulkan.scm gnu/packages/web.scm gnu/packages/webkit.scm gnu/packages/wm.scm
2023-04-10gnu: ldc: Use default test check.Efraim Flashner
* gnu/packages/dlang.scm (ldc)[arguments]: Strip the inherited tests configuration from ldc-bootstrap rather than setting it to #true.
2023-04-10gnu: ldc: Build with newer llvm.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap)[native-inputs]: Use lld-14 for lld-wrapper in place of lld-11. Replace llvm-11 with llvm-14. (ldc)[native-inputs]: Replace clang-11 with clang-14.
2023-04-10gnu: gdmd: Build with gdc-11.Efraim Flashner
* gnu/packages/dlang.scm (gdmd)[inputs]: Replace gdc-10 with gdc-11.
2023-01-07gnu: gtkd: Fix pkgconfig directory.Efraim Flashner
* gnu/packages/dlang.scm (gtkd)[arguments]: Add make-flag to set the pkgconfig directory correctly.
2023-01-02gnu: gtkd: Remove input labels.Efraim Flashner
* gnu/packages/dlang.scm (gtkd)[native-inputs]: Remove input labels.
2023-01-02gnu: gtkd: Remove trailing #t from phases.Efraim Flashner
* gnu/packages/dlang.scm (gtkd)[arguments]: Remove trailing #t from phases.
2023-01-02gnu: gtkd: Update to 3.10.0.Efraim Flashner
* gnu/packages/dlang.scm (gtkd): Update to 3.10.0. [arguments]: Rename 'prepare-x phase to 'pre-check, set CC for the tests.
2023-01-02gnu: ldc: Update to 1.30.0.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.30.0. [native-inputs]: Remove ld-gold-wrapper, Add lld-wrapper with lld-11. (ldc)[arguments]: Adjust 'fix-compiler-rt-library-discovery phase to change the order of linked libraries. Adjust 'disable-problematic-tests phase to work around more GDB tests. Adjust custom 'check phase for race condition in one of the tests.
2022-06-26gnu: ldc: Work towards building on aarch64-linux.Efraim Flashner
* gnu/packages/dlang.scm (ldc)[arguments]: Adjust configure-flags to not dynamically compile. Adjust custom 'fix-compiler-rt-library-discovery phase to add a case for aarch64. Adjust custom'disable-problematic-tests phase to remove some tests for aarch64-linux.
2022-06-26gnu: ldc: Update skipped tests on i686-linux.Efraim Flashner
* gnu/packages/dlang.scm (ldc)[arguments]: Adjust custom 'disable-problematic-tests phase to skip fewer tests.
2022-06-26gnu: Remove unneeded ldc bootstrap packages.Efraim Flashner
* gnu/packages/dlang.scm (ldc-bootstrap-0.17, ldc-bootstrap-1.12, ldc-bootstrap-1.24): Remove packages. (ldc-bootstrap-1.27): Rename to ldc-bootstrap. Absorb inherited package adjustments. (ldc): Adjust to ldc-bootstrap-1.27 renaming.
2022-06-26gnu: ldc-bootstrap-1.27: Build with gdmd.Esther Flashner
* gnu/packages/dlang.scm (ldc-bootstrap-1.27)[native-inputs]: Replace ldc-bootstrap-1.24 with gdmd. [supported-systems]: Mark all systems supported. Co-authored-by: Efraim Flashner <efraim@flashner.co.il>