Update .recipe for Leptonica so that it correctly builds on Haiku
completed by: Luke
mentors: Richie Nyhus-Smith, Emrys Demir, Gerasim Troeglazov
For this task you will need to update a old .bep file to a working recipe file that will allow the package to build correctly. The .bep file can be found on our old website that is linked at the end of this description. Don't try and sign up or ask questions on our old site as it is not watched anymore.
As you will have someone elses work to start off with, this task should be easier than others. Just make sure to do a pull request so your work doesn't get lost like the old .bep file did.
This task requires creating a .recipe file to allow Haikuporter to build from source code the listed package. You will need a working nightly installation of Haiku built after hrev46308, this could be on real hardware or in a VM, and haikuporter which can be installed by following the install instructions at HaikuPorts.
Some knowledge of C, C++, git and/or bash may or may not be required in order to complete this task. Knowledge of the GNU autotools and/or cmake may also be helpful. The package may or may not require some patching to get it to work on Haiku. For these cases don't be afraid to ask for help. Many compile issues can be figured out by reading through the various wiki pages at HaikuPorts. Also google (or other web search engine) may be of help in finding solutions to build issues that you may run into, irc channel #haiku on freenode might also be of help. Be sure to follow the correct format for creating your .recipe file, including the license and copyright entries.
This tasks requires a working .recipe file to be submitted as proof of completion, be sure to test your .recipe file before submitting, this is done by using haikuporter to build it into an .hpkg file. You can inspect the .hpkg by locating it in your haikuports/packages directory after it gets built, double clicking it should open up expander, in expander check the show files check box and it will show what's in the .hpkg file.
We are now asking students to create a pull request at HaikuPorts with your recipe files. This speeds up the reviewing process and makes it easier for us to commit your final version.