application icongmusicbrowser

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:webkit [2009/06/12 20:38]
squentin added a discussion section
install:webkit [2013/04/03 06:29] (current)
Line 1: Line 1:
-====== Instructions for building a debian package for libgtk2-webkit ====== +====== Instructions for building Gtk2-WebKit ======
 [[http://search.cpan.org/dist/Gtk2-WebKit/|CPAN permalink to project page]]  [[http://search.cpan.org/dist/Gtk2-WebKit/|CPAN permalink to project page]] 
  
Line 8: Line 7:
  
 View current [[http://deps.cpantesters.org/?module=Gtk2::WebKit;perl=latest|build results]] 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]] Go here if you wish to [[http://cpansearch.perl.org/src/FLORA/Gtk2-WebKit-0.04/|browse through the source]]
Line 13: Line 53:
 [[http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Gtk2-WebKit-0.04.tar.gz|Download src 0.04 in .tar.gz package]] [[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 =====+==== 2. Using debhelper Script ====
  
 You may either build the package remotely or local, whichever way you prefer. I recommend the debhelper scripts for automagic: You may either build the package remotely or local, whichever way you prefer. I recommend the debhelper scripts for automagic:
Line 23: Line 63:
 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 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 ===+== Local build ==
  
 If you want to build it locally without using the cpan, download the  If you want to build it locally without using the cpan, download the 
Line 44: Line 84:
 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 :) 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 ===+== CPAN ==
  
 <code>mkdir build-tmp <code>mkdir build-tmp
install/webkit.1244831882.txt.gz · Last modified: 2013/04/03 06:28 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0