aboutsummaryrefslogtreecommitdiff
-*- mode: org; coding: utf-8; -*-

#+TITLE: Hacking GNU Guix and Its Incredible Distro

Copyright © 2012, 2013, 2014, 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
Copyright © 2015, 2017 Mathieu Lirzin <mthl@gnu.org>
Copyright © 2017 Leo Famulari <leo@famulari.name>
Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>

  Copying and distribution of this file, with or without modification,
  are permitted in any medium without royalty provided the copyright
  notice and this notice are preserved.

* Contributing

See the manual for useful hacking information, either by running

  info -f doc/guix.info "Contributing"

or by checking the [[https://guix.gnu.org/manual/devel/en/html_node/Contributing.html][web copy of the manual]].
ned.Roman Scherer * gnu/packages/iso-codes.scm (iso-codes): Rename to… (iso-codes/pinned): … this. * doc/build.scm, gnu/installer.scm, gnu/packages/fcitx.scm, gnu/packages/fcitx5.scm, gnu/packages/gnome.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/ibus.scm, gnu/packages/kde-frameworks.scm, gnu/packages/kde-plasma.scm, gnu/packages/mate.scm, gnu/packages/photo.scm, gnu/packages/video.scm: Adjust accordingly. Change-Id: Ia98fee15a27009583fee822cf411512727b1aa27 Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2024-09-26gnu: gromit-mpx: Update to 1.7.0.Sergey Trofimov * gnu/packages/gtk.scm (gromit-mpx): Update to 1.7.0. [inputs, native-inputs]: Add new dependencies. Signed-off-by: jgart <jgart@dismail.de> 2024-09-18gnu: gdk-pixbuf: Fix cross-compiling.Efraim Flashner * gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: When cross-compiling adjust the configure flags to not build the documentation. Change-Id: I025658468ffaf9518b1debf6165424a587f2c694 2024-09-05gnu: gtk: Disable failing tests on aarch64.Roman Scherer * gnu/packages/gtk.scm (gtk): Disable failing tests on aarch64. Change-Id: Ia950b25fa2141daff0a01a69d9dfb551e26116ea Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> 2024-08-31gnu: gtk: Update to 4.14.5.Liliana Marie Prikler Cherry picked from gnome-team 7dece4d20617d11284f280f8b7299c24a2305493. A test failed after merging core-updates into master, though it passed previously on both branches. It is unclear what has changed to make it fail. The test is "4941/5465 gtk:gtk / notify" and fails with stderr: MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen MESA: error: ZINK: failed to choose pdev glx: failed to create drisw screen (test program exited with status code -5) This newer version builds and passes all tests. * gnu/packages/gtk.scm (gtk): Update to 4.14.5. Signed-off-by: John Kehayias <john.kehayias@protonmail.com> Change-Id: I6150b2df469358eb0e328f077a9c09a4c2259703 2024-08-31gnu: at-spi2-core: Remove unnecessary test timeout.Nikola Guix provides its own superior-quality time-outs. * gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove the ‘timeout’ argument from the test invocation. Change-Id: Ic324c5992d48cafa4b6b9856b381d461083d8de2 Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> 2024-08-31gnu: at-spi2-core: Honor the #:tests? flag.Efraim Flashner * gnu/packages/gtk.scm (at-spi2-core)[arguments]: Adjust the 'check phase to honor the #:tests? flag. Skip the tests when building for powerpc-linux. Change-Id: Ia1fc275ebca5d69b851b566ae7afb47fdad8f066 2024-08-31gnu: cairo: Remove labels and use gexps.Maxim Cournoyer * gnu/packages/gtk.scm (cairo) [arguments] <configure-flags>: Use gexps. [native-inputs, inputs]: Remove labels. Change-Id: Ifc4d9435bc1e203ee4427452ad26dedbac2de9fc 2024-08-31gnu: perl-gtk3: Remove input labels.Maxim Cournoyer * gnu/packages/gtk.scm (perl-gtk3) [native-inputs]: Remove input labels. Change-Id: Iaf289d8610df9658b83008c898781822a3cd462e 2024-08-31gnu: goocanvas: Remove input labels.Maxim Cournoyer * gnu/packages/gtk.scm (goocanvas) [native-inputs]: Remove input labels. [phases]: Remove trailing #t. Change-Id: I0eca2aeb1e01b81e89a0777fb806539d8a76972b 2024-08-31gnu: gtkmm: Remove input labels.Maxim Cournoyer * gnu/packages/gtk.scm (gtkmm) [native-inputs]: Remove input labels. Change-Id: I7dad8ada8d32c25845877aba0fc68245ff001a7e 2024-08-31gnu: atkmm: Remove input labels.Maxim Cournoyer * gnu/packages/gtk.scm (atkmm) [native-inputs]: Remove input labels. Change-Id: I7dad8ada8d32c25845877aba0fc68245ff001a7e 2024-08-31gnu: gtkmm-3: Update to 3.24.8.Maxim Cournoyer * gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.8. [propagated-inputs]: Remove labels. Change-Id: I5cda1f2a3c211f766c649e23a33f48c277c615d8 2024-08-31gnu: gtk-doc: Add 'bash' input for 'wrap-program'.Maxime Devos It is required for cross-compilation. * gnu/packages/gtk.scm (gtk-doc)[inputs]: Add 'bash-minimal'. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I5db498ba4c7c7db239adb2b46a16585da044fd02 2024-08-31gnu: gtk-doc: Remove leftovers.Bruno Victal No longer needed, package passes tests without these parameters. * gnu/packages/gtk.scm (gtk-doc)[arguments]<#:parallel-tests?>: Re-enable. <#:phases>: Remove 'disable-failing-tests. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2024-08-31gnu: gtk-doc: Wrap XML_CATALOG_FILES.Bruno Victal Prefer XML catalog resolution over substitutions on XML files. * gnu/packages/gtk.scm (gtk-doc)[arguments]<#:phases>: Remove 'patch-gtk-doc-scan. Wrap XML_CATALOG_FILES within 'wrap-executables. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2024-08-31gnu: gtk-doc: Rewrite with G-Expressions.Bruno Victal * gnu/packages/gtk.scm (gtk-doc): Rewrite with G-Expressions. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2024-08-31gnu: gtk: Drop docbook workaround.Bruno Victal * gnu/packages/gtk.scm (gtk)[arguments]<#:phases>: Drop docbook workaround. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2024-08-31gnu: gtk-doc: Add libxslt native-search-paths to its own.Bruno Victal Grepping through the built package, gtk-doc invokes 'xsltproc' so we add %libxslt-search-paths to native-search-paths in order for 'xsltproc' to find the XML/SGML catalog files. * gnu/packages/gtk.scm (gtk-doc)[native-search-paths]: Add %libxslt-search-paths. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2024-08-25gnu: Drop gobject-introspection 1.73.1.Liliana Marie Prikler The actual gobject-introspection has been newer than its "next" variant for some while. * gnu/packages/glib.scm (gobject-introspection-next): Remove variable. * gnu/packages/gtk.scm (gtksourceview)[native-inputs]: Replace gobject-introspection-next with gobject-introspection. * gnu/packages/guile-xyz.scm (guile-g-golf)[native-inputs]: Likewise. 2024-08-18Revert "gnu: at-spi2-core: Remove unnecessary test timeout."Tobias Geerinckx-Rice This reverts commit 58a839273d1e4fac2b3a0ec456aabdf82deaa124. Hello I am new here: <cbaines>nckx, 58a839273d1e4fac2b3a0ec456aabdf82deaa124 leads to nearly 4000 rebuilds 2024-08-18gnu: at-spi2-core: Remove unnecessary test timeout.Nikola Guix provides its own superior-quality time-outs. * gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove the ‘timeout’ argument from the test invocation. Change-Id: Ic324c5992d48cafa4b6b9856b381d461083d8de2 Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> 2024-07-31gnu: gtk-layer-shell: Update to 0.8.0.Danny Milosavljevic * gnu/packages/gtk.scm (gtk-layer-shell): Update to 0.8.0. [native-inputs]: Add vala. Change-Id: Iadf1a502eaac3f5f82ed0624c4e8b80d96e5cea0 2024-07-26gnu: gtk: Fix build on aarch64.Timotej Lazar * gnu/packages/gtk.scm (gtk)[arguments]<#:test-options>: Rename failing test suite to match upstream change on aarch64-linux. Change-Id: Ibdf03a94e71f72283a093cba6d5a328004defa5c Co-authored-by: Ludovic Courtès <ludo@gnu.org> 2024-07-07gnu: webp-pixbuf-loader: Update to 0.2.4.Liliana Marie Prikler * gnu/packages/gtk.scm (webp-pixbuf-loader): Update to 0.2.4. 2024-06-24gnu: volctl: Update to 0.9.4.Sergiu Ivanov * gnu/packages/gtk.scm (volctl): Update to 0.9.4. Change-Id: I70e85592405d574b692398e6d71d235219fb6fe9 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2024-06-03gnu: gtk: Fix build on i686-linux.Liliana Marie Prikler * gnu/packages/gtk.scm (gtk)[#:phases]<patch>: Add section dedicated to failures on i686-linux. Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> 2024-06-03gnu: gtk: Update to 4.14.2.Liliana Marie Prikler * gnu/packages/gtk.scm (gtk): Update to 4.14.2. [#:phases]<patch>: Disable new test failures. [inputs]: Add shaderc. 2024-06-03gnu: gtkmm@3: Update to 3.24.9.Vivien Kraus * gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.9. Change-Id: I63e4cf6d040ff7d147965d5320ab818ff553456b Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> 2024-05-14gnu: cairo: Fix cross-compilation.Zheng Junjie * gnu/packages/gtk.scm (cairo)[arguments]: Add ‘fix-cross-compilation’ phase when cross-compiling. Change-Id: I3579bb1249c749ee5f164bb4dd47f585b181c2bc Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> 2024-05-06gnu: graphene: Fix build on armhf-linux.Efraim Flashner * gnu/packages/gtk.scm (graphene)[arguments]: When building for armhf-linux add a configure-flag to disable neon optimizations. Change-Id: I42b412d3f7536180e959e268b68f2c292edda749 2024-04-09Merge remote-tracking branch 'savannah/master' into mesa-updatesChristopher Baines Change-Id: Iad185e2ced97067b3dff8fd722435a6c5e2c00e5 2024-04-02gnu: gtk: Fix tests on aarch64.Leo Nikkilä * gnu/packages/gtk.scm (gtk)[arguments]<#:configure-flags>: Skip more failing tests known to fail. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I34d0f7521224b41072fcc0c35321935d1db927e0 2024-04-02Revert "gnu: gtk: Skip failing tests on aarch64-linux."Efraim Flashner This reverts commit 76ed1e886ea790fc8562b355a0768a0f04889abb. The next commit does a better job of skipping the tests. 2024-03-31gnu: cairo: Update to 1.18.0.John Kehayias With this new release of cairo many old configure options were removed and now meson is used to build it. The defaults include the tee backend which we had previously enabled while the xml backend has been dropped from cairo completely. Old configure options where were commented out to be enabled have been removed as they no longer apply to version 1.18.0. The variable 'cairo' is now a hidden package to work around a dependency cycle where gtk-doc is needed to build the documentation (which itself depends on cairo). The new variable 'cairo-with-documentation' is now the public package and the module exports 'cairo' for use in other packages. This follows what was done for glib. * gnu/packages/gtk.scm: Export 'cairo'. (cairo): Update to 1.18.0. [source]: Remove 'patches' field. [properties]: Hide package. [outputs]: Remove (doc output is now in cairo-with-documentation). [build-system]: Change to meson-build-system. [arguments]: Add #:glib-or-gtk?. Remove old flags from #:configure-flags and add '-Dtests=disabled' to match #:tests?. [propagated-inputs]: Remove commented out packages. (cairo-with-documentation): New variable. (cairo-sans-poppler)[properties]: No longer set hidden as it is now inherited from cairo. (cairo-xcb)[properties]: Unhide (inherited from cairo). [arguments]: Remove obsolete #:configure-flags and properly inherit from cairo. * gnu/packages/patches/cairo-CVE-2018-19876.patch: Remove. * gnu/packages/patches/cairo-CVE-2020-35492.patch: Remove. * gnu/local.mk (dist_patch_DATA): Remove them. Change-Id: I2f4c953b23c6b32b1fafaf03db89d7a475fc6956 2024-03-31gnu: python-pycairo: Update to 1.26.0.John Kehayias * gnu/packages/gtk.scm (python-pycairo): Update to 1.26.0. Change-Id: I7349bd0c68b061d0f3fe46db52b7fdc63acbd69b 2024-03-31gnu: gtk: Skip failing tests on aarch64-linux.Efraim Flashner * gnu/packages/gtk.scm (gtk)[arguments]: When building for aarch64-linux add a phase to skip a test which can't find the zink driver. Change-Id: I7b596309f1cbd555bd7ba889379d5b0bb245eabc 2024-03-24gnu: pango-1.90: Disable failing test.Vivien Kraus * gnu/packages/gtk.scm (pango-1.90)[source]: Disable failing test. Change-Id: Ib0f6dcd42c9475c4b543400f43836c2f3f8db16f Signed-off-by: Christopher Baines <mail@cbaines.net> 2024-03-16gnu: girara: Build with json-glib.Vivien Kraus * gnu/packages/gtk.scm (girara) [propagated-inputs]: Add json-glib. Change-Id: I5bfe5a516885153014fce1c6643ac5799f0100e1 Signed-off-by: Christopher Baines <mail@cbaines.net> 2024-03-10Merge branch 'master' into gnome-teamLiliana Marie Prikler 2024-03-09gnu: girara: Update to 0.4.3.Vivien Kraus * gnu/packages/gtk.scm (girara): Update to 0.4.3. Change-Id: I3c977cd33fa6d20fce3bb575ae2ad887b3061966 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail> 2024-03-09gnu: girara: Update style.Vivien Kraus * gnu/packages/gtk.scm (girara)[arguments]: Convert to list of G-Expressions. [native-inputs]: Move after arguments. [propagated-inputs]: Move after arguments. Change-Id: I79a6f59f6ea671433f1a66a10cb79203f0b9bbae Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail> 2024-03-03gnu: girara: Update to 0.4.2.Efraim Flashner * gnu/packages/gtk.scm (girara): Update to 0.4.2. Change-Id: Ib7daa73b5802c98b653f4513f6111dcad786b65f 2024-02-23gnu: gtk+: Update to 3.24.41.Vivien Kraus * gnu/packages/gtk.scm (gtk+): Update to 3.24.41. Change-Id: I3dcaecb7485fa91e23fb6231f9fb51ef916da10e Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> 2024-02-23gnu: pangomm@2.46: Update to 2.46.4.Vivien Kraus * gnu/packages/gtk.scm (pangomm-2.46): Update to 2.46.4. Change-Id: Ia1dcb94f35eb80a7cd79cae5245acbc4069e006b Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> 2024-02-23gnu: atkmm@2.28: Update to 2.28.4.Vivien Kraus * gnu/packages/gtk.scm (atkmm-2.28): Update to 2.28.4. Change-Id: If4b333b02785c9a5712816ea048b1943b582c2e3 Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> 2024-02-23gnu: glibmm-2.64: Rename and update to 2.66.6.John Kehayias * gnu/packages/glib.scm (glibmm-2.64): Rename to ... (glibmm-2.66): ... this. Update to 2.66.6. * gnu/packages/animation.scm (etl)[inputs]: Adjust accordingly. (synfig)[propagated-inputs]: Likewise. * gnu/packages/electronics.scm (libsigrok)[propagated-inputs]: Likewise. * gnu/packages/gnome-xyz.scm (eiciel)[inputs]: Likewise. * gnu/packages/gnome.scm (libxml++-3, libxml++-2)[propagated-inputs]: Likewise. * gnu/packages/gtk.scm (pangomm-2.46, atkmm-2.28, gtkmm-2)[propagated-inputs]: Likewise. Change-Id: I878e740e085a483970a4ef6e0fa7dd19000863eb Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>