OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: VeeDubb on January 10, 2004, 07:29:33 pm

Title: WANTED: Several packages that need to be recompiled
Post by: VeeDubb on January 10, 2004, 07:29:33 pm
Okay.  I finaly have the compat libs going which has let me install all my commercial software, but that only goes so far.  ANd I\'m working on setting up a compiler, but that still only goes so far.   There\'s a number of thing I still need, or at least I think I need them.  And I know others will find them usefull as well.

1.  irk, I cannot find any sourcecode for this.  Lot\'s of us use the mi keyboard and I think it would be great for everyone to cross compile this, but I can\'t find source.

2.  Tabmanager.  I don\'t know how many people use this, but I do and it\'s incredibly usefull.  Why such a function isn\'t built into opie I may never know, just seems dumb.  In any case, becausSame story, don\'t know where the source is.

3.  Sub applet.  this is another one of those that i just can\'t understand why it\'s not in the ROM.  It\'s small and mind boggilingly usefull.  And again, no source that i can see.

Help and solutions gladly accepted here.

Also, post other apps you\'d like to see compiled for the now OZ as i would imagine OZ 4 will use the same gcc when it finaly comes.  Last I heard they were 2/3 complete.
Title: WANTED: Several packages that need to be recompiled
Post by: soycap on January 10, 2004, 09:53:34 pm
VeeDubb.... my adversary.  I will help you this time:

http://community.zaurus.com/download.php/4.../irk-0.10.0.tgz (http://community.zaurus.com/download.php/461/irk-0.10.0.tgz)
http://www.csh.rit.edu/~benjamin/programs/...manager.tar.bz2 (http://www.csh.rit.edu/~benjamin/programs/Zaurus/Tab%20Manager/tabmanager.tar.bz2)
http://community.zaurus.com/download.php/4...et-1.0.7.tar.gz (http://community.zaurus.com/download.php/403/subapplet-1.0.7.tar.gz)

It took me 5 minutes to find these; flame ya later!
Title: WANTED: Several packages that need to be recompiled
Post by: VeeDubb on January 10, 2004, 11:56:41 pm
muchas gracias.  When I have a chance to finish figureing out the whole cross compiler mess I\'ll see if I can get these compilled and ipk\'d up.  If i can i\'ll put the somewhere usefull.

As for the flame, flame if you must.

I looked at the zsi instead of c.z.c and I actulay found the same link to tabmanager you posted last night.  However, last night the link gave an error saying the server was \"actively refusing\" my connection.  It\'s all good now though.
Title: WANTED: Several packages that need to be recompiled
Post by: soycap on January 11, 2004, 12:52:04 am
Title: WANTED: Several packages that need to be recompiled
Post by: ltrm on January 27, 2004, 08:08:22 am
I\'m having a few problems installing the IRK download from the link above...

I\'ve renamed the file irk-0.10.0.ipk but when I try and install it I get

\"Cannot find package /mnt/cf/irk-0.10.0.ipk\" and

\"Could not open :/usr/lib/ipkg/info/irk-0.10.0.ipk.list\"

Any ideas what I might be doing differently or how to solve this?

Cheers.
Title: WANTED: Several packages that need to be recompiled
Post by: lardman on January 27, 2004, 09:56:00 am
Quote
I\'m having a few problems installing the IRK download from the link above

No surprises there then as it\'s a source tarball, not a binary. Try looking here (http://www.killefiz.de/zaurus/showdetail.php?app=836)
Title: WANTED: Several packages that need to be recompiled
Post by: Anonymous on January 27, 2004, 10:21:00 am
Quote
Quote

I\'m having a few problems installing the IRK download from the link above

No surprises there then as it\'s a source tarball, not a binary. Try looking here (http://www.killefiz.de/zaurus/showdetail.php?app=836)

Doh!  How obvious!

Unfortunately the link to Cwaig\'s site seems to be down.

VeeDubb, have you had any luck recompiling from source?
Title: WANTED: Several packages that need to be recompiled
Post by: ltrm on January 27, 2004, 10:35:33 am
Sorry that previous post is by me.  I managed to log myself out.....not having a good day today. :-)
Title: WANTED: Several packages that need to be recompiled
Post by: VeeDubb on January 28, 2004, 03:23:29 am
Nope, no luck compiling.  Inever even got a compiler set up.  To advanced for me, maybe some kind dev with free time will do this some day, but for now.......
Title: WANTED: Several packages that need to be recompiled
Post by: Mickeyl on January 28, 2004, 05:59:49 am
Quote
maybe some kind dev with free time will do this some day, but for now.......
Can\'t parse this sentence... what\'s a developer with free time ?  Haven\'t seen one in the last years
Title: WANTED: Several packages that need to be recompiled
Post by: VeeDubb on January 29, 2004, 08:50:57 pm
LOL, I know, that\'s why I haven\'t bohered to push the issue with anybody.  It\'s just sad that a ROM as great as your\'s can\'t take advantage of some of the most usefull Zaurus software in existence, namely subapplet and irk.  Frankly, I can\'t imagine why on earth ANY developer would ever release a rom for the Z based on qtopia or opie and not include subapplet.  

