logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://hacktivis.me/git/badwolf.git
commit: 6009738186aeee7ffa7ded4d6f9f6a161ac1e5a2
parent 67d213f3f64bceb6eab39445ccaff4fa18666c77
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  9 Jan 2024 18:46:30 +0100

Revert "configure: Check for xgettext --package-name="

gettext-tiny[1] doesn't outputs --package-name in --help even though it
provides support for it, so better just fail at build time.
./configure isn't supposed to be a system testsuite anyway.

1: https://github.com/sabotage-linux/gettext-tiny

This reverts commit 27879ada4b187905c713587baa6681bd8acb20e1.

Diffstat:

Mconfigure15+--------------
1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/configure b/configure @@ -164,20 +164,7 @@ fi printf 'Checking %s command existance ...' "${XGETTEXT}" if command -v "${XGETTEXT}" >/dev/null ; is_ok then - if [ "${XGETTEXT}" != "true" ] - then - # This is due to NetBSD base system having a very old version of gettext (0.16) - printf 'Checking if %s --help lists --package-name= option ...' "${XGETTEXT}" - if "${XGETTEXT}" --help 2>&1 | grep -q package-name=; is_ok - then - : - else - echo 'Warning: translation updates disabled, you may want to set XGETTEXT' - XGETTEXT="true" - fi - else - echo 'Warning: translation updates disabled' - fi + : else echo 'Warning: translation updates disabled' XGETTEXT="true"