libGit2?

Feature requests for future versions of Hollywood can be voiced here

libGit2?

Postby SamuraiCrow » Mon Feb 06, 2017 9:54 pm

How hard would it be to port https://github.com/libgit2/luagit2 bindings to Hollywood?
SamuraiCrow
 
Posts: 100
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: libGit2?

Postby airsoftsoftwair » Wed Feb 08, 2017 12:36 am

On Windows/Linux/Mac it's not so difficult but on Amiga compatibles you'd need to invest some effort into adapting libgit to compile without the C functions that need constructor/destructor code, see here: http://www.hollywood-mal.com/docs/html/ ... SCRT_.html
User avatar
airsoftsoftwair
 
Posts: 2225
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: libGit2?

Postby SamuraiCrow » Wed Feb 08, 2017 9:03 am

SimpleGit for OS4 is based on it but may be statically linking it. I'll have to check on this some more later on.
SamuraiCrow
 
Posts: 100
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: libGit2?

Postby airsoftsoftwair » Sat Feb 11, 2017 12:24 am

Yes, that definitely looks like static linking. In a Hollywood plugin you'll of course normally also statically link libgit but there is no constructor/destructor code for the C runtime so you need to tweak lots of code for this purpose.
User avatar
airsoftsoftwair
 
Posts: 2225
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to Wishlist

Who is online

Users browsing this forum: No registered users and 0 guests

cron