logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://hacktivis.me/git/badwolf.git
commit: a75502e95b611e603261d6b3189848322364030c
parent 41a35bd86195eb076937445e738a0d83132ff664
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 23 Jul 2023 20:29:29 +0200

decisions: Switch from Makefile to *.ninja

Diffstat:

Mdecisions.md9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/decisions.md b/decisions.md @@ -1,5 +1,5 @@ <!-- -SPDX-FileCopyrightText: 2019-2022 Badwolf Authors <https://hacktivis.me/projects/badwolf> +SPDX-FileCopyrightText: 2019-2023 Badwolf Authors <https://hacktivis.me/projects/badwolf> SPDX-License-Identifier: BSD-3-Clause --> @@ -10,6 +10,13 @@ Basically, the idea is to have a file in your projects repo, where you record the decisions you make over the course of the project's lifetime. Rewriting history will not be done but Post-Scriptum notices will. +## 2023-07-23 : Switch from Makefile to *.ninja +Problems: +- Makefile+config.mk pretty much reached it's limits with manpage translations as you can't just string substitute your way out when it's both prefix & suffix. +- meson/CMake/…: Still the same issues. With GNU autotools also becoming more and more problematic: <https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213>, <https://lists.gnu.org/archive/html/autoconf-patches/2022-09/msg00011.html>, <https://wiki.gentoo.org/wiki/Modern_C_porting> + +Solution picked: Transform Makefile into a static build.ninja file, and make configure generate a config.ninja file with the dynamic variables, rules and targets written in. + ## 2021-09-07 : Move to a ./configure script Problem: WebKitGTK gained a new ABI, changing 4.0 to 4.1 for libsoup3, which itself also meant some changes in badwolf