aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'debian/README.source')
-rw-r--r--debian/README.source55
1 files changed, 55 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 00000000..f9bb7c69
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,55 @@
1------------------------------------------------------
2Quick Guide To Patching This Package For The Impatient
3------------------------------------------------------
4
51. Make sure you have quilt installed
62. Unpack the package as usual with "dpkg-source -x"
73. Run the "patch" target in debian/rules
84. Create a new patch with "quilt new" (see quilt(1))
95. Edit all the files you want to include in the patch with "quilt edit"
10 (see quilt(1)).
116. Write the patch with "quilt refresh" (see quilt(1))
127. Run the "clean" target in debian/rules
13
14Alternatively, instead of using quilt directly, you can drop the patch in to
15debian/patches and add the name of the patch to debian/patches/series.
16
17While building from git, dpkg-source can complain about symlinks vs.
18normal files mismatches. To work around this issue, before uploading,
19and without committing:
20
21 find -type l | while read dest; do src=$(readlink -f $dest); rm $dest; cp $src $dest; done
22
23------------------------------------
24Guide To The X Strike Force Packages
25------------------------------------
26
27The X Strike Force team maintains X packages in git repositories on
28git.debian.org in the pkg-xorg subdirectory. Most upstream packages
29are actually maintained in git repositories as well, so they often
30just need to be pulled into git.debian.org in a "upstream-*" branch.
31Otherwise, the upstream sources are manually installed in the Debian
32git repository.
33
34The .orig.tar.gz upstream source file could be generated using this
35"upstream-*" branch in the Debian git repository but it is actually
36copied from upstream tarballs directly.
37
38Due to X.org being highly modular, packaging all X.org applications
39as their own independent packages would have created too many Debian
40packages. For this reason, some X.org applications have been grouped
41into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
42x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
43Most packages, including the X.org server itself and all libraries
44and drivers are, however maintained independently.
45
46The Debian packaging is added by creating the "debian-*" git branch
47which contains the aforementioned "upstream-*" branch plus the debian/
48repository files.
49When a patch has to be applied to the Debian package, two solutions
50are involved:
51* If the patch is available in one of the upstream branches, it
52 may be git'cherry-picked into the Debian repository. In this
53 case, it appears directly in the .diff.gz.
54* Otherwise, the patch is added to debian/patches/ which is managed
55 with quilt as documented in /usr/share/doc/quilt/README.source.