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.
@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…