I was able to compile my addon and is working fine. Thanks to Adrien.
I also created a Makefile for easy installation.
The string is the icon in the HVIF format. You should be able to convert
simple svg images into hvif using Icon-O-Matic which is included in Haiku.
I say simple because the Haiku Vector Icon Format is designed to be
lightweight so not all svg constructs may be translated.
You can try to do the same thing using Wonderbrush.
Once you get your icon imported just export in rdef format from
Icon-O-Matic, that'd be exactly the string you put in your addon rdef.
Thank you Adrien.
On Thu, May 10, 2018 at 2:07 PM Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
wrote:
On Thu, May 10, 2018 at 09:46:36AM +0200, Adrien Destugues wrote:
On Thu, May 10, 2018 at 06:02:56AM +0000, Hrishi Hiraskar wrote:HaikuDepot.
Hi
I'm using libgit2 library for my GSoC project TrackGit.
I installed libgit2_x86 and libgit2_x86_devel packages from
The lib is built using gcc5, so it can't be used in an add-on, which has
to be built with gcc2 for compatibility with Tracker. I'm taking a look
to see if it's possible to get libgit2 built with gcc2. If that doesn't
work, we will have to work in a different way, with the add-on built
using gcc2, but calling a separate executable that will interface with
libgit2.
Fortunately it was easy enough to get libgit2 building with gcc2, so you
should soon see a libgit2 (no _x86 suffix) package in the repo (once the
bots have built it).
This one should be loadable from an add-on.
--
Adrien.