~ubuntu-branches/ubuntu/natty/smplayer/natty

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-11-21 14:08:08 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091121140808-4taee83lg2cyxjqs
Tags: 0.6.8-2
* debian/compat:
  - Bumped to 7.
* debian/control:
  - Changed maintainer to team.
  - Build-depend on dh 7, no cdbs.
* debian/rules, debian/clean:
  - Rewritten to use dh 7.
  - Set DOC_PATH and remove an unneeded upstream file.
* debian/smplayer.install, debian/smplayer.doc-base:
  - Install upstream docs correctly. (Closes: #557069)
* Dropped debian/README.source - not using CDBS simple-patchsys anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This package uses CDBS (and therefore simple-patchsys.mk) in order to 
2
 
apply patches to the upstream source. Patches are stored in 
3
 
debian/patches and their filenames usually end in .patch or .diff .
4
 
For further details, see the man page for cdbs-edit-patch.
5
 
 
6
 
All commands described below should be run from the top directory of the 
7
 
package source tree, unless otherwise stated.
8
 
 
9
 
 * To generate the fully patched source, in a form ready for
10
 
   editing, that would be built to create Debian packages, run: 
11
 
 
12
 
     make -f debian/rules apply-patches
13
 
 
14
 
   Note: It has been proposed that, in future, this should happen 
15
 
   automatically when you run dpkg-source -x on a CDBS 
16
 
   simple-patchsys.mk source package.  However, this proposal has 
17
 
   apparently not yet been implemented, so for now you have to do 
18
 
   it yourself like this.
19
 
 
20
 
 * To modify the source and save those modifications so that
21
 
   they will be applied when building the package, pick a
22
 
   suitably informative patch file name, for example
23
 
   01_add_README.source_file.patch, and then run:
24
 
 
25
 
     cdbs-edit-patch 01_add_README.source_file.patch
26
 
 
27
 
   This will place you in a new shell in a temporary copy of the 
28
 
   source tree.  Make your desired modifications to it, and then 
29
 
   exit the shell to create the patch file containing them (this 
30
 
   file will appear in debian/patches).
31
 
 
32
 
 * To remove source modifications that are currently being
33
 
   applied when building the package, run:
34
 
 
35
 
     make -f debian/rules reverse-patches