--- haskell-happs-ixset-0.9.2.1.orig/debian/README.Debian +++ haskell-happs-ixset-0.9.2.1/debian/README.Debian @@ -0,0 +1,10 @@ +haskell-happs-ixset for Debian +------------------------------ + +For pointers to documentation, see the README.Debian file in +libghc6-happs-server-dev. + +You probably shouldn't use anything from this package without using +the whole HAppS library + + -- Kari Pahula , Mon, 7 Apr 2008 18:31:39 +0300 --- haskell-happs-ixset-0.9.2.1.orig/debian/compat +++ haskell-happs-ixset-0.9.2.1/debian/compat @@ -0,0 +1 @@ +6 --- haskell-happs-ixset-0.9.2.1.orig/debian/rules +++ haskell-happs-ixset-0.9.2.1/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + +include $(CURDIR)/debian/hlibrary.mk --- haskell-happs-ixset-0.9.2.1.orig/debian/changelog +++ haskell-happs-ixset-0.9.2.1/debian/changelog @@ -0,0 +1,76 @@ +haskell-happs-ixset (0.9.2.1-3build1) jaunty; urgency=low + + * No-change rebuild against new hslogger. + + -- Luca Falavigna Thu, 05 Feb 2009 15:49:42 +0000 + +haskell-happs-ixset (0.9.2.1-3) unstable; urgency=low + + * Updated hlibrary.mk to call dh_haskell_depends. + + -- Kari Pahula Mon, 07 Apr 2008 18:30:00 +0300 + +haskell-happs-ixset (0.9.2.1-2) unstable; urgency=low + + * Split the package according to upstream's scheme. + + -- Kari Pahula Sun, 30 Mar 2008 16:35:06 +0300 + +happs (0.9.2.1-1) unstable; urgency=low + + * New upstream release (Closes: #443053, #468937) + * Debhelper compat 4 -> 6. + * Standards-Version 3.7.3 (no changes needed). + * Set Homepage control field. + * Use haskell-devscripts and hlibrary.mk for building. + * Provided a README.Debian file with some (hopefully) useful links. + + -- Kari Pahula Sat, 29 Mar 2008 20:58:22 +0200 + +happs (0.8.8+darcs20070523-2) unstable; urgency=low + + * Added missing build-dep libghc6-hslogger-dev (Closes: #427526) + + -- Kari Pahula Mon, 04 Jun 2007 22:27:45 +0300 + +happs (0.8.8+darcs20070523-1) unstable; urgency=low + + * New upstream release + * Added -DUNIX to ghc-options in HAppS.cabal + * Correct deps for ghc6.6.1 (Closes: #427325, #426629) + + -- Kari Pahula Sun, 03 Jun 2007 12:24:37 +0300 + +happs (0.8.8+darcs20070329-2) unstable; urgency=low + + * Added versions to the dependencies on libghc6-*-dev. (Closes: #421202) + + -- Kari Pahula Fri, 27 Apr 2007 17:57:06 +0300 + +happs (0.8.8+darcs20070329-1) unstable; urgency=low + + * New upstream release (darcs snapshot 20070329) + - No longer has HList as a dependency + * Added missing dependencies for libghc6-happs-dev (Closes: #413826) + + -- Kari Pahula Sat, 21 Apr 2007 09:11:04 +0300 + +happs (0.8.8-1) unstable; urgency=low + + * New upstream release + * Use version 0.6 of Igloo's Haskell cabal library debian/rules + (Closes: #413475) + * Included upstream changelog from http://happs.org/auto/Changelog + * Added the xslt/ directory and the TODO file to + /usr/share/doc/libghc6-happs-dev/ + + -- Kari Pahula Thu, 19 Apr 2007 17:32:12 +0300 + +happs (0.8.4.dfsg1-1) unstable; urgency=low + + * Initial release (Closes: #400042) + * Repackaged the upstream tarball to remove a source comment containing + a lengthy quotation from RFC2045 + + -- Kari Pahula Wed, 24 Jan 2007 17:38:15 +0200 + --- haskell-happs-ixset-0.9.2.1.orig/debian/control +++ haskell-happs-ixset-0.9.2.1/debian/control @@ -0,0 +1,20 @@ +Source: haskell-happs-ixset +Section: libdevel +Priority: optional +Maintainer: Kari Pahula +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 6), ghc6 (>= 6.8.2), haskell-devscripts, cdbs, libghc6-base-dev, libghc6-happs-util-dev, libghc6-happs-state-dev, libghc6-happs-data-dev, libghc6-mtl-dev, libghc6-hslogger-dev, libghc6-syb-with-class-dev, libghc6-http-dev, libghc6-containers-dev +Homepage: http://happs.org/ + +Package: libghc6-happs-ixset-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${haskell:Depends} +Description: Library for relational queries on Haskell sets + HAppS is a Haskell library for building Internet applications. + . + With this library, selected parts of user's data structures can be + indexed using an easy to use template-haskell function, without + needing to write code to marshall data to/from an external relational + database just for efficient queries. IxSet relies on generics and TH + to help avoid writing the boilerplate code normally required for such + tasks. --- haskell-happs-ixset-0.9.2.1.orig/debian/hlibrary.mk +++ haskell-happs-ixset-0.9.2.1/debian/hlibrary.mk @@ -0,0 +1,114 @@ +# -*- mode: makefile -*- +# Copyright 2008 Kari Pahula +# Description: A class for Haskell library packages +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +include $(_cdbs_rules_path)/debhelper.mk$(_cdbs_makefile_suffix) + +CABAL_PACKAGE = $(shell cat *.cabal |\ + perl -ne 'if (/^name:\s*(.*)$$/i) {$$_ = $$1; tr/A-Z/a-z/; print; exit 0;}') + +ENABLE_PROFILING = $(shell egrep -qe '^Package: libghc6-.*-prof$$' debian/control && echo --enable-library-profiling; exit 0) + +# TODO: +# - some of this would probably be useful for generic Haskell programs, +# not just libraries +# - provide more hooks +# - get this included in the cdbs package once this gets mature enough (maybe?) + +clean:: + test ! -e setup-bin || ./setup-bin clean + rm -rf dist dist-ghc6 dist-hugs setup-bin Setup.hi Setup.ho Setup.o .*config* + rm -f build-ghc6-stamp build-hugs-stamp + +setup-bin: + if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi + for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc6 -package Cabal $$setup -o setup-bin; exit 0; fi; done + +dist-ghc6: setup-bin + ./setup-bin configure --ghc --prefix=/usr/lib/haskell-packages/ghc6 -v2 $(ENABLE_PROFILING) $(DEB_SETUP_GHC6_CONFIGURE_ARGS) + mv dist dist-ghc6 + +build-ghc6-stamp: dist-ghc6 + mv dist-ghc6 dist + ./setup-bin build + mv dist dist-ghc6 + touch build-ghc6-stamp + +build/libghc6-$(CABAL_PACKAGE)-prof build/libghc6-$(CABAL_PACKAGE)-dev:: build-ghc6-stamp + +# Provide two alternate names for the -doc package +build/haskell-$(CABAL_PACKAGE)-doc build/libghc6-$(CABAL_PACKAGE)-doc:: dist-ghc6 + mv dist-ghc6 dist + ./setup-bin haddock + mv dist dist-ghc6 + +dist-hugs: setup-bin + ./setup-bin configure --hugs --prefix=/usr -v2 + mv dist dist-hugs + +build/libhugs-$(CABAL_PACKAGE):: dist-hugs + mv dist-hugs dist + ./setup-bin build $(DEB_SETUP_HUGS_CONFIGURE_ARGS) + mv dist dist-hugs + +install/libghc6-$(CABAL_PACKAGE)-dev:: setup-bin + mv dist-ghc6 dist + ./setup-bin copy --destdir=debian/libghc6-$(CABAL_PACKAGE)-dev + find debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/ -name "*_p.a" -exec rm '{}' ';' + find debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/ -name "*.p_hi" -exec rm '{}' ';' + rm -rf debian/libghc6-$(CABAL_PACKAGE)-dev/usr/share/doc/* + dh_haskell_prep -plibghc6-$(CABAL_PACKAGE)-dev + cp dist/installed-pkg-config debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/*/ + rm -rf debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/share/ + dh_haskell_depends -plibghc6-$(CABAL_PACKAGE)-dev +# workaround for #473549 + sed -re 's/<< ([0-9.]*)\)/<< \1+\)/g' -i debian/*-dev.substvars + mv dist dist-ghc6 + +install/libghc6-$(CABAL_PACKAGE)-prof:: setup-bin + mv dist-ghc6 dist + ./setup-bin copy --destdir=debian/libghc6-$(CABAL_PACKAGE)-prof + find debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/lib/ -name "*[^p].a" -exec rm '{}' ';' + find debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/lib/ -name "*.o" -exec rm '{}' ';' + find debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/lib/ -name "*.hi" -exec rm '{}' ';' + rm -rf debian/libghc6-$(CABAL_PACKAGE)-prof/usr/share/doc/* + dh_haskell_prep -plibghc6-$(CABAL_PACKAGE)-prof + cp dist/installed-pkg-config debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/*/ + rm -rf debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/share/ + dh_haskell_depends -plibghc6-$(CABAL_PACKAGE)-prof +# workaround for #473549 + sed -re 's/<< ([0-9.]*)\)/<< \1+\)/g' -i debian/*-prof.substvars + mv dist dist-ghc6 + +install/haskell-$(CABAL_PACKAGE)-doc install/libghc6-$(CABAL_PACKAGE)-doc:: setup-bin + mv dist-ghc6 dist + mkdir -p debian/libghc6-$(CABAL_PACKAGE)-doc/usr/share/doc/libghc6-$(CABAL_PACKAGE)-doc/html/ + cp -r dist/doc/html/*/* debian/libghc6-$(CABAL_PACKAGE)-doc/usr/share/doc/*/html/ + mv dist dist-ghc6 + +install/libhugs-$(CABAL_PACKAGE):: setup-bin + mv dist-hugs dist + ./setup-bin copy --destdir=debian/libhugs-$(CABAL_PACKAGE) + rm -rf debian/libhugs-$(CABAL_PACKAGE)/usr/share/doc/* + dh_haskell_prep -plibhugs-$(CABAL_PACKAGE) + mv dist dist-hugs + --- haskell-happs-ixset-0.9.2.1.orig/debian/copyright +++ haskell-happs-ixset-0.9.2.1/debian/copyright @@ -0,0 +1,42 @@ +This package was debianised by Kari Pahula on Tue, +23 Jan 2007. + +HAppS-IxSet's source was downloaded from +http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HAppS-IxSet-0.9.2.1 + +Upstream Authors: Alex Jacobson, Einar Karttunen, Shae Erisson, + David Himmelstrup, Dmitry Astapov, Joe Edmonds, Stefan Aeschbacher + +Copyright: 2004-2008 HAppS.org + +License: +Redistribution and use in source and binary forms, with or without +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 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 HAppS.org; 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 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. + +The Debian packaging is (C) 2008, Kari Pahula and is +licensed under the GPL version 2 or (at your option) any later +version, see `/usr/share/common-licenses/GPL'.