Commit graph

13 commits

Author SHA1 Message Date
Léo Le Bouter
44c98c9979
gnu: Add mingw-w64-tools.
* gnu/packages/mingw.scm (mingw-w64-tools): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-02-03 10:26:22 -05:00
Maxim Cournoyer
dc2774549f
gnu: mingw-64: Update to 8.0.0.
* gnu/packages/mingw.scm (mingw-64): Update to 8.0.0.
2021-02-03 10:26:22 -05:00
Léo Le Bouter
88c635d96a
gnu: make-mingw-w64: Use a mirror URI and fix lint errors.
* gnu/package/mingw.scm (make-mingw-w64)[source]: Use a mirror URI.  Wrap
lines 80 columns to fix lint warning.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-02-03 10:26:22 -05:00
Carl Dong
4719b71572
gnu: mingw: Add mingw-w64 reproducibility patches.
These patches were originally found at the debian mingw-w64 team's
mingw-w64 repo, and should improve the reproducibility of our mingw-w64
toolchain.

* gnu/packages/patches/mingw-w64-dlltool-temp-prefix.patch: New file.
* gnu/packages/patches/mingw-w64-reproducible-gendef.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/mingw.scm (make-mingw-w64): Apply patches.
2020-04-04 16:23:07 -04:00
Carl Dong
0f864175dc
gnu: mingw-w64-*: Update to 7.0.0.
* gnu/packages/mingw.scm (make-mingw-w64): Update to 7.0.0.
2020-03-12 15:45:28 -04:00
Carl Dong
f5d6c88d0f
gnu: mingw-w64: Add -winpthreads variants.
This recursive package definition really demonstrates how magical Guix
can be :-)

Try invoking:
    ./pre-inst-env guix build mingw-w64-{x86_64,i686}{,-winpthreads}

* gnu/packages/mingw.scm (make-mingw-w64): Add XGCC, XBINUTILS optional
arguments to specify using a non-default cross-compiler/binutils.  Add
WITH-WINPTHREADS? optional argument to allow building with winpthreads
support.  Adjust accordingly for the new arguments.
(mingw-w64-i686-winpthreads, mingw-w64-x86_64-winpthreads): Add
variables.
* gnu/packages/cross-base.scm (native-libc): Add XGCC, XBINUTILS
key arugments and pass to MAKE-MINGW-W64.
(cross-libc): Pass XGCC and XBINUTILS to NATIVE-LIBC.
2019-10-21 17:39:08 -04:00
David Thompson
07d7175406
gnu: mingw-w64: Update to 6.0.0.
* gnu/packages/mingw.scm (mingw-w64): Update to 6.0.0.
* gnu/packages/patches/mingw-w64-6.0.0-gcc.patch: New file.
* gnu/packages/patches/mingw-w64-5.0rc2-gcc-4.9.3.patch: Delete it.
* gnu/local.mk (dist_patch_DATA): Add new patch.  Delete old patch.
* gnu/build/cross-toolchain.scm (set-cross-path/mingw): Add additional
  autoconf-like substitutions.
2019-08-28 08:47:14 -04:00
Carl Dong
67dac6b892
gnu: mingw: Add x86_64 support.
This patch parameterizes previously hard-coded instances of
i686-w64-mingw32, adding support for x86_64-w64-mingw32.

* gnu/packages/mingw.scm (make-mingw-w64): New procedure.
(mingw-w64-i686, mingw-w64-x86_64): New variables.
(%mingw-triplet): Remove.
(mingw-w64): Update to point to 'mingw-w64-i686'.
* gnu/packages/cross-base.scm (cross-gcc): Use 'libc' keyword argument
if specified, instead of treating it as a boolean.
(native-libc): Return the correct mingw-w64 depending on machine
specified in target.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "x86_64-mingw".
* gnu/build/cross-toolchain.scm (set-cross-path/mingw): Replace
hardcoded 'i686-w64-mingw32' instances with 'target' keyword argument.
(cross-gcc-build-phases): Update accordingly; use 'target-mingw?'
implementation of target checking and add commentary.
* gnu/ci.scm (%cross-targets): Add "x86_64-w64-mingw32".
2019-08-14 21:29:53 +02:00
Tobias Geerinckx-Rice
5c0f11c29c
gnu: mingw-w64: Update to 5.0.4.
* gnu/packages/mingw.scm (mingw-w64): Update to 5.0.4.
2018-08-09 02:17:25 +02:00
Tobias Geerinckx-Rice
5dacc645b8
gnu: mingw-w64: Update to 5.0.3.
* gnu/packages/mingw.scm (mingw-w64): Update to 5.0.3.
2018-03-12 04:57:52 +01:00
Tobias Geerinckx-Rice
8aaba50071
gnu: mingw-w64: Fix home page and avoid further confusion.
MinGW-w64 was forked (in rather dramatic fashion) from the original
MinGW.  The two projects remain distinct and MinGW-w64 seems by far the
actively developed of the two.

* gnu/packages/mingw.scm (mingw-w64)[home-page]: Point to the correct
upstream.  Use HTTPS.
[description]: Expand and briefly note the relationship between the
two projects.  Use @dfn.
2018-03-12 04:57:44 +01:00
Ricardo Wurmus
5a80c15c14
gnu: Remove "open source" from descriptions.
All software in Guix is Free Software.

* gnu/packages/aidc.scm (libdmtx)[description]: Remove "open source" string.
* gnu/packages/firmware.scm (seabios)[description]: Likewise.
* gnu/packages/libupnp.scm (libupnp)[description]: Likewise.
* gnu/packages/maths.scm (cubicle)[description]: Likewise.
* gnu/packages/mingw.scm (mingw-w64)[description]: Likewise.
* gnu/packages/game-development.scm (openmw)[description]: Likewise.
[synopsis]: Remove "Free software".
2017-11-08 16:21:53 +01:00
Jan Nieuwenhuizen
cf0ef075c4
gnu: Add mingw-w64.
* gnu/packages/patches/gcc-4.9.3-mingw-gthr-default.patch,
gnu/packages/patches/mingw-w64-5.0rc2-gcc-4.9.3.patch,
gnu/packages/mingw.scm: New files.
* gnu/local.mk (dist_patch_DATA): Add the patches.
(GNU_SYSTEM_MODULES): Add mingw.scm.
2016-12-07 10:23:16 +01:00