Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:mozembed [2007/05/28 16:10] – astier | install:mozembed [2022/05/23 01:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | To use the mozembed | + | To use the webcontext |
====== Important ====== | ====== Important ====== | ||
This shouldn' | This shouldn' | ||
+ | |||
+ | Under Debian, you usually use Iceweasel instead of Firefox ; you have to add / | ||
+ | < | ||
+ | / | ||
+ | |||
+ | Running ldconfig produces an error on my installation : | ||
+ | < | ||
+ | ldconfig: Erreur de la procédure mmap du fichier / | ||
+ | |||
+ | But it doesn' | ||
+ | |||
====== Pre-packaged ====== | ====== Pre-packaged ====== | ||
- | ===== Mandriva | + | ===== Mandriva |
+ | the perl-Gtk2-MozEmbed-0.80.0-3mdv2010.0 package works simply with the [[# | ||
- | install the perl-Gtk2-MozEmbed-0.06 | + | ===== Ubuntu / Debian ===== |
+ | There is now a libgtk2-mozembed-perl package | ||
- | ===== Ubuntu / Debian ===== | + | ++++ Old informations on the packages you need if you want to compile it from source |
- | There is currently no package for it in debian/ | + | |
+ | On a ubuntu | ||
* libextutils-pkgconfig-perl | * libextutils-pkgconfig-perl | ||
* libextutils-depends-perl | * libextutils-depends-perl | ||
* libgtk2.0-dev | * libgtk2.0-dev | ||
- | * firefox-dev | + | * libxul-dev |
- | + | ||
+ | And compile the version Gtk2-MozEmbed-0.06, | ||
+ | On **intredpid ibis**, you have to install xulrunner-1.9-dev instead of libxul-dev, and compile Gtk2-MozEmbed-0.08. | ||
+ | ++++ | ||
+ | ===== Fedora ===== | ||
+ | Remi made a package on [[http:// | ||
====== Install from source ====== | ====== Install from source ====== | ||
These instructions will install the gtkmozembed perl bindings in a sandbox, that way, you don't need root permissions and can't break your system. | These instructions will install the gtkmozembed perl bindings in a sandbox, that way, you don't need root permissions and can't break your system. | ||
- | **Replace / | + | |
- | | + | |
- Download and untar Gtk2-MozEmbed-0.06.tar.gz from [[http:// | - Download and untar Gtk2-MozEmbed-0.06.tar.gz from [[http:// | ||
- cd Gtk2-MozEmbed-0.06 | - cd Gtk2-MozEmbed-0.06 | ||
- | - perl Makefile.PL PREFIX=/home/login/sandbox && make && make install | + | - perl Makefile.PL PREFIX=~/sandbox && make && make install |
- | + | ||
- | And this must be run each time before running gmusicbrowser, | + | |
- | export PERL5LIB=/ | + | |
- | + | ||
- | You can also change the way you launch gmusicbrowser : | + | |
- | * create a new script, for example, gmusicbrowser.sh with these lines in it : \\ | + | |
- | #!/bin/bash \\ | + | |
- | export PERL5LIB=/ | + | |
- | gmusicbrowser; | + | |
- | + | ||
- | * save this script | + | |
- | * make this script executable : \\ | + | |
- | chmod +x gmusicbrowser.sh | + | |
- | * change the command in the launcher' | + | |
- | + | ||
+ | And PERL5LIB must be set when gmusicbrowser is launched, so that it can find the installed Gtk2:: | ||
+ | > - by adding " | ||
+ | > - or by running gmusicbrowser through a small shell script : | ||
+ | > < | ||
+ | #!/bin/sh | ||
+ | export PERL5LIB=~/ | ||
+ | exec gmusicbrowser | ||
+ | </ | ||
+ | > save this script, for example in ~/ | ||
+ | On Ubuntu Feisty Fawn, I had to specify more the path for perl libraries, by using < | ||
- | Follow | + | ** Then follow |
You can test everything works by running "perl examples/ | You can test everything works by running "perl examples/ | ||