[maemo-developers] [maemo-developers] Re: star atlas for maemo

From: Danny Milosavljevic danny_milo at yahoo.com
Date: Wed Nov 29 20:21:26 EET 2006
Hi,

On Wed, 29 Nov 2006 11:14:14 +0100, alessandro pasotti wrote:

> Hello,
> 
> an application that I really miss from the 770 is a star atlas, does anybody
> knows of an existing application that could be easily ported to maemo?
> 
> Most of the "big" ones like celestia or kstars are too heavy and use 3d
> open-gl hence are not suitable, I've tested "stars" but I've got errors like
> 
> /home/ale/src/stars-0.12+1/configure: line 1: gtk-config: command not found
> 
> checking for gdk-pixbuf-config... NONE
> configure: error: Could not find gdk-pixbuf-config in PATH
> 
> Any hint?

In gtk2, "gtk-config ..." is now "pkg-config ... gtk+-2.0".
"gdk-pixbuf" is part of gtk2, so no need to check it manually any more.

There should be a configure.ac or configure.in where you can change that
using the unbelievably arcane M4 language (good luck...).

If you want an almost clean configure.ac (as clean as I got it without
repeatedly banging my head on the keyboard - yes, automake is that bad) to
start from, take mine:

https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/configure.ac?root=ssh-key-manager&view=log

(you can also use the entire project as a clean starting point for a maemo
project since it's just a skeleton so far - if you are quick enough ;))

Ross is right, porting a gtk1 application is so easy, it boggles my mind
why gtk1 applications are still around unported (the API is pretty much
compatible, too - with a few exceptions).

Have fun :)

cheers,
  Danny


More information about the maemo-developers mailing list