Moko on Hardy ?

2008-06-06 Thread Ajit R
Hello 
  I browsed through the archive and I see that moko is not available for Ubuntu 
Hardy. Any idea when it might be available for download. Will moving to Gutsy 
solve the problem ?

TIA
Ajit



  

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: Hildon application porting question

2008-06-06 Thread Adilson Oliveira
Spencer, Bob escreveu:
> 
> Is there a way to setup configure.ac so that it automatically sets the
> USE_HILDON flag if building for LCIA?  I know how to set up a
> configure.ac that will check for "--enable-hildon" flag, but for UME I
> thought I recall that if LCIA arch then always USE_HILDON.  I don't know
> exactly how to do this or if we ever decided on a standard.
> 

Hi Bob.

I usually add this rule to debian/rules

ifeq ($(DEB_BUILD_ARCH), lpia)
DEB_CONFIGURE_EXTRA_FLAGS = --enable-hildon
endif

Which causes the congiure be called with an extra --enable-hildon in
case the lpia arch is being build.

This, plus something like that in configure.ac or configure.in

hildon=false
HILDON_CFLAGS=""
HILDON_LIBS=""

AC_ARG_ENABLE(hildon,AS_HELP_STRING([--enable-hildon],[Turn on hildon
support]),[
   if test "x$enableval" = "xyes"; then
  hildon=true
  PKG_CHECK_MODULES(HILDON,[hildon-1],
   HAVE_HILDON=yes,HAVE_HILDON=no)

  HILDON_CFLAGS="$HILDON_CFLAGS -DWITH_HILDON=1"
  PACKAGE_CFLAGS="$PACKAGE_CFLAGS $HILDON_CFLAGS"
  PACKAGE_LIBS="$PACKAGE_LIBS $HILDON_LIBS"
   fi
])

Will enable a HAVE_HILDON flag you can test in building time to enable
or disable your changes for the lpia arch.
Check some of my sources. I've done all kinds of combinations using
autotools or just makefiles.

[]s

Adilson.

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Hildon application porting question

2008-06-06 Thread Spencer, Bob

Is there a way to setup configure.ac so that it automatically sets the 
USE_HILDON flag if building for LCIA?  I know how to set up a configure.ac that 
will check for "--enable-hildon" flag, but for UME I thought I recall that if 
LCIA arch then always USE_HILDON.  I don't know exactly how to do this or if we 
ever decided on a standard.

Here's the doc I'm following / updating:  
http://moblin.org/toolkits/basicDevGuides/simpleApp/toolkits_DevGds_simpleApp_GTKApp.php


 configure.ac =
AC_ARG_WITH(
hildon,
AC_HELP_STRING( [--with-hildon], [build the hildon user interface 
(default=yes)] ),
[
if test $withval = "no"
then
build_hildon="false"
else
build_hildon="true"
fi
],
[ build_hildon="true" ]
)

if test $build_hildon = "true"
then
PKG_CHECK_MODULES(
HILDON,
hildon-1, 
 ...



Thanks,
Bob

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile