Hi,
I wanted to try porting some software not written by me, so today I tried porting tuxpuck and succeeded
This is an old school opensource game that I used to play during my teenager years. I was able to build it from source by just adding a #define (donât worry, it can be wrapped in an #ifndef).
Iâm going to use this thread to ask some hints for the recipe.
In BUILD_REQUIRES Iâve specified
âdevel:freetype$secondaryArchSuffixâ and âdevel:libVorbis$secondaryArchSuffixâ
but it says that these dependencies could not be resolved.
I doublechecked and they are both presents in haikudepot (freetype_devel and libVorbis_devel).
Any hint please? thanks a lot.
The freetype requirement should have a âlibâ prefix devel:libfreetype$secondaryArchSuffix
Have you tried to build any other packages using these libraries? Are you using the --get-dependencies option to haikuporter? Are you building on 32 bit or 64 bit? It might help to see the full recipe you are working on.
If I encounter a wrong dependency in a recipe I mostly open the mentioned package with Expander, in there it will list the PROVIDES for lib:* and devel:* (packages), this way you are sure there are no typos made.
Good luck, looking forward on testing it, remember it from long ago
@Lrrr@Begasus@PulkoMandy thank you everyone. I wanât using --get-depencencies, so this was the issue (plus the âlibâ prefix).
Now Iâm having a compilation issue while building from haikuporter, it canât find ft2build.h. I noticed that hakuporter installs freetype_bootstrap instead of freetype_devel, maybe is this the issue?
When this issue will be fixed, I think that Iâm ready to send a PR.
Thanks
@Begasus sorry for all my noob questions. I tried to build from source again and it compiles fine. So I get that ft2build.h error only when building from haikuporter. Also, I wasnât able to find any reference to freetype-config in the makefile. Any other idea? Thanks a lot.
EDIT: After closer look at the terminal, I see âpkg-config command not foundâ, uhmâŚ
Thanks @Begasus I applied the proposed fixes and updated the PR.
I wasnât able to reproduce the reported high cpu/ram usage bug tho, I have attached some screenshots in the PR.