diff options
author | nia <nia@pkgsrc.org> | 2021-03-15 11:17:18 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-03-15 11:17:18 +0000 |
commit | 68cbf83bad40e36c959d67be91bb4a3ce570c7d7 (patch) | |
tree | 4fcdecda224c68497109132730ca64b9f7a13f54 /www | |
parent | d3148884b3942f4984d9a0941b5c736108fbf711 (diff) | |
download | pkgsrc-68cbf83bad40e36c959d67be91bb4a3ce570c7d7.tar.gz |
luakit: Update to 2.3
## [2.3]
### Added
- Added Gopher protocol support, see comment in rc.lua.
- Added two commands to clear website data (:clear-data, :clear-favicon-db).
- Added dark mode support setting `application.prefer_dark_mode`.
- The tabmenu plugin is now included in luakit (:tabmenu).
### Changed
- Removed debug symbol generation for default make.
- Changed the C standard from gnu99 to c11 because Webkit wants it.
- The proxy module remembers when no proxy or system proxy was used last.
- The proxy widget is hidden when proxy "None" is active.
### Fixed
- Fixed bounding box not spanning over whole element.
- Fixed an issue where styled hint labels caused intransparent bounding boxes.
- Fixed a race condition when a tab is closed on NetBSD.
- Do not execute "git ls-files" when luakit is not a git repository
### Update information
- The gopher module needs `luasocket` installed.
Diffstat (limited to 'www')
-rw-r--r-- | www/luakit/Makefile | 5 | ||||
-rw-r--r-- | www/luakit/PLIST | 8 | ||||
-rw-r--r-- | www/luakit/distinfo | 11 | ||||
-rw-r--r-- | www/luakit/patches/patch-common_ipc.c | 36 |
4 files changed, 14 insertions, 46 deletions
diff --git a/www/luakit/Makefile b/www/luakit/Makefile index eb85727b1a6..26bb73bdf18 100644 --- a/www/luakit/Makefile +++ b/www/luakit/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2020/11/06 12:15:54 nia Exp $ +# $NetBSD: Makefile,v 1.8 2021/03/15 11:17:18 nia Exp $ -DISTNAME= luakit-2.2.1 -PKGREVISION= 2 +DISTNAME= luakit-2.3 CATEGORIES= www lua MASTER_SITES= ${MASTER_SITE_GITHUB:=luakit/} diff --git a/www/luakit/PLIST b/www/luakit/PLIST index abe13c1760b..eed6a05bf07 100644 --- a/www/luakit/PLIST +++ b/www/luakit/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2020/08/09 17:25:37 nia Exp $ +@comment $NetBSD: PLIST,v 1.2 2021/03/15 11:17:18 nia Exp $ bin/luakit lib/luakit/luakit.so man/man1/luakit.1 @@ -37,6 +37,7 @@ share/doc/luakit/modules/binds_chrome.html share/doc/luakit/modules/bookmarks.html share/doc/luakit/modules/bookmarks_chrome.html share/doc/luakit/modules/chrome.html +share/doc/luakit/modules/clear_data.html share/doc/luakit/modules/cmdhist.html share/doc/luakit/modules/completion.html share/doc/luakit/modules/domain_props.html @@ -50,6 +51,7 @@ share/doc/luakit/modules/formfiller.html share/doc/luakit/modules/go_input.html share/doc/luakit/modules/go_next_prev.html share/doc/luakit/modules/go_up.html +share/doc/luakit/modules/gopher.html share/doc/luakit/modules/help_chrome.html share/doc/luakit/modules/hide_scrollbars.html share/doc/luakit/modules/history.html @@ -101,6 +103,7 @@ share/doc/luakit/modules/soup.html share/doc/luakit/modules/styles.html share/doc/luakit/modules/tab_favicons.html share/doc/luakit/modules/tabhistory.html +share/doc/luakit/modules/tabmenu.html share/doc/luakit/modules/taborder.html share/doc/luakit/modules/tests.lib.html share/doc/luakit/modules/undoclose.html @@ -132,6 +135,7 @@ share/luakit/lib/bookmarks.lua share/luakit/lib/bookmarks_chrome.lua share/luakit/lib/chrome.lua share/luakit/lib/chrome_wm.lua +share/luakit/lib/clear_data.lua share/luakit/lib/cmdhist.lua share/luakit/lib/completion.lua share/luakit/lib/domain_props.lua @@ -149,6 +153,7 @@ share/luakit/lib/formfiller_wm.lua share/luakit/lib/go_input.lua share/luakit/lib/go_next_prev.lua share/luakit/lib/go_up.lua +share/luakit/lib/gopher.lua share/luakit/lib/help_chrome.lua share/luakit/lib/hide_scrollbars.lua share/luakit/lib/history.lua @@ -198,6 +203,7 @@ share/luakit/lib/settings_chrome.lua share/luakit/lib/styles.lua share/luakit/lib/tab_favicons.lua share/luakit/lib/tabhistory.lua +share/luakit/lib/tabmenu.lua share/luakit/lib/taborder.lua share/luakit/lib/undoclose.lua share/luakit/lib/unique_instance.lua diff --git a/www/luakit/distinfo b/www/luakit/distinfo index 694a39627d9..1f5bca6e3cf 100644 --- a/www/luakit/distinfo +++ b/www/luakit/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.2 2020/10/04 18:16:42 nia Exp $ +$NetBSD: distinfo,v 1.3 2021/03/15 11:17:18 nia Exp $ -SHA1 (luakit-2.2.1.tar.gz) = a634f4e87aecf62a305284560ba15dbe1119e602 -RMD160 (luakit-2.2.1.tar.gz) = a0ac406989aa56e061d5a9e7722a85387bbe60de -SHA512 (luakit-2.2.1.tar.gz) = 9a055c1541f31027805d3da2604d98c0193a9c2874099fc3ab3ef08c645a8e91b8504d1162e86cbd29a5e5e0a3c54b3154299708f864d135d8640bcc3866674b -Size (luakit-2.2.1.tar.gz) = 488845 bytes +SHA1 (luakit-2.3.tar.gz) = 7ef5847de005abc25a2b67ddf28d95d17070f0b9 +RMD160 (luakit-2.3.tar.gz) = f64c0aac01a869e82db5d6faf223de5ce525ffe8 +SHA512 (luakit-2.3.tar.gz) = f41121e1c47c020d90fe69f858b8c348f5c3ad752891abf2b94e5b44eebe3d5c8c315342c9aa4c53bbaef548f6ef2a1d0c522d877f0a20516734755967c0bb5c +Size (luakit-2.3.tar.gz) = 497471 bytes SHA1 (patch-Makefile) = 8510a1de1c99244ce1f8cb925439921381692f3d -SHA1 (patch-common_ipc.c) = bcaf0b83dac1b9e3af07883473c028f0dad1a696 diff --git a/www/luakit/patches/patch-common_ipc.c b/www/luakit/patches/patch-common_ipc.c deleted file mode 100644 index 365fd6175ca..00000000000 --- a/www/luakit/patches/patch-common_ipc.c +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-common_ipc.c,v 1.1 2020/10/04 18:16:42 nia Exp $ - -[PATCH] Handle EOF sent to G_IO_IN instead of G_IO_HUP (NetBSD/OSX) - -Fixes https://github.com/luakit/luakit/issues/725 - ---- common/ipc.c.orig 2020-09-19 10:55:41.000000000 +0000 -+++ common/ipc.c -@@ -21,6 +21,7 @@ - #include "common/lualib.h" - #include "common/luaserialize.h" - #include "common/ipc.h" -+#include "log.h" - - /* Prototypes for ipc_recv_... functions */ - #define X(name) void ipc_recv_##name(ipc_endpoint_t *ipc, const void *msg, guint length); -@@ -138,6 +139,19 @@ ipc_recv_and_dispatch_or_enqueue(ipc_end - case G_IO_STATUS_AGAIN: - return; - case G_IO_STATUS_EOF: -+ verbose("g_io_channel_read_chars(): End Of File received"); -+ /* OSX and NetBSD are sending EOF on nonblocking channels first. -+ * These requests can be ignored. They should end up in -+ * recv_hup(), but unfortunately they do not. -+ * -+ * If we do not close the socket, glib will continue to -+ * call the G_IO_IN handler. -+ * -+ * We decrement the refcount to 1 here, and when ipc_recv -+ * decrements the refcount to zero, the socket will be -+ * disconnected. -+ */ -+ g_atomic_int_dec_and_test(&ipc->refcount); - return; - case G_IO_STATUS_ERROR: - if (!g_str_equal(ipc->name, "UI")) |