[Pkg-haskell-commits] darcs: lambdabot: Move from git to darcs.

clint at debian.org clint at debian.org
Sun Oct 2 16:30:18 UTC 2011


Sun Oct  2 16:29:34 UTC 2011  clint at debian.org
  * Move from git to darcs.
  Ignore-this: b7ea208f56c36a32759e0249d5d0376f

    A ./changelog
    A ./control
    A ./copyright
    A ./patches/
    A ./patches/fewer-extensions.diff
    A ./patches/series
    A ./patches/use-different-datapath.diff
    A ./patches/use-different-fptoolspath.diff
    A ./rules
    A ./source/
    A ./source/format
    A ./watch

Sun Oct  2 16:29:34 UTC 2011  clint at debian.org
  * Move from git to darcs.
  Ignore-this: b7ea208f56c36a32759e0249d5d0376f
diff -rN -u old-lambdabot//changelog new-lambdabot//changelog
--- old-lambdabot//changelog	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//changelog	2011-10-02 16:30:17.792012909 +0000
@@ -0,0 +1,12 @@
+lambdabot (4.2.3.2-2) unstable; urgency=low
+
+  * Change fptools path.
+  * Change maintainer to Debian Haskell Group. 
+
+ -- Clint Adams <clint at debian.org>  Sat, 01 Oct 2011 17:04:47 -0400
+
+lambdabot (4.2.3.2-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Clint Adams <clint at debian.org>  Thu, 02 Jun 2011 10:37:55 -0400
diff -rN -u old-lambdabot//control new-lambdabot//control
--- old-lambdabot//control	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//control	2011-10-02 16:30:17.792012909 +0000
@@ -0,0 +1,52 @@
+Source: lambdabot
+Section: net
+Priority: optional
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Build-Depends: debhelper (>= 7)
+  , haskell-devscripts (>= 0.8)
+  , ghc
+  , libghc-http-dev
+  , libghc-iospec-dev
+  , libghc-monadrandom-dev
+  , libghc-arrows-dev
+  , libghc-binary-dev
+  , libghc-brainfuck-dev
+  , libghc-data-memocombinators-dev
+  , libghc-haskell-src-dev
+  , libghc-src-exts-dev
+  , libghc-lambdabot-utils-dev
+  , libghc-logict-dev
+  , libghc-mtl-dev
+  , libghc-network-dev
+  , libghc-numbers-dev
+  , libghc-oeis-dev
+  , libghc-parsec3-dev
+  , libghc-readline-dev
+  , libghc-regex-compat-dev
+  , libghc-show-dev
+  , libghc-tagsoup-dev
+  , libghc-unlambda-dev
+  , libghc-utf8-string-dev
+  , libghc-vector-space-dev
+  , libncurses-dev
+  , libreadline-dev
+Standards-Version: 3.9.2
+Homepage: http://hackage.haskell.org/package/lambdabot
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/lambdabot
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/lambdabot
+
+Package: lambdabot
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: Development tool and advanced IRC bot
+ Lambdabot is an IRC bot written over several years by those on
+ the #haskell IRC channel.
+ .
+ It operates as a command-line tool, embedded in an editor, embedded
+ in GHCi, via Internet Relay Chat and on the Web.
diff -rN -u old-lambdabot//copyright new-lambdabot//copyright
--- old-lambdabot//copyright	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//copyright	2011-10-02 16:30:17.792012909 +0000
@@ -0,0 +1,52 @@
+This package was debianized by Clint Adams <clint at debian.org> on
+Thu, 02 Jun 2011 14:37:55 -0000
+
+It was downloaded from
+http://hackage.haskell.org/package/lambdabot
+
+Upstream Authors:
+
+    Don Stewart http://www.cse.unsw.edu.au/~dons
+
+Copyright: 
+
+    2004, 2005, 2006 Don Stewart (Donald Bruce Stewart)
+    2003 Andrew J. Bromage
+    2003 Shae Erisson
+    2007 Lennart Kolmodin
+    2008 Twan van Laarhoven
+    2005 Einar Karttunen
+    2006 Jason Dagit
+    2005 Stefan Wehr
+    2006 Spencer Janssen
+    2004 Thomas Jaeger
+    2004, 2005 Simon Winwood
+    2005 David House
+
+License:
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject
+to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+The files Plugin/Where.hs, Plugin/Fact.hs, and Plugin/Poll.hs
+are licensed under the LGPL (/usr/share/common-licenses/LGPL).
+
+The files Plugin/{Check.hs,Version.hs,Where.hs,Hoogle.hs,Spell.hs,Compose.hs,Code.hs,UnMtl.hs,Fact.hs,Dynamic.hs,Djinn.hs,BF.hs,DarcsPatchWatch.hs,Pretty.hs,Unlambda.hs,Undo.hs,Seen.hs,Scheck.hs,Babel.hs,Localtime.hs,Poll.hs,Eval.hs}
+are licensed under the GNU GPL, version 2 or later
+(/usr/share/common-licenses/GPL-2).
diff -rN -u old-lambdabot//patches/fewer-extensions.diff new-lambdabot//patches/fewer-extensions.diff
--- old-lambdabot//patches/fewer-extensions.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//patches/fewer-extensions.diff	2011-10-02 16:30:17.796060571 +0000
@@ -0,0 +1,16 @@
+--- a/Plugin/Pl/Common.hs
++++ b/Plugin/Pl/Common.hs
+@@ -1,5 +1,3 @@
+-{-# OPTIONS -fvia-C #-}
+-
+ module Plugin.Pl.Common (
+         Fixity(..), Expr(..), Pattern(..), Decl(..), TopLevel(..),
+         bt, sizeExpr, mapTopLevel, getExpr,
+--- a/Plugin/Pl/RuleLib.hs
++++ b/Plugin/Pl/RuleLib.hs
+@@ -1,4 +1,4 @@
+-{-# OPTIONS_GHC -fglasgow-exts #-} -- fix this later
++{-# OPTIONS_GHC -XScopedTypeVariables #-} -- fix this later
+ {-# LANGUAGE FlexibleInstances, PatternGuards #-}
+ 
+ -- | This marvellous module contributed by Thomas J\344ger
diff -rN -u old-lambdabot//patches/series new-lambdabot//patches/series
--- old-lambdabot//patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//patches/series	2011-10-02 16:30:17.796060571 +0000
@@ -0,0 +1,3 @@
+fewer-extensions.diff
+use-different-datapath.diff
+use-different-fptoolspath.diff
diff -rN -u old-lambdabot//patches/use-different-datapath.diff new-lambdabot//patches/use-different-datapath.diff
--- old-lambdabot//patches/use-different-datapath.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//patches/use-different-datapath.diff	2011-10-02 16:30:17.796060571 +0000
@@ -0,0 +1,14 @@
+--- a/File.hs
++++ b/File.hs
+@@ -3,7 +3,10 @@
+ import Control.Monad
+ import System.Directory
+ import System.FilePath
+-import Paths_lambdabot (getDataFileName)
++-- import Paths_lambdabot (getDataFileName)
++
++getDataFileName :: FilePath -> IO FilePath
++getDataFileName f = return $ "/usr/share/lambdabot" </> f
+ 
+ -- | Constants.
+ lambdabot, local, state :: FilePath
diff -rN -u old-lambdabot//patches/use-different-fptoolspath.diff new-lambdabot//patches/use-different-fptoolspath.diff
--- old-lambdabot//patches/use-different-fptoolspath.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//patches/use-different-fptoolspath.diff	2011-10-02 16:30:17.796060571 +0000
@@ -0,0 +1,11 @@
+--- a/Config.hs
++++ b/Config.hs
+@@ -47,7 +47,7 @@
+         proxy           = Nothing, -- Just ("www-proxy",3128),
+ 
+         fortunePath     = "/usr/share/games/fortunes/",
+-        fptoolsPath     = "/home/dons/fptools",
++        fptoolsPath     = "/usr/local/share/lambdabot/fptools",
+ 
+         ghci            = "ghci",
+         outputDir       = "State/",
diff -rN -u old-lambdabot//rules new-lambdabot//rules
--- old-lambdabot//rules	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//rules	2011-10-02 16:30:17.800101322 +0000
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+
+INSTALL = install
+INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
+INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
+INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
+INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
+
+package=lambdabot
+
+clean:
+	$(checkdir)
+	rm -rf dist debian/$(package)
+	rm -f build build-arch build-indep stamp-configure debian/files debian/substvars
+
+build: build-arch build-indep
+
+build-arch: stamp-configure
+	$(checkdir)
+
+	runhaskell Setup.hs build
+
+	touch build-arch
+
+stamp-configure:
+	$(checkdir)
+
+	runhaskell Setup.hs configure --prefix=/usr
+
+	touch stamp-configure
+
+binary: binary-arch
+
+binary-indep:	checkroot build
+
+binary-arch:	checkroot build
+	$(checkdir)
+
+	runhaskell Setup.hs copy --destdir=$(CURDIR)/debian/$(package)
+	mv debian/$(package)/usr/share/lambdabot-* debian/$(package)/usr/share/lambdabot
+	rm -rf debian/$(package)/usr/share/doc/$(package)-*
+	cd debian/$(package) && $(INSTALL_DIR) \
+		usr/bin \
+		usr/share/doc/$(package) \
+		DEBIAN
+
+	$(INSTALL_FILE) debian/copyright debian/$(package)/usr/share/doc/$(package)/copyright
+
+	$(INSTALL_FILE) debian/changelog debian/$(package)/usr/share/doc/$(package)/changelog.Debian
+	gzip -9f debian/$(package)/usr/share/doc/$(package)/changelog.Debian
+
+	dpkg-shlibdeps -Tdebian/substvars -dDepends debian/$(package)/usr/bin/*
+	dpkg-gencontrol -ldebian/changelog -isp -p$(package) -Tdebian/substvars -Pdebian/$(package)
+
+	cd debian/$(package) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
+
+	chown -R root:root debian/$(package)
+	chmod -R go=rX debian/$(package)
+
+	dpkg --build debian/$(package) ..
+
+define checkdir
+	test -f debian/rules
+endef
+
+checkroot:
+	$(checkdir)
+	test root = "`whoami`"
+
+.PHONY: build build-indep binary binary-arch binary-indep clean checkroot
diff -rN -u old-lambdabot//source/format new-lambdabot//source/format
--- old-lambdabot//source/format	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//source/format	2011-10-02 16:30:17.800101322 +0000
@@ -0,0 +1 @@
+3.0 (quilt)
diff -rN -u old-lambdabot//watch new-lambdabot//watch
--- old-lambdabot//watch	1970-01-01 00:00:00.000000000 +0000
+++ new-lambdabot//watch	2011-10-02 16:30:17.800101322 +0000
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|lambdabot-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/lambdabot \
+    ([\d\.]*\d)/





More information about the Pkg-haskell-commits mailing list