~ruther/guix-local

b8324050 — Maxim Cournoyer 5 years ago
gnu: nspr: Normalize inputs.

* gnu/packages/nss.scm (nspr)[inputs]: Remove conditional.
fdae245a — Maxim Cournoyer 5 years ago
gnu: mariadb: Only run the main test suite to avoid flaky tests.

Tests from the perfschema test suite has a high failure rate.  Upstream only
tests the main test suite in their CI, so don't try to outdo them.

* gnu/packages/databases.scm (mariadb): Delete trailing #t.
[phases]{check}: Only run the main test suite.
12b9810e — Maxim Cournoyer 5 years ago
gnu: cdparanoia: Disable parallel build.

The build would sometimes fail with errors such as:

make[1]: Entering directory '/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2'
gcc -O2 -fsigned-char -g -O2 -c main.c
gcc -O2 -fsigned-char -g -O2 -c report.c
gcc -O2 -fsigned-char -g -O2 -c header.c
gcc -O2 -fsigned-char -g -O2 -c buffering_write.c
gcc -O2 -fsigned-char -g -O2 -c cachetest.c
gcc -O2 -fsigned-char -g -O2 -Wl,-rpath=/gnu/store/h0qhcyf0ci4kb70mmvxn8150rl6d3ykm-cdparanoia-10.2/lib -g -O2 main.o report.o header.o buffering_write.o cachetest.o \
        -L/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/paranoia -L/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/interface \
        -o cdparanoia -lcdda_interface -lcdda_paranoia -lm -lrt
ld: main.o: in function `cleanup':
/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/main.c:667: undefined reference to `paranoia_free'
[...]
collect2: error: ld returned 1 exit status

* gnu/packages/cdrom.scm (cdparanoia)[parallel-build?]: Set to #f.
a0bf66ab — Maxim Cournoyer 5 years ago
gnu: elogind: Update to 246.10.

* gnu/packages/freedesktop.scm (elogind): Update to 246.10.
Remove trailing #t.
[configure-flags]: Address TODOs, removing conditionals and providing
the kexec command.
[phases]{adjust-tests}: Disable the test-user-util and test-event tests.
[inputs]: Add kexec-tools.
daf54a39 — Maxim Cournoyer 5 years ago
gnu: gawk: Use regular bash to cope with test suite failures.

Fixes <https://issues.guix.gnu.org/51286>.

* gnu/packages/gawk.scm (gawk): Remove trailing #t.
[inputs]: Always use bash.
000291fd — Maxim Cournoyer 5 years ago
gnu: librsvg: Preserve the loaders.cache file.

Now that we have a search path that honors it on gdk-pixbuf, it is more
valuable to keep it.

* gnu/packages/gnome.scm (librsvg)[phases]{pre-configure}: Install loaders,
cache file to locations derived from %gdk-pixbuf-loaders-cache-file.
feab09f7 — Maxim Cournoyer 5 years ago
gnu: gtk: Replace gdk-pixbuf+svg by librsvg.

With the addition of a profile hook for computing the gdk-pixbuf loaders cache
file, there is no longer a need for gdk-pixbuf+svg, and librsvg can propagate
gdk-pixbuf without fear, so replace the former for the latter.

The replacement was automated with the following command:

   $ git grep -l ',gdk-pixbuf+svg)' \
     | xargs sed 's/(".*" ,gdk-pixbuf+svg)/("librsvg" ,librsvg)/' -i

* gnu/packages/gtk.scm (gdk-pixbuf+svg): Delete package.
(gtk+-2)[propagated-inputs]: Replace gdk-pixbuf+svg with librsvg.
(gtk+)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (gdk-pixbuf+svg): Add deprecated package.
831c08d8 — Maxim Cournoyer 5 years ago
gnu: gdk-pixbuf: Add a search path for the loaders cache file.

Fixes <https://issues.guix.gnu.org/50957>.

The previous commit added a profile hook to compute a gdk-pixbuf loaders cache
file.  This change enables gdk-pixbuf to make use of it.

* gnu/packages/gtk.scm (gdk-pixbuf)[native-search-paths]: Add a search path
specification to set the GDK_PIXBUF_MODULE_FILE environment variable.
20e3dd05 — Maxim Cournoyer 5 years ago
profiles: Add a gdk-pixbuf-loaders-cache-file hook.

This paves the way toward properly fixing https://issues.guix.gnu.org/50957.

