3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
Commit graph

49314 commits

Author SHA1 Message Date
Mathieu Othacehe
21b0ed1f9d
gnu: doxygen: Fix cross-compilation.
* gnu/packages/documentation.scm (doxygen)[arguments]: Force cmake to use
iconv.h from cross-libc.
2019-11-15 17:32:26 +01:00
Mathieu Othacehe
6beb6cc6df
gnu: git: Fix cross-compilation.
* gnu/packages/version-control.scm (git-cross-configure-flags): New variable,
(git)[arguments]: add it to configure-flags. Also add cross curl-config script
to PATH.
(git-minimal): Add previous variable to configure-flags.
2019-11-15 17:32:26 +01:00
Mathieu Othacehe
457e116698
gnu: swig: Fix cross-compilation.
* gnu/packages/swig.scm (swig)[inputs]: Add pcre that is needed when cross-compiling.
2019-11-15 17:32:26 +01:00
Mathieu Othacehe
1c8b1870a6
gnu: openldap: Fix cross-compilation.
* gnu/packages/openldap.scm (openldap)[inputs]: Move groff from here to ...
[native-inputs]: ... here. Also add bdb and automake.
[arguments]: Add cross-compilation specific configure-flags. Do not strip when
cross-compiling. Add a new fix-configure phase to update outdated config.sub
and config.guess. Add a fix-cross-gcc phase to set CC variable to
cross-compiler name when cross-compiling.
2019-11-15 17:32:26 +01:00
Mathieu Othacehe
63539587bc
gnu: bdb: Fix cross-compilation.
* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Pass host argument to configure
when cross-compiling.
2019-11-15 17:32:26 +01:00
Mathieu Othacehe
213e1764f4
gnu: eudev: Fix cross-compilation.
* gnu/packages/linux.scm (eudev)[arguments]: Look for xsltproc in both
native-inputs and inputs. Also, do not run udevadm when cross-compiling.

We need to find another way to generate hwdb.bin file for cross-built systems.
2019-11-15 17:32:25 +01:00
Mathieu Othacehe
a4c04bee7b
gnu: boost: Fix cross-compilation.
* gnu/packages/patches/boost-dumpversion.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/boost.scm (boost)[source]: Apply it,
[native-inputs]: add python unless cross-compiling,
[arguments]: pass cross-compilation mandatory
flags and fill a user-config.jam file pointing to cross-compiler. Disable
python support that is broken when cross-compiling. Disable
provide-libboost_python when cross-compiling.
2019-11-15 17:32:25 +01:00
Mathieu Othacehe
63eb30c191
gnu: icu4c: Fix cross-compilation.
* gnu/packages/icu4c.scm (icu4c-build-root): New variable.
(icu4c)[native-inputs]: Add it.
[arguments]: Pass it as a configure-flag.
2019-11-15 17:32:25 +01:00
Mathieu Othacehe
3382a4f344
gnu: cyrus-sasl: Fix cross-compilation.
* gnu/packages/patches/cyrus-sasl-ac-try-run-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[origin]: Apply it.
[native-tools]: Add autoconf, automake and libtool.
[arguments]: Run autoconf to apply m4 modification in patch above.
2019-11-15 17:32:25 +01:00
Mathieu Othacehe
e45c333c55
gnu: groff: Fix cross compilation.
* gnu/packages/groff.scm (groff)[native-inputs]: Add self,
[arguments]: set GROFF_BIN_PATH and GROFFBIN variables when
cross-compiling.
(groff-minimal)[native-inputs]: Add groff.
2019-11-15 17:32:25 +01:00
Mathieu Othacehe
534537e2ef
gnu: cmake: Fix cross-compilation.
* gnu/packages/cmake.scm (cmake-minimal-cross): New package.
* guix/build-system/cmake.scm (default-cmake): Add new target argument and use
it to select cmake-minimal or cmake-minimal-cross.
(lower): Pass target to default-cmake.
2019-11-15 17:32:25 +01:00
Mathieu Othacehe
bdcdd55000
gnu: openssl: Fix cross-compilation.
* gnu/packages/tls.scm (openssl-next)[arguments]: Pass CROSS_COMPILE
environment variable and target system to configure script.
2019-11-15 17:32:24 +01:00
Ludovic Courtès
2387e2f2d1
gnu: aspell: Update to 0.60.8.
* gnu/packages/aspell.scm (aspell): Update to 0.60.8.
[source]: Remove "aspell-gcc-compat.patch".
* gnu/packages/patches/aspell-gcc-compat.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-11-14 22:38:10 +01:00
Ludovic Courtès
4554d6b77e
gnu: aspell: Truly honor $ASPELL_DICT_DIR.
Fixes <https://bugs.gnu.org/29686>.
Reported by Oleg Pykhalov <go.wigust@gmail.com>.

