maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   hildon-input-method package building (compiling) (https://talk.maemo.org/showthread.php?t=55383)

lasergun 2010-06-06 22:09

hildon-input-method package building (compiling)
 
Hi all,
I am trying to build the hildon-input-method package taken from:
http://repository.maemo.org/pool/maemo5.0/free/h/

I am pretty new to all of this.
I made some reading, and ran the ./autogen.sh script, and it worked flawlessly.
What should I do now in order to compile and create a .deb file?

I also read that I should run the 'make' function after the 'autogen.sh'.
For some reason it didn't make a valid Makefile.

I would really appreciate your help!

Thanks

NBD

w00t 2010-06-06 22:16

Re: hildon-input-method package building (compiling)
 
Hi lasergun,

Out of curiosity, what are you trying to do? If you're trying to hack up a portrait keyboard, it might be useful to collaborate with our effort: http://talk.maemo.org/showthread.php?t=55371

Otherwise.. if I understand you rightly, you're wondering why there's no makefile? Make sure you run something like:
./configure --prefix=/usr
after you've run ./autogen.sh.

daperl 2010-06-07 00:21

Re: hildon-input-method package building (compiling)
 
I'm guessing you're in the scratchbox FREMANTLE_ARMEL target.

If so, forget all the autogen stuff, blow away the source directory you were working in, and just do the following:

Code:

apt-get source hildon-input-method
cd hildon-input-method-2.1.46
fakeroot dpkg-buildpackage -b -d -nc -rfakeroot


lasergun 2010-06-07 04:57

Re: hildon-input-method package building (compiling)
 
Great guys!
Thanks a lot!

What I am trying to do is to make an autotext feature for the N900, where you can set your own text shortcuts, text autoreplace:
https://garage.maemo.org/projects/autotext/

Thanks again!

NBD

lasergun 2010-06-07 05:16

Re: hildon-input-method package building (compiling)
 
I'm trying to run :
fakeroot dpkg-buildpackage -b -d -nc -rfakeroot

and it throws me this error:
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

What should I do ?

daperl 2010-06-07 05:40

Re: hildon-input-method package building (compiling)
 
Quote:

Originally Posted by lasergun (Post 702993)
I'm trying to run :
fakeroot dpkg-buildpackage -b -d -nc -rfakeroot

and it throws me this error:
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

What should I do ?

What directory are you in?

lasergun 2010-06-07 07:23

Re: hildon-input-method package building (compiling)
 
this one:

/home/maemo/hildon-input-method/hildon-input-method-2.1.46

The apt-get source hildon-input-method didn't work for some reason, and I tried running the dpkg-... on the hildon-input-method trunk.

lasergun 2010-06-07 09:24

Re: hildon-input-method package building (compiling)
 
w00t - both ./autogen.sh and ./configure --prefix=/usr works well,
but what do I do next in order to get a .deb package?

Thanks

lasergun 2010-06-07 09:47

Re: hildon-input-method package building (compiling)
 
opps, sorry for that,
I didn't notice that the ./configure throws this:

configure: error: Package requrements (gtk+-2.0 >=2.14.7) were not met:
Requested 'gtk+-2.0 <- 2.114.17' but version of GTK+ is 2.14.4

Well.. I know what it means, but what is the best way to solve this ?

Thanks

daperl 2010-06-07 14:22

Re: hildon-input-method package building (compiling)
 
I think you need to upgrade your SDK to PR 1.2. Inside scratchbox, do the following:

Code:

apt-get update
fakeroot apt-get upgrade



All times are GMT. The time now is 10:08.

vBulletin® Version 3.8.8