[Ambulant-users] [Question] firefox ambulant plug-in

Kees Blom Kees.Blom at cwi.nl
Mon Mar 15 12:03:49 CET 2010


On 15/03/10 10:40, Nail_Hsiao at wistron.com wrote:
>
> Dear blom,
>
> I got the package you provided (2.2b10 pre) and test to build it for 
> x86 first
>
> Firstly, I run "python build-third-party-packages linux", the 
> xulrunner-sdk is download automatically (many thanks for this improve)
>
> Second, I run "./configure --with-npambulant" ,  and configure ok
>
> Third, type "make", but got some error:
>
> python ./internalize_shlibs.py -c npambulant_plugin_dir/plugins
>
> cp: cannot stat `./install-linux.rdf': No such file or directory
>
> make[2]: *** [npambulant_plugin_dir] Error 1
>
> make[2]: Leaving directory `/home/nail/ambulant-2.2/src/npambulant'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/home/nail/ambulant-2.2/src'
>
> make: *** [all-recursive] Error 1
>
> I find that there is only "install-linux64.rdf" and 
> "install-win32.rdf" in src/npambulant/
>
> Maybe you forget the linux32 version ?
>
> By the way, I am not sure what is the exact location the plugin installed
>
> So I test to install the ambulant 2.1plugin from 
> http://homepages.cwi.nl/~jack/ambulantplugin/ambulant_plugin_install.html 
> <http://homepages.cwi.nl/%7Ejack/ambulantplugin/ambulant_plugin_install.html>
>
> and find the installed files and installed location, but I still not 
> very sure
>
> Could you tell me that if I compile from source success, what exactly 
> the file do I need to install to enable plugin function and
>
> What exactly the install location?
>
> Thanks for your greate help J
>
ambulant-2.2/src/npambulant/README-linux tries to explain this.
There are 2 installation modes:

1. in the current Firefox user profile, when installed using the .xpi 
installer. The plugin shows in Firefox by
     selecting Tools->Add-ons->Extensions
     At present this is the preferred installation method.
     For arm, you'll need to adapt linux.rdf, I think.

2. in the mozilla plugin directory: ~/.mozilla/plugins by building from  
source and typing:  make install.
     Using: sudo make install instead will install npambualnt in 
/usr/lib/mozilla/plugins, for all users.
     Restart Firefox to enable npambulant, you''l find it then selecting 
Tools->Add-ons->Plugins
     This method has the big advantage is that other 
npruntime-compatible browsers  then will recognize
     npambulant too, but there are still a number of problems we know of.
     The first problem is, that google-chrome then works with npambulant 
but konqueror will crash.
     Another problem is, that npambulant does not work with nspuginwrapper.
     The last problem is that at this moment we do not have an 
distributable installer for this
     installation method option.
I do not expect that these issues will be resolved soon, because of 
other priorities.

Bye,

