summaryrefslogtreecommitdiff
path: root/debian/README.source
blob: 5c2a16bb13f4efcbb8ce23e0267adfd3e67eea5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Qt WebKit for Debian
--------------------

1. How to create a new upstream tarball?

- get make-package.py:
  $ git clone git://qt.gitorious.org/qtwebkit/tools.git
- get Qt WebKit source code:
  $ git clone git://gitorious.org/+qtwebkit-developers/webkit/qtwebkit.git
- create a branch from a tag (e.g. qtwebkit-2.2.0-rc1):
  $ git checkout -b qtwebkit-2.2.0-rc1 qtwebkit-2.2.0-rc1
- generate the tarball (requires bison, flex and gperf packages):
  $ make-package.py
- fix the generated tarball:
  $ tar -zxf qtwebkit-2.2.0-rc1-source.tar.gz
  $ mv qtwebkit-2.2.0-rc1-source/include qtwebkit-2.2.0-rc1-source/Source
  $ tar -jcf qtwebkit_2.2.0~rc1.orig.tar.bz2 qtwebkit-2.2.0-rc1-source

2. How to create qwebview plugin?

- get the plugin from Qt source: tools/designer/src/plugins
- copy plugins directory
- remove all sub-directories except qwebview directory
- edit plugins.pro and remove all SUBDIRS entries except qwebview
- edit plugins.pri, add INCLUDEPATH and LIBS entries:
  INCLUDEPATH += ../../../Source/include
  LIBS += -L../../../Source/lib