Skip to content
Snippets Groups Projects
  1. Apr 03, 2025
    • Robin Candau's avatar
      Add a custom `$_bootstrap` variable in the PKGBUILD to allow bootstrapping /... · bbe30c49
      Robin Candau authored
      Add a custom `$_bootstrap` variable in the PKGBUILD to allow bootstrapping / rebuilding the package after soname changes
      
      Upstream (autotools) bootstrap scripts used to prepare the `wget` and the `gnulib` submodule sources both require `wget` to download `po` (translation) files.
      This implies that the `wget` package *(make-)*depends on itself.
      
      While this shouldn't be a problem for regular version bumps, it can lead to issues when bootstrapping the package (e.g. when adding new architectures) and it can have theoretical implicati ons when rebuilding the package in staging due to soname changes (in case `wget` doesn't work until rebuilding for instance).
      To address this, the PKGBUILD now contains a custom `$_bootstrap` variable whose value can be modified as needed:
      
      - When set to `0`, the package is built "normally"
      - When set to `1`, the package is built by skipping the `po` files download step so the `wget` make-dependency is unused (allowing to bootstrap it or rebuild it after soname changes withou t issue).
      
      **WARNING:** Building the package with `$_bootstrap=1` therefore results in a `wget` package that does not include po (translation) files, so it should still be rebuilt it with `$_bootstrap=0` when the bootstrapping / rebuilding after soname changes is done.
      bbe30c49
  2. Mar 21, 2025
  3. Mar 19, 2025
  4. Nov 11, 2024
  5. Jul 04, 2024
  6. Jun 26, 2024
  7. May 01, 2024
  8. Mar 10, 2024
  9. May 20, 2023
  10. Aug 21, 2022
  11. Mar 20, 2022
  12. Sep 07, 2021
  13. Jan 10, 2021
  14. Sep 14, 2020
  15. May 05, 2020
  16. Jun 30, 2019
  17. Apr 09, 2019
  18. Apr 02, 2019
  19. Feb 10, 2019
  20. Jan 13, 2019
  21. Jan 07, 2019
  22. Dec 18, 2018
  23. May 07, 2018
  24. Mar 14, 2018
  25. Feb 26, 2018
  26. Jan 25, 2018
  27. Nov 15, 2017
  28. Oct 27, 2017
  29. Feb 18, 2017
  30. Feb 12, 2017
  31. Feb 03, 2017
  32. Dec 19, 2016
  33. Dec 02, 2016
  34. Jun 19, 2016
  35. May 04, 2016
  36. Mar 09, 2016
  37. Mar 03, 2016
  38. Mar 10, 2015
Loading