no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionLast revision | |||
— | install:webkit [2010/02/13 22:59] – loomsen | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Instructions for building Gtk2-WebKit ====== | ||
+ | [[http:// | ||
+ | |||
+ | {{playground: | ||
+ | |||
+ | ===== 1. Build dependencies: | ||
+ | |||
+ | View current [[http:// | ||
+ | |||
+ | ===== Instructions for building a RPM package for Gtk2-WebKit ===== | ||
+ | |||
+ | Easiest probably using cpan2rpm, so install it: | ||
+ | |||
+ | Fedora users: | ||
+ | |||
+ | '' | ||
+ | |||
+ | openSuSe | ||
+ | |||
+ | '' | ||
+ | |||
+ | Setup your rpmdev environment | ||
+ | |||
+ | '' | ||
+ | |||
+ | Then you're ready to go, so run: | ||
+ | |||
+ | '' | ||
+ | |||
+ | This will generat a spec file in ~/ | ||
+ | |||
+ | You'll need to edit it and change the line | ||
+ | |||
+ | '' | ||
+ | |||
+ | to | ||
+ | |||
+ | '' | ||
+ | |||
+ | or you'll get some errors. | ||
+ | |||
+ | Then, to build the package, run: | ||
+ | |||
+ | '' | ||
+ | |||
+ | (adjust the path accordingly if your spec file is somewhere else.) | ||
+ | |||
+ | |||
+ | ===== Instructions for building a debian package for libgtk2-webkit ===== | ||
+ | |||
+ | Go here if you wish to [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ==== 2. Using debhelper Script ==== | ||
+ | |||
+ | You may either build the package remotely or local, whichever way you prefer. I recommend the debhelper scripts for automagic: | ||
+ | |||
+ | Build-Depends: | ||
+ | |||
+ | These are the dependencies which were added through $shlibs: | ||
+ | |||
+ | Depends: perl (>= 5.8.0), libatk1.0-0 (>= 1.20.0), libc6 (>= 2.2.5), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.16.0), libpango1.0-0 (>= 1.14.0), libsoup2.4-1 (>= 2.25.4), libwebkit-1.0-2 (>= 1.1.1), zlib1g (>= 1:1.1.4), libgtk2-perl | ||
+ | |||
+ | == Local build == | ||
+ | |||
+ | If you want to build it locally without using the cpan, download the | ||
+ | [[http:// | ||
+ | < | ||
+ | |||
+ | < | ||
+ | wget http:// | ||
+ | tar xf Gtk2-WebKit-0.04.tar.gz | ||
+ | cd Gtk2-WebKit-0.04 | ||
+ | dh-make-perl --build | ||
+ | </ | ||
+ | The package will be created with $USER as maintainer and <$USER@ > as email adress, so, if its not in your $ENV, you may want to use | ||
+ | < | ||
+ | together with dh-perl-make (i.e. for signing the pkg with your pub key.) | ||
+ | Thats about it, the package creation should leave a package in your upstream directory. In order to install | ||
+ | < | ||
+ | dpkg -i libgtk2-webkit-perl_*.deb | ||
+ | </ | ||
+ | in the upstream directory. So if you downloaded the .tar.gz to your home directory, thats where it goes. Now install it using your favorite packagemanager, | ||
+ | |||
+ | == CPAN == | ||
+ | |||
+ | < | ||
+ | cd build-tmp | ||
+ | dh-make-perl --build --cpan Gtk2-WebKit | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ~~DISCUSSION~~ | ||
+ | |||