* gnu/packages/aspell.scm (aspell)[arguments]: Remove 'wrap-aspell' phase.
* gnu/packages/patches/aspell-default-dict-dir.patch: Add hunk to expand
the right-hand size of '|' in values like "<$FOO|$BAR/baz>".  Change
DICT_DIR to refer to "$HOME" on the right-hand side.
2019-11-14 22:30:24 +01:00
bb750fa021
gnu: fribidi: Update to 1.0.7.
* gnu/packages/fribidi.scm (fribidi): Update to 1.0.7.
2019-11-10 12:11:32 +02:00
4e6febec68
gnu: fribidi: Ungraft.
* gnu/packages/fribidi.scm (fribidi)[replacement]: Remove field.
[source]: Add patch.
(fribidi/fixed): Remove variable.
2019-11-10 10:16:43 +02:00
f6c51f598e
gnu: fribidi: Fix CVE-2019-18397.
* gnu/packages/fribidi.scm (fribidi): Replace with fribidi/fixed.
(fribidi/fixed): New variable.
* gnu/packages/patches/fribidi-CVE-2019-18397.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2019-11-10 10:15:25 +02:00
Gábor Boskovits
ba469f1ad9
gnu: wayland-protocols: Update to 1.18.
* gnu/packages/freedesktop.scm (wayland-protocols): Update to 1.18.
2019-11-07 08:17:52 +01:00
Gábor Boskovits
373007882d
gnu: wayland: Update to 1.18.0.
* gnu/packages/freedesktop.scm (wayland): Update to 1.18.0.
2019-11-07 08:17:16 +01:00
Leo Famulari
1051facc81
gnu: file: Update to 5.37 [fixes CVE-2019-18218].
* gnu/packages/file.scm (file): Update to 5.37.
* gnu/packages/patches/file-CVE-2019-18218.patch: New file.
* gnu/packages/patches/file-CVE-2018-10360.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2019-10-28 12:47:59 -04:00
Maxim Cournoyer
7da3e81aa1
gnu: glib: Reference dbus-launch by its absolute path.
* gnu/packages/glib.scm (glib)[phases]{patch-dbus-launch-path}: New phase.
2019-10-21 11:08:32 +09:00
Pierre Neidhardt
47f4df157f
gnu: drascula: Use make-desktop-entry-file.
* gnu/packages/games.scm (drascula)[arguments]: Do it.
2019-10-19 12:45:40 +02:00
Pierre Neidhardt
96a320e5c7
gnu: tome4: Use make-desktop-entry-file.
* gnu/packages/games.scm (tome4)[arguments]: Do it.
2019-10-19 12:45:40 +02:00
Pierre Neidhardt
a9a507613b
gnu: emacs-exwm: Use make-desktop-entry-file.
* gnu/packages/emacs-xyz.scm (emacs-exwm)[arguments]: Do it.
2019-10-19 12:45:40 +02:00
Pierre Neidhardt
10bb4e1650
guix: Add helper for generating desktop entry files.
* guix/build/utils.scm (make-desktop-entry-file): New procedure.
2019-10-19 12:45:40 +02:00
Ludovic Courtès
fd67cdb7e3
gnu: commencement: Clean up 'gnu-make-final' dependencies.
* gnu/packages/commencement.scm (gnu-make-final): Remove GUILE-FINAL
from the inputs of 'pkg-config'.
2019-10-14 15:42:42 +02:00
Ludovic Courtès
6254823271
gnu: bison-boot0: Remove conditional parallel build/test flags.
* gnu/packages/commencement.scm (bison-boot0)[arguments]: Remove
conditional #:parallel-build? and #:parallel-tests? flags.
Append (package-arguments bison).
2019-10-14 15:40:35 +02:00
Ludovic Courtès
e5c1f5cfdf
gnu: bison-boot0: Set name to "bison-boot0".
* gnu/packages/commencement.scm (bison-boot0)[name]: New field.
2019-10-14 15:38:23 +02:00
Ludovic Courtès
57bc2dcf0b
gnu: commencement: Remove 'm4-boot0*'.
* gnu/packages/commencement.scm (m4-boot0*): Remove.
(bison-boot0, flex-boot0): Use M4-BOOT0 instead.
2019-10-14 15:37:25 +02:00
Mathieu Othacehe
c206f1914e
Merge remote-tracking branch 'signed/master' into core-updates 2019-10-14 10:03:19 +02:00
Mathieu Othacehe
396b05f04e
gexp: Use cross extensions when cross-compiling.
* guix/gexp.scm (load-path-expression): Use ungexp-splicing instead of
ungexp-native-splicing so that the cross extensions are used when target is
set.
2019-10-14 09:59:04 +02:00
Brian Leung
92f92a0fc8
gnu: emacs-unpackaged-el: Update to 0-3.746801a.
* gnu/packages/emacs-xyz.scm (emacs-unpackaged-el): Update to 0-3.746801a.
2019-10-14 00:30:29 -07:00
Brian Leung
34d2367dc1
gnu: emacs-ivy-rich: Update to 0.1.4-2.7a667b1.
* gnu/packages/emacs-xyz.scm (emacs-ivy-rich): Update to 0.1.4-2.7a667b1.
2019-10-14 00:30:24 -07:00
Eric Bavier
bd04fe8786
gnu: HandBrake: Update to 1.2.2.
* gnu/packages/video.scm (handbrake): Update to 1.2.2.
2019-10-13 22:54:12 -05:00
Eric Bavier
136e3b392b
gnu: stress-make: Fix build and update.
* gnu/packages/debug.scm (stress-make)[version]: Update to latest upstream
commit.  Bump revision.  Use 'git-version'.
[source]: Update url.  Use 'git-file-name'.
[home-page]: Update url likewise.
[arguments]: Add 'setup-go' phase.
[license]: Update license file name.
2019-10-13 22:17:38 -05:00
Tobias Geerinckx-Rice
217f22d16a
gnu: xwd: Fix typo in description.
* gnu/packages/xorg.scm (xwd)[description]: Fix typo.
2019-10-14 00:40:30 +02:00
Tobias Geerinckx-Rice
509551c2a8
gnu: xwininfo: Update to 1.1.5.
* gnu/packages/xorg.scm (xwininfo): Update to 1.1.5.
2019-10-14 00:32:32 +02:00
Tobias Geerinckx-Rice
9cdf9468dd
gnu: emacs-nhexl-mode: Use HTTPS home page.
* gnu/packages/emacs-xyz.scm (emacs-nhexl-mode)[home-page]: Use HTTPS.
2019-10-14 00:32:32 +02:00
Tobias Geerinckx-Rice
d915065bac
gnu: emacs-nhexl-mode: Update to 1.3.
* gnu/packages/emacs-xyz.scm (emacs-nhexl-mode): Update to 1.3.
2019-10-14 00:32:32 +02:00
Tobias Geerinckx-Rice
fc319fde1a
gnu: emacs-darkroom: Update to 0.2.
* gnu/packages/emacs-xyz.scm (emacs-darkroom): Update to 0.2.
2019-10-14 00:32:32 +02:00
Tobias Geerinckx-Rice
d3dfeaa8fe
gnu: emacs-let-alist: Update to 1.0.6.
* gnu/packages/emacs-xyz.scm (emacs-let-alist): Update to 1.0.6.
2019-10-14 00:32:32 +02:00
Tobias Geerinckx-Rice
d0b9fc9a89
gnu: emacs-csv-mode: Use HTTPS.
* gnu/packages/emacs-xyz.scm (emacs-csv-mode)[source, home-page]: Use HTTPS.
2019-10-14 00:32:31 +02:00
Tobias Geerinckx-Rice
80fd379784
gnu: emacs-csv-mode: Update to 1.9.
* gnu/packages/emacs-xyz.scm (emacs-csv-mode): Update to 1.9.
2019-10-14 00:32:31 +02:00
Tobias Geerinckx-Rice
5aa5187128
gnu: emacs-load-relative: Update to 1.3.1.
* gnu/packages/emacs-xyz.scm (emacs-load-relative): Update to 1.3.1.
2019-10-14 00:32:31 +02:00
Tobias Geerinckx-Rice
ca49db2735
gnu: emacs-debbugs: Update to 0.20.
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.20.
2019-10-14 00:32:31 +02:00
Tobias Geerinckx-Rice
a201b0973e
gnu: starman: Update to 0.4015.
* gnu/packages/web.scm (starman): Update to 0.4015.
2019-10-14 00:32:31 +02:00
David Wilson
1c463524c8
gnu: Add playerctl.
* gnu/packages/music.scm (playerctl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-14 00:08:33 +02:00
Kyle Meyer
ff73bbf410
gnu: git-annex: Update to 7.20191009.
* gnu/packages/haskell-apps.scm (git-annex): Update to 7.20191009.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-10-14 00:08:10 +02:00
Ludovic Courtès
efa8fddabe
gnu: commencement: Use 'package-with-explicit-inputs' for Hurd packages.
* gnu/packages/commencement.scm (with-boot0): New procedure.
(gnumach-headers-boot0, mig-boot0)
(hurd-headers-boot0, hurd-minimal-boot0)
(hurd-core-headers-boot0): Use it instead of 'package-with-explicit-inputs'.
2019-10-14 00:08:10 +02:00
Ludovic Courtès
8f417ed280
gnu: commencement: Further optimize the package object graph.
For a package like:

  (define-public xxx
    (package
      (inherit (@ (gnu packages base) coreutils))
      (name "xxx")
      (inputs (@ (gnu packages commencement) %final-inputs))
      (native-inputs '())
      (propagated-inputs '())
      (arguments '(#:implicit-inputs? #f))))

this reduces the package object graph from 176 nodes (1852 edges) to 113
nodes (1114 edges).

The number of 'add-data-to-store' calls in "guix build coreutils -nd"
drops from 2045 to 1301, and the number of memoization tables drops from
102 to 40.

"guix build libreoffice -nd" goes from 2.40s to 2.27s.

* gnu/packages/commencement.scm (with-boot4): New variable.
(guile-final, glibc-utf8-locales-final): Use it.
(with-boot4, with-boot5): New variable.
(gnu-make-final): Rewrite to avoid 'package-with-explicit-inputs'.
(coreutils-final): Use 'with-boot5' instead of
'package-with-explicit-inputs'.
(grep-final): Likewise.
(with-boot6): New variable.
(sed-final, %final-inputs): Use it.
2019-10-14 00:08:10 +02:00