[SCM] Installer for game data files branch, testsuite, updated. 521cbfd9ee9133726037dd0213d70a46a2552c63

Jon Dowland jmtd at debian.org
Thu Dec 17 16:48:40 UTC 2009


The following commit has been merged in the testsuite branch:
commit 148bdfacda47b89eee9abf0a6fbb17a54c8585fd
Author: Jon Dowland <jmtd at debian.org>
Date:   Thu Dec 17 16:41:01 2009 +0000

    bug with slipstream definition

diff --git a/doc/bugs/slipstream.mdwn b/doc/bugs/slipstream.mdwn
new file mode 100644
index 0000000..56677c5
--- /dev/null
+++ b/doc/bugs/slipstream.mdwn
@@ -0,0 +1,28 @@
+slipstream documentation is as follows
+
+    slipstream(deb,relpath,file1,file2...)
+         insert file1,file2... into the deb, under the
+         path 'relpath', relative to the package root, e.g.:
+             slipstream(deb, 'usr/share/doc', 'README', 'copyright')
+                 => /usr/share/doc/README
+                 => /usr/share/doc/copyright
+
+However, the relpath argument is passed through to `slipstream_file`,
+which names it locally `destpath`, copies the file to that location
+and invokes md5sum on it.
+
+Thus, if relpath is a directory, md5sum will be called for it and will
+fail.
+
+It is actually used by the doom code as relative file path, i.e.
+
+    slipstream(deb,src,file1,file2...)
+         insert file1,file2... into the deb, as filename
+         'src', relative to the package root, e.g.:
+             slipstream(deb, 'usr/share/doc/file', 'README', 'copyright')
+                 => /usr/share/doc/file
+
+The file contents will be that of the last argument, 'copyright'.
+
+Both quake3 and rott need to insert multiple files. Each branch has solved
+this bug in a different way.

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list