View Single Post
Posts: 13 | Thanked: 1 time | Joined on Apr 2010 @ Helsinki
#16
Originally Posted by nicolai View Post
May it be, that esbox (or the
eclipse build environment) just generates these Makefiles. If you change
them your manual build may succeed but from within esbox or when
building the package they are re-generated and your changes vanish?
I think that can be excluded, as the Makefiles are in the project folders and editable. The changes remain in the files after a build.


By the way, those compiler and linker flags are often set through pkg-config like
"pkg-config --cflags --libs liblocation".
Does esbox provide thome project settings where you can set dependency with
pkg-config?
I am looking for these settings, too, so I would just add my dependencies manually and be happy for the time being.

Currently it look as if I found a promising lead for this: In the "configure.ac" file I add "liblocation >= 0.1" to make it look like this:

Code:
PKG_CHECK_MODULES(DEPS, gtk+-2.0 >= 2.2 glib-2.0 >= 2.2 gnome-vfs-2.0 >= 2.2 liblocation >= 0.1)
AC_SUBST(DEPS_CFLAGS)
AC_SUBST(DEPS_LIBS)
No other files were modified, the previous modifications (see previous posts) to the Makefile were "undone".

It builds, I can create a Debian package, it installs on the N900 and it runs.

More testing to be done, though...