I can understand the irk not being included as not enough people use them to take up the memory, but enough people use them that I\'m amaized nobody has compiled for the new gcc yet.

Oh well.
Title: WANTED: Several packages that need to be recompiled
Post by: Mickeyl on January 30, 2004, 05:53:58 am
Point taken
Title: WANTED: Several packages that need to be recompiled
Post by: lardman on January 30, 2004, 06:58:58 am
Has lirc been compiled for OZ 3.3.6pre1? This is needed to compile irk (I just found out - not having any reason to use either).

I also need to grab the source for libpcap before I can compile lirc, and kernel headers......

Should there be issues with tabmanager and subapplet? I\'ve compiled both and they fail looking for libq-something, which is the expected behaviour, I just need a quick scan of the Opie mailing list to see what I\'m supposed to link against and I\'ll finish them off.

I might also learn how to package while I\'m at it ;-)


Si
Title: WANTED: Several packages that need to be recompiled
Post by: VeeDubb on January 31, 2004, 03:13:28 am
I\'m afraid that I can\'t help you there, though I seem to recal lirc being int he feed, you should double check.  I\'m very exceited that you think you can get this done.  I fyou do let me know.  I\'d be happy with a tarball and manual extraction as long as the directory structure inside is set up right.
Title: WANTED: Several packages that need to be recompiled
Post by: lardman on January 31, 2004, 06:35:47 am
It\'s not very difficult, assuming you have a Linux box you would be able to do it just as easily as me (and as you want these things you\'d probably be more motivated too ;-) )

Step by step:

Grab OZ toolchain: http://www.openzaurus.org/official/toolcha...s-3.3.2.tar.bz2 (http://www.openzaurus.org/official/toolchain/cross-3.3.2.tar.bz2)

Read the README in the same directory: http://www.openzaurus.org/official/toolchain/README (http://www.openzaurus.org/official/toolchain/README)

Extract this toolchain:

# cd /
# tar -jxvf /path/to/toolchain/cross-3.3.2.tar.bz2

Then before you try cross compiling source the following file ($ source dev-arm-oz.sh)

dev-arm-OZ.sh script (just the stuff between the lines)
=======================================
#!/bin/bash

CC=arm-linux-gcc
CXX=arm-linux-g++
CCX=arm-linux-gcc
CXXX=arm-linux-g++
COMPILER=arm-linux-gcc
LINKER=arm-linux-g++

PATH=/opt/cross/bin:/opt/cross/arm-linux/bin:$PATH

PS1=\'!OZ-dev-armu@h:w$ \'

export PATH CC CXX CCX CXXX COMPILER LINKER G77 F77
echo \"Altered environment for OZ GCC 3.3.2 Development\"
========================================

Nb. Check that the path in $PATH actually exists (it may need a /3.3.2 added in under /cross), I don\'t use this particular toolchain so I\'m going from memory here.

To do opie stuff (and this is probably not the way it should be done) I downloaded the Sharp ROM Qtopia header files and added the QPEPATH and QTPATH (I think those names are correct) to the above script.

Anyway if I\'ve got some time this weekend I\'ll try compiling those other bits.


Si
Title: WANTED: Several packages that need to be recompiled
Post by: VeeDubb on February 01, 2004, 07:39:24 pm
I know it \'should\' be that easy.  But it\'s just not.  I have don\'e what you suggest many times over with many slight variations and I have never found a single program that will compile correctly.  I can install programs from source on my desktop, but that is all set up for me by mandrake, all I have to do is ./configure make make install.

Maybe when I have a few days and nothing to do I\'ll try again....

Not one.
Title: WANTED: Several packages that need to be recompiled
Post by: Mickeyl on February 02, 2004, 04:11:27 am
I invite you to look at our shiny new build system OpenEmbedded, which _greatly_ simplifies cross compiling stuff. As an example, see what I had to do to cross compile the PetitPainture and get a working ipkg out of it:

Code: [Select]
DESCRIPTION="Pressure-Sensitive Paint Program for Opie/Qtopia"

