[maemo-developers] AW: Building hildon library

From: André Hänsel andre at webkr.de
Date: Wed Apr 21 21:00:58 EEST 2010
Piñeiro wrote:
> 
> From: André Hänsel <andre at webkr.de>
> 
> > I'm trying to make an enhancement to the Hildon library.
> Unfortunately I
> > cannot figure out how to build it for N900/Fremantle. I have
> installed the
> > Scratchbox VM and I know how to build applications using ESbox. But
> how do I
> > build the libraries?
> 
> Sorry, I'm not familiar with ESbox, but, if you are able to build
> applications it shouldn't be difficult to build libraries. Both
> (programs and libraries) use autotools-autoconf stuff.

My problem was that in ESbox it's point-and-click and I don't know what it
does under the hood.

> myuser00 at mymachine:~$ /scratchbox/login

This is what I was missing. :)

> $[sbox-FREMANTLE_ARMEL: ~] > git clone
> git://gitorious.org/hildon/hildon.git
> $[sbox-FREMANTLE_ARMEL: ~] > cd hildon
> $[sbox-FREMANTLE_ARMEL: ~/hildon] > dpkg-buildpackage -b -rfakeroot
> 
> The debian files are included on the repository. debian/rules will
> call autogen.sh for you.

Works, thanks! :)

Chitti Babu wrote:

> dpkg-checkbuilddeps lists the required devel packages which are yet
> to be installed. After getting the list, we can install them using
> "apt-get install ...." (OR) Simply "apt-get build-dep hildon-2"
> installs the required devel packages.

I installed them manually but this is even easier, thanks.

Maybe one more question:

After I built the package and installed it using eg. dpkg -i
libhildon1_2.3.0-1~unreleased_i368.deb, is there a simple way to downgrade
to the original package from repository? I know I can find the current
repository version and then install it using apt-get install
package-name=version. Can I do it using a single command?

Regards,
André

More information about the maemo-developers mailing list