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]].
erse, thereby speeding it up proportionally. Partly fixes <https://issues.guix.gnu.org/24937>. * config-daemon.ac: Remove symlink hard link check and CAN_LINK_SYMLINK definition. * guix/store/deduplication.scm (%deduplication-minimum-size): New variable. (deduplicate)[loop]: Do not recurse when FILE's size is below %DEDUPLICATION-MINIMUM-SIZE. (dump-port): New procedure. (dump-file/deduplicate)[hash]: Turn into... [dump-and-compute-hash]: ... this thunk. Call 'deduplicate' only when SIZE is greater than %DEDUPLICATION-MINIMUM-SIZE; otherwise call 'dump-port'. * nix/libstore/gc.cc (LocalStore::removeUnusedLinks): Drop files where st.st_size < deduplicationMinSize. * nix/libstore/local-store.hh (deduplicationMinSize): New declaration. * nix/libstore/optimise-store.cc (deduplicationMinSize): New variable. (LocalStore::optimisePath_): Return when PATH is a symlink or smaller than 'deduplicationMinSize'. * tests/derivations.scm ("identical files are deduplicated"): Produce files bigger than %DEDUPLICATION-MINIMUM-SIZE. * tests/nar.scm ("restore-file-set with directories (signed, valid)"): Likewise. * tests/store-deduplication.scm ("deduplicate, below %deduplication-minimum-size"): New test. ("deduplicate", "deduplicate, ENOSPC"): Produce files bigger than %DEDUPLICATION-MINIMUM-SIZE. * tests/store.scm ("substitute, deduplication"): Likewise. Ludovic Courtès 2021-06-18Start enabling substitutes from bordeaux.guix.gnu.org....In addition to substitutes from ci.guix.gnu.org. There are more changes that can be made in the future, but these changes seem like a good start. * config-daemon.ac (guix_substitute_urls): Add https://bordeaux.guix.gnu.org. * guix/scripts/substitute.scm (%default-substitute-urls): Add http://bordeaux.guix.gnu.org. * guix/store.scm (%default-substitute-urls): Add bordeaux.guix.gnu.org. * doc/guix.texi: Adjust accordingly. * doc/contributing.texi: Adjust accordingly. Christopher Baines 2020-12-11maint: Remove unused 'NIX_VERSION' macro....* config-daemon.ac: Do not define NIX_VERSION. Ludovic Courtès 2020-12-11maint: Avoid macros obsolete in Autoconf 2.70....* configure.ac: Require Autoconf 2.69. Use 'AS_HELP_STRING' instead of 'AC_HELP_STRING'. * m4/guix.m4: Likewise. * config-daemon.ac: Use 'AC_CONFIG_HEADERS' instead of the singular variant. Ludovic Courtès ip'>* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.12-4. Mark H Weaver 2021-03-27gnu: imagemagick: Add 'imagemagick/stable' variant....* gnu/packages/imagemagick.scm (imagemagick/stable): New variable. (imagemagick): This is now an alias to 'imagemagick/stable'. Mark H Weaver 2021-03-27gnu: imagemagick: Remove graft....Note that this commit does *not* integrate the fixes that were previously applied via the graft. This commit simply discards those fixes. We will address those security flaws, without grafting, in subsequent commits. * gnu/packages/imagemagick.scm (imagemagick)[replacement]: Remove field. (imagemagick/fixed): Remove variable. Mark H Weaver 2021-03-18gnu: imagemagick/fixed: Redirect old sonames to new sonames....* gnu/packages/imagemagick.scm (imagemagick/fixed)[arguments]: Add 'fix-compat-cheat-rename-so phase to redirect old soname paths (expected without grafting) to new sonames introduced by ImageMagick 6.9.12-0 and later. These sonames are probably not forward compatible but most probably backwards compatible so it should suffice until we remove the graft. Léo Le Bouter 2021-03-14gnu: ImageMagick: Refer to the version number in a more robust way....* gnu/packages/imagemagick.scm (imagemagick)[arguments]: Replace use of VERSION with (PACKAGE-VERSION THIS-PACKAGE). (imagemagick/fixed): Adjust accordingly. Leo Famulari 2021-03-12gnu: ImageMagick: Fix version number in build configuration of grafted replac......Fixes <https://bugs.gnu.org/47110>. This is a followup to commits 852ba914a43da0977d4f53b53da7039cdd6706b2 and 82e887ba48c2ba91b17aa9b6b17501e3e0ef4aef. * gnu/packages/imagemagick.scm (imagemagick/fixed)[name, arguments]: New fields. Leo Famulari 2021-03-10gnu: imagemagick/fixed: Retain version length for successful grafting....* gnu/packages/imagemagick.scm (imagemagick/fixed): [version]: Append 'g'. [source]: Hardcode version. Léo Le Bouter 2021-03-09gnu: imagemagick: Update to 6.9.12-2 [security fixes]....* gnu/packages/imagemagick.scm (imagemagick/fixed): New variable. (imagemagick)[replacement]: Graft. Léo Le Bouter 2021-01-10Merge branch 'master' into stagingEfraim Flashner 2021-01-03gnu: graphicsmagick: Add dependency on libwebp....* gnu/packages/imagemagick.scm (graphicsmagick): Add dependency on libwebp. [inputs]: Add libwebp. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Vinicius Monego 2021-01-02gnu: graphicsmagick: Update to 1.3.36....* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.36. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Vincent Legoll 2020-12-13gnu: ImageMagick: Update to 6.9.11-48....* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.11-48. (imagemagick-next): Remove variable. * gnu/packages/video.scm (transcode)[inputs]: Change from IMAGEMAGICK-NEXT to IMAGEMAGICK. Marius Bakke