Is there a lot missing in artpaint compared to it?
I doubt it but it gives me somthing to work on for now.
OK. Iāve got the configure script recognizing Haiku and almost have it ready to send upstream. Instead of commenting out the directory check completely, I replaced the #ifdef WIN32
s in those two places with #if defined(WIN32) || defined(_HAIKU_)
and made sure the configure script generated the _HAIKU_
macro in the build configuration when Haiku was detected. That way the directory check isnāt completely gone, just not Linux-specific.
One thing that I havenāt got working is that the XPM icons donāt load. Is my path set wrong? Iāve been loading them into /home/config/non-packaged/data/mtpaint/graphics/
and I tried without the graphics
directory. LibXPM_devel is loaded from HaikuPorts as are most of the others requested by the build instructions. (Only JPEG 2000 is still inaccessible.)
What am I missing? Iām also on Haiku x86_64 Beta4 with all the updates. The source is in the https://github.com/SamuraiCrow/mtPaint repo fork in master.
Youāre welcome to fix issues in ArtPaint!
I just did a build using your source files. I had no issues with the build. What I did find interesting though in your source files, the icons1 folder has the images all dated Aug 17 10:39pm.
The build I did yesterday, the same folder has different dates.
Checked out the source and aside from the 2 files there shouldnāt be any changes needed to build and install this.
Steps:
- patch the 2 files mentioned earlier
- ./configure --prefix=/boot/home/config/non-packaged gtk3
- make
- make install
You can launch mtpaint from anywhere in the Terminal, no need to switch to the containing directory.
PS @SamuraiCrow in the patch it should be 2 underscores before and after HAIKU (__ HAIKU __) (without the spaces).
Aside from that I donāt see a real need for the other changes you made in your fork?
Things like ā-I/packages/libjpeg_turbo-2.1.4-2/.self/develop/headersā will break on 32bit because you need to support secondary architecture for some of those libraries.
Thanks for the macro name. Thatāll save 3 lines in the configure script. Iām trying to make this work without command-line intervention so configure will just find what it needs.
Thatās just how configure works? You just pass the options provided in the script (runConfigure already automates that with haikuporter), so there shouldnāt be a need to hardcode paths?
thats mean that the windows port use Gtk library and not native win32 too? it looks that yes and is gtk1, better than gimp
The Windows version uses GTK+2.
Out of curiosity what does that āgk3ā at the end do? iāve never seen that before? or is it specific to mtPaint
gtk3 refers to the version of Gimp ToolKit used for the user interface. Otherwise the configure mini-script will assume incorrectly that it is an unsupported version 1.x.
Just as @SamuraiCrow mentioned, if you run ./configure --help
(or open configure with any editor), it will show you the available option to use.
hello, little OT, I see the āBalsaā application, it is not in the repositories, right?
Balsa is not in the repositories. I made a quick hpkg of Balsa and the required gmime libary on Beta4 using hpkg creator. Unfortunately, for some reason it will not allow me to list the dependencies. Previously on Beta3 and nightly builds I could add dependencies.
we can have? please thank you so much!
OF I created recipes for gmime and balsa (albit without icon (no svg is supplied in the source)).
gmime builds and packages fine without patching, for balsa I used patches from Debian and Gentoo, not using webkit2gtk (canāt make configure seem to pick it up, there is still meson that I havenāt checked out).
I you donāt mind I can push those to haikuports (havenāt been able to connect to my gmail account, but I also havenāt used any email app on Haiku so far).
Not sure if you had any other patching aside for build errors done on your side?
That would be great! Push them to Haikuports, and Iāll take a look at what youāve done.
Gmail, I havenāt really looked at using Balsa.
Iām going back to a 6 day a week grind at work to help cover for a guy whoās having surgery. I 'll be doing that till mid Sept. So, any input that I have could be rather slow in coming.
Also, feel free to add an icon in your recipe. The one I use t is an online free icon that I converted. Iāve never been able to add an icon to an apps recipe.
I forgot to mention. Youāll need to edit the configure file in order to use webkit2gtk-4.1
Also for ldap, going through dependencies atm. Thanks on the pointer!