~ubuntu-branches/ubuntu/trusty/x11proto-core/trusty-security

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-06-23 11:01:17 UTC
  • mfrom: (1.1.14 upstream) (18.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110623110117-e80t41jkaisfusq0
* New upstream release.
* Bump xutils-dev and xorg-sgml-doctools build-deps.
* Add xsltproc build-dep.
* Get rid of the temporary 01_keep_xorg_css.diff patch.
* Drop the css from .install accordingly.
* Use xorg-sgml-doctool's copy of xorg.css.
* Wrap (Build-)Depends.
* Don't install *.db yet, keep that for later.
* Update Uploaders list. Thanks, David!
* Switch to dh:
  - Bump debhelper build-dep and compat.
  - Use dh-autoreconf and quilt sequences.
  - Rewrite debian/rules.
* Get rid of xsfbs accordingly.
* Bump Standards-Version to 3.9.2 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
2. Unpack the package as usual with "dpkg-source -x"
7
7
3. Run the "patch" target in debian/rules
8
8
4. Create a new patch with "quilt new" (see quilt(1))
9
 
5. Edit all the files you want to include in the patch with "quilt edit" 
 
9
5. Edit all the files you want to include in the patch with "quilt edit"
10
10
   (see quilt(1)).
11
11
6. Write the patch with "quilt refresh" (see quilt(1))
12
12
7. Run the "clean" target in debian/rules
13
13
 
14
 
Alternatively, instead of using quilt directly, you can drop the patch in to 
 
14
Alternatively, instead of using quilt directly, you can drop the patch in to
15
15
debian/patches and add the name of the patch to debian/patches/series.
16
16
 
17
17
------------------------------------
47
47
  case, it appears directly in the .diff.gz.
48
48
* Otherwise, the patch is added to debian/patches/ which is managed
49
49
  with quilt as documented in /usr/share/doc/quilt/README.source.
50
 
 
51
 
quilt is actually invoked by the Debian X packaging through a larger
52
 
set of scripts called XSFBS. XSFBS brings some other X specific
53
 
features such as managing dependencies and conflicts due to the video
54
 
and input driver ABIs.
55
 
XSFBS itself is maintained in a separate repository at
56
 
  git://git.debian.org/pkg-xorg/xsfbs.git
57
 
and it is pulled inside the other Debian X repositories when needed.
58
 
 
59
 
The XSFBS patching system requires a build dependency on quilt. Also
60
 
a dependency on $(STAMP_DIR)/patch has to be added to debian/rules
61
 
so that the XSFBS patching occurs before the actual build. So the
62
 
very first target of the build (likely the one running autoreconf)
63
 
should depend on $(STAMP_DIR)/patch. It should also not depend on
64
 
anything so that parallel builds are correctly supported (nothing
65
 
should probably run while patching is being done). And finally, the
66
 
clean target should depend on the xsfclean target so that patches
67
 
are unapplied on clean.
68
 
 
69
 
When the upstream sources contain some DFSG-nonfree files, they are
70
 
listed in text files in debian/prune/ in the "debian-*" branch of
71
 
the Debian repository. XSFBS' scripts then take care of removing
72
 
these listed files during the build so as to generate a modified
73
 
DFSG-free .orig.tar.gz tarball.