oasislinux / oasis

a small statically-linked linux system
Other
2.78k stars 85 forks source link

PKG - Lynx #91

Open VehementHam opened 8 months ago

VehementHam commented 8 months ago

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.

apprehensions commented 8 months ago

Try packaging lynx or links..

VehementHam commented 8 months ago

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

VehementHam commented 8 months ago

I will look for something better than links.

VehementHam commented 8 months ago

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

apprehensions commented 8 months ago

So.. gonna package it?

VehementHam commented 8 months ago

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

VehementHam commented 8 months ago

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.

michaelforney commented 8 months ago

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.

VehementHam commented 8 months ago

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

VehementHam commented 8 months ago

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?

michaelforney commented 7 months ago

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.