oasis icon indicating copy to clipboard operation
oasis copied to clipboard

PKG - Lynx

Open VehementHam opened this issue 1 year ago • 11 comments

When I visit text-based websites, I use terminal browsers, because the terminal has better colors, I can use the keyboard, and it does not hurt my eyes. Because terminal browsers are minimal for the most part, I am wondering if it would be viable to package a termnal browser.

VehementHam avatar Feb 01 '24 02:02 VehementHam

Try packaging lynx or links..

sewnie avatar Feb 01 '24 04:02 sewnie

Not Lynx. I am pretty sure that it has C++ in it.

VehementHam avatar Feb 01 '24 04:02 VehementHam

I will look for something better than links.

VehementHam avatar Feb 01 '24 04:02 VehementHam

Nevermind. Lynx does not have C++ in it. Github's lang detection screwed me over.

VehementHam avatar Feb 01 '24 04:02 VehementHam

So.. gonna package it?

sewnie avatar Feb 01 '24 09:02 sewnie

I'll see what I can do. Seems pretty viable.

VehementHam avatar Feb 01 '24 14:02 VehementHam

How do I do this? Can I get an explanation of how to work with this package management system? I did not see one in the wiki.

My understanding right now is that the package needs to be compilable with cproc, and the necessary patches need to be provided for it to run and compile properly. I don't know what the Lua stuff is for.

VehementHam avatar Feb 03 '24 01:02 VehementHam

The Lua stuff generates the ninja files. Sorry, there's no documentation, you'll just have to read the code (ninja.lua). It's not too long. If you do and want to write some documentation, I'd be happy to review it.

michaelforney avatar Feb 03 '24 04:02 michaelforney

What about the static linking. Is there anything I have to do differently for that?

VehementHam avatar Feb 04 '24 01:02 VehementHam

The Lua stuff generates the ninja files. Sorry, there's no documentation, you'll just have to read the code ('ninja.lua').

How does the ninja.lua relate to gen.luas?

VehementHam avatar Feb 04 '24 02:02 VehementHam

How does the ninja.lua relate to gen.luas?

ninja.lua defines the functions used by the gen.lua files to generate the .ninja files.

michaelforney avatar Feb 08 '24 05:02 michaelforney