[Pkg-haskell-commits] r1111 - in /packages/drift/trunk: debian/README.Debian debian/changelog debian/control debian/drift.doc-base debian/rules src/Rules.hs

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Mar 16 22:42:27 UTC 2008


Author: arjan
Date: Sun Mar 16 22:42:27 2008
New Revision: 1111

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=1111
Log:
 r2700 at nebula:  arjan | 2008-03-16 23:33:45 +0100
 * Added README.Debian which explains how to rebuild DrIFT in case you
   want to add your own derivation rules. (Closes: #433412)
 * Fix lintian warning "doc-base-unknown-section drift-manual:6
   Apps/Programming"
 * debian/control:
   - Let the Vcs-* fields point to the trunk branch.
   - Add doc-base to the Suggests.
 * debian/rules:
   - Remove src/Rules.hs on clean which is generated during the build.

Added:
    packages/drift/trunk/debian/README.Debian
Removed:
    packages/drift/trunk/src/Rules.hs
Modified:
    packages/drift/trunk/debian/changelog
    packages/drift/trunk/debian/control
    packages/drift/trunk/debian/drift.doc-base
    packages/drift/trunk/debian/rules

Added: packages/drift/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/drift/trunk/debian/README.Debian?rev=1111&op=file
==============================================================================
--- packages/drift/trunk/debian/README.Debian (added)
+++ packages/drift/trunk/debian/README.Debian Sun Mar 16 22:42:27 2008
@@ -1,0 +1,45 @@
+DrIFT can be extended to use new rules supplied by the user by adding
+the new rules to the src/Rules directory of the source and recompiling
+DrIFR (see chapter 4 of the manual). 
+
+To create a Debian package of DrIFT with your own rules file you have
+to download the source package. add you own Haskell source file with
+rules, build the package and install the resulting Debian packages:
+
+1. First make sure you have (added) the right deb-src lines to your
+   /etc/apt/sources.lst file. If your /etc/apt/sources.lst file
+   contains
+   
+    deb http://ftp.nl.debian.org/debian/ lenny main
+
+   You should also have the corresponding deb-src line
+
+    deb-src http://ftp.nl.debian.org/debian/ lenny main
+
+2. Install the necessary tools to rebuild the DrIFT package
+
+    # apt-get update
+    # apt-get install devscripts build-essential
+    # apt-get build-dep drift
+
+3. Download and unpack the source package
+
+    # apt-get source drift
+    # cd drift-*
+
+4. Add your own rules as additional Haskell files to the
+   src/Rules directory.
+
+5. Append the Debian version with your local suffix which indicates
+   that you have your changed version of DrIFT installed and rebuild
+   the package
+
+   # dch --local local "Added my own rules"
+   # debuild
+
+6. Install the resulting packages
+
+   # cd ..
+   # dpkg -i drift_*local*.deb
+
+ -- Arjan Oosting <arjan at debian.org>, Sun, 16 Mar 2008 23:32:59 +0100

Modified: packages/drift/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/drift/trunk/debian/changelog?rev=1111&op=diff
==============================================================================
--- packages/drift/trunk/debian/changelog (original)
+++ packages/drift/trunk/debian/changelog Sun Mar 16 22:42:27 2008
@@ -1,3 +1,17 @@
+drift (2.2.3-2~pre1) unstable; urgency=low
+
+  * Added README.Debian which explains how to rebuild DrIFT in case you
+    want to add your own derivation rules. (Closes: #433412)
+  * Fix lintian warning "doc-base-unknown-section drift-manual:6
+    Apps/Programming"
+  * debian/control:
+    - Let the Vcs-* fields point to the trunk branch.
+    - Add doc-base to the Suggests.
+  * debian/rules:
+    - Remove src/Rules.hs on clean which is generated during the build.
+
+ -- Arjan Oosting <arjan at debian.org>  Sun, 16 Mar 2008 18:36:48 +0100
+
 drift (2.2.3-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/drift/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/drift/trunk/debian/control?rev=1111&op=diff
==============================================================================
--- packages/drift/trunk/debian/control (original)
+++ packages/drift/trunk/debian/control Sun Mar 16 22:42:27 2008
@@ -4,8 +4,8 @@
 Maintainer: Arjan Oosting <arjan at debian.org>
 Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5.0.0), dpatch, ghc6, texlive-latex-base | tetex-bin, tex-common (>= 0.23), texinfo, texi2html
 Standards-Version: 3.7.3
-Vcs-Svn: svn://svn.debian.org/svn/pkg-haskell/packages/drift
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-haskell/packages/drift
+Vcs-Svn: svn://svn.debian.org/svn/pkg-haskell/packages/drift/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-haskell/packages/drift/trunk
 Homepage: http://repetae.net/john/computer/haskell/DrIFT/
 
 Package: drift
@@ -13,6 +13,7 @@
 Section: devel
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: ghc6
+Suggests: doc-base
 Description: type sensitive preprocessor for Haskell
  DrIFT automates instance derivation for classes that aren't supported
  by the standard compilers. In addition, instances can be produced in

Modified: packages/drift/trunk/debian/drift.doc-base
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/drift/trunk/debian/drift.doc-base?rev=1111&op=diff
==============================================================================
--- packages/drift/trunk/debian/drift.doc-base (original)
+++ packages/drift/trunk/debian/drift.doc-base Sun Mar 16 22:42:27 2008
@@ -3,7 +3,7 @@
 Author: Noel Winstanley and John Meacham
 Abstract: This is a guide to using DrIFT, a type sensitive
  preprocessor for Haskell 98.
-Section: Apps/Programming
+Section: Programming
 
 Format: postscript
 Files: /usr/share/doc/drift/drift.ps.gz

Modified: packages/drift/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/drift/trunk/debian/rules?rev=1111&op=diff
==============================================================================
--- packages/drift/trunk/debian/rules (original)
+++ packages/drift/trunk/debian/rules Sun Mar 16 22:42:27 2008
@@ -18,6 +18,7 @@
 clean::
 	rm -f docs/stamp-vti
 	rm -f docs/version.texi 
+	rm -f src/Rules.hs
 
 common-build-arch::
 	rm -f "$(DEB_BUILDDIR)/docs/drift.html"




More information about the Pkg-haskell-commits mailing list