Kees Blom.
>
> Best Regards
>
> ==========================
>
> Nail Hsiao
>
> SW Product Center /  Wistron Corp.
>
> Tel:  (02) 6612-5479
>
> Fax: (02) 6612-2380
>
> Email: nail_hsiao at wistron.com <mailto:nail_hsiao at wistron.com>
>
> ==========================
>
> ------------------------------------------------------------------------
>
> *From:* Kees Blom [mailto:Kees.Blom at cwi.nl]
> *Sent:* Friday, March 12, 2010 9:57 PM
> *To:* Nail Hsiao/WHQ/Wistron
> *Subject:* Re: [Ambulant-users] [Question] firefox ambulant plug-in
>
> On 12/03/10 11:25, Kees Blom wrote:
>
> On 12/03/10 06:35, Nail_Hsiao at wistron.com 
> <mailto:Nail_Hsiao at wistron.com> wrote:
>
> Dear all
>
> Because the incomplete source code of ambulant 2.2b9, I can not build 
> it for firefox plugin
>
> I downgrade to compile the ambulant 2.0.2, but it got another error 
> like below:
>
> =========================================================
>
> g++ -g -O2 -pthread -o AmbulantPlayer_gtk gtk_gui.o gtk_logger.o 
> gtk_mainloop.o gtk_settings.o unix_preferences.o -pthread 
> -Wl,--export-dynamic  -L/usr/lib /usr/lib/libSDL.so 
> ../../src/libambulant/.libs/libambulant_gtk.a 
> ../../src/libambulant/.libs/libambulant_sdl.a 
> -L/home/nail/tmp/ambulant-2.0.2/third_party_packages/expat-unix/lib 
> /usr/lib/libexpat.so ../../src/libambulant/.libs/libambulant.a 
> /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so 
> /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so 
> /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so 
> /usr/lib/libgio-2.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so 
> /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so 
> /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt 
> /usr/lib/libglib-2.0.so ../../libltdl/.libs/libltdlc.a -ldl
>
> make[2]: Leaving directory `/opt/tmp/ambulant-2.0.2/src/player_gtk'
>
> Making all in npambulant
>
> make[2]: Entering directory `/opt/tmp/ambulant-2.0.2/src/npambulant'
>
> make[2]: *** No rule to make target `npambulant.idl', needed by 
> `npambulant.h'.  Stop.
>
> make[2]: Leaving directory `/opt/tmp/ambulant-2.0.2/src/npambulant'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/opt/tmp/ambulant-2.0.2/src'
>
> make: *** [all-recursive] Error 1
>
> =========================================================
>
> When compile npambulant, it needs npambulant.idl, but this component 
> is absence
>
> Do you have any idea about this ?
>
> My host OS is ubuntu 9.10 x86,
>
> gcc version is 4.4.1,
>
> And the command for configure is "./configure --with-npambulant"  
> (because I just want to verify that whether can I compile
>
> The plugin, so I did not compile the third_party_package first, but 
> just download `xulrunner-sdk` to meet the minimal requirement of 
> compiling ambulant plugin)
>
> Best Regards
>
> ==========================
>
> Nail Hsiao
>
> SW Product Center /  Wistron Corp.
>
> Tel:  (02) 6612-5479
>
> Fax: (02) 6612-2380
>
> Email: nail_hsiao at wistron.com <mailto:nail_hsiao at wistron.com>
>
> ==========================
>
>   
> _______________________________________________
> Ambulant-users mailing list
> Ambulant-users at ambulantplayer.org  <mailto:Ambulant-users at ambulantplayer.org>
> http://www.ambulantplayer.org/mailman/listinfo/ambulant-users
>    
>
> In an early version of the firefox plugin, npambulant.idl was 
> generated by a tool named 'xpidl'
> found in an earlier version of gecko-sdk, e.g:
> http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.4/sdk/gecko-sdk-i686-pc-linux-gnu-1.8.0.4.tar.bz2
>
> Nowadays we use xulrunner-sdk that does not need "xpidl", it's quite a 
> different interface for firefox.
> The advantage is a.o. that this interface is also supported by other 
> browsers (safari, opera, google-chrome)
> and npambulant works with these browsers too.
>
> I'll make an updated version of ambulant 2.2b? available for you only 
> in a short while,
> I'm working on it right now. This is because publishing a full 
> ambulant 2.2b10 version takes more time
> (other bugs need be fixed too) and more people are involved in 
> finishing this, who are temporarily unavailable.
>
> I'll inform you with more details later today.
>
> Bye,
>
> Kees Blom.
>
> Dear Nail Hsiao,
>
>
> I've put an experimental ambulant source file for you to build 
> npambulant firefox plugin at:
> http://homepages.cwi.nl/~kees/ambulant/ambulant-2.2b10pre.tar.gz 
> <http://homepages.cwi.nl/%7Ekees/ambulant/ambulant-2.2b10pre.tar.gz>
>
> As this is not a normal (pre-)release, please do not redistribute this 
> file/link.
> If there are any problems with it, please inform us and we'll 
> incorporate that info
> for the final ambulant-2.2b10.tar.gz
>
> Building npambulant for arm is something we've never done before (and 
> we won't do for this
> release); however we did build AmbulantPlayer using arm for Nokia N800 
> in previous releases,
> but now we do not support this platform anymore.
>
> One problem I imagine you could encounter is that mozilla provides 
> xulrunner-sdk
> (needed by npambulant) for  platforms linux-i386, mac-i386, 
> mac-powerpc and win32 only, not arm.
>
> Sincerely,
>
> Kees Blom.
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ambulantplayer.org/pipermail/ambulant-users/attachments/20100315/855053ad/attachment-0001.html>


More information about the Ambulant-users mailing list