git: 153421765dad - main - www/badwolf: Update to 1.4.0

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Sun, 19 Oct 2025 18:33:55 UTC
The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=153421765dad17f12c91eb629bec9d5f9854f5e4

commit 153421765dad17f12c91eb629bec9d5f9854f5e4
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2025-10-19 18:26:09 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2025-10-19 18:33:38 +0000

    www/badwolf: Update to 1.4.0
    
    * Add ugly component to GSTREAMER.
    * Update MASTER_SITES.
    * Add logic for GURI option.
    * Update patch to disable NLS (when this option is off).
    * Add files related to Serbia to pkg-plist.
    
    ChangeLog: https://distfiles.hacktivis.me/releases/badwolf/badwolf-1.4.0.txt
    
    Reported by:    contact@hacktivis.me (via email)
---
 www/badwolf/Makefile                    | 11 ++++-----
 www/badwolf/distinfo                    |  6 ++---
 www/badwolf/files/extra-patch-configure | 41 +++++++++++----------------------
 www/badwolf/pkg-plist                   |  2 ++
 4 files changed, 22 insertions(+), 38 deletions(-)

diff --git a/www/badwolf/Makefile b/www/badwolf/Makefile
index c1f620753093..0a789ff5d559 100644
--- a/www/badwolf/Makefile
+++ b/www/badwolf/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	badwolf
-DISTVERSION=	1.3.0
-PORTREVISION=	5
+DISTVERSION=	1.4.0
 CATEGORIES=	www
-MASTER_SITES=	https://hacktivis.me/releases/
+MASTER_SITES=	https://hacktivis.me/releases/badwolf/
 
 MAINTAINER=	dtxdf@FreeBSD.org
 COMMENT=	Minimalist and privacy-oriented WebKitGTK browser
@@ -30,17 +29,15 @@ LIBSOUP_DESC=		Use libsoup
 URI_PARSER_DESC=	URI PARSER
 
 GSTREAMER_USES=		gstreamer
-GSTREAMER_USE=		GSTREAMER=bad,good,libav
+GSTREAMER_USE=		GSTREAMER=bad,good,libav,ugly
 GURI_CONFIGURE_ENV=	WITH_URI_PARSER=guri
+GURI_VARS=		USE_GNOME+=glib20
 LIBSOUP_LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup
 LIBSOUP_CONFIGURE_ENV=	WITH_URI_PARSER=libsoup2
 
 NLS_USES=		gettext
 NLS_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-configure
 
-GURI_USE_GNOME=		glib20
-LIBAV_USE_GSTREAMER=	libav
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
diff --git a/www/badwolf/distinfo b/www/badwolf/distinfo
index 50c6f65ebf93..ef5cbf549562 100644
--- a/www/badwolf/distinfo
+++ b/www/badwolf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695232667
-SHA256 (badwolf-1.3.0.tar.gz) = 276dfccba8addfc205ceb10477668e4b2b6a4853f344c86d5c1e35b1c703459f
-SIZE (badwolf-1.3.0.tar.gz) = 114477
+TIMESTAMP = 1760809679
+SHA256 (badwolf-1.4.0.tar.gz) = 9542978a77fef179e386d803cc3dad340202c354c09201d4200c93b0c95b59d3
+SIZE (badwolf-1.4.0.tar.gz) = 129205
diff --git a/www/badwolf/files/extra-patch-configure b/www/badwolf/files/extra-patch-configure
index 5c566356ae2a..42d133a40de9 100644
--- a/www/badwolf/files/extra-patch-configure
+++ b/www/badwolf/files/extra-patch-configure
@@ -1,47 +1,36 @@
---- configure.orig	2023-10-01 13:05:07 UTC
+--- configure.orig	2025-10-19 17:24:07 UTC
 +++ configure
-@@ -13,8 +13,8 @@ DOCS="usr.bin.badwolf README.md KnowledgeBase.md inter
+@@ -13,9 +13,6 @@ DOCS="usr.bin.badwolf README.md KnowledgeBase.md inter
  EXE_test="fmt_test uri_test bookmarks_test"
  DOCS="usr.bin.badwolf README.md KnowledgeBase.md interface.md"
  
