开发者

xul runner: does it require Firefox on the target OS?

开发者 https://www.devze.com 2023-04-01 01:41 出处:网络
Xul Runner: does it require installed version of Firefox on the OS? or does it compile its own web engine?

Xul Runner: does it require installed version of Firefox on the OS? or does it compile its own web engine?

The dependancies are unclear to me, even when looking at their documentation.

Perhaps let me be clearer: The开发者_如何学C XULrunner can compile using firefox or you can compile without.

My question is this: If I were to create a XUL user interface, and use XULrunner, will the application created contain everything to display the user interface, or is it like .hta which requires IE. Hence my question: does firefox have to be installed on the target operating system?


No. XULRunner is an independent application, it has everything necessary to run XUL-based apps. This "everything necessary" is to a large part identical to what you find in Firefox but not entirely identical (some browser-specific things are missing). This also means that there is (at least) one catch: if you install XULRunner as part of your application you will also be responsible for updating it regularly - it has all the same security vulnerabilities as Firefox.


Since there is a (static/shared) library for libxul, i think the answer for your question was not needed to install firefox.

(dunno if it's helping you or not)

cat /usr/lib/pkgconfig/libxul-embedding.pc 
prefix=/usr
sdkdir=/usr/lib/xulrunner-devel-6.0.1
includedir=/usr/include/xulrunner-6.0.1
idldir=/usr/share/idl/xulrunner-6.0.1

Name: libxul-embedding
Description: Static library for version-independent embedding of the Mozilla runtime
Version: 6.0.1
Requires: nspr >= 4.8.9
Libs: -L${sdkdir}/lib -lxpcomglue -ldl
Cflags: -DXPCOM_GLUE -I${includedir} 

0

精彩评论

暂无评论...
验证码 换一张
取 消