OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: anunakin on January 13, 2006, 06:16:31 pm

Title: Gplflash 2, [working]
Post by: anunakin on January 13, 2006, 06:16:31 pm
Read more above...

http://gplflash.sourceforge.net/cgi-bin/mo...gi/BuildFromCvs (http://gplflash.sourceforge.net/cgi-bin/moin.cgi/BuildFromCvs)


Any help?

On Zaurus
Code: [Select]
...
checking for X... libraries /usr/X11R6/lib, headers
checking for XOpenDisplay in -lX11... no
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
configure: error: *** cannot find X11 development files

On PC
Code: [Select]
...
checking for jpeglib.h... yes
checking for X... libraries /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib, headers /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include
checking for XOpenDisplay in -lX11... no
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
configure: error: *** cannot find X11 development files
Title: Gplflash 2, [working]
Post by: dtruchan on January 15, 2006, 12:22:42 am
Specifiy --x-includes and --x-libraries to configure.
Then it builds fine.
Title: Gplflash 2, [working]
Post by: anunakin on January 16, 2006, 07:10:39 am
Quote
Specifiy --x-includes and --x-libraries to configure.
Then it builds fine.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110997\"][{POST_SNAPBACK}][/a][/div]

I using this ./configure on PC:
Code: [Select]
./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include --x-libraries=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib --prefix=/usr --with-plugin-dir=/usr/lib/firefox/lib/firefox-1.5/plugins
Title: Gplflash 2, [working]
Post by: adf on January 16, 2006, 02:34:17 pm
did it work?

if it did work, and seems to test out, post it?

This is an important plugin
Title: Gplflash 2, [working]
Post by: anunakin on January 16, 2006, 02:44:15 pm
Quote
did it work?

if it did work, and seems to test out, post it?

This is an important plugin
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111178\"][{POST_SNAPBACK}][/a][/div]