--TRANS="fr pt_BR tr de vi"
--TRANS_MAN="de fr tr vi"
-+#TRANS="fr pt_BR tr de vi"
-+#TRANS_MAN="de fr tr vi"
- 
+-TRANS="fr pt_BR sr tr de vi"
+-TRANS_MAN="de fr sr tr vi"
+-
  lint_targets=""
  
-@@ -373,18 +373,18 @@ done >>config.ninja
- 	echo
- done >>config.ninja
+ min_webkitgtk=2.32.0
+@@ -364,19 +361,6 @@ fi >>config.ninja
+ 	echo 'build po/manpage.pot: xgettext_man badwolf.1 | po/pot_license.ed'
+ fi >>config.ninja
  
 -for trans in ${TRANS}; do
 -	echo "build po/${trans}.po: msgmerge po/messages.pot"
 -	echo "build locale/${trans}/LC_MESSAGES/Badwolf.mo: po2mo po/${trans}.po"
 -	all="${all} locale/${trans}/LC_MESSAGES/Badwolf.mo"
 -done >>config.ninja
-+#for trans in ${TRANS}; do
-+#	echo "build po/${trans}.po: msgmerge po/messages.pot"
-+#	echo "build locale/${trans}/LC_MESSAGES/Badwolf.mo: po2mo po/${trans}.po"
-+#	all="${all} locale/${trans}/LC_MESSAGES/Badwolf.mo"
-+#done >>config.ninja
- 
+-
 -for man in ${TRANS_MAN}; do
 -	echo "build po/${man}_man.po: xgettext_man badwolf.1"
 -	echo "build badwolf.${man}.1: translate_manpage po/${man}_man.po"
 -	bundled="${bundled} badwolf.${man}.1"
 -	trans_man="${trans_man} badwolf.${man}.1"
 -done >>config.ninja
-+#for man in ${TRANS_MAN}; do
-+#	echo "build po/${man}_man.po: xgettext_man badwolf.1"
-+#	echo "build badwolf.${man}.1: translate_manpage po/${man}_man.po"
-+#	bundled="${bundled} badwolf.${man}.1"
-+#	trans_man="${trans_man} badwolf.${man}.1"
-+#done >>config.ninja
- 
+-
  for i in 24 32 48 64 128 256; do
  	echo "build icons/hicolor/${i}x${i}/apps/badwolf.png: gen_icon icons/hicolor/scalable/apps/badwolf.svg
-@@ -438,10 +438,10 @@ doins "${MANDIR}/man1" ./badwolf.1
+   width = $i
+@@ -429,10 +413,6 @@ doins "${MANDIR}/man1" ./badwolf.1
  
  doins "${BINDIR}" ./badwolf
  doins "${MANDIR}/man1" ./badwolf.1
@@ -49,10 +38,6 @@
 -	newins "${MANDIR}/\${man}/man1" "./badwolf.\${man}.1" "badwolf.1"
 -done
 -doins "${DATADIR}" ./locale
-+#for man in ${TRANS_MAN}; do
-+#	newins "${MANDIR}/\${man}/man1" "./badwolf.\${man}.1" "badwolf.1"
-+#done
-+#doins "${DATADIR}" ./locale
  doins "${DATADIR}" ./interface.css
  doins "${APPSDIR}" badwolf.desktop
  doins "${DOCDIR}" ${DOCS}
diff --git a/www/badwolf/pkg-plist b/www/badwolf/pkg-plist
index 6ba90373a2ac..bd70efdae234 100644
--- a/www/badwolf/pkg-plist
+++ b/www/badwolf/pkg-plist
@@ -15,7 +15,9 @@ share/man/man1/badwolf.1.gz
 %%NLS%%%%DATADIR%%/locale/pt_BR/LC_MESSAGES/Badwolf.mo
 %%NLS%%%%DATADIR%%/locale/tr/LC_MESSAGES/Badwolf.mo
 %%NLS%%%%DATADIR%%/locale/vi/LC_MESSAGES/Badwolf.mo
+%%NLS%%%%DATADIR%%/locale/sr/LC_MESSAGES/Badwolf.mo
 %%NLS%%share/man/de/man1/badwolf.1.gz
 %%NLS%%share/man/fr/man1/badwolf.1.gz
 %%NLS%%share/man/tr/man1/badwolf.1.gz
 %%NLS%%share/man/vi/man1/badwolf.1.gz
+%%NLS%%share/man/sr/man1/badwolf.1.gz