Re: Porting to chinook
Ola, >> #include > That's not the best way. You should check for hildon-1 pkg-config files > in > configure.in, which will add /usr/include/hildon-1 to your include path. > Then, in the source files, you should include hildon/hildon-program.h. Yes, I did something like this in configure.ac : AC_ARG_ENABLE(hildon, AS_HELP_STRING([--enable-hildon],[compile for Hildon environment @<:@default=no@:>@]),,enable_hildon=no) dnl dnl Hildon dnl if test "x$enable_hildon" = "xyes"; then dnl AC_MSG_CHECKING([for GtkHTML2 support]) PKG_CHECK_MODULES([HILDON], hildon-1 >= 1.0.5,enable_hildon=yes,enable_hildon=no) else enable_hildon=no fi AM_CONDITIONAL(WITH_HILDON, test "x$enable_hildon" = "xyes") HTH []'s Ian -- http://ianlawrence.info ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Porting to chinook
El Friday 19 October 2007 13:21:34 Detlef Schmicker escribió: > he hildon-widgets in the includes had to be changed from > > #include > > to > > #include That's not the best way. You should check for hildon-1 pkg-config files in configure.in, which will add /usr/include/hildon-1 to your include path. Then, in the source files, you should include hildon/hildon-program.h. Regards, Alberto -- Alberto García Hierro http://zeus.rm-fr.net/~skyhusker/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Porting to chinook
Hello, I recompiled vncviewer yesterday for chinook, but did not test yet (No N810:-). One minor issue, which might help developers in the future: the hildon-widgets in the includes had to be changed from #include to #include This will make the code base different for the two platforms (OS2008, OS2007), which is not very nice. A sym link would be nice (hildon-widgets to hildon-1/hildon). Or any better solution?! The only other change necessary was renaming hildon-libs-dev to hildon-1 in the debian control file. Detlef ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers