Hi Ian,

I have prepared an NMU to fix the the FTBFS. It is an upgrade to the new
upstream version of alex and I have included some other fixes as well
(see the changelog below)

Attached is the interdiff (excluding the upstream changes).

Greetings Arjan

alex (2.2-0.1) unstable; urgency=low

  * Non-maintainer upload.
  * New upstream release (Closes: #464360)
    - Cabal 1.2 is now required. (Closes: #460388)
    - ByteString wrappers: use Alex to lex ByteStrings directly.
    - Fixes a spelling mistake. (Closes: #419671)
  * debian/control:
    - Added Homepage field.
    - Bump the build dependency on ghc6 to 6.8.2 as the packages needs
      Cabal 1.2 to build.
    - Bump the Standards-Version to 3.7.3. No changes needed.
  * debian/copyright:
    - Fix debian-copyright-file-uses-obsolete-national-encoding lintian
      warning.
    - Update debian/copyright file with info from upstream LICENSE file.
  * debian/get_version.hs: Updated for Cabal 1.2
  * debian/rules:
    - Fix debian-rules-ignores-make-clean-error lintian warning.
    - Remove the LICENSE installed by ./setup copy
  * Add debian/watch file.

 -- Arjan Oosting <[EMAIL PROTECTED]>  Sun, 27 Apr 2008 15:31:08 +0200



--- alex-2.1.0~rc1/debian/changelog	2008-04-27 16:19:19.000000000 +0200
+++ alex-2.2/debian/changelog	2008-04-27 16:19:19.000000000 +0200
@@ -1,3 +1,27 @@
+alex (2.2-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release (Closes: #464360)
+    - Cabal 1.2 is now required. (Closes: #460388)
+    - ByteString wrappers: use Alex to lex ByteStrings directly.
+    - Fixes a spelling mistake. (Closes: #419671)
+  * debian/control:
+    - Added Homepage field.
+    - Bump the build dependency on ghc6 to 6.8.2 as the packages needs
+      Cabal 1.2 to build.
+    - Bump the Standards-Version to 3.7.3. No changes needed.
+  * debian/copyright:
+    - Fix debian-copyright-file-uses-obsolete-national-encoding lintian
+      warning.
+    - Update debian/copyright file with info from upstream LICENSE file.
+  * debian/get_version.hs: Updated for Cabal 1.2
+  * debian/rules: 
+    - Fix debian-rules-ignores-make-clean-error lintian warning.
+    - Remove the LICENSE installed by ./setup copy
+  * Add debian/watch file.
+
+ -- Arjan Oosting <[EMAIL PROTECTED]>  Sun, 27 Apr 2008 15:31:08 +0200
+
 alex (2.1.0~rc1-1) unstable; urgency=low
 
   * New upstream (release candidate) version.
--- alex-2.1.0~rc1/debian/control	2008-04-27 16:19:19.000000000 +0200
+++ alex-2.2/debian/control	2008-04-27 16:19:19.000000000 +0200
@@ -2,8 +2,9 @@
 Section: devel
 Priority: optional
 Maintainer: Ian Lynagh (wibble) <[EMAIL PROTECTED]>
-Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 4), ghc6 (>= 6.4.2), jade, docbook-utils, docbook-xml, docbook-xsl, xsltproc
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 4), ghc6 (>= 6.8.2), jade, docbook-utils, docbook-xml, docbook-xsl, xsltproc
+Homepage: http://www.haskell.org/alex/
 
 Package: alex
 Architecture: any
--- alex-2.1.0~rc1/debian/copyright	2008-04-27 16:19:19.000000000 +0200
+++ alex-2.2/debian/copyright	2008-04-27 16:19:19.000000000 +0200
@@ -8,34 +8,33 @@
 		
 Copyright:
 
-The Glasgow Haskell Compiler License
-
-Copyright 1999, The University Court of the University of Glasgow.
+Copyright (c) 1995-2003, Chris Dornan and Simon Marlow
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
+modification, are permitted provided that the following conditions are
+met:
 
-· Redistributions of source code must retain the above copyright notice,
-  this list of conditions and the following disclaimer.
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
 
-· Redistributions in binary form must reproduce the above copyright notice,
-  this list of conditions and the following disclaimer in the documentation
-  and/or other materials provided with the distribution.
-
-· Neither name of the University nor the names of its contributors may be
-  used to endorse or promote products derived from this software without
-  specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
-GLASGOW AND THE CONTRIBUTORS ÄS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+
+    * Neither the name of the copyright holders, nor the names of the
+      contributors may be used to endorse or promote products derived
+      from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- alex-2.1.0~rc1/debian/get_version.hs	2008-04-27 16:19:19.000000000 +0200
+++ alex-2.2/debian/get_version.hs	2008-04-27 16:19:19.000000000 +0200
@@ -4,10 +4,11 @@
 import Distribution.Package
 import Distribution.PackageDescription
 import Distribution.Simple.Utils
+import Distribution.Verbosity
 import Distribution.Version
 
 main :: IO ()
-main = do fp <- findPackageDesc "."
-          pd <- readPackageDescription fp
-          putStr $ showVersion $ pkgVersion $ package pd
+main = do fp <- findPackageDesc normal "."
+          pd <- readPackageDescription normal fp
+          putStr $ showVersion $ pkgVersion $ package $ packageDescription pd
 
--- alex-2.1.0~rc1/debian/rules	2008-04-27 16:19:19.000000000 +0200
+++ alex-2.2/debian/rules	2008-04-27 16:19:19.000000000 +0200
@@ -38,7 +38,7 @@
 	dh_testroot
 	rm -f configure-stamp build-stamp
 
-	-$(MAKE) -C doc clean
+	[ ! -f doc/config.mk ] || $(MAKE) -C doc clean
 	# Remove these so setup clean oesn't remove the generated files
 	rm -f src/Parser.y src/Scan.x
 	ghc6 --make Setup.lhs -o setup
@@ -58,6 +58,7 @@
 	dh_installdirs usr/share/doc/alex/html
 
 	./setup copy --destdir=`pwd`/debian/`dh_listpackages`
+	rm -r `pwd`/debian/`dh_listpackages`/usr/share/doc/alex-*/
 
 	cp -a doc/alex/* `pwd`/debian/`dh_listpackages`/usr/share/doc/alex/html
 	cp -a examples   `pwd`/debian/`dh_listpackages`/usr/share/doc/alex
--- alex-2.1.0~rc1/debian/watch	1970-01-01 01:00:00.000000000 +0100
+++ alex-2.2/debian/watch	2008-04-27 16:19:19.000000000 +0200
@@ -0,0 +1,2 @@
+version=3
+http://www.haskell.org/alex/ .*/alex-([\d\.]*).tar.gz

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend

Reply via email to