pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vimb: Import vimb-3.4.0 as wip/vimb



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Mar 27 13:40:40 2019 +0100
Changeset:	d45722b8a699ba0510adf2fd843bdf6c52521bec

Modified Files:
	Makefile
Added Files:
	vimb/COMMIT_MSG
	vimb/DESCR
	vimb/Makefile
	vimb/PLIST
	vimb/distinfo
	vimb/patches/patch-Makefile

Log Message:
vimb: Import vimb-3.4.0 as wip/vimb

vimb is a fast and lightweight web browser based on the webkit web browser
engine and the gtk toolkit. vimb is modal like the great vim editor and
also easily configurable during runtime. vimb is mostly keyboard driven
and does not detract you from your daily work.

This is ready to be used to update www/vimb but can probably wait
after 2019Q1 freeze.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d45722b8a699ba0510adf2fd843bdf6c52521bec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                    |  1 +
 vimb/COMMIT_MSG             | 26 ++++++++++++++++++++++++++
 vimb/DESCR                  |  4 ++++
 vimb/Makefile               | 35 +++++++++++++++++++++++++++++++++++
 vimb/PLIST                  |  5 +++++
 vimb/distinfo               |  7 +++++++
 vimb/patches/patch-Makefile | 16 ++++++++++++++++
 7 files changed, 94 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a05b79d55f..c8177e18b3 100644
--- a/Makefile
+++ b/Makefile
@@ -4799,6 +4799,7 @@ SUBDIR+=	viewer
 SUBDIR+=	viewglob
 SUBDIR+=	viewnior
 SUBDIR+=	vim-nox
+SUBDIR+=	vimb
 SUBDIR+=	vimb-git
 SUBDIR+=	vimb2
 SUBDIR+=	vimprobable2
diff --git a/vimb/COMMIT_MSG b/vimb/COMMIT_MSG
new file mode 100644
index 0000000000..e9bc4bd281
--- /dev/null
+++ b/vimb/COMMIT_MSG
@@ -0,0 +1,26 @@
+vimb: Update to 3.4.0
+
+Changes:
+3.4.0
+=====
+Added
+-----
+* Allow to show video in fullscreen, without statusbar and inputbox, if requested.
+* Added option `--no-maximize` to no start with maximized window #483.
+* New setting `prevent-newwindow` to enforce opening links into same window
+  even if they are crafted by `target="_blank"` or using `window.open(...)` #544.
+
+Changed
+-------
+* Increased min required webkit version to 2.20.x.
+* Use man page date instead of build date to make reproducible builds.
+* URLs shown on statusbar and title are now shown as punicode if they contain
+  homographs.
+
+Fixed
+-----
+* Fix out-of-bounds buffer access in parse_command (Thanks to Sören Tempel) #529.
+* Fixed none shown hint labels by Content-Security-Policy headers #531.
+* Fixed segfault on JavaScript `window.close()` call #537.
+* Fixed no char inserted in input mode after timeout and imap/inoremap
+  candidate #546.
diff --git a/vimb/DESCR b/vimb/DESCR
new file mode 100644
index 0000000000..14f848cddc
--- /dev/null
+++ b/vimb/DESCR
@@ -0,0 +1,4 @@
+vimb is a fast and lightweight web browser based on the webkit web browser
+engine and the gtk toolkit. vimb is modal like the great vim editor and
+also easily configurable during runtime. vimb is mostly keyboard driven
+and does not detract you from your daily work.
diff --git a/vimb/Makefile b/vimb/Makefile
new file mode 100644
index 0000000000..5fa79fc1e0
--- /dev/null
+++ b/vimb/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.28 2019/01/26 11:27:51 leot Exp $
+
+DISTNAME=	vimb-3.4.0
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=fanglingsu/}
+
+MAINTAINER=	leot%NetBSD.org@localhost
+HOMEPAGE=	https://fanglingsu.github.io/vimb/
+COMMENT=	Vim-like webkit browser
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	gmake pkg-config
+USE_LANGUAGES=	c99
+
+CFLAGS.NetBSD+=	-D_NETBSD_SOURCE	# needed for LOCK_* macros in <fcntl.h>
+LDFLAGS.SunOS+=	-lsocket -lnsl
+
+# Bump _XOPEN_SOURCE version to 600 in order to avoid "Compiler or options
+# invalid for pre-UNIX 03 X/Open applications" error on SunOS
+SUBST_CLASSES+=		configmk
+SUBST_STAGE.configmk=	pre-configure
+SUBST_MESSAGE.configmk=	Bump _XOPEN_SOURCE version
+SUBST_FILES.configmk=	config.mk
+SUBST_SED.configmk+=	-e '/_XOPEN_SOURCE/ s/500/600/'
+
+EGDIR=		${PREFIX}/share/examples/vimb
+
+MAKE_FLAGS+=	EXAMPLEPREFIX="${DESTDIR}${EGDIR}"
+MAKE_FLAGS+=	MANPREFIX="${DESTDIR}${PREFIX}/${PKGMANDIR}"
+MAKE_FLAGS+=	RUNPREFIX="${PREFIX}"
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../www/webkit-gtk/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/vimb/PLIST b/vimb/PLIST
new file mode 100644
index 0000000000..3036d73712
--- /dev/null
+++ b/vimb/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.3 2018/11/16 11:05:31 leot Exp $
+bin/vimb
+lib/vimb/webext_main.so
+man/man1/vimb.1
+share/applications/vimb.desktop
diff --git a/vimb/distinfo b/vimb/distinfo
new file mode 100644
index 0000000000..537d4df3d0
--- /dev/null
+++ b/vimb/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.3 2018/11/16 11:05:31 leot Exp $
+
+SHA1 (vimb-3.4.0.tar.gz) = 6a179822fd5bb03a4597ffc7267ccd2e8357ad16
+RMD160 (vimb-3.4.0.tar.gz) = a339e8227bbace0004d10f6d36095079559da973
+SHA512 (vimb-3.4.0.tar.gz) = 80586c1ee5836b848a63cb4efd53c4a75fbeede0a3f6ee405b6e145063a17c32c3856af122b6a385cd2283519b86ad480fbf88c978ec0a32830c74d68c95a6ea
+Size (vimb-3.4.0.tar.gz) = 138452 bytes
+SHA1 (patch-Makefile) = 973017a0cc4b2a65535aaa40ae2eb63a4b020acf
diff --git a/vimb/patches/patch-Makefile b/vimb/patches/patch-Makefile
new file mode 100644
index 0000000000..5b4fc4067b
--- /dev/null
+++ b/vimb/patches/patch-Makefile
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Backport upstream commit 0eda3ec2ac78577a08ace4c18cd9e912a56609e6
+to fix the build for vimb released versions.
+
+--- Makefile.orig	2019-03-26 22:47:03.000000000 +0000
++++ Makefile
+@@ -3,7 +3,7 @@ include config.mk
+ 
+ all: version.h src.subdir-all
+ 
+-version.h: Makefile .git/index
++version.h: Makefile $(wildcard .git/index)
+ 	@echo "create $@"
+ 	$(Q)v="$$(git describe --tags 2>/dev/null)"; \
+ 	echo "#define VERSION \"$${v:-$(version)}\"" > $@


Home | Main Index | Thread Index | Old Index