* guix/profiles.scm (gdk-pixbuf-loaders-cache-file): Add procedure...
(%default-profile-hooks): ... and register it as a profile hook.
* guix/status.scm (hook-message): Register it here too.
e0d9c379 — Maxim Cournoyer 5 years ago
build: glib-or-gtk: Generate the gdk-pixbuf-loaders cache file in a phase.

Adding a profile hook to do so covers most use cases, but it is still
necessary to have the gdk-pixbuf loaders cache file computed at build time, as
software may expect to find loaders support at that time.

* guix/build/glib-or-gtk-build-system.scm: Delete trailing #t.
(%gdk-pixbuf-loaders-cache-file-prefix): New variable.
(generate-gdk-pixbuf-loaders-cache): New procedure.
(generate-gdk-pixbuf-loaders-cache-file): Add procedure...
(%standard-phases): ... and register it as a build phase.
7541598f — Maxim Cournoyer 5 years ago
gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.

* gnu/packages/gtk.scm (gtk+)[arguments]: Import the (guix build
glib-or-gtk-build-system) module and put it in scope.
[phases]{generate-gdk-pixbuf-loaders-cache-file}: New phase.
(gtk): Likewise.
00c78f8d — Maxim Cournoyer 5 years ago
gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.

* gnu/packages/chromium.scm (make-lld-wrapper): Delete procedure.
(ungoogled-chromium)[native-inputs]: Replace its use by lld-as-ld-wrapper.
daa46cd1 — Maxim Cournoyer 5 years ago
gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper.

* gnu/packages/llvm.scm (make-lld-wrapper): New procedure.
(lld-wrapper, lld-as-ld-wrapper): New variables.
879252e2 — Maxim Cournoyer 5 years ago
gnu: python-flit: Update to 3.3.0.

* gnu/packages/python-xyz.scm (python-flit): Update to 3.3.0.
d2fffa79 — Maxim Cournoyer 5 years ago
gnu: webkitgtk: Add a debug output.

* gnu/packages/webkit.scm[outputs]: Add a debug output.
a46b8bbf — Maxim Cournoyer 5 years ago
gnu: pulseaudio: Add doxygen to fix build.

* gnu/packages/pulseaudio.scm (pulseaudio)[native-inputs]: Add doxygen.
26457b40 — Maxim Cournoyer 5 years ago
gnu: webkitgtk: Use libsoup 3 and build with GCC.

Clang is not needed when building with libsoup 3.

* gnu/packages/webkit.scm (webkitgtk): Delete trailing #t.
[configure-flags]: Remove -DUSE_SOUP2.
[phases]{prepare-build-environment}: Remove phase.
[native-inputs]: Remove clang.
f7d88cd4 — Maxim Cournoyer 5 years ago
gnu: libsoup: Update to 3.0.1.

* gnu/packages/gnome.scm (libsoup-minimal): Update to 3.0.1.
[modules]: Delete argument.
[phases]{adjust-tests}: Re-enable ssl-test.
[native-inputs]: Add gnutls, for tests.  Move nghttp2:lib to...
[propagated-inputs]: ... here.  Add nghttp2, which contains the pkg-config
files.
(vala-0.52): Add older variant.
(libsoup-minimal-2): New variable.
(rest)[propagated-inputs]: Use libsoup-minimal-2.
(geoclue)[inputs]: Likewise.
* gnu/packages/inkscape.scm (inkscape)[inputs]: Likewise.
698e6f17 — Maxim Cournoyer 5 years ago
gnu: libsoup: Reverse inheritance relationship with libsoup-minimal.

Because starting small and adding more on top is easier maintenance-wise than
the reverse.

* gnu/packages/gnome.scm (libsoup-minimal): New variable, made by stripping
all doc-related output, phases and inputs from libsoup.
[outputs]: Remove doc output.
[configure-flags]: Set gtk_doc option to false.
[phases]{patch-docbook-xml, move-doc}: Remove phases.
[native-inputs]{docbook-xml-4.1.2, gtk-doc}: Remove inputs.
(libsoup): Inherit from the above.
[outputs]: Re-add "doc" output.
[configure-flags]: Set gtk_doc option to true.
[phases]{patch-docbook-xml, move-doc}: Re-add phases.
[native-inputs]{docbook-xml-4.1.2, gtk-doc}: Re-add inputs.
22ebc35e — Maxim Cournoyer 5 years ago
gnu: vala: Update to 0.54.2.

* gnu/packages/gnome.scm (vala): Update to 0.54.2.  Delete trailing #t.
Next