<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/gnu/packages/cross-base.scm, branch version-1.1.0</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>gnu: binutils: Shorten file names of MinGW patches.</title>
<updated>2020-04-10T14:05:57+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-04-10T12:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=18ffd2f9687a7c8af0041c129c47db31b7e810c3'/>
<id>18ffd2f9687a7c8af0041c129c47db31b7e810c3</id>
<content type='text'>
This ensures we stay below the POSIX tar file name length limit.

* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
Rename to...
* gnu/packages/patches/binutils-mingw-w64-deterministic.patch: ... this.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
Rename to...
* gnu/packages/patches/binutils-mingw-w64-timestamp.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/cross-base.scm (cross-binutils): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures we stay below the POSIX tar file name length limit.

* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
Rename to...
* gnu/packages/patches/binutils-mingw-w64-deterministic.patch: ... this.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
Rename to...
* gnu/packages/patches/binutils-mingw-w64-timestamp.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/cross-base.scm (cross-binutils): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: Move PACKAGES-WITH-*PATCHES to (guix packages)</title>
<updated>2020-04-06T18:02:42+00:00</updated>
<author>
<name>Carl Dong</name>
<email>contact@carldong.me</email>
</author>
<published>2020-04-06T18:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b066c25026f21fb57677aa34692a5034338e7ee3'/>
<id>b066c25026f21fb57677aa34692a5034338e7ee3</id>
<content type='text'>
* gnu/packages/cross-base.scm (package-with-extra-patches,
package-with-patches): Move procedures from here...
* guix/packages.scm (package-with-extra-patches, package-with-patches):
...to here, and export.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/packages/cross-base.scm (package-with-extra-patches,
package-with-patches): Move procedures from here...
* guix/packages.scm (package-with-extra-patches, package-with-patches):
...to here, and export.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: cross-base: Remove unneeded 'let'.</title>
<updated>2020-04-04T22:36:43+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-04-04T20:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=524a4e357cd71566841aaf405e8548fa3600b11b'/>
<id>524a4e357cd71566841aaf405e8548fa3600b11b</id>
<content type='text'>
This is a followup to 102d307520dee27a40feb1ca5a699763a2f3aefe.

* gnu/packages/cross-base.scm (cross-libc): Remove (let ((libc libc)) …).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a followup to 102d307520dee27a40feb1ca5a699763a2f3aefe.

* gnu/packages/cross-base.scm (cross-libc): Remove (let ((libc libc)) …).
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: cross-base: Add 'package-with-patches'.</title>
<updated>2020-04-03T21:09:59+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2020-04-03T20:15:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b256d136199b6e2a53ee547b9239e689697c017f'/>
<id>b256d136199b6e2a53ee547b9239e689697c017f</id>
<content type='text'>
This is a followup to c1c50cb5b099897a18e4cd8c27970cb45a7c3a94.

* gnu/packages/cross-base.scm (package-with-patch): Rename to...
(package-with-patches): ... this, and take a list of patches.
(package-with-extra-patches): Use it.
(cross-binutils): Use 'search-patches' instead of 'search-patch'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a followup to c1c50cb5b099897a18e4cd8c27970cb45a7c3a94.

* gnu/packages/cross-base.scm (package-with-patch): Rename to...
(package-with-patches): ... this, and take a list of patches.
(package-with-extra-patches): Use it.
(cross-binutils): Use 'search-patches' instead of 'search-patch'.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES</title>
<updated>2020-04-03T18:13:36+00:00</updated>
<author>
<name>Carl Dong</name>
<email>contact@carldong.me</email>
</author>
<published>2020-04-03T17:46:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=c1c50cb5b099897a18e4cd8c27970cb45a7c3a94'/>
<id>c1c50cb5b099897a18e4cd8c27970cb45a7c3a94</id>
<content type='text'>
This also removes the execute bit from the patches added. Not sure how
or why those were set in the first place.

* gnu/packages/cross-base.scm (package-with-extra-patches): Imitate
PACKAGE-WITH-PATCH instead of using it.
* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
Remove execute bit.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
Remove execute bit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also removes the execute bit from the patches added. Not sure how
or why those were set in the first place.

