Commit graph

76657 commits

Author SHA1 Message Date
Raghav Gururajan
298352a302
gnu: gdk-pixbuf: Add missing arguments.
* gnu/packages/patches/gdk-pixbuf-CVE-2020-29385.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/gtk.scm (gdk-pixbuf) [arguments]<#:glib-or-gtk?>: New argument.
[replacement]: Remove.
(gdk-pixbuf/fixed): Remove.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:43:37 -04:00
Raghav Gururajan
abc0ea3200
gnu: pangomm-2.42: Update to 2.42.2.
* gnu/packages/gtk.scm (pangomm-2.42)[version]: Update to 2.42.2.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:43:08 -04:00
Raghav Gururajan
9d51bb87d2
gnu: pangomm: Enable documentation.
* gnu/packages/gtk.scm (pangomm)[outputs]: New output "doc".
[arguments]<#:configure-flags>[-Dbuild-documentation]: New flag.
<#:phases>['move-doc]: New phase.
[native-inputs]: Add doxygen, graphviz, perl and libxslt.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:40:35 -04:00
Raghav Gururajan
b6d7eb2c4e
gnu: pangomm: Update to 2.48.0.
* gnu/packages/gtk.scm (pango)[version]: Update to 2.48.0.
[build-system]: Change from gnu to meson.
[arguments]<#:glib-or-gtk?>: New argument.
[native-inputs]: Add m4 and mm-common.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:40:35 -04:00
Raghav Gururajan
7586cad0ba
gnu: pango: Update synopsis, description and home-page.
* gnu/packages/gtk.scm (pango) [synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:40:35 -04:00
Raghav Gururajan
2a6f070e2d
gnu: pango: Update to 1.48.3.
* gnu/packages/gtk.scm (pango) [version]: Update to 1.48.3.
[arguments]<#:phases>['disable-cantarell-tests]: Modify.
[propagated-inputs]: Add libthai and libxrender.
[native-inputs]: Add help2man, perl and python-wrapper.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:40:34 -04:00
Raghav Gururajan
feb246fbff
gnu: pango: Re-arrange inputs in alphabetical order.
* gnu/packages/gtk.scm (pango) [propagated-inputs]: Modify.
[native-inputs]: Modify.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:40:34 -04:00
Raghav Gururajan
4066392542
gnu: pango: Add missing arguments.
* gnu/packages/gtk.scm (pango) [arguments]<#:glib-or-gtk?>: New argument.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:40:34 -04:00
Raghav Gururajan
736c5df29a
gnu: cairomm-1.13: Fix build.
* gnu/packages/gtk.scm (cairomm-1.13)[build-system]: New field.
[arguments]: New field.
[propagated-inputs]: Replace libsigc++ with libsigc++-2.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:40:20 -04:00
Raghav Gururajan
ca81e057b2
gnu: cairomm: Enable documentation.
* gnu/packages/gtk.scm (cairomm)[outputs]: New output "doc".
[arguments]<#:configure-flags>[-Dbuild-documentation]: New flag.
<#:phases>['move-doc]: New phase.
[native-inputs]: Add doxygen, graphviz, perl and libxslt.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
2021-03-26 15:27:21 -04:00
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