Stefan Hagen <[email protected]> writes:

> Hi,
>
> this is an update of luakit which mainly fixes issues with the current
> webkit version. The old version was barely usable with webkit 2.26+ as
> it didn't load pages (webview stayed blank) and the CPU spiked way too
> high. These issues have been fixed in 2.2.
>
> Maintainer on CC.
>
> Best Regards,
> Stefan

Hi,

Thanks for updating this, the cpu spikes were the reason I stopped using
luakit.

Regarding the patch, I did a simple `patch < ...' in
/usr/ports/www/luakit and it didn't applied cleanly: fortunately the
patch is small so I applied it by hand.  Furthermore, make
port-lib-depends-check complains about extra c++.5 c++abi.3 and a
missing WANTLIB on harfbuzz.  I haven't built luakit before, so I don't
know if these are known, introduced with this updated or simply picked
up because I had them installed.

Anyhow, I'm proposing the attached diff that fixes WANTLIB for me (also
kill the "date of the most recent upstream commit" comment that seems to
be a leftover from EPOCH=0)

Hope I'm not overlooking something :)

Cheers!


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/luakit/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile    12 Jul 2019 20:50:48 -0000      1.24
+++ Makefile    17 Aug 2020 07:39:25 -0000
@@ -4,9 +4,8 @@ BROKEN-powerpc = help2man: can't get `--
 
 COMMENT =      fast, small, webkit based browser written in lua
 
-# Date of the most recent upstream commit.
 GH_ACCOUNT =   luakit
-GH_TAGNAME =   2.1
+GH_TAGNAME =   2.2
 GH_PROJECT =   luakit
 
 EPOCH =                1
@@ -24,11 +23,10 @@ USE_GMAKE =         Yes
 
 COMPILER =     base-clang ports-gcc
 
-WANTLIB += ${COMPILER_LIBCXX}
 WANTLIB += atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-3 intl
-WANTLIB += javascriptcoregtk-4.0 luajit-5.1 pango-1.0 pangocairo-1.0
-WANTLIB += soup-2.4 sqlite3 webkit2gtk-4.0
+WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-3 harfbuzz
+WANTLIB += intl javascriptcoregtk-4.0 luajit-5.1 pango-1.0
+WANTLIB += pangocairo-1.0 pthread soup-2.4 sqlite3 webkit2gtk-4.0
 
 MODULES =      lang/lua
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/luakit/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo    9 Feb 2019 17:55:27 -0000       1.9
+++ distinfo    17 Aug 2020 07:39:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (luakit-2.1.tar.gz) = 7L+iMxZxL0RHFDh7L/2EZibatuQLRE0970R1wUXVbyY=
-SIZE (luakit-2.1.tar.gz) = 485605
+SHA256 (luakit-2.2.tar.gz) = cEkpoySYSv4kbGMmNmfrHWTAYLT390ztWf7F1ALDd9w=
+SIZE (luakit-2.2.tar.gz) = 488550
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/luakit/pkg/PLIST,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST
--- pkg/PLIST   9 Feb 2019 17:55:28 -0000       1.7
+++ pkg/PLIST   17 Aug 2020 07:39:25 -0000
@@ -1,7 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.7 2019/02/09 17:55:28 abieber Exp $
 @bin bin/luakit
 lib/luakit/
-lib/luakit/luakit.so
+@so lib/luakit/luakit.so
 @man man/man1/luakit.1
 share/applications/luakit.desktop
 share/doc/luakit/

Reply via email to