SECTION="base"

PRIORITY="optional"

LICENSE="GPL"

RDEPENDS="libqpe1"

DEPENDS="virtual/libc"



SRC_URI = http://sun.dhis.portside.net/~sakira/archive/SPainter_1.0-1_src.tar.gz

S = ${WORKDIR}/SPainter



inherit palmtop



QMAKE_PROFILES = spainter.pro



do_install() {

        install -d ${D}/opt/QtPalmtop/{bin,apps/Applications,pics}

        install -D -m 755 petitpeintu ${D}/opt/QtPalmtop/bin/petitpeintu

        install -D -m 644 ${FILESDIR}/petitpeintu.desktop ${D}/opt/QtPalmtop/apps/Applications/petitpeintu.desktop

        install -d ${D}/opt/QtPalmtop/pics

        cp -a *.png ${D}/opt/QtPalmtop/pics/

}


It can\'t get much easier than that...
Title: WANTED: Several packages that need to be recompiled
Post by: VeeDubb on February 02, 2004, 05:50:04 pm
LOL, I love developers!  You guy\'s are hilarious.  THat is total giberish to me.  THanks for trying Mickeyl, but you shouldn\'t waste time on ignorant oafs like me, spend your time on OZ3.4, I want to see that rom!   LOL.  

I\'ll see what I can do tonight if I can get my linux box to stay up.
Title: WANTED: Several packages that need to be recompiled
Post by: lardman on February 02, 2004, 06:57:28 pm
:-) To tell the truth it\'s also a little confusing for me, but in context it makes sense.

Mickey, in an attempt to get round my bitkeeper/Windows troubles I\'m trying to obtain/build/dual boot a PC to install Linux on at uni, could you give me a vague estimation of the amount of HD space which I\'ll need for the complete set of OE packages + temp space for compilation?

Cheers,


Si
Title: WANTED: Several packages that need to be recompiled
Post by: Richjn on February 02, 2004, 07:03:53 pm
Lardman

Half the answer for you no doubt mickeyl will lcomment if I have goofed up.

The OE build + packages + docs are 48 mb this of course doesn\'t include your cross-compiler etc. I\'m not sure how much temp space you would require but my guess would be the same again.

sorry for not being preccise I\'m just in the process of setting it up myself.

Richard
Title: WANTED: Several packages that need to be recompiled
Post by: Mickeyl on February 03, 2004, 05:03:18 am
Last time I compiled the _full_ OE (_much_ more packages than you really need to get a booting image) it took around 4G of temp. For a minimal booting image you\'ll need ~1G.

Oh and... btw., I really thought you would be surprised about how small and elegant that build file is... you see there is basically no need to tell the build system anything other than individual package metadata (e.g. which package is that and what files belong to it).

All the ugly details have been abstracted into the base build system and dedicated build classes - that\'s quite an achievement... really
Title: WANTED: Several packages that need to be recompiled
Post by: lardman on February 03, 2004, 06:01:28 am
Quote
Oh and... btw., I really thought you would be surprised about how small and elegant that build file is... you see there is basically no need to tell the build system anything other than individual package metadata (e.g. which package is that and what files belong to it).

Oh, if that\'s all that\'s needed then yes I am impressed.

Cheers for the space data, I\'ve got a spare 10GB disk somewhere round here, time to find redundant computer and put it to work.


Si
Title: WANTED: Several packages that need to be recompiled
Post by: Richjn on February 03, 2004, 06:25:52 am
4 GB Yikes shows how little I know !!!  :shock:

Never thought about it before.

mickeyl thanks for the advice now I have my build enviroment up and running I will try and do something usefull with it.  :wink:


Richard
Title: WANTED: Several packages that need to be recompiled
Post by: bluey on February 24, 2004, 01:57:45 am
Isn\'t it possible to make a wrapper for libs which were compiled with gcc2? Since compat libs don\'t apply to them...
Title: WANTED: Several packages that need to be recompiled
Post by: Hrw on March 17, 2004, 04:05:27 am
If someone of you have source of subapplet can you share it? community.zaurus.com is \"host not found\" and I want to try to compile it for OZ 3.3.6-pre1

-----

I got sources from Steve Essery and managed to get it built using OpenEmbedded enviroment. It works ok on my Zaurus but I have to get it packaged (it is my 1st attempt to generate package for Zaurus - I created some for Debian).

Sources, package for gcc2 based and tarball for gcc3 based are on my homepage:

http://www.hrw.one.pl/zaurus/ (http://www.hrw.one.pl/zaurus/)