Bug 8686

Summary: Luakit Fastest browser on earth!
Product: Mageia Reporter: thomas bjo <thomasbjornvold>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: dedanna1029, rverschelde, zen25000
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
URL: https://luakit.github.io/
Whiteboard:
Source RPM: luakit CVE:
Status comment:

Description thomas bjo 2013-01-14 13:44:53 CET
Description of problem:


Flash and Java works out of the box (it does if you have other browsers installed - at least)
It presents mouse-free browsing and has a way of getting under your skin.
(probably due to the extreme speed.
Comment 1 James Kerr 2013-01-14 19:32:51 CET
Edited Summary to enable finding it in a simple bugzilla search

Summary: Fastest browser on earth! => Luakit Fastest browser on earth!

Comment 2 Kim Garren 2013-01-14 20:17:47 CET
I second this. Would love to see a package built.

CC: (none) => skeeter1029

Comment 3 Barry Jackson 2013-01-15 10:58:48 CET
(In reply to comment #0)
> Description of problem:
> 
> 
> Flash and Java works out of the box (it does if you have other browsers
> installed - at least)
> It presents mouse-free browsing and has a way of getting under your skin.
> (probably due to the extreme speed.

I have been looking at this and from your comments I guess you have it working.
I wonder if you could answer a few questions.

Which Mageia version are you using?
Did you build/install luakit directly from the source?
If so did you use a release tag from git or the head?
Did you enable luajit?
What is the output of 
rpm -qa | grep lua
and
ls -l /etc/xdg/luakit

Also did you need to build/install anything else from source?

Thanks

Keywords: (none) => NEEDINFO
CC: (none) => zen25000

Comment 4 thomas bjo 2013-01-15 11:14:25 CET
Sorry I have it working in Arch.

In Mageia2 it will not install due to the lack of Liblua-5.1.so

rpm -qa | grep lua
lua-5.1.4-10.1.mga2
liblua5.1-5.1.4-10.1.mga2
liblua-devel-5.1.4-10.1.mga2
Comment 5 Barry Jackson 2013-01-15 13:53:03 CET
(In reply to comment #4)
> Sorry I have it working in Arch.
> 
> In Mageia2 it will not install due to the lack of Liblua-5.1.so
> 
> rpm -qa | grep lua
> lua-5.1.4-10.1.mga2
> liblua5.1-5.1.4-10.1.mga2
> liblua-devel-5.1.4-10.1.mga2

Please test this:
http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/2/i586/luakit-20120913r1-1.mga2.i586.rpm

In Cauldron x86_64 I'm seeing a problem on launch:

[baz@jackodesktop ~]$ luakit
/etc/xdg/luakit/rc.lua:5: module 'lfs' not found:
        no field package.preload['lfs']
        no file './lfs.lua'
        no file '/usr/share/lua/5.1/lfs.lua'
        no file '/usr/share/lua/5.1/lfs/init.lua'
        no file '/usr/lib/lua/5.1/lfs.lua'
        no file '/usr/lib/lua/5.1/lfs/init.lua'
        no file '/usr/share/lua/5.1/lfs.lua'
        no file '/usr/share/lua/5.1/lfs/init.lua'
        no file './lib/lfs.lua'
        no file './lib/lfs/init.lua'
        no file './config/lfs.lua'
        no file './config/lfs/init.lua'
        no file '/home/baz/.config/luakit/lfs.lua'
        no file '/home/baz/.config/luakit/lfs/init.lua'
        no file '/etc/xdg/luakit/lfs.lua'
        no file '/etc/xdg/luakit/lfs/init.lua'
        no file '/etc/xdg/kde4/luakit/lfs.lua'
        no file '/etc/xdg/kde4/luakit/lfs/init.lua'
        no file '/usr/share/luakit/lib/lfs.lua'
        no file '/usr/share/luakit/lib/lfs/init.lua'
        no file './lfs.so'
        no file '/usr/lib/lua/5.1/lfs.so'
        no file '/usr/lib64/lua/5.1/lfs.so'
        no file '/usr/lib/lua/5.1/loadall.so'
[    0.051016] E: luakit: main:189: no windows spawned by rc file, exiting
[baz@jackodesktop ~]$ 

Googling seems to indicate a missing liblua5.1 but I have it installed.

[baz@jackodesktop ~]$ rpm -qa | grep lua | grep 5.1
lib64luajit-5.1-common-2.0.0-0.2.beta11.1.mga3
lib64luajit-5.1_2-2.0.0-0.2.beta11.1.mga3
lua5.1-5.1.5-2.mga3
lib64lua5.1-devel-5.1.5-2.mga3
lib64luajit-5.1-devel-2.0.0-0.2.beta11.1.mga3
lib64lua5.1-5.1.5-2.mga3                          <==========

However I know nothing about lua so maybe someone can shed some light ?
Comment 6 thomas bjo 2013-01-16 12:15:57 CET
The rpm file above does install on Mageia 2 but it will not start:
Here is what I got when I started luakit in verbose mode.

_____________________
 luakit -v
[    0.018007] D: luakit: luaH_loadrc:398: Loading rc: /etc/xdg/luakit/rc.lua

(luakit:1954): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
_____________________


It might help to copy the config files to ~/.config/luakit (cheking that now)
Comment 7 thomas bjo 2013-01-16 12:36:33 CET
Copying the config files had no effect neither has turning off the Firewall.

Starting luakit as root gives the following error:

_____________
[viking@localhost ~]$ sudo luakit
[sudo] password for viking: 

(luakit:1597): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by waitpid(), so exit status can't be returned. This is a bug in the program calling g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action.

** (luakit:1597): WARNING **: Unormal avslutning av programmet ved start av kommandolinje «dbus-launch --autolaunch=72f4afe0f891cde02cb12a530000001a --binary-syntax --close-stderr»: 
____________________
Comment 8 thomas bjo 2013-01-16 12:41:58 CET
The program does check the new location for config files so it is partly working
__________
[viking@localhost ~]$ luakit -v
[    0.018277] D: luakit: luaH_loadrc:398: Loading rc: /home/viking/.config/luakit/rc.lua
________
Manuel Hiebel 2013-01-18 22:17:53 CET

Keywords: NEEDINFO => (none)
Source RPM: http://pkgs.org/download/luakit => luakit

Comment 9 Rémi Verschelde 2014-09-16 11:07:53 CEST
I don't know if you're still on it Barry, but there is some interesting information in the README here: https://github.com/mason-larobina/luakit

For example:
> Note to packagers: you may wish to build luakit with:
> make DEVELOPMENT_PATHS=0
> To prevent luakit searching in relative paths (./config & ./lib) for user configs.

CC: (none) => remi

Comment 10 Barry Jackson 2014-09-16 13:18:31 CEST
Hmm..
I had forgotten all about this :\

Looking at the upstream activity I think we can assume it died ...

https://github.com/mason-larobina/luakit/graphs/code-frequency

... unless of course it's now perfect and needs no development ;)
Comment 11 Samuel Verschelde 2016-10-11 20:55:03 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might want to integrate it to the distribution and maintain it for bug and security fixes.

You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs

Frédéric "LpSolit" Buclin 2017-09-29 00:15:34 CEST

URL: http://mason-larobina.github.com/luakit/ => https://luakit.github.io/