aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-15gnu: Add rust-unwrap-1.Vinicius Monego
* gnu/packages/crates-io.scm (rust-unwrap-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-get-if-addrs-sys-0.1.Vinicius Monego
* gnu/packages/crates-io.scm (rust-get-if-addrs-sys-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-c-linked-list-1.Vinicius Monego
* gnu/packages/crates-io.scm (rust-c-linked-list-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: evince: Build with libkpathsea.Leo Prikler
* gnu/packages/gnome.scm (evince)[inputs]: Add libkpathsea.
2021-07-15gnu: Add texlive-libkpathsea.Leo Prikler
* gnu/packages/tex.scm (texlive-libkpathsea): New variable.
2021-07-15gnu: Add python-pygame-sdl2.Leo Prikler
* gnu/packages/game-development.scm (python-pygame-sdl2): New variable. Reuse package definition from previous python2-pygame-sdl2, with the following additions: [source]: Also drop “gen3” in snippet. [arguments]: Drop #:python. [native-inputs]: Use ‘python-cython’ instead of ‘python2-cython’. (python2-pygame-sdl2): Define in terms of python-pygame-sdl2.
2021-07-15gnu: renpy: Correct inputs.Leo Prikler
* gnu/packages/game-development.scm (renpy)[#:modules]: Add SRFI-1. [#:imported-modules]: Likewise. [#:phases]<fix-commands>: Search for ‘python2’ and ‘xdg-open’ in inputs. <start-xserver>: Search for ‘xorg-server’ in native-inputs. <install>: Search for ‘python2’ in inputs. <wrap>: Search for python dependencies in inputs. [inputs]: Add python2, drop python2-pygame (already propagated by python2-renpy). Move xorg-server from here… [native-inputs]: … to here. [propagated-inputs]: Empty.
2021-07-15gnu: python2-renpy: Correct inputs.Leo Prikler
* gnu/packages/game-development.scm (python2-renpy)[#:phases]<fix-commands>: Search for ‘xdg-open’ in inputs. <set-build-vars>: Search for ‘cython’ in native-inputs. [native-inputs]: Move ‘xdg-utils’ from here… [inputs]: … to here.
2021-07-15gnu: python2-renpy: Update description.Leo Prikler
* gnu/packages/game-development.scm (python2-renpy)[description]: Mention, that it's only used for bootstrapping renpy.
2021-07-15gnu: python2-renpy: Drop unused Ren'py sources.Leo Prikler
These sources are written in Ren'py (the language) and thus not particularly useful before renpy itself is built. In particular, they serve no purpose when installed without prior compilation. * gnu/packages/game-development.scm (python2-renpy)[#:phases]<install>: Drop installed "common" folder. (renpy)[#:phases]<install>: Adjust comment accordingly.
2021-07-15gnu: Add rust-mpris-player-0.6.Vinicius Monego
* gnu/packages/crates-io.scm (rust-mpris-player-0.6): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: rust-system-deps-1: Fix version requirements.Vinicius Monego
* gnu/packages/crates-io.scm (rust-system-deps-1)[source]: Add snippet to fix rust-version-compare version. [arguments]<#:phases>: Remove 'fix-version-requirements phase. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-dbus-0.6.Vinicius Monego
* gnu/packages/crates-io.scm (rust-dbus-0.6): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: Add rust-libdbus-sys-0.2.Vinicius Monego
* gnu/packages/crates-io.scm (rust-libdbus-sys-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: libogg: Update to 1.3.5.Matthew James Kraai
* gnu/packages/xiph.scm (libogg): Update to 1.3.5. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-07-15gnu: ffmpeg: Enable vaapi.Jack Hill
* gnu/packages/video.scm (ffmpeg)[arguments]: Add --enable-vaapi to configure-flags. Signed-off-by: Leo Famulari <leo@famulari.name>
2021-07-15gnu: linux-libre 5.4: Update to 5.4.132.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.132. (linux-libre-5.4-pristine-source): Update hash.
2021-07-15gnu: linux-libre 5.10: Update to 5.10.50.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.50. (linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.
2021-07-15gnu: linux-libre 5.12: Update to 5.12.17.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.12-version): Update to 5.12.17. (linux-libre-5.12-pristine-source, deblob-scripts-5.12): Update hashes.
2021-07-15gnu: linux-libre: Update to 5.13.2.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.13-version): Update to 5.13.2. (linux-libre-5.13-pristine-source, deblob-scripts-5.13): Update hashes.
2021-07-15gnu: linux-libre: Default to the 'schedutil' CPU scaling governor.Leo Famulari
For more information about these configuration options, read <https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt> or the document 'Documentation/admin-guide/pm/cpufreq.rst' in the linux-libre source distribution. * gnu/packages/aux-files/linux-libre/4.14-arm.conf, gnu/packages/aux-files/linux-libre/4.14-i686.conf, gnu/packages/aux-files/linux-libre/4.14-x86_64.conf, gnu/packages/aux-files/linux-libre/4.19-arm.conf, gnu/packages/aux-files/linux-libre/4.19-arm64.conf, gnu/packages/aux-files/linux-libre/4.19-i686.conf, gnu/packages/aux-files/linux-libre/4.19-x86_64.conf, gnu/packages/aux-files/linux-libre/4.9-i686.conf, gnu/packages/aux-files/linux-libre/4.9-x86_64.conf, gnu/packages/aux-files/linux-libre/5.10-i686.conf, gnu/packages/aux-files/linux-libre/5.10-x86_64.conf, gnu/packages/aux-files/linux-libre/5.12-i686.conf, gnu/packages/aux-files/linux-libre/5.12-x86_64.conf, gnu/packages/aux-files/linux-libre/5.13-i686.conf, gnu/packages/aux-files/linux-libre/5.13-x86_64.conf, gnu/packages/aux-files/linux-libre/5.4-arm.conf, gnu/packages/aux-files/linux-libre/5.4-arm64.conf, gnu/packages/aux-files/linux-libre/5.4-i686.conf, gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Unset 'CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE' and set 'CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y'.
2021-07-15gnu: claws-mail: Add comments for optional inputs.Raghav Gururajan
* gnu/packages/mail.scm (claws-mail)[native-inputs]: Add comment for docbook-utils. [inputs]: Add comments for j-pilot and webkitgtk.
2021-07-15gnu: claws-mail: Rename input label for shared-mime-info.Raghav Gururajan
* gnu/packages/mail.scm (claws-mail)[inputs]: Rename mime-info to shared-mime-info. [phases](patch-mime): Modify.
2021-07-15gnu: claws-mail: Update to v4.0.0 and adjust arguments+inputs accordingly.Raghav Gururajan
* gnu/packages/mail.scm (claws-mail)[version]: Update to 4.0.0. [arguments](configure-flags): Add flag disable-static. Remove flags enable-gnutls,enable-pgpmime-plugin, enable-enchant and enable-ldap. [native-inputs]: Add bison, flex, gettext-minimal, gobject-introspection and intltool. [inputs]: Add cairo, compface, dbus, fontconfig, gdk-pixbuf+svg, glib, gsettings-desktop-schemas, gumbo-parser, libgdata, libindicator, librsvg, libsoup, nettle, network-manager, openldap, poppler, python-pygobject and ytnef. Remove hicolor-icon-theme. Replace gtk+-2 and python-2 with gtk+ and python, respectively. [propagated-inputs]: Add dconf.
2021-07-14gnu: claws-mail: Rearrange inputs in alphabetical order.Raghav Gururajan
* gnu/packages/mail.scm (claws-mail)[inputs]: Modify.
2021-07-15gnu: agg: Fix typo in description.Tobias Geerinckx-Rice
* gnu/packages/graphics.scm (agg)[description]: Add missing article and work around scalable vector graphics graphics.
2021-07-15gnu: Add snapraid.Tobias Geerinckx-Rice
* gnu/packages/backup.scm (snapraid): New public variable.
2021-07-15gnu: fuse: Do not refer to the native bash.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (fuse)[inputs]: Add bash-minimal. [arguments]: Refer to it rather than to the native build bash. Do not return #t from phases.
2021-07-14gnu: icecat: Update to 78.12.0-guix0-preview1 [security fixes].Mark H Weaver
Includes fixes for CVE-2021-29970, CVE-2021-29976, and CVE-2021-30547. * gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update. (icecat-source): Update upstream source hash.
2021-07-14build-system/meson: Support cross-compilation.Maxime Devos
For cross-compilation, meson needs to be passed a ‘cross file’ with information on the architecture, CPU type, endianness and operating system, and the name of the cross-compiler binaries. The new module (guix build meson-configuration) has some utilities for writing these cross files, used by 'make-cross-file' in a G-exp. The values for the cross file are generated by 'make-machine-alist' and 'make-binaries-alist'. 'make-machine-alist' and 'make-binaries-alist' live on the host side, such that new architectures and operating systems can be added without causing rebuilds for old architectures. All operating systems and targets supported by Guix are theoretically supported, but only aarch64-linux-gnu, powerpc64le-linux-gnu and arm-linux-gnueabihf have been tested. i686-linux-gnu has also been tested with a previous version of this patch series but required some changes to 'cross-base.scm'. This has been tested with: $ ./pre-inst-env guix build glib --target=TARGET * guix/build/meson-configuration.scm (write-section-header): New procedure. (write-assignment): New procedure. (write-assignments): New procedure. * guix/build-system/meson.scm (target-hurd?): New predicate. (make-machine-alist): New procedure. (make-binaries-alist): New procedure. (make-cross-file): New procedure. (meson-cross-build): New procedure. (lower)[build-inputs]: Add standard cross packages when cross-compiling. Do not include regular 'inputs' when cross-compiling. (lower)[host-inputs]: Include 'inputs' when cross-compiling. (lower)[target-inputs]: Add cross packages when cross-compiling. (lower)[build]: Call 'meson-cross-build' instead of 'cross-build' when cross-compiling. (lower)[target]: Set it. (lower)[private-keywords]: Do not remove #:target when cross-compiling. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14libelf: Update configure script and config.guess and config.sub.Maxime Devos
The current configure script is too old to find the cross-compiler and support variables passed as arguments. Also, config.guess and config.sub are too old to recognise powerpc64 and aarch64. Solve this by regenerating the 'configure' script and replacing 'config.guess' and 'config.sub'. * gnu/packages/elf.scm (libelf)[arguments]<#:phases>{configure}: Remove phase. (libelf)[arguments]<#:phases>{delete-configure}: Regenerate the configure script and replace 'config.guess' and 'config.sub'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14glib: Look up "tzdata" in 'native-inputs', not 'inputs'.Maxime Devos
Otherwise, "tzdata" won't be found when cross-compiling and string-append will complain about types. Alternatively, "tzdata" could be moved from 'native-inputs' to 'inputs'. * gnu/packages/glib.scm (glib)[arguments]<#:phases>{pre-check}: Look up "tzdata" in 'native-inputs', not 'inputs'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14glib: Verify the cross-compiled python is used in installed scripts.Maxime Devos
* gnu/packages/glib.scm (glib)[arguments]<#:disallowed-references>: Disallow the native python when cross-compiling. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14glib: Use a correct python in scripts when cross-compiling.Maxime Devos
During the build, a native python should be used as these scripts will be invoked during the build, but when installed, they should be a python for the system we're compiling for. * gnu/packages/glib.scm (glib)[arguments]<#:phases>{patch-python-references}: Look up "python" in 'native-inputs', not 'inputs'. (glib)[inputs]{python,python-wrapper,bash-minimal}: New inputs. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14openssl: Extract logic for computing CONFIGURE_TARGET_ARCH.Maxime Devos
By computing this value outside the build code, new targets can be added without causing rebuilds for other targets. * gnu/packages/tls.scm (target->openssl-target): New procedure. (openssl)[arguments]<#:phases>{set-cross-compile}: Use it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14openssl: Move all man pages to separate output, not only man3.Maxime Devos
There does not seem to be any reason to only move man3 pages. So, move all man pages to a separate output for documentation. * gnu/packages/tls.scm (openssl)[arguments]<#:phases>{move-extra-documentation}: Move all man pages, not only man3. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14openssl: Move documentation instead of copying and deleting it.Maxime Devos
* gnu/packages/tls.scm (openssl)[arguments]<#:phases>{move-extra-documentation}: Use 'rename-file' instead of 'copy-recursively' and 'delete-file-recursively'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14openssl: Use G-exp machinery for referring to outputs.Maxime Devos
This doesn't fix anything broken, just for simplifying the code a little while we're rebuilding the world anyway. IMHO this makes the code a little more readable. * gnu/packages/tls.scm (openssl)[arguments]<#:phases>: Don't refer to the association list 'outputs', use #$output, #$output:doc and #$output:static instead. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14openssl: Make the #:phases argument a G-expression.Maxime Devos
This allows using this-package-native-input later. * gnu/packages/tls.scm (openssl)[arguments]<#:phases>: Make this a G-expression. (openssl-1.0)[arguments]<#:phases>: Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14openssl: Remove trailing #t from phases.Maxime Devos
* gnu/packages/tls.scm (openssl)[arguments]<#:phases>: Delete trailing #t. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14python: Fix reference to input when cross-compiling.Maxime Devos
"sitecustomize.py" is a native input, so look it up in 'native-inputs', not 'inputs'. * gnu/packages/python.scm (customize-site): Look up "sizecustomize.py" in 'native-inputs', not 'inputs'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14libgpg-error: Fix cross-compilation error.Maxime Devos
TODO: inform upstream about the cross-compilation error. * gnu/packages/gnupg.scm (libgpg-error)[arguments]{fix-gen-lock-obj.sh}: Prevent generated header files from being sprinkled with ‘\c’. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14libgpg-error: Prevent silent miscompilation some systems.Maxime Devos
* gnu/packages/gpg.scm (libgpgerror)[arguments]<#:phases>{cross-symlinks}: Only link to src/syscfg/lock-obj-pub.linux-gnu.h if the package is being compiled for a Linux target. Do not link either if the architecture is unknown, as the headers vary with the architecture. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14libgpg-error: Remove trailing #f from phases.Maxime Devos
These aren't required anymore. * gnu/packages/gnupg.scm (libgpgerror)[arguments]{cross-symlinks}: Remove trailing #f. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14tzdata: Don't bother with cross-compiling.Maxime Devos
The time zone database is architecture-independent, so trying to cross-compile it is pointless! * gnu/packages/base.scm (tzdata)[arguments]<#:target>: Set to #f. (tzdata)[allowed-references]: Only include the "out" output itself, to make sure no (architecture-dependent) binaries are installed. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14net-base: Don't cross-compile.Maxime Devos
net-base is pure data, so cross-compiling is pointless. * gnu/packages/admin.scm (net-base)[arguments]<#:target>: Set to #f. (net-base)[arguments]<#:allowed-references>: Disallow all references. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14packages: Define this-package-input and this-package-native-input.Maxime Devos
These macros are intended to be used in build phases. More precisely, (assoc-ref %build-inputs "input") can be replaced by #$(this-package-input "input") or #+(this-package-native-input "native-input") as appropriate. * guix/packages.scm (package-input, package-native-input): New (unexported) procedures. (this-package-input, this-package-native-input): New macros. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14utils: Define a target-x86-32? and target-x86-64? predicate.Maxime Devos
* guix/utils.scm (target-x86-32?, target-x86-64?): New predicates. * tests/utils.scm ("target-x86-32?", "target-x86-64?"): New tests. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14utils: Give 'target-mingw?' a docstring.Maxime Devos
target-hurd? and target-linux? have docstrings, but target-mingw? doesn't. * guix/utils.scm (target-mingw?): Add a docstring. Reported-By: Mathieu Othacehe <othacehe@gnu.org> Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-14utils: Define 'target-hurd?' predicate.Maxime Devos
It behaves similarily to the other target-...? procedures. The usage of hurd-triplet? / target-hurd? in libgc appears incorrect to me, as (%current-system) is normally never false. * gnu/packages/hurd.scm (hurd-triplet?): Move to ... * guix/util.scm (target-hurd?): ... here, let its argument default to (%current-target-system) or (%current-system), and write a docstring. * gnu/packages/hurd.scm (hurd-target?, hurd-system?): Use target-hurd? instead of hurd-triplet?. * gnu/packages/bdw-gc.scm (libgc): Likewise. * gnu/packages/cross-base.scm (cross-libc)[arguments]<#:configure-flags>: Likewise. (cross-libc)[arguments]<#:phases>: Likewise. (cross-libc)[arguments]<#:native-inputs>: Likewise. * gnu/packages/make-boostrap.scm (%glibc-stripped)[inputs]: Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>