OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: cmisip on December 19, 2004, 07:37:24 pm
-
I am using zynergy rom with X/Qt. I was able to run firefox 0.9 gtk version but it is not very usable (a third of button toolbar is off the screen).
Has anybody gotten minimo to work with X/Qt?
I get missing shared libraries which dont seem to be part of the pdaxrom feed( libgtk-x11-2)
It must be part of the rom. I will try the sdk to see if the libs are there.
can nybody with a pdaxrom install send me a copy of the libs minimo requires?
Thanks
-
I guess it needs pretty much ALL of the pdaxrom libs.
Stopped short of libc.so.6.
I think I might have to crosscompile against X/Qt.
If anybody has done this before, please give me some pointers.
Thanks.
-
I've been in your situation once when testing the dual boot (cacko/pdaXrom 1.0.5) ... I then finished using cacko with X/Qt for a while ('till the release of 1.1.0 I'm now using) and so the easyest way was to take back files from the pdaXrom installed on the SD card ... so you could just take the files back from the pdaXrom dual boot file archive instead of cross-compiling them again
-
I wanted to try cross compiling all the libs myself. I found out that Mozilla has a howto on crosscompiing minimo and even has build scripts. I got stuck at pango though. It seems, make is finding the wrong libfreetype.so . It insists on /usr/lib/libfreetype.so whenever lfreetype is called in the makefile. I tried adding an LDFLAGS to the correct libfreetype.so version. This does not work. A manual fix is to go to every instance of lfreetype in the makefile and change it to /opt/Embedix/tools/arm-linux/X11R6/lib/libfreetype.so. There's gotta be an easier fix.
It doesn't help that freetype config that came with X/Qt devel packages points to opt/QtPalmtop/lib instead of /opt/Embedix/tools/arm-linux/X11R6/lib but I thought I fixed that by symlinking the X11R6 lib directory and include directory to /opt/Qtpalmtop.
Any help is appreciated. Getting closer to minimo.
-
After reading the docs more closely, I found out that I needed .la files for building pango.
The next problem was in pkg-config and the various freetype-config, font-config, xft-config files. After editing these and adding the necessary libraries, pango was installed.
Now working on gtk. It builds up until gdk/x11 where it fails with gdkmain-x11.o complaining about:
Cannot represent OFFSET_IMM8 relocation
If I remove the -O2 optimization flag from the makefile, make completes without errors in this directory.
Can any gcc guru comment on what is happening here?
-
It seems the -f-gcse and -f-schedule-insns flags from the -O2 optimization causes these relocation errors.
At this point I dont know what this will break but I will try with -O2 -fno-schedule-insns -fno-gcse
I decided to build gtkmain-x11.o with these options and just -O2 for the rest.
-
Well, I managed to compile gtk2. Now wrestling with the mozilla source.
Nobody said anything about setting HOST_CC and HOST_CXX env variable in order to make nsinstall compile with the i686 gcc. Got that done but now build complains about not being able to run xpidl ( which was compiled via arm-linux-gcc). Anybody know how to set this to compile using the i686 gcc?
Is there anybody out there?
I feel so alone.
I got a SIP phone now.
-
Hah! the error with gmake -f client.mk build is that it configure cannot find lsup++.
Removing that line from mozconfig seems to allow me to proceed farther into the build. Its still building.... Hope it doesn't error on me.
-
Finally built TestGtkEmbed. However when I run it on the Z, it complains of missing pango modules. It is looking for pango.modules in /opt/Embedix/tools/arm-linux/local/etc. As I cannot write in /opt I cannot get it to work.
Is there any way to change the location TestGtkEmbed is looking at without having to recompile the whole thing?
-
have you tried the latest xqt. it has most of the libs needed to run minimo i think.
http://xqt.sourceforge.jp/feed-testing/ (http://xqt.sourceforge.jp/feed-testing/)
tovarish.
PS I cannot play ur duke3d in my c860 with the atomic edition. I can hear sounds but no video. Also heretic refuses to use any other keys than the default.
-
on a z6kl xqt /oz/opie using the 1.9 XQT server from feed-testing I have been getting a weird error on firefox.
It starts to load (gives me some crap about locales) talks about loading the extensions datasource
then says bus error and quits.
I once saw the firefox profiles splash screen (where you pick or make a profile) nothing else, ever.
weirder, I took a tarball of sarge/pocketowkstation that I had made as a backup on my 5600, installed it (tar -zxpvf) to my sd card, after having done a rm -rf /mnt/card debroot to clear it.... everything but firefox works. and it gives the same "bus error" and quits. thisleads me to beleive it registered(?) something outside of thr chroot, or ther is an issue with that XQT server . But then I really have no idea what is happening here. anyone have a suggestion?
and while I'm asking for help here.... I never got that kernel from externe.net to flash. is there something special that needs doing? (keep in mind i've been from sharp to gpe to sharp to opie in a few days, with no big problems --besides this firefox thing)
ideas?
-
This is just endless. Managed to fix the pango module issue but now minimo is complaining of not being able to find fonts.
I googled a bit. It seems Xfree86 doesn't know to add -lz to fontconfig libs.
I thought I could get this up and running tonight.
Another recompile?
tovarish
I think I hardcoded some keys to heretic in an effort to quickly get it running with the 5600.
I dont know why duke3d doesn't run. It works on a 5600 with 320x200 screen (I think that's the correct resolution)
-
Well, it seems it was using the wrong libfreetype version on the Z. I moved the wrong version out of the path and the error went away. However, fc-cache still cant cache the fonts. Anybody have any idea?
root@zaurus:/opt/QtPalmtop/lib/X11/fonts/misc> fc-cache -v
fc-cache: "/opt/QtPalmtop/lib/X11/fonts": skipping, 0 fonts, 1 dirs
fc-cache: "/opt/QtPalmtop/lib/X11/fonts/misc": skipping, 0 fonts, 0 dirs
fc-cache: "/mnt/card/X-Qt/opt/QtPalmtop/lib/X11/fonts/misc": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts": no such directory, skipping
fc-cache: "/home/root/.fonts": no such directory, skipping
fc-cache: succeeded
-
its definitely a font problem. I tried copying some TTF fonts from my laptop to the z and fc-cache would cache them. Minimo would run but with a bunch of utf-8 errors, a gui with no Text.
What fonts are you using for minimo. Or maybe, did I make an error with compilation?
-
This is the errror I am getting
Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
-
My X/Qt installation doesn't seem to want to use the X11 fonts except Type1 and TTF. I wonder if this has to do with the zaurus not having an iconv.
Anybody care to comment?
libiconv seems to be needed for string conversions.
I wonder if recompiling glib with libiconv support can solve these problems.
-
Recompiled glib with libiconv and the utf-8 to iso8859-1 conversion errors went away.
Recompiled gtk 2 with locale set to en_US and the locale error went away.
Minimo works however, I dont see any text on any of the dropdown menus. Web pages displayed dont have any text on them ( I can see graphics fine). I think this is still tied to X not caching any of the fonts. Anybody have any idea as to what to do?
Or maybe I am not packaging minimo correctly. I moved all the contents of the dist/bin directory and run it on the Z. Am I missing anything?
Thanks.
-
Upgrading to the feed-testing packages for freetype and fontconfig enaled fc-cache to cache the fonts.
Since these same libs are in the devel package, I am thinking that I have compiled minimo against faulty freetype and fontconfig libs.
I will try to recompile with the upgraded freetype, fontconfig. However theres is no devel package in feed-testing and I need the include files and bin files.
-
Finally got it running. However, I am a little disappointed.
I cant search using the Search button in google. It detects the button press but doesn't do anything. I can click on urls fine though. Can't go to gmail.google.com. It just shows up as a blank page. Part of the page on the extreme right and bottom are clipped. Not much though. There is no zoom feature. Popups just cover the entire screen.
Oh Well. It was fun figuring out.