Hello,
This is an update to www/luakit 2.3.
Software changes:
Added
- Gopher protocol support (needs to be enabled in rc.lua)
- Added website data deletion commands :clear-data, :clear-favicon-db
- Dark Mode support :settings -> application.prefer_dark_mode
- The tabmenu plugin is now included in luakit (:tabmenu)
Changes
- 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
Fixes
- 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
Port changes:
- bump revision
- patches removed that are now upstream (the last two "Fixes")
- added net/luasocket as run dep. (needed for gopher support)
make {test,lib-depends-check}, portcheck: ok on amd64
Best Regards,
Stefan
Index: www/luakit/Makefile
===================================================================
RCS file: /cvs/ports/www/luakit/Makefile,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 Makefile
--- www/luakit/Makefile 12 Nov 2020 14:39:54 -0000 1.28
+++ www/luakit/Makefile 28 Feb 2021 07:52:01 -0000
@@ -4,7 +4,7 @@ COMMENT = fast, small, webkit based brow
GH_ACCOUNT = luakit
GH_PROJECT = luakit
-GH_TAGNAME = 2.2.1
+GH_TAGNAME = 2.3
EPOCH = 1
@@ -33,6 +33,7 @@ BUILD_DEPENDS = devel/help2man \
RUN_DEPENDS = devel/desktop-file-utils \
devel/luafs \
+ net/luasocket \
textproc/lua-markdown
LIB_DEPENDS = lang/luajit \
Index: www/luakit/distinfo
===================================================================
RCS file: /cvs/ports/www/luakit/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- www/luakit/distinfo 12 Nov 2020 14:39:54 -0000 1.11
+++ www/luakit/distinfo 28 Feb 2021 07:52:01 -0000
@@ -1,2 +1,2 @@
-SHA256 (luakit-2.2.1.tar.gz) = 81NZ9YY/q+K51Cb00+9tKc5bs7rHtMjggkJC+JhoyA4=
-SIZE (luakit-2.2.1.tar.gz) = 488845
+SHA256 (luakit-2.3.tar.gz) = xwJrTwvfpE9DeYuA+HVI0+etVvW5I/xDuccSvxhJYJU=
+SIZE (luakit-2.3.tar.gz) = 497471
Index: www/luakit/patches/patch-common_ipc_c
===================================================================
RCS file: www/luakit/patches/patch-common_ipc_c
diff -N www/luakit/patches/patch-common_ipc_c
--- www/luakit/patches/patch-common_ipc_c 12 Nov 2020 14:39:54 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,31 +0,0 @@
-$OpenBSD: patch-common_ipc_c,v 1.1 2020/11/12 14:39:54 semarie Exp $
-
-NetBSD EOF fix
-
-Index: common/ipc.c
---- common/ipc.c.orig
-+++ 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,15 @@ ipc_recv_and_dispatch_or_enqueue(ipc_endpoint_t *ipc)
- 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.
-+ */
-+ g_atomic_int_dec_and_test(&ipc->refcount);
- return;
- case G_IO_STATUS_ERROR:
- if (!g_str_equal(ipc->name, "UI"))
Index: www/luakit/patches/patch-tests_run_test_lua
===================================================================
RCS file: www/luakit/patches/patch-tests_run_test_lua
diff -N www/luakit/patches/patch-tests_run_test_lua
--- www/luakit/patches/patch-tests_run_test_lua 12 Nov 2020 14:39:54 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,32 +0,0 @@
-$OpenBSD: patch-tests_run_test_lua,v 1.1 2020/11/12 14:39:54 semarie Exp $
-Remove git usage in tests. The tarball isn't a git checkout and the output could be too verbose if /usr/ports in a git checkout.
-
-Index: tests/run_test.lua
---- tests/run_test.lua.orig
-+++ tests/run_test.lua
-@@ -186,25 +186,6 @@ if not pcall(require, "luassert") then
- os.exit(1)
- end
-
---- Check for untracked files in Git
--do
-- local untracked = {}
-- local f = io.popen("git ls-files --others --exclude-standard")
-- for line in f:lines() do
-- table.insert(untracked, line)
-- end
-- f:close()
--
-- if #untracked > 0 then
-- local c_yellow = string.char(27) .. "[0;33m"
-- local c_reset = string.char(27) .. "[0;0m"
-- print(c_yellow .. "WARN" .. c_reset .. " The following files are untracked:")
-- for _, line in ipairs(untracked) do
-- print(" " .. line)
-- end
-- end
--end
--
- -- Find a free server number
- -- Does have a race condition...
- for i=0,math.huge do
Index: www/luakit/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/luakit/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 PLIST
--- www/luakit/pkg/PLIST 23 Aug 2020 22:00:39 -0000 1.8
+++ www/luakit/pkg/PLIST 28 Feb 2021 07:52:01 -0000
@@ -41,6 +41,7 @@ share/doc/luakit/modules/binds_chrome.ht
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
@@ -54,6 +55,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
@@ -105,6 +107,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
@@ -143,6 +146,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
@@ -160,6 +164,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
@@ -211,6 +216,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
No comments:
Post a Comment