pkgsrc-WIP-changes archive

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

wyeb-git: import wyeb-0.0nb20181110 as wip/wyeb-git



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sun Nov 11 01:05:30 2018 +0200
Changeset:	bb1d373441eb0ce7c3c05205382d60d4001b4cbd

Modified Files:
	Makefile
Added Files:
	wyeb-git/DESCR
	wyeb-git/Makefile
	wyeb-git/PLIST
	wyeb-git/distinfo
	wyeb-git/patches/patch-main.c

Log Message:
wyeb-git: import wyeb-0.0nb20181110 as wip/wyeb-git

With Your Editor Browser is a vim-like webkit2gtk browser
inspired by dwb and luakit.

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

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

diffstat:
 Makefile                      |  1 +
 wyeb-git/DESCR                |  2 ++
 wyeb-git/Makefile             | 30 ++++++++++++++++++++++++++++++
 wyeb-git/PLIST                |  5 +++++
 wyeb-git/distinfo             |  3 +++
 wyeb-git/patches/patch-main.c | 15 +++++++++++++++
 6 files changed, 56 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6e92768487..b34af42dc8 100644
--- a/Makefile
+++ b/Makefile
@@ -4770,6 +4770,7 @@ SUBDIR+=	wsmake
 SUBDIR+=	wvstreams
 SUBDIR+=	wxGTK-test
 SUBDIR+=	wxmaxima-git
+SUBDIR+=	wyeb-git
 SUBDIR+=	xace
 SUBDIR+=	xalan-c
 SUBDIR+=	xalan-c-1.10
diff --git a/wyeb-git/DESCR b/wyeb-git/DESCR
new file mode 100644
index 0000000000..063a9a9f78
--- /dev/null
+++ b/wyeb-git/DESCR
@@ -0,0 +1,2 @@
+With Your Editor Browser is a vim-like webkit2gtk browser
+inspired by dwb and luakit.
diff --git a/wyeb-git/Makefile b/wyeb-git/Makefile
new file mode 100644
index 0000000000..310ef60e67
--- /dev/null
+++ b/wyeb-git/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME=	wyeb-0.0
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jun7/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://wyeb.org/
+COMMENT=	Vim-like webkit2gtk browser
+LICENSE=	gnu-gpl-v3
+
+GIT_REPOSITORIES=	wyeb
+GIT_REPO.wyeb=		git://github.com/jun7/wyeb.git
+WRKSRC=			${WRKDIR}/wyeb
+
+BUILD_MAKE_FLAGS+=	EXTENSION_DIR=${PREFIX}/lib/wyebrowser
+INSTALLATION_DIRS+=	bin lib/wyebrowser share/applications share/pixmaps
+
+MAKE_FILE=	makefile
+USE_TOOLS+=	gmake
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/wyeb ${DESTDIR}${PREFIX}/bin/
+	${INSTALL_LIB} ${WRKSRC}/ext.so ${DESTDIR}${PREFIX}/lib/wyebrowser
+	${INSTALL_DATA} ${WRKSRC}/wyeb.desktop ${DESTDIR}${PREFIX}/share/applications/
+	${INSTALL_DATA} ${WRKSRC}/wyeb.png ${DESTDIR}${PREFIX}/share/pixmaps/
+
+.include "../../www/webkit-gtk/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wyeb-git/PLIST b/wyeb-git/PLIST
new file mode 100644
index 0000000000..74917ac640
--- /dev/null
+++ b/wyeb-git/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/wyeb
+lib/wyebrowser/ext.so
+share/applications/wyeb.desktop
+share/pixmaps/wyeb.png
diff --git a/wyeb-git/distinfo b/wyeb-git/distinfo
new file mode 100644
index 0000000000..7ac62cd8ee
--- /dev/null
+++ b/wyeb-git/distinfo
@@ -0,0 +1,3 @@
+$NetBSD$
+
+SHA1 (patch-main.c) = a829c08e71a538c4d10b90ab6efa0c40676d2bb6
diff --git a/wyeb-git/patches/patch-main.c b/wyeb-git/patches/patch-main.c
new file mode 100644
index 0000000000..465a24280b
--- /dev/null
+++ b/wyeb-git/patches/patch-main.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use the correct data type for modification time.
+
+--- main.c.orig	2018-11-10 14:18:57.000000000 +0000
++++ main.c
+@@ -2895,7 +2895,7 @@ static char *histdata(bool rest, bool al
+ 	int size = all ? 0 : confint("histviewsize");
+ 
+ 	int start = 0;
+-	__time_t mtime = 0;
++	time_t mtime = 0;
+ 	for (int j = 2; j > 0; j--) for (int i = histfnum - 1; i >= 0; i--)
+ 	{
+ 		if (!rest && size && num >= size) break;


Home | Main Index | Thread Index | Old Index