[Pkg-haskell-commits] darcs: washngo: Adopt by the Debian Haskell Group, redo packaging.

Joachim Breitner mail at joachim-breitner.de
Tue Apr 20 08:05:28 UTC 2010


Mon Apr 19 13:33:07 UTC 2010  Joachim Breitner <mail at joachim-breitner.de>
  * Adopt by the Debian Haskell Group, redo packaging. 
  Ignore-this: cc88f3f6e1cbfbea779dd7bad3a12144

    M ./changelog +1
    M ./compat -1 +1
    M ./control -9 +52
    R ./dirs
    R ./docs
    R ./libghc6-wash-dev.doc-base
    M ./rules -110 +8
    A ./source/
    A ./source/format

Mon Apr 19 13:33:07 UTC 2010  Joachim Breitner <mail at joachim-breitner.de>
  * Adopt by the Debian Haskell Group, redo packaging. 
  Ignore-this: cc88f3f6e1cbfbea779dd7bad3a12144
diff -rN -u old-washngo/changelog new-washngo/changelog
--- old-washngo/changelog	2010-04-20 08:05:28.002227200 +0000
+++ new-washngo/changelog	2010-04-20 08:05:28.010227628 +0000
@@ -1,6 +1,7 @@
 washngo (2.12.0-1) UNRELEASED; urgency=low
 
   * Same upstream version, but packaged and published on cabal  
+  * Adopt by the Debian Haskell Group, redo packaging. (Closes: #570284)
 
  -- Joachim Breitner <nomeata at debian.org>  Mon, 19 Apr 2010 15:16:14 +0200
 
diff -rN -u old-washngo/compat new-washngo/compat
--- old-washngo/compat	2010-04-20 08:05:28.002227200 +0000
+++ new-washngo/compat	2010-04-20 08:05:28.010227628 +0000
@@ -1 +1 @@
-4
+7
diff -rN -u old-washngo/control new-washngo/control
--- old-washngo/control	2010-04-20 08:05:28.002227200 +0000
+++ new-washngo/control	2010-04-20 08:05:28.010227628 +0000
@@ -1,17 +1,30 @@
 Source: washngo
-Priority: optional
-Maintainer: Debian QA Group <packages at qa.debian.org>
-Build-Depends: debhelper (>= 4.0.0), ghc6 (>= 6.8.2dfsg1-1), haskell-devscripts (>= 0.6.15), haddock, libghc6-regex-compat-dev, libghc6-parsec-dev
-Standards-Version: 3.6.1
-Section: libs
-Vcs-Git: git://git.debian.org/git/users/jgoerzen/washngo
-Vcs-browser: http://git.debian.org/?p=users/jgoerzen/washngo
+Section: haskell
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Joachim Breitner <nomeata at debian.org>
+Build-Depends: debhelper (>= 7)
+  , cdbs
+  , haskell-devscripts (>= 0.7)
+  , ghc6
+  , ghc6-prof
+  , libghc6-regex-compat-dev
+  , libghc6-regex-compat-prof
+  , libghc6-parsec2-dev
+  , libghc6-parsec2-prof
+Standards-Version: 3.8.4
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/washngo
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/washngo
 Homepage: http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/
 
 Package: libghc6-wash-dev
-Section: libdevel
 Architecture: any
-Depends: ${haskell:Depends}, ghc6 (>= 6.8.2dfsg1), ${shlibs:Depends}
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
 Description: Web Authoring System for Haskell
  WASH is a family of embedded domain specific languages (EDSL) for
  programming Web applications. Each language is embedded in the
@@ -28,3 +41,33 @@
  WASH/HTML for dynamic generation of HTML and XHTML
  .
  WASH/Mail for email processing
+
+Package: libghc6-wash-prof
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: Web Authoring System for Haskell; profiling libraries
+ WASH is a family of embedded domain specific languages (EDSL) for
+ programming Web applications. Each language is embedded in the
+ functional language Haskell, which means that it is implemented as a
+ combinator library.
+ .
+ This package provides the library compiled with profiling enabled.
+
+Package: libghc6-wash-doc
+Section: doc
+Architecture: all
+Depends: ${haskell:Depends}, ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: Web Authoring System for Haskell; documentation
+ WASH is a family of embedded domain specific languages (EDSL) for
+ programming Web applications. Each language is embedded in the
+ functional language Haskell, which means that it is implemented as a
+ combinator library.
+ .
+ This package provides the documentation for the library.
diff -rN -u old-washngo/dirs new-washngo/dirs
--- old-washngo/dirs	2010-04-20 08:05:28.002227200 +0000
+++ new-washngo/dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/bin
diff -rN -u old-washngo/docs new-washngo/docs
--- old-washngo/docs	2010-04-20 08:05:28.002227200 +0000
+++ new-washngo/docs	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-README
-debian/tmp/build/libghc6-wash-dev/dist/doc
diff -rN -u old-washngo/libghc6-wash-dev.doc-base new-washngo/libghc6-wash-dev.doc-base
--- old-washngo/libghc6-wash-dev.doc-base	2010-04-20 08:05:28.002227200 +0000
+++ new-washngo/libghc6-wash-dev.doc-base	1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
-Document: wash
-Title: Debian WASH Manual
-Author: Peter Thiemann
-Abstract: This manual describes the WASH API.
-Section: Apps/Programming
-
-Format: HTML
-Index: /usr/share/doc/libghc6-wash-dev/doc/html/index.html
-Files: /usr/share/doc/libghc6-wash-dev/doc/html/*.html
-
-  
diff -rN -u old-washngo/rules new-washngo/rules
--- old-washngo/rules	2010-04-20 08:05:28.002227200 +0000
+++ new-washngo/rules	2010-04-20 08:05:28.010227628 +0000
@@ -1,114 +1,12 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+DEB_CABAL_PACKAGE = wash
+DEB_BUILD_DEPENDENCIES = build-arch
 
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
 
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-# shared library versions, option 1
-version=2.0.5
-major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	# diff.gz doesn't note this deletion
-	-rm -f Setup.lhs
-	touch configure-stamp
-
-
-build: build-stamp
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	#$(MAKE)
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-	-./setup clean
-	rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist Setup
-	rm -f config.log config.status
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-	dh_haskell -a
-	dh_haskell_depends -a
-	cd debian/tmp/build/libghc6-wash-dev && $(MAKE) haddock
-	mv debian/libghc6-wash-dev/usr/lib/haskell-packages/ghc6/bin/wash2hs \
-		debian/libghc6-wash-dev/usr/bin/
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples Examples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+install/libghc6-$(CABAL_PACKAGE)-dev :: 
+	$(DEB_SETUP_BIN_NAME) copy --builddir=dist-ghc6 --destdir=debian/libghc6-$(CABAL_PACKAGE)-dev
+	rm -rf debian/libghc6-$(CABAL_PACKAGE)-dev/usr/share/doc
+	rm -rf debian/libghc6-$(CABAL_PACKAGE)-dev/usr/bin/washc
diff -rN -u old-washngo/source/format new-washngo/source/format
--- old-washngo/source/format	1970-01-01 00:00:00.000000000 +0000
+++ new-washngo/source/format	2010-04-20 08:05:28.006227414 +0000
@@ -0,0 +1 @@
+3.0 (quilt)





More information about the Pkg-haskell-commits mailing list