application icongmusicbrowser

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Last revision
install:webkit [2010/02/13 22:59] loomsen
Line 1: Line 1:
 +====== Instructions for building Gtk2-WebKit ======
 +[[http://search.cpan.org/dist/Gtk2-WebKit/|CPAN permalink to project page]] 
 +
 +{{playground:shot_073_.png?240x100}}
 +
 +===== 1. Build dependencies: =====
 +
 +View current [[http://deps.cpantesters.org/?module=Gtk2::WebKit;perl=latest|build results]]
 +
 +===== Instructions for building a RPM package for Gtk2-WebKit =====
 +
 +Easiest probably using cpan2rpm, so install it:
 +
 +Fedora users:
 +
 +''su -c 'yum install cpan2rpm rpmdevtools'''
 +
 +openSuSe
 +
 +''su -c 'zypper in cpan2rpm rpmdevtools'''
 +
 +Setup your rpmdev environment
 +
 +''rpmdev-setuptree''
 +
 +Then you're ready to go, so run:
 +
 +''cpan2rpm --spec-only Gtk2-WebKit''
 +
 +This will generat a spec file in ~/rpmbuild/SPECS.
 +
 +You'll need to edit it and change the line
 +
 +''%define maketest 1''
 +
 +to
 +
 +''%define maketest 0''
 +
 +or you'll get some errors.
 +
 +Then, to build the package, run:
 +
 +''QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba $HOME/rpmbuild/SPECS/Gtk2-WebKit.spec''
 +
 +(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://cpansearch.perl.org/src/FLORA/Gtk2-WebKit-0.04/|browse through the source]]
 +
 +[[http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-WebKit-0.04.tar.gz|Download src 0.04 in .tar.gz package]]
 +
 +==== 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: debhelper (>= 7), perl (>= 5.8.0)
 +
 +These are the dependencies which were added through $shlibs:Depends and $misc:Depends during build:
 +
 +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://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-WebKit-0.04.tar.gz|source package]] extract it /some/where, change into the directory and simply build using dh-make-perl.
 +<code>dh-make-perl --help</code>
 +
 +<code>
 +wget http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-WebKit-0.04.tar.gz
 +tar xf Gtk2-WebKit-0.04.tar.gz
 +cd Gtk2-WebKit-0.04
 +dh-make-perl --build
 +</code>
 +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
 +<code>--email [email protected]   </code> 
 +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
 +<code>cd ..
 +dpkg -i  libgtk2-webkit-perl_*.deb
 +</code>
 +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, relaunch gmusicbrowser, and enjoy webkit :)
 +
 +== CPAN ==
 +
 +<code>mkdir build-tmp
 +cd build-tmp
 +dh-make-perl --build --cpan Gtk2-WebKit
 +</code>
 +
 +
 +
 +~~DISCUSSION~~
 +
  
install/webkit.txt · Last modified: 2022/05/23 01:30 by 127.0.0.1
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0