* gnu/packages/cross-base.scm (package-with-extra-patches): Imitate
PACKAGE-WITH-PATCH instead of using it.
* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
Remove execute bit.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
Remove execute bit.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: cross-base: Hotfix for paren</title>
<updated>2020-04-02T22:08:33+00:00</updated>
<author>
<name>Carl Dong</name>
<email>contact@carldong.me</email>
</author>
<published>2020-04-02T22:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=401d28e4334dc1b9bb77af3aca6c53364dd51e1b'/>
<id>401d28e4334dc1b9bb77af3aca6c53364dd51e1b</id>
<content type='text'>
* gnu/packages/cross-base.scm (package-with-extra-patches): Add trailing
paren.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/packages/cross-base.scm (package-with-extra-patches): Add trailing
paren.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: cross-base: Add mingw-w64 specific binutils patches.</title>
<updated>2020-04-02T21:59:53+00:00</updated>
<author>
<name>Carl Dong</name>
<email>contact@carldong.me</email>
</author>
<published>2020-03-24T19:39:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=79825bee07fceb781efc40a8c56a85aac13bba5a'/>
<id>79825bee07fceb781efc40a8c56a85aac13bba5a</id>
<content type='text'>
These patches were originally found at the debian mingw-w64 team's
binutils repo, and should improve the reproducibility of our mingw-w64
toolchain.

* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
New file.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/cross-base.scm (cross-binutils): Apply relevant patches
if target is mingw-w64.
(package-with-extra-patches): New procedure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These patches were originally found at the debian mingw-w64 team's
binutils repo, and should improve the reproducibility of our mingw-w64
toolchain.

* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
New file.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/cross-base.scm (cross-binutils): Apply relevant patches
if target is mingw-w64.
(package-with-extra-patches): New procedure.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: cross-libc: Build fix for the Hurd.</title>
<updated>2020-03-31T22:12:31+00:00</updated>
<author>
<name>Jan Nieuwenhuizen</name>
<email>janneke@gnu.org</email>
</author>
<published>2020-03-09T13:38:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b3bd47569637702652c2e7da0ddee8e879b52d71'/>
<id>b3bd47569637702652c2e7da0ddee8e879b52d71</id>
<content type='text'>
This fixes cross building of coreutils, e.g.

    ./pre-inst-env guix build --target=i586-pc-gnu coreutils

* gnu/packages/cross-base.scm (cross-libc): Add -lhurduser, -lmachuser for the
Hurd.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes cross building of coreutils, e.g.

    ./pre-inst-env guix build --target=i586-pc-gnu coreutils

* gnu/packages/cross-base.scm (cross-libc): Add -lhurduser, -lmachuser for the
Hurd.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: mingw-w64: Add -winpthreads variants.</title>
<updated>2019-10-21T21:39:08+00:00</updated>
<author>
<name>Carl Dong</name>
<email>contact@carldong.me</email>
</author>
<published>2019-10-11T23:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=f5d6c88d0f5e1556295c1a19c46ddfcb7a23107f'/>
<id>f5d6c88d0f5e1556295c1a19c46ddfcb7a23107f</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu: gcc: Fix i686-linux cross compiler.</title>
<updated>2019-09-29T14:18:44+00:00</updated>
<author>
<name>Jan Nieuwenhuizen</name>
<email>janneke@gnu.org</email>
</author>
<published>2019-09-29T11:08:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=43124a54744b64dcdbdd8f92d2a037bf8e0dd215'/>
<id>43124a54744b64dcdbdd8f92d2a037bf8e0dd215</id>
<content type='text'>
This resurrects

    ./pre-inst-env guix build --target=i686-unknown-linux-gnu hello

* gnu/packages/cross-base.scm (cross-gcc-arguments): Do not build libmpx;
does not cross-configure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This resurrects

    ./pre-inst-env guix build --target=i686-unknown-linux-gnu hello

* gnu/packages/cross-base.scm (cross-gcc-arguments): Do not build libmpx;
does not cross-configure.
</pre>
</div>
</content>
</entry>
</feed>
