me
/
guix
Archived
1
0
Fork 0
Commit Graph

76697 Commits (4863c4304e7d4d5945474e771d242878f8339d44)

Author SHA1 Message Date
Raghav Gururajan a1b965f882
gnu: cairomm: Update to 1.16.0.
* gnu/packages/gtk.scm (cairomm)[version]: Update to 1.16.0.
[build-system]: Change from gnu to meson.
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Dboost-shared]: New flag.
<#:make-flags>: Remove argument.
[native-inputs]: Add boost and mm-common.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:21 -04:00
Raghav Gururajan dfa9cea350
gnu: cairo: Update synopsis, description and license.
* gnu/packages/gtk.scm (cairo) [synopsis]: Modify.
[description]: Modify.
[license]: Modify.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:21 -04:00
Raghav Gururajan bb8be806b5
gnu: cairo: Enable some features.
* gnu/packages/gtk.scm (cairo) [native-inputs]: Add gobject-introspection.
[inputs]: Add libdrm. Remove xorgproto and zlib.
[propagated-inputs]: Add libxcb.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:21 -04:00
Raghav Gururajan cccbe0a7cb
gnu: cairo: Move documentation to separate output.
* gnu/packages/gtk.scm (cairo) [outputs]: New output "doc".
[arguments]<#:configure-flags>[--with-html-dir]: New flag.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:21 -04:00
Raghav Gururajan c8a1248357
gnu: cairo: Change build-system.
* gnu/packages/gtk.scm (cairo) [build-system]: Change from gnu to glib-or-gtk.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan f94cdc86f6
gnu: cairo: Make some cosmetic changes.
* gnu/packages/patches/cairo-CVE-2018-19876.patch,
gnu/packages/patches/cairo-CVE-2020-35492.patch: Remove patches.
* gnu/local.mk (dist_patch_DATA): Unregister them.
* gnu/packages/gtk.scm (cairo): Make some cosmetic changes.
[replacement]: Remove.
(cairo/fixed): Remove.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan 5eaaa3b8d9
gnu: gobject-introspection: Propagate glib.
* gnu/packages/glib.scm (gobject-introspection) [inputs]: Move glib to ...
[propagated-inputs]: ... here.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan f97176e78c
gnu: gtk-doc: Update synopsis, description, home-page and license.
* gnu/packages/gtk.scm (gtk-doc) [home-page]: Modify.
[synopsis]: Modify.
[description]: Modify.
[license]: Add fdl1.1+.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan cd01e36d8a
gnu: gtk-doc: Enable help.
* gnu/packages/gtk.scm (gtk-doc) [outputs]: New output 'help'.
[arguments]<#:configure-flags>[--with-help-dir]: New flag.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan de40b56942
gnu: gtk-doc: Update to 1.32.
* gnu/packages/gtk.scm (gtk-doc) [version]: Update to 1.32.
[arguments]<#:phases>['patch-test-out]: Remove phase.
['disable-failing-tests]: New phase.
['set-HOME]: New phase.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan 9e1c11cd24
gnu: gtk-doc: Correct inputs.
* gnu/packages/gtk.scm (gtk-doc) [native-inputs]: Add glib:bin,
perl and python-wrapper.
[inputs]: Add python-anytree, python-lxml, python-parameterized,
python-pygments, python-unittest2 and yelp-tools. Remove perl.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan 2e0eb1c946
gnu: gtk-doc: Change build-system.
* gnu/packages/gtk.scm (gtk-doc) [build-system]: Change from gnu to glib-or-gtk.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:20 -04:00
Raghav Gururajan cb4d52f1f8
gnu: glibmm-2.64: Update to 2.64.5.
* gnu/packages/glib.scm (glibmm-2.64)[version]: Update to 2.64.5.
[propagaed-inputs]: Change libsigc++ to libsigc++-2.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:13 -04:00
Raghav Gururajan 64ef4825d5
gnu: Add libsigc++-2.
* gnu/packages/glib.scm (libsigc++-2): New variable.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 14:57:41 -04:00
Raghav Gururajan 51bb94ffb3
gnu: glibmm: Enable documentation.
* gnu/packages/glib.scm (glibmm)[outputs]: New output "doc".
[arguments]<#:configure-flags>[-Dbuild-documentation]: New flag.
<#:phases>['move-doc]: New phase.
[native-inputs]: Add doxygen and graphviz.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:43 -04:00
Raghav Gururajan 4a69d20a53
gnu: glibmm: Update to 2.68.0.
* gnu/packages/glib.scm (glibmm)[version]: Update to 2.68.0.
[arguments]<#:phases>['pre-build]: Remove phase.
['disable-failing-tests]: New phase.
[native-inputs]: Add m4, mm-common, perl and libxslt.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:43 -04:00
Raghav Gururajan de69390d5e
gnu: libsigc++: Enable documentation.
* gnu/packages/glib.scm (libsigc++)[outputs]: New output "doc".
[arguments]<#:configure-flags>[-Dbuild-documentation]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
['move-doc]: New phase.
[native-inputs]: Add dblatex, doxygen and graphviz.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:43 -04:00
Raghav Gururajan 1f96329f60
gnu: libsigc++: Update to 3.0.6.
* gnu/packages/glib.scm (libsigc++)[version]: Update to 3.0.6.
[build-system]: Change from gnu to meson.
[native-inputs]: Add mm-common, perl, libxml2 and libxslt.
[inputs]: Add boost.
[license]: Update to lgpl3+.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:43 -04:00
Raghav Gururajan 18f73d8041
gnu: Temporarily use glib without documentation.
GLib v2.68.0 refers to gtk-doc v1.32.1 which is not released yet.
Therefore, hide glib-with-documentation and unhide glib.

* gnu/packages/glib.scm (glib) [properties]: Remove hidden.
(glib-with-documentation) [properties]: Add hidden.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:43 -04:00
Raghav Gururajan 32d00992be
gnu: glib-with-documentation: Fix documentation build.
* gnu/packages/glib.scm (glib-with-documentation) [native-inputs]:
Add docbook-4.2. Remove libxml2.
[arguments]<#:phases>['patch-docbook-xml]: New phase.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:43 -04:00
Raghav Gururajan fdf32982f5
gnu: glib-with-documentation: Make some cosmetic changes.
* gnu/packages/glib.scm (glib-with-documentation): Make some cosmetic changes.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:42 -04:00
Raghav Gururajan 884e2c6830
gnu: glib: Update synopsis, description and home-page.
* gnu/packages/glib.scm (glib) [synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:42 -04:00
Raghav Gururajan f1466c0caf
gnu: glib: Enable man pages.
* gnu/packages/glib.scm (glib)[arguments]<#:configure-flags>[-Dman]: New flag.
[native-inputs]: Add docbook-xsl.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:42 -04:00
Raghav Gururajan 8b8e611876
gnu: glib: Update to 2.68.0.
* gnu/packages/glib.scm (glib) [version]: Update to 2.68.0.
[patches]: Remove glib-tests-timer.patch.
[arguments]<#:phases>['patch-python-references]: New phase.
['pre-check]: New phase.
['move-bin]: New phase.
['patch-dbus-launch-path]: Remove phase.
['patch-gio-launch-desktop]: Remove phase.
['pre-build]: Remove phase.
['disable-failing-tests]: Modify phase.
['check]: Remove phase.
['move-executables]: Remove phase.
[native-inputs]: Add intltool, python, libxml2 and libxslt.
Remove dbus.
[inputs]: Add bash-completion, dbus and libelf.
[propagated-inputs]: Add libselinux.
* gnu/packages/patches/glib-tests-timer.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:42 -04:00
Raghav Gururajan 993de472ed
gnu: glib: Make some cosmetic changes.
* gnu/packages/patches/glib-CVE-2021-27218.patch
gnu/packages/patches/glib-CVE-2021-27219-01.patch
gnu/packages/patches/glib-CVE-2021-27219-02.patch
gnu/packages/patches/glib-CVE-2021-27219-03.patch
gnu/packages/patches/glib-CVE-2021-27219-04.patch
gnu/packages/patches/glib-CVE-2021-27219-05.patch
gnu/packages/patches/glib-CVE-2021-27219-06.patch
gnu/packages/patches/glib-CVE-2021-27219-07.patch
gnu/packages/patches/glib-CVE-2021-27219-08.patch
gnu/packages/patches/glib-CVE-2021-27219-09.patch
gnu/packages/patches/glib-CVE-2021-27219-10.patch
gnu/packages/patches/glib-CVE-2021-27219-11.patch
gnu/packages/patches/glib-CVE-2021-27219-12.patch
gnu/packages/patches/glib-CVE-2021-27219-13.patch
gnu/packages/patches/glib-CVE-2021-27219-14.patch
gnu/packages/patches/glib-CVE-2021-27219-15.patch
gnu/packages/patches/glib-CVE-2021-27219-16.patch
gnu/packages/patches/glib-CVE-2021-27219-17.patch
gnu/packages/patches/glib-CVE-2021-27219-18.patch
gnu/packages/patches/glib-CVE-2021-28153.patch: Remove patches.
* gnu/local.mk (dist_patch_DATA): Unregister them.
* gnu/packages/glib.scm (glib): Make some cosmetic changes.
[replacement]: Remove.
(glib/fixed): Remove.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-25 20:51:42 -04:00
Léo Le Bouter c2366b9481
gnu: sqlite: Update to 3.35.2.
* gnu/packages/sqlite.scm (sqlite): Update to 3.35.2.
2021-03-25 20:39:50 +01:00
Efraim Flashner f08b070019
gnu: findutils-boot0: Fix test suite on some systems.
This is a follow-up to 3a0c7e7d1e.

* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Only add
custom 'skip-fnmatch-test phase on x86_64-linux and i686-linux.
2021-03-24 20:57:29 +02:00
Efraim Flashner 6dd338ee1b
gnu: make-libstdc++: Unconditionally apply powerpc substitution.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Use modify-phases.
Apply powerpc directory substitution on all architectures.
2021-03-24 20:57:29 +02:00
Efraim Flashner 8f0cd6575d
gnu: gcc-4.7: Unconditionally apply powerpc substitution.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Adjust 'pre-configure phase
to always apply powerpc substitution.
2021-03-24 20:57:28 +02:00
Efraim Flashner 0e2b817732
gnu: glibc: Absorb powerpc patch.
* gnu/packages/base.scm (glibc)[source]: Add patch.
[arguments]: Remove 'apply-patch phase.
[native-inputs]: Remove patch file.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash,
glibc-final)[native-inputs]: Remove patch file.
2021-03-24 20:50:44 +02:00
Efraim Flashner 2aab587f84
Merge remote-tracking branch 'origin/master' into core-updates 2021-03-24 20:50:44 +02:00
Chris Marusich 65c46e79e0
gnu: sed: Make it build on SELinux-enabled kernels.
Fixes: <https://bugs.gnu.org/41498>.

* gnu/packages/base.scm (sed)[arguments]: New field.  This adds a
snippet, equivalent to the patch submitted upstream, which fixes an
issue that prevents sed from building on SELinux-enabled kernels.

Adjusted by Efraim Flashner to apply to master.
2021-03-23 23:19:58 -07:00
Chris Marusich 93f21e1a35
utils: Fix target-64bit? on powerpc64le-linux.
* guix/utils.scm (target-64bit?): Change the string from "ppc64" to
"powerpc64", which matches Guix system names like "powerpc64le-linux".
2021-03-23 23:19:58 -07:00
Chris Marusich 8d9aece8c4
ci: %cross-targets: Add powerpc64le-linux-gnu.
* gnu/ci.scm (%cross-targets): Add an entry for powerpc64le-linux-gnu.
2021-03-23 23:19:58 -07:00
Chris Marusich c29bfbfc78
syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux.
This fixes the failing test add-to-entropy-count in tests/syscalls.scm on
powerpc64le-linux.

* guix/build/syscalls.scm (RNDADDTOENTCNT): When %host-type starts with
"powerpc64le", set this to #x80045201.  Otherwise, set it to #x40045201 as
before.
2021-03-23 23:19:58 -07:00
Chris Marusich b57de27d03
syscalls: Fix clone on powerpc64le-linux.
This makes the clone procedure work correctly and fixes some test failures on
powerpc64le-linux, including tests/containers.scm.

* guix/build/syscalls.scm (clone): Add an entry for ppc64le.
2021-03-23 23:19:57 -07:00
Chris Marusich a16eb6c5f9
Add powerpc64le-linux as a supported Guix architecture.
This makes powerpc64le-linux a supported architecture for Guix, but not for
Guix System.

* Makefile.am (SUPPORTED_SYSTEMS): Add an entry for powerpc64le-linux.
* etc/guix-install.sh (chk_sys_arch): Same.
* guix/packages.scm (%supported-systems): Same.
* m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): Same.
* tests/guix-build.sh (all_systems): Same.
2021-03-23 23:19:57 -07:00
Leo Le Bouter b50f426803
gnu: libelf: Fix compilation for powerpc64le-linux.
* gnu/packages/elf.scm (libelf)[arguments]: Modify replacement 'configure phase
to invoke "./configure" with "--host=powerpc64le-unknown-linux-gnu" on
powerpc64le-linux.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:57 -07:00
Leo Le Bouter 1a0f4013d3
gnu: texlive-latex-base: Fix compilation on powerpc64le*.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: LuaJIT is not ported to
powerpc64le* yet. Update replacement 'build phase to add "luajittex" within the
"disabled-formats" list on powerpc64le*.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:57 -07:00
Leo Le Bouter e9938dc8f0
gnu: texlive-bin: Fix compilation on powerpc64le*.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Append "--disable-luajittex"
and "--disable-mfluajit" to keyword argument "#:configure-flags" on
powerpc64le* because LuaJIT is not ported to powerpc64le* yet. Also set
"#:tests?" to "#f" on powerpc64le*.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:57 -07:00
Leo Le Bouter 69b3907adf
gnu: guile-avahi: Fix compilation on powerpc64le-linux.
* gnu/packages/guile-xyz.scm (guile-avahi)[arguments]: Parallel builds fail on
powerpc64le-linux. Set "#:parallel-build?" to "#f".

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:56 -07:00
Leo Le Bouter 4cc2d2aa59
gnu: bdb-4.8: Fix configure on powerpc64le-linux.
* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Modify 'configure phase to append
"--build=powerpc64le-unknown-linux-gnu" to configure's flags when compiling for
powerpc64le-linux.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:56 -07:00
Chris Marusich be4b1cf53b
gnu: binutils-final: Support more Power architectures.
* gnu/packages/commencement.scm (binutils-final)[arguments]: When checking if
the system is a Power architecture, instead of hard-coding "powerpc-linux",
use the target-powerpc? procedure so it works on more Power architectures.
[inputs]: Likewise.
2021-03-23 23:19:56 -07:00
Efraim Flashner 060478c32c
gnu: binutils-final: Provide bash for binary on powerpc-linux.
* gnu/packages/commencement.scm (binutils-final)[arguments]: On
powerpc-linux allow a reference to static-bash-for-glibc.
[inputs]: On powerpc-linux add static-bash-for-glibc.
2021-03-23 23:19:56 -07:00
Chris Marusich b2135b5d57
gnu: gcc-boot0: Enable 128-bit long double for POWER9.
* gnu/packages/commencement.scm (gcc-boot0) [#:configure-flags]: Add
--with-long-double-128 when the boot triplet is "powerpc64le-guix-linux-gnu",
instead of "powerpc64le-linux-gnu", which is incorrect.  The actual triplet
used during bootstrapping is "powerpc64le-guix-linux-gnu".
2021-03-23 23:19:56 -07:00
Leo Le Bouter 6e98e9ca92
gnu: glibc: Fix ldd path on powerpc*.
This should avoid some problems, such as "not a dynamic executable" errors.

* gnu/packages/patches/glibc-ldd-powerpc.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm: (glibc)[native-inputs]: Add it.
[arguments]: When building for powerpc* apply it.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash,
glibc-final)[native-inputs]: Add patch conditionally.

This patch has been adjusted to apply to master.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-03-23 23:19:55 -07:00
Chris Marusich cac88b28b8
gnu: gcc-4.7: On powerpc64le, fix /lib64 references.
Fixes: <https://bugs.gnu.org/46253>.

* gnu/packages/gcc.scm (gcc-4.7)[#:phases][pre-configure]: When the
gcc/config/rs6000 directory exists, replace "/lib64" with "/lib" in all files
within it.  Note that this fix will be picked up by any package that re-uses
the pre-configure phase from gcc-4.7 (e.g., all the usual gcc packages).
(make-libstdc++)[#:phases][fix-rs6000-libdir]: New phase, which does the same
as above.  It was necessary to duplicate the fix here because make-libstdc++
does not re-use the pre-configure phase from gcc-4.7.
2021-03-23 23:19:55 -07:00
Chris Marusich fc7cf0c1ec
utils: Add target-powerpc? procedure.
* guix/utils.scm (target-powerpc?): New exported procedure.
2021-03-23 23:19:55 -07:00
Chris Marusich 8a1118a96c
gnu: bootstrap: Add support for powerpc64le-linux.
The bootstrap tarballs used by these bootstrap packages were created via the
following steps:

- Create a new x86_64 VM using QEMU.
- Use
  https://ftp.gnu.org/gnu/guix/guix-system-install-1.2.0.x86_64-linux.iso.xz
  to install Guix System 1.2.0 in the VM.
- Run: guix pull --no-substitutes --commit=662e7e28d576ada91fc9dec7d27c100666114f03
- Run: guix build --no-substitutes --target=powerpc64le-linux-gnu bootstrap-tarballs

With the exception of gcc-static, all bootstrap binaries contained in these
tarballs can be built reproducibly.  Unfortunately, gcc-static is not always
reproducible when everything is built from source on separate machines.
Despite investigation efforts, the cause remains unclear, so we have decided
to move forward with these binaries to unblock further bootstrapping work.
For details, see <https://bugs.gnu.org/41669>.

* gnu/packages/bootstrap.scm (%bootstrap-executables)
(bootstrap-executable-file-name, bootstrap-guile-url-path)
(bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils)
(%bootstrap-glibc, %bootstrap-gcc): Add entries for powerpc64le-linux.
(%bootstrap-executable-base-urls): Add an entry for alpha.gnu.org.
2021-03-23 23:19:53 -07:00
Leo Famulari dc68018e01
gnu: Add cbonsai.
* gnu/packages/toys.scm (cbonsai): New variable.
2021-03-24 02:03:30 -04:00