Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Porting to chinook

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


d.schmicker at physik

Oct 19, 2007, 4:21 AM

Post #1 of 3 (533 views)
Permalink
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 <hildon-widgets/hildon-program.h>

to

#include <hildon-1/hildon/hildon-program.h>


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 [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


skyhusker at rm-fr

Oct 19, 2007, 4:49 AM

Post #2 of 3 (481 views)
Permalink
Re: Porting to chinook [In reply to]

El Friday 19 October 2007 13:21:34 Detlef Schmicker escribió:
> he hildon-widgets in the includes had to be changed from
>
> #include <hildon-widgets/hildon-program.h>
>
> to
>
> #include <hildon-1/hildon/hildon-program.h>
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 [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


vern at riseup

Oct 19, 2007, 5:11 AM

Post #3 of 3 (483 views)
Permalink
Re: Porting to chinook [In reply to]

Ola,
>> #include <hildon-1/hildon/hildon-program.h>
> 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 [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.