Dont work I got the errors on firt msg on topic
Code: [Select]
configure: error: *** cannot find X11 development files
Title: Gplflash 2, [working]
Post by: karlto on January 16, 2006, 04:37:58 pm
Quote
Dont work I got the errors on firt msg on topic
Code: [Select]
configure: error: *** cannot find X11 development files[div align=\"right\"][a href=\"index.php?act=findpost&pid=111184\"][{POST_SNAPBACK}][/a][/div]

I presume you've checked that the required files exist in your cross-compiler directories (as above)? One of the copies I have is missing those libraries (could be the one for compiling the kernel...?)
Title: Gplflash 2, [working]
Post by: dtruchan on January 16, 2006, 10:04:42 pm
My mistake, it does still fail at that point.
I fudged configure to finish, but make fails while linking with libXxf86vm.  
Title: Gplflash 2, [working]
Post by: Chero on January 17, 2006, 02:17:32 am
Maybe this xlibs package (http://users.telenet.be/zaurususer/ipkgs/xlibs_6.8.2_armv5tel.ipk) can help you. It contains some of the xlibs and binaries that aren't included in pdaXrom.

I used it to compile some app that needed more xlibs. (Can't remember which one)

WARNING : startx will be broken. Deleting the "fonts" section in startx will solve this.
WARNING : it's big (6+ Mb)
WARNING : use at your own risk
WARNING : ... (whatever i forgot)

Have fun,
Chero
Title: Gplflash 2, [working]
Post by: lardman on January 17, 2006, 05:33:30 am
The x libs and x header files are often not in the same directory as the other libs and headers. Check where this directory is (I presume you must have it in your build system) and specify the correct paths.

Si
Title: Gplflash 2, [working]
Post by: dtruchan on January 19, 2006, 09:05:23 pm
Turns out deps are different for arm. automake sucks.  
libXxf86vm isn't built with X since it's not needed.

Let me know if it works.  
I havn't tried yet.

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]



NOTE:
from README
Quote
The standalone player is not completed. It is currently targetted for debugging purpose.
Title: Gplflash 2, [working]
Post by: anunakin on January 20, 2006, 12:05:49 pm
Quote
Turns out deps are different for arm. automake sucks.   
libXxf86vm isn't built with X since it's not needed.

Let me know if it works.  
I havn't tried yet.

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111630\"][{POST_SNAPBACK}][/a][/div]

   Hey this works, I have flash on my Firefox 1.5, nice!                
[span style=\'font-size:21pt;line-height:100%\']
THANK YOU![/span]
Title: Gplflash 2, [working]
Post by: dtruchan on January 20, 2006, 05:16:45 pm
Excellent!!!  

If you could, please post the steps you took to install it.
Title: Gplflash 2, [working]
Post by: wowo123 on January 21, 2006, 06:42:33 am
I have installed libnpflash_so_0_0.0 to ~firefox-1.5/plugins but firefox doesn't recognize it as a plugin. It has a different mime-type. Is flashplayer also needed in this dir or is it only the external player? Any suggestions??
Title: Gplflash 2, [working]
Post by: jgardia on January 21, 2006, 07:29:03 am
Quote
I have installed libnpflash_so_0_0.0 to ~firefox-1.5/plugins but firefox doesn't recognize it as a plugin. It has a different mime-type. Is flashplayer also needed in this dir or is it only the external player? Any suggestions??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111795\"][{POST_SNAPBACK}][/a][/div]

Did you install Libstdc++.so.5 ?

Good luck,

Jose
Title: Gplflash 2, [working]
Post by: wowo123 on January 21, 2006, 07:48:36 am
Quote
Quote
I have installed libnpflash_so_0_0.0 to ~firefox-1.5/plugins but firefox doesn't recognize it as a plugin. It has a different mime-type. Is flashplayer also needed in this dir or is it only the external player? Any suggestions??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111795\"][{POST_SNAPBACK}][/a][/div]

Did you install Libstdc++.so.5 ?

Good luck,

Jose
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111797\"][{POST_SNAPBACK}][/a][/div]

Yes I did (both 5.05 and 5.07)
Title: Gplflash 2, [working]
Post by: anunakin on January 21, 2006, 09:37:57 am
step-by-step

$ chmod 755 libnpflash_so_0_0.0
$ cp /path/to/you/libnpflash_so_0_0.0 /mnt/ide3/usr/lib/firefox/lib/firefox-1.5/plugins/libnpflash.so

With symlink dont work, for me!  
Title: Gplflash 2, [working]
Post by: wowo123 on January 22, 2006, 05:46:50 am
Okay, without the symlink it installs now and is recognized. But each time, flash content is processed, firefox freezes. Same situation when using the external flashplayer from command line: The first flash image comes up and nothing else ever happens.
Anyone able to run a complete flash application?













------------------------------------
C860, pdaxrom beta1 with ROX and KDE 3.5 on SD,
1GB SD, MicroDrive 4 GB, WLAN: D-Link DCF-660W,
BT: Belkin F8T020
Title: Gplflash 2, [working]
Post by: adf on January 22, 2006, 04:06:28 pm
Quote
Okay, without the symlink it installs now and is recognized. But each time, flash content is processed, firefox freezes. Same situation when using the external flashplayer from command line: The first flash image comes up and nothing else ever happens.
Anyone able to run a complete flash application?




Nope. I was looking for this thread to post pretty much the same thing.








------------------------------------
C860, pdaxrom beta1 with ROX and KDE 3.5 on SD,
1GB SD, MicroDrive 4 GB, WLAN: D-Link DCF-660W,
BT: Belkin F8T020
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111897\"][{POST_SNAPBACK}][/a][/div]
Title: Gplflash 2, [working]
Post by: anunakin on January 22, 2006, 04:46:18 pm
Here, Firefox goes so slow but dont freezes ans flashplayer goes nice....  
Title: Gplflash 2, [working]
Post by: soundio on March 22, 2006, 06:17:48 am
Could somebody tell the best way how to get Firefox 1.5 to pdaxrom?
Have no linux box to compile.

(Pdaxrom 1.1Beta2 on C3000)
Title: Gplflash 2, [working]
Post by: anunakin on March 22, 2006, 07:29:08 am
firefox 1.5 is on official FEED.... you need only ...
$ipkg -d ideN install firefox

where ideN is you mount point defined in /etc/ipkg.conf

 

dtruchan: Can you post a howto compile this....?


 I have some ideas on make this more fast...  flash movies have a setup system for sets resolution... and gplflash put this on high mode... if we put to low... this can works more nice on Z...  

On website of GPLflash there is some info about project GNASH .... any hope this works on pdaXrom?
http://www.gnu.org/software/gnash/ (http://www.gnu.org/software/gnash/)
Title: Gplflash 2, [working]
Post by: dtruchan on March 22, 2006, 06:57:13 pm
Quote
dtruchan: Can you post a howto compile this....?

get source
Code: [Select]
cvs -z9 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/gplflash co gplflash2
autogen outside dev enviroment.

configure craps out trying to run a test program while cross compiling.
XOpenDisplay is in libX11, it better be.
configure needs to ignore the test result, so I fool it.

edit configure, around line 20019
change
ac_cv_lib_X11_XOpenDisplay=no
to
ac_cv_lib_X11_XOpenDisplay=yes

configure it
Code: [Select]
./configure \
    --host=armv5tel-cacko-linux \
    --build=i686-linux \
    --x-includes=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include \
    --x-libraries=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib \
    --prefix=/usr
should fail in player dir with the dumb libXxf86vm.so error.
Player is just a test program used for debugging.

switch to plugin/mozilla dir

run make

should fail

grab gcc line

Code: [Select]
armv5tel-cacko-linux-g++ -shared -nostdlib /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/../../../../armv5tel-cacko-linux/lib/crti.o /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/crtbeginS.o  .libs/libnpflash_la-flash_interface.o .libs/libnpflash_la-plugin.o .libs/libnpflash_la-npunix.o -Wl,--whole-archive ../../lib/.libs/libflash2.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -Wl,--rpath -Wl,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -L/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib -ljpeg -lX11 -lXt -lXext -lGL -lGLU -lavformat -lavcodec /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libSDL.so -L/home/sash/Work/Corgi/pdaXrom-builder/build/gcc-3.4.5-armv5tel-cacko-linux-stage2/armv5tel-cacko-linux/libstdc++-v3/src -L/home/sash/Work/Corgi/pdaXrom-builder/build/gcc-3.4.5-armv5tel-cacko-linux-stage2/armv5tel-cacko-linux/libstdc++-v3/src/.libs -L/home/sash/Work/Corgi/pdaXrom-builder/build/gcc-3.4.5-armv5tel-cacko-linux-stage2/gcc -L/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/bin -L/opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5 -L/opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/../../../../armv5tel-cacko-linux/lib -lpthread -L/usr/lib /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libxml2.so /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libfreetype.so /usr/lib/libfreetype.so /usr/lib/libxml2.so -ldl -lz /opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libstdc++.so -lm -lc -lgcc_s /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/crtendS.o /opt/cross/arm/3.4.5-xscale-softvfp/lib/gcc/armv5tel-cacko-linux/3.4.5/../../../../armv5tel-cacko-linux/lib/crtn.o  -Wl,-soname -Wl,libnpflash.so.0 -o .libs/libnpflash.so.0.0.0
find /usr/lib/libfreetype.so and /usr/lib/libxml2.so and remove them from the command.

run it

in .libs you'll have libnpflash.so.0.0.0
player is the same process, but libXxf86vm.so is not made with kdrive, it is not needed. just remove it from the gcc line too.

I havn't tried the konqueror plugin.

Fun right.
 
Title: Gplflash 2, [working]
Post by: soundio on March 23, 2006, 07:39:17 am
Quote
firefox 1.5 is on official FEED.... you need only ...
$ipkg -d ideN install firefox

where ideN is you mount point defined in /etc/ipkg.conf

The only ipk I have found is in:

Experimental! X/Qt packages
Feed: http://mail.pdaxrom.org/1.1.0beta1/XQt/feed/ (http://mail.pdaxrom.org/1.1.0beta1/XQt/feed/)

Is that what you meant?

btw:
I'm unable to use ipkg.
It is just broken Maybe due to impropriate installation of Pdaxrom.
Can I simply owerwrite it with working ipkg?