]> git.zerfleddert.de Git - m1-debian/blame - mesa-debian/README.source
faq += mesa dependencies issues
[m1-debian] / mesa-debian / README.source
CommitLineData
accb1901
TG
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
17
18The X Strike Force team maintains X packages in git repositories on
19git.debian.org in the pkg-xorg subdirectory. Most upstream packages
20are actually maintained in git repositories as well, so they often
21just need to be pulled into git.debian.org in a "upstream-*" branch.
22
23The .orig.tar.gz is upstream's mesa tarball.
24
25While building from git, dpkg-source can complain about symlinks vs.
26normal files mismatches. To work around this issue, before uploading,
27and without committing:
28
29 find -type l | while read dest; do src=$(readlink -f $dest); rm $dest; cp $src $dest; done
30
31The Debian packaging is added by creating the "debian-*" git branch
32which contains the aforementioned "upstream-*" branch plus the debian/
33repository files.
34When a patch has to be applied to the Debian package, two solutions
35are involved:
36* If the patch is available in one of the upstream branches, it
37 may be git'cherry-picked into the Debian repository. In this
38 case, it appears directly in the .diff.gz.
39* Otherwise, the patch is added to debian/patches/ which is managed
40 with quilt as documented in /usr/share/doc/quilt/README.source.
41 Thus, the patching system requires a build dependency on quilt.
42
43Updating debian/upstream/signing-key.asc with new keys requires the following steps:
44* fetch the key:
45 gpg [--keyserver $server] --recv-keys $keyid
46* export it to the file:
47 gpg --export-options export-minimal --export -a $keyid >> debian/upstream/signing-key.asc
Impressum, Datenschutz