libgit 2 exists?

6 posts / 0 new
Last post
walkero
walkero's picture
Offline
Last seen: 4 months 3 weeks ago
Joined: 2009-05-03 16:54
libgit 2 exists?

Hello guys,
At the website of libgit2 (https://libgit2.github.com/) Amiga is mentioned. Is there a port of this library? Is it usable?

I checked the aminet and os4depot, but I didn't find anything.

salass00
salass00's picture
Offline
Last seen: 7 months 1 week ago
Joined: 2011-02-03 11:27
Re: libgit 2 exists?

Libgit2 is used in SimpleGit:

http://os4depot.net/index.php?function=showfile&file=development/utility/sgit.lha

walkero
walkero's picture
Offline
Last seen: 4 months 3 weeks ago
Joined: 2009-05-03 16:54
Re: libgit 2 exists?

But not as a library, right?
As it is plain C, is it possible to use it in a new project? I was thinking about a GUI program that uses GIT for your repositories, something like SmartGit.

salass00
salass00's picture
Offline
Last seen: 7 months 1 week ago
Joined: 2011-02-03 11:27
Re: libgit 2 exists?

You could try building the library yourself.

If you're lucky it could be as simple as:
sh configure
gmake

Edit:
Looking at the source code I see it is using cmake. So forget what I wrote above about it maybe being simple :-(.

You could try contacting Sebastian Bauer, the author of simplegit, and ask if he can send you a ready made compile of libgit2.

walkero
walkero's picture
Offline
Last seen: 4 months 3 weeks ago
Joined: 2009-05-03 16:54
Re: libgit 2 exists?

Thank you for your reply...

hypex
hypex's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: 2011-09-09 16:20
Re: libgit 2 exists?

SimpleGit. SmartGit. One is more intelligent than the other but it's still a Git. :-D

Anyway, we have a port of CMake, it should be on the Depot. In any case CMake files are easily understood and one could use an IDE like CodeBench to recreate a Makefile. Given most depends at any time a an -llibdependon in some compile flags I wonder why these things get so complicated. :-)

Log in or register to post comments