Author: branden
Date: 2004-03-25 14:16:42 -0500 (Thu, 25 Mar 2004)
New Revision: 1178

Modified:
   HACKING
Log:
Add section describing how to build xfree86 packages from the trunk.


Modified: HACKING
===================================================================
--- HACKING     2004-03-25 19:01:12 UTC (rev 1177)
+++ HACKING     2004-03-25 19:16:42 UTC (rev 1178)
@@ -239,6 +239,36 @@
   didn't have the package under revision control.  Now they simply need to do
   what a changelog should do -- log changes.
 
+Building the package
+--------------------
+
+The following procedure is recommended for build-testing the trunk.  Example
+commands are given for most steps.
+
+ 1) Ensure Debian unstable is in your sources.list.
+ 2) Install the packages you'll need to build the xfree86 source package.
+     apt-get build-dep xfree86
+ 3) Install devscripts, which will make life easier.
+     apt-get install devscripts
+ 4) Retrieve the Debian xfree86 source package.
+     apt-get source xfree86
+ 5) Change directories into the unpackaged source tree.
+     cd xfree86-4.3.0
+ 6) Remove the debian/ directory.
+     rm -r debian
+ 7) Export the debian directory of the trunk of the XFree86 Subversion
+   repository.
+     svn export svn://necrotic.deadbeast.net/xfree86/trunk/debian debian
+   (You can use the --revision option if necessary.)
+ 8) Create a changelog entry that identifies this as a local build.  THIS STEP 
IS
+   IMPORTANT.  DO NOT LEAVE IT OUT.
+     dch -D local -i "Local build for testing purposes."
+   (Feel free to be more specific with the text of the changelog entry.)
+ 9) Build the package.
+     debuild -us -uc
+10) Upgrade to the resulting packages.
+     dpkg -iO ../*.deb
+
 $Id$
 
 vim:set ai et tw=80:

Reply via email to