[haikuports] Re: development beginner

  • From: Luc Schrijvers <begasus@xxxxxxxxx>
  • To: haikuports@xxxxxxxxxxxxx
  • Date: Mon, 16 May 2022 08:23:55 +0200

Hi Rog,

Yes this list is still working :)

In the case of freetype, it's correct, freetype changed their build system
to meson and dropped freetype-config in favor of freetype.pc. A PR to the
source for BePDF would be welcome I guess.
On that note, there are still a few recipes at haikuports that still use
freetype-config, maybe you could have a look there too.

For tools, we have about anything around to build the sources, I gather you
already did a build in Terminal for BePDF (or you wouldn't have found the
missing config file)
One thing you want to look at is 1. haikuporter and 2. haikuports, they
provide the tools and recipes to create the hpkg packages for Haiku (which
can be installed with HaikuDepot (GUI) or pkgman (cli).

You can ask here and/or visit us at IRC OFTC #haiku

Greetings,

Begasus aka Luc

1. https://github.com/haikuports/haikuporter
2. https://github.com/haikuports/haikuports

Op ma 16 mei 2022 om 00:56 schreef Rog Fanther <haikufanther@xxxxxxxxx>:

Hi, is this list working ?

I´m setting the environment to learn & develop for Haiku, so thought I
would start with simpler tasks before trying to work in the OS itself.

After setting git, I´ve forked/cloned a repository ( BePDF ) , and tried
to build it.

There were errors about freetype-config not being found, and after
searching, linux discussions told me it was deprecated and could be
replaced by pkg-config. Ok, I´ve changed the makefiles and now BePDF
compiles.

What I want to know if is this the correct way to do it ? Or should I have
installed some other library that would have that freetype-config script ?
Also, if it is the correct way, later, as I get used with the process,
should this change ( in the Makefile ) be sent as pull request also ?

One other thing : which are the tools used to work with software projects
like this in Haiku ? Pe seems to open each file, but I may have overlooked
something, because didn´t see a way to compile the program.

Ideam has options to compile, but doesn´t seem obvious how to import the
project to it.

Palladin doesn´t import the project either ( I have tried to import the
Makefile, like in Pe, but it just sits there when clicked on Open, and does
nothing ) .

Maybe my question seem simple to those already used to the way things work
in Haiku, but could someone help a little in this, please ? Maybe after I
understand somethings better I can help more.

Thanks.

Other related posts: