pkgsrc-WIP-changes archive

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

luakit-git: update PLIST and add patch-lib_window.lua workaround from wip/luakit



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Mon May 14 09:31:48 2018 +0200
Changeset:	48871c25e132f9dd1e60e18c5da3bb425181fa7f

Modified Files:
	luakit-git/Makefile
	luakit-git/PLIST
	luakit-git/distinfo
Added Files:
	luakit-git/patches/patch-lib_window.lua

Log Message:
luakit-git: update PLIST and add patch-lib_window.lua workaround from wip/luakit

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

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

diffstat:
 luakit-git/Makefile                     |  3 +++
 luakit-git/PLIST                        | 10 ++++++++--
 luakit-git/distinfo                     |  1 +
 luakit-git/patches/patch-lib_window.lua | 20 ++++++++++++++++++++
 4 files changed, 32 insertions(+), 2 deletions(-)

diffs:
diff --git a/luakit-git/Makefile b/luakit-git/Makefile
index 5edb6ceadd..fdb1c0c8ed 100644
--- a/luakit-git/Makefile
+++ b/luakit-git/Makefile
@@ -62,6 +62,9 @@ teardownx:
 pre-build:	setupx
 post-build:	teardownx
 
+pre-install:
+	${RM} -f ${WRKSRC}/lib/*.orig
+
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../lang/lua/buildlink3.mk"
 .include "../../www/webkit-gtk/buildlink3.mk"
diff --git a/luakit-git/PLIST b/luakit-git/PLIST
index 6ceb442f11..cb3c4f2ae3 100644
--- a/luakit-git/PLIST
+++ b/luakit-git/PLIST
@@ -2,6 +2,7 @@
 bin/luakit
 etc/xdg/luakit/rc.lua
 etc/xdg/luakit/theme.lua
+lib/luakit/luakit.so
 man/man1/luakit.1
 share/applications/luakit.desktop
 share/doc/luakit/AUTHORS
@@ -34,6 +35,7 @@ share/doc/luakit/index.html
 share/doc/luakit/modules/adblock.html
 share/doc/luakit/modules/adblock_chrome.html
 share/doc/luakit/modules/binds.html
+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
@@ -57,6 +59,7 @@ share/doc/luakit/modules/history_chrome.html
 share/doc/luakit/modules/image_css.html
 share/doc/luakit/modules/introspector_chrome.html
 share/doc/luakit/modules/ipc.html
+share/doc/luakit/modules/keysym.html
 share/doc/luakit/modules/log_chrome.html
 share/doc/luakit/modules/lousy.bind.html
 share/doc/luakit/modules/lousy.load.html
@@ -95,6 +98,7 @@ share/doc/luakit/modules/select.html
 share/doc/luakit/modules/select_wm.html
 share/doc/luakit/modules/session.html
 share/doc/luakit/modules/settings.html
+share/doc/luakit/modules/settings_chrome.html
 share/doc/luakit/modules/soup.html
 share/doc/luakit/modules/styles.html
 share/doc/luakit/modules/tab_favicons.html
@@ -104,6 +108,7 @@ share/doc/luakit/modules/tests.lib.html
 share/doc/luakit/modules/undoclose.html
 share/doc/luakit/modules/unique_instance.html
 share/doc/luakit/modules/userscripts.html
+share/doc/luakit/modules/utf8.html
 share/doc/luakit/modules/vertical_tabs.html
 share/doc/luakit/modules/view_source.html
 share/doc/luakit/modules/viewpdf.html
@@ -122,6 +127,7 @@ share/luakit/lib/adblock.lua
 share/luakit/lib/adblock_chrome.lua
 share/luakit/lib/adblock_wm.lua
 share/luakit/lib/binds.lua
+share/luakit/lib/binds_chrome.lua
 share/luakit/lib/bookmarks.lua
 share/luakit/lib/bookmarks_chrome.lua
 share/luakit/lib/chrome.lua
@@ -150,7 +156,7 @@ share/luakit/lib/history_chrome.lua
 share/luakit/lib/image_css.lua
 share/luakit/lib/image_css_wm.lua
 share/luakit/lib/introspector_chrome.lua
-share/luakit/lib/jquery.min.js
+share/luakit/lib/keysym.lua
 share/luakit/lib/log_chrome.lua
 share/luakit/lib/lousy/bind.lua
 share/luakit/lib/lousy/init.lua
@@ -188,6 +194,7 @@ share/luakit/lib/select.lua
 share/luakit/lib/select_wm.lua
 share/luakit/lib/session.lua
 share/luakit/lib/settings.lua
+share/luakit/lib/settings_chrome.lua
 share/luakit/lib/styles.lua
 share/luakit/lib/tab_favicons.lua
 share/luakit/lib/tabhistory.lua
@@ -202,7 +209,6 @@ share/luakit/lib/webinspector.lua
 share/luakit/lib/webview.lua
 share/luakit/lib/webview_wm.lua
 share/luakit/lib/window.lua
-share/luakit/luakit.so
 share/luakit/resources/icons/COPYING
 share/luakit/resources/icons/tab-icon-chrome.png
 share/luakit/resources/icons/tab-icon-chrome%2x.png@localhost
diff --git a/luakit-git/distinfo b/luakit-git/distinfo
index 84c6aea09c..61de44e352 100644
--- a/luakit-git/distinfo
+++ b/luakit-git/distinfo
@@ -6,4 +6,5 @@ SHA512 (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf39
 Size (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf3903c3947779f8c4d4.zip) = 518360 bytes
 SHA1 (patch-clib_xdg.c) = 503119fe2bba62a94b77575e3994db6329f19af3
 SHA1 (patch-common_luautil.c) = 73877098fe704e0f4a67c1eb273a777762d6c58d
+SHA1 (patch-lib_window.lua) = 1282ea06f7c1a45b3465a3452b84b1483a694130
 SHA1 (patch-luah.c) = f811e2ddd3178007c62aba805110ba59934a3c3d
diff --git a/luakit-git/patches/patch-lib_window.lua b/luakit-git/patches/patch-lib_window.lua
new file mode 100644
index 0000000000..e1446fa250
--- /dev/null
+++ b/luakit-git/patches/patch-lib_window.lua
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Do not destroy() the current view.
+
+When just one tab is present it leads to an high CPU usage and luakit completely
+stuck (although start luakit via `--log=DEBUG' option shows that it responds to
+events). To workaround this problem avoid to call view:destroy().
+
+XXX: I'm not sure if it's the correct fix.
+
+--- lib/window.lua.orig	2017-08-10 09:50:15.000000000 +0000
++++ lib/window.lua
+@@ -519,7 +519,6 @@ window.methods = {
+         view = view or w.view
+         w:emit_signal("close-tab", view)
+         w:detach_tab(view, blank_last)
+-        view:destroy()
+     end,
+ 
+     attach_tab = function (w, view, switch, order)


Home | Main Index | Thread Index | Old Index