From nobody Fri Sep 09 22:04:33 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MPVQV0JDRz4bTJT; Fri, 9 Sep 2022 22:04:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPVQT6sXdz3bjH; Fri, 9 Sep 2022 22:04:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662761074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OMJob++mrj15Ag2O86EPFHIFE/2oe2Yg3uz4WefKFFQ=; b=dhr2vRCpQUEcDRdGEEwJAaImUU52WwnmDROWJvbFWfoHo+etoVB0RLgO6WvLnzhuQKmKGK zLgY/hoTkGdrZY+nygDDLidePsGmFGloJxxXd4ppuVil++lldFuf0UVVcJf6Meg+PSwUdp nBho1OdHj7E64vX+F/ccswsmuSFfHESChagzefv76XViZFQvPHhj4MFkRn83ZN8YCpLz21 ljFbwcM6PY/SiG7JppS1+V26dMv8MFNj17wzKaj+B0BekTQVo1C53YeUx6sF38Ka98LkkQ voeoetKlScKpt83PIZGsVahSmm/vJSb61G5Zhy1ST9+WXL7+6kESHoK6FAvxvQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MPVQT5fbfz1L3V; Fri, 9 Sep 2022 22:04:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 289M4XV1006995; Fri, 9 Sep 2022 22:04:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 289M4X7i006994; Fri, 9 Sep 2022 22:04:33 GMT (envelope-from git) Date: Fri, 9 Sep 2022 22:04:33 GMT Message-Id: <202209092204.289M4X7i006994@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: af765b38596f - main - www/badwolf: New port: Minimalist and privacy-oriented WebKitGTK+ browser List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: af765b38596ff0999f4f7a28f4609c96f224de10 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662761074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OMJob++mrj15Ag2O86EPFHIFE/2oe2Yg3uz4WefKFFQ=; b=nXBvhfmtszcHgN8UQM0bM24lP59APP/eWK6xdiwvGrp3QWHFJDZezZshnqq6rMCzDNDilT edcgf1BJij29WteN97tO7OKv25TR534nIuHuJKS0beHWAmjfgX/iATNOIKtGNmC5Y039qa bfFzXr5IF4xT6y26h/OpTF0uGWYBuLfLkOZ8/qXVjEwYMp7ogAsg7MBmG6UurjrIhmxiy/ nN39MmEI1bVaAloEWCsb2y5gpocJ5b4Lv1AjrzT6dLwoELBFwEqkxMAFrxUKvMDFxOE1vJ Xchj6ftE3jp5vjiSbT963T/M5yEb3trUx0/6XuRpmiVX8ZS6/3x0jvjST4VZHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662761074; a=rsa-sha256; cv=none; b=f1VwTfkwtU4+RqUnAw6HMj4BfriHgkqcSVA3bDWwIoJH70XQX7b7nP/03czvS3e1HPE3kw zBaxNoswXKi60nSWlAK0YlLkSi2idpax6jaLivrJdDKUttGjqPSApM89gyJpu+tdngJg7M QEG+vsOPUYtt8PlGGJ1tShwu7MNDyslFEaV+Zn5SwyfXf81jhxa8asm1Lb+mKvQILQWo81 nk3kQ9kcztkexSt9+lNukwt6+Xlxvc7pBjJDzjM1QM8V6bsX7Ee0jjuh2BU7AO7+FnGyZm swADKkP+p/cc6b3Z+9RE/ZefDuoEyyVpvwano5NTR4OGbTPGb2Bw1QmLDBaeOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=af765b38596ff0999f4f7a28f4609c96f224de10 commit af765b38596ff0999f4f7a28f4609c96f224de10 Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2022-09-09 22:01:25 +0000 Commit: Nuno Teixeira CommitDate: 2022-09-09 22:03:48 +0000 www/badwolf: New port: Minimalist and privacy-oriented WebKitGTK+ browser - submitter becomes maintainer BadWolf is a minimalist and privacy-oriented WebKitGTK+ browser. Features: * Privacy-oriented: No browser-level tracking, multiple ephemeral isolated sessions per new unrelated tabs, JavaScript off by default. * Minimalist: Small codebase (~1 500 LoC), reuses existing components when available or makes them available. * Customizable: WebKitGTK native extensions, Interface customizable through CSS. * Powerful & Usable: Stable User-Interface; The common shortcuts are available, no vi-modal edition or single-key shortcuts are used. * No annoyances: Dialogs are only used when required (save file, print, ...), javascript popups open in a background tab. WWW: https://hacktivis.me/projects/badwolf PR: 266179 --- www/Makefile | 1 + www/badwolf/Makefile | 46 ++++++++++++++++++++++++++++++++++ www/badwolf/distinfo | 3 +++ www/badwolf/files/extra-patch-Makefile | 40 +++++++++++++++++++++++++++++ www/badwolf/pkg-descr | 14 +++++++++++ www/badwolf/pkg-plist | 17 +++++++++++++ 6 files changed, 121 insertions(+) diff --git a/www/Makefile b/www/Makefile index 3fbefbd92af1..91383da3ca53 100644 --- a/www/Makefile +++ b/www/Makefile @@ -41,6 +41,7 @@ SUBDIR += baculum-api SUBDIR += baculum-common SUBDIR += baculum-web + SUBDIR += badwolf SUBDIR += baikal SUBDIR += bareos-webui SUBDIR += bareos18-webui diff --git a/www/badwolf/Makefile b/www/badwolf/Makefile new file mode 100644 index 000000000000..6f76b96d76f2 --- /dev/null +++ b/www/badwolf/Makefile @@ -0,0 +1,46 @@ +PORTNAME= badwolf +DISTVERSION= 1.2.1 +CATEGORIES= www +MASTER_SITES= https://hacktivis.me/releases/ + +MAINTAINER= DtxdF@disroot.org +COMMENT= Minimalist and privacy-oriented WebKitGTK+ browser +WWW= https://hacktivis.me/projects/badwolf + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \ + libwebkit2gtk-4.0.so:www/webkit2-gtk3 + +USES= desktop-file-utils gnome pkgconfig +USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 pango +HAS_CONFIGURE= yes +CONFIGURE_ENV= WITH_WEBKITGTK=4.0 + +OPTIONS_DEFINE= GSTREAMER NLS +OPTIONS_DEFAULT= GSTREAMER LIBSOUP +OPTIONS_SINGLE= URI_PARSER +OPTIONS_SINGLE_URI_PARSER= GURI LIBSOUP +OPTIONS_SUB= yes + +GURI_DESC= Use GUri from glib-2.0 +LIBSOUP_DESC= Use libsoup +URI_PARSER_DESC= URI PARSER + +GSTREAMER_USES= gstreamer +GSTREAMER_USE= GSTREAMER=bad,good,libav +GURI_CONFIGURE_ENV= WITH_URI_PARSER=guri +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-Makefile + +GURI_USE_GNOME= glib20 +LIBAV_USE_GSTREAMER= libav + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/www/badwolf/distinfo b/www/badwolf/distinfo new file mode 100644 index 000000000000..63e51515cc2d --- /dev/null +++ b/www/badwolf/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1662096680 +SHA256 (badwolf-1.2.1.tar.gz) = 7a658908551bc0389fc43bd04a9decfef3815d28ff2097957bf6ab186a05ffd2 +SIZE (badwolf-1.2.1.tar.gz) = 80104 diff --git a/www/badwolf/files/extra-patch-Makefile b/www/badwolf/files/extra-patch-Makefile new file mode 100644 index 000000000000..8419778d4446 --- /dev/null +++ b/www/badwolf/files/extra-patch-Makefile @@ -0,0 +1,40 @@ +--- Makefile.orig 2021-11-20 12:28:32 UTC ++++ Makefile +@@ -10,10 +10,10 @@ EXE_test = uri_test + OBJS_test = uri_test.o + EXE = badwolf + EXE_test = uri_test +-TRANS = fr.mo pt_BR.mo tr.mo de.mo vi.mo ++#TRANS = fr.mo pt_BR.mo tr.mo de.mo vi.mo + DOCS = usr.bin.badwolf README.md KnowledgeBase.md interface.txt + +-all: config.mk $(EXE) $(TRANS) po/messages.pot ++all: config.mk $(EXE) + + config.mk: configure + @echo "Error: You need to execute ./configure before running make" +@@ -35,9 +35,9 @@ po/%.po: po/messages.pot + po/%.po: po/messages.pot + msgmerge --update --backup=off $@ $< + +-${TRANS}: po/${@:.mo=.po} +- mkdir -p locale/${@:.mo=}/LC_MESSAGES +- $(MSGFMT) -o locale/${@:.mo=}/LC_MESSAGES/$(PACKAGE).mo po/${@:.mo=.po} ++#${TRANS}: po/${@:.mo=.po} ++# mkdir -p locale/${@:.mo=}/LC_MESSAGES ++# $(MSGFMT) -o locale/${@:.mo=}/LC_MESSAGES/$(PACKAGE).mo po/${@:.mo=.po} + + badwolf: $(OBJS) + $(CC) -std=c11 -o $@ $(OBJS) $(LDFLAGS) $(LIBS) +@@ -62,9 +62,8 @@ install: all + cp -p badwolf $(DESTDIR)$(BINDIR)/ + mkdir -p $(DESTDIR)$(MANDIR)/man1 + cp -p badwolf.1 $(DESTDIR)$(MANDIR)/man1/ +- mkdir -p $(DESTDIR)$(DATADIR)/locale +- cp -r locale/ $(DESTDIR)$(DATADIR)/ +- cp interface.css $(DESTDIR)$(DATADIR)/ ++ mkdir -p $(DESTDIR)$(DATADIR) ++ cp -p interface.css $(DESTDIR)$(DATADIR)/ + mkdir -p $(DESTDIR)$(APPSDIR) + cp -p badwolf.desktop $(DESTDIR)$(APPSDIR)/ + mkdir -p $(DESTDIR)$(DOCDIR) diff --git a/www/badwolf/pkg-descr b/www/badwolf/pkg-descr new file mode 100644 index 000000000000..58ff2a951e9f --- /dev/null +++ b/www/badwolf/pkg-descr @@ -0,0 +1,14 @@ +BadWolf is a minimalist and privacy-oriented WebKitGTK+ browser. + +Features: + +* Privacy-oriented: No browser-level tracking, multiple ephemeral + isolated sessions per new unrelated tabs, JavaScript off by default. +* Minimalist: Small codebase (~1 500 LoC), reuses existing components + when available or makes them available. +* Customizable: WebKitGTK native extensions, Interface customizable + through CSS. +* Powerful & Usable: Stable User-Interface; The common shortcuts are + available, no vi-modal edition or single-key shortcuts are used. +* No annoyances: Dialogs are only used when required (save file, + print, ...), javascript popups open in a background tab. diff --git a/www/badwolf/pkg-plist b/www/badwolf/pkg-plist new file mode 100644 index 000000000000..9602e21cb05f --- /dev/null +++ b/www/badwolf/pkg-plist @@ -0,0 +1,17 @@ +bin/badwolf +share/applications/badwolf.desktop +%%NLS%%%%DATADIR%%/de/LC_MESSAGES/Badwolf.mo +%%NLS%%%%DATADIR%%/fr/LC_MESSAGES/Badwolf.mo +%%DATADIR%%/interface.css +%%NLS%%%%DATADIR%%/pt_BR/LC_MESSAGES/Badwolf.mo +%%NLS%%%%DATADIR%%/tr/LC_MESSAGES/Badwolf.mo +%%NLS%%%%DATADIR%%/vi/LC_MESSAGES/Badwolf.mo +share/icons/hicolor/128x128/apps/badwolf.png +share/icons/hicolor/24x24/apps/badwolf.png +share/icons/hicolor/256x256/apps/badwolf.png +share/icons/hicolor/32x32/apps/badwolf.png +share/icons/hicolor/48x48/apps/badwolf.png +share/icons/hicolor/64x64/apps/badwolf.png +share/icons/hicolor/scalable/apps/badwolf.svg +share/man/man1/badwolf.1.gz +%%NLS%%@dir %%DATADIR%%/locale