~ubuntu-branches/ubuntu/maverick/firefox/maverick

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-07-15 20:27:51 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20100715202751-f95nl8qwcsuvco0i
Tags: 3.6.7+build2+nobinonly-0ubuntu1
* New upstream release v3.6.7build2 (FIREFOX_3_6_7_BUILD2)

* Make it possible to disable patches on a per-release basis. This
  makes it easier to share packaging branches across releases, and makes
  it possible to disable the patches which make the Hardy daily builds fail
  - update debian/rules
  - add debian/disable-patches.sh
  - add debian/patches/series-disable-patches.8.04
* Make the debian/usr.bin.firefox.apparmor.in target a dependency of
  pre-build rather than makebuilddir. Whilst this doesn't really change
  much, it is technically slightly more correct (makebuilddir is just for
  creating the build directory, whilst pre-build is for doing all the
  preparation work)
  - update debian/rules
* Merge the debian/firefox.sh target in to the match-all target, this
  just de-clutters things a little
  - update debian/rules
* Remove debian/stamp-autotools-files-moz in the clean target
  - update debian/rules
* Drop the empty firefox-dev and firefox-*-dev transitional packages. We
  didn't install anything in to firefox-dev, and we can reintroduce it in
  the future if anything in the archive depends on the browser specific
  interfaces
  - update debian/control
  - remove debian/firefox-dev.install
  - remove debian/firefox-dev.links
* Fix some Lintian warnings
  - add debian/README.source
  - update debian/control
* Make debian/migrator/ffox-beta-profile-migration-dialog a dependency of
  post-patches rather than pre-build. This avoids the need for having to 
  build the profile migrator when unpacking the source tarball
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
1) To create the fully patched source, just run "debian/rules apply-patches" in the source directory. The fully patched source will be available in build-tree/mozilla
 
2
 
 
3
2) This package uses the quilt patch system. To create or edit patches which are applied at build time, you must first extract the source tarball. To do this, run "debian/rules pre-build". cd in to build-tree/mozilla and use quilt in the usual fashion (see "man quilt").
 
4
 
 
5
Your life will be much easier if you add the following to ~/.quiltrc:
 
6
 
 
7
for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
 
8
        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
 
9
                export QUILT_PATCHES=${where}debian/patches
 
10
        fi
 
11
done
 
12
 
 
13
So, basically:
 
14
 
 
15
        a) debian/rules pre-build
 
16
        b) cd build-tree/mozilla
 
17
        c) quilt push <patchname>
 
18
        .....or.....
 
19
           quilt push
 
20
        .....or.....
 
21
           quilt push -a
 
22
        .....or.....
 
23
           quilt new
 
24
 
 
25
You get the idea.....
 
26
 
 
27
3) To remove any changes applied to the packaging, run "fakeroot debian/rules clean". This will remove all patches and delete auto-generated files
 
28
 
 
29
4) It is possible to disable quilt patches on a per-release basis. To do this, create a debian/patches/series-disable-patches.<major_version>.<minor_version> file, and list the patches that you don't want to apply for a particular release. Eg, for Ubuntu 8.04, create a file named debian/patches/series-disable-patches.8.04.
 
30
 
 
31
You can still edit patches in the usual fashion - when manually applying patches, no patches are disabled (this only happens at build time).
 
32
 
 
33
To manually disable the patches for your current release, run "debian/rules debian/disable-patches-for-release". To re-enable them again, run the clean target (but any changes you made to the temporary debian/patches/series will be lost here)