debian/0000755000000000000000000000000012151073746007174 5ustar debian/watch0000644000000000000000000000034212036250267010221 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|hs-bibutils-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/hs-bibutils \ ([\d\.]*\d)/ debian/rules0000755000000000000000000000015512036250267010252 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/copyright0000644000000000000000000000173212036250266011126 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: Haskell bindings to bibutils Maintainer: Andrea Rossato Source: http://hackage.haskell.org/package/hs-bibutils Files: * Copyright: © 2008, Andrea Rossato License: GPL On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: © 2011, Giovanni Mascellani License: GPL-3+ On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. Files: bibutils/* Comment: This convenience copy of libbibutils is not used by the Debian package. Copyright: 1995-2009 Christopher Putnam License: GPL-2+ On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000012036250267010471 5ustar debian/source/format0000644000000000000000000000001412036250267011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012036250267010620 5ustar debian/patches/fix_cabal.patch0000644000000000000000000000752012036250267013555 0ustar From: Giovanni Mascellani Subject: Fix .cabal file for using Debian bibutils package Forwarded: not-needed Last-Update: 2011-08-13 The .cabal files instructs the compiler to use the embedded bibutils library. This patch makes it use the Debian packaged one. Index: haskell-hs-bibutils-4.12/hs-bibutils.cabal =================================================================== --- haskell-hs-bibutils-4.12.orig/hs-bibutils.cabal 2011-11-05 00:08:45.000000000 +0100 +++ haskell-hs-bibutils-4.12/hs-bibutils.cabal 2011-11-05 00:08:59.000000000 +0100 @@ -29,29 +29,6 @@ maintainer: andrea.rossato@unitn.it cabal-version: >= 1.4 build-type: Simple -extra-source-files: - bibutils/adsout.c bibutils/adsout.h bibutils/adsout_journals.c bibutils/bibcore.c bibutils/bibl.c - bibutils/bibl.h bibutils/biblatexin.c bibutils/biblatexin.h bibutils/bibtexin.c - bibutils/bibtexin.h bibutils/bibtexout.c bibutils/bibtexout.h bibutils/bibtextypes.c - bibutils/bibutils.c bibutils/bibutils.h bibutils/bltypes.c bibutils/charsets.c - bibutils/charsets.h bibutils/copacin.c bibutils/copacin.h bibutils/copactypes.c - bibutils/doi.c bibutils/doi.h bibutils/ebiin.c bibutils/ebiin.h - bibutils/endin.c bibutils/endin.h bibutils/endout.c bibutils/endout.h - bibutils/endtypes.c bibutils/endxmlin.c bibutils/endxmlin.h bibutils/entities.c - bibutils/entities.h bibutils/fields.c bibutils/fields.h bibutils/gb18030.c - bibutils/gb18030.h bibutils/gb18030_enumeration.c bibutils/is_ws.c bibutils/is_ws.h - bibutils/isiin.c bibutils/isiin.h bibutils/isiout.c bibutils/isiout.h - bibutils/isitypes.c bibutils/latex.c bibutils/latex.h bibutils/list.c - bibutils/list.h bibutils/marc.c bibutils/marc.h bibutils/medin.c - bibutils/medin.h bibutils/modsin.c bibutils/modsin.h bibutils/modsout.c - bibutils/modsout.h bibutils/modstypes.c bibutils/modstypes.h bibutils/name.c - bibutils/name.h bibutils/newstr.c bibutils/newstr.h bibutils/newstr_conv.c - bibutils/newstr_conv.h bibutils/reftypes.c bibutils/reftypes.h bibutils/risin.c - bibutils/risin.h bibutils/risout.c bibutils/risout.h bibutils/ristypes.c bibutils/rules.h - bibutils/serialno.c bibutils/serialno.h bibutils/strsearch.c bibutils/strsearch.h - bibutils/title.c bibutils/title.h bibutils/utf8.c bibutils/utf8.h bibutils/wordin.c - bibutils/wordin.h bibutils/wordout.c bibutils/wordout.h bibutils/xml.c - bibutils/xml.h bibutils/xml_encoding.c bibutils/xml_encoding.h library exposed-modules: Text.Bibutils @@ -60,22 +37,8 @@ ghc-prof-options: -prof -auto-all hs-source-dirs: src extensions: ForeignFunctionInterface - include-dirs: bibutils - includes: bibutils.h - c-sources: - cbits/stub.c - bibutils/adsout.c bibutils/bibcore.c bibutils/bibl.c bibutils/biblatexin.c bibutils/bibtexin.c - bibutils/bibtexout.c bibutils/bibtextypes.c bibutils/bibutils.c bibutils/bltypes.c - bibutils/charsets.c bibutils/copacin.c bibutils/copactypes.c bibutils/doi.c - bibutils/ebiin.c bibutils/endin.c bibutils/endout.c bibutils/endtypes.c - bibutils/endxmlin.c bibutils/entities.c bibutils/fields.c bibutils/gb18030.c - bibutils/is_ws.c bibutils/isiin.c bibutils/isiout.c bibutils/isitypes.c - bibutils/latex.c bibutils/list.c bibutils/marc.c bibutils/medin.c - bibutils/modsin.c bibutils/modsout.c bibutils/modstypes.c bibutils/name.c - bibutils/newstr.c bibutils/newstr_conv.c bibutils/reftypes.c bibutils/risin.c - bibutils/risout.c bibutils/ristypes.c bibutils/serialno.c bibutils/strsearch.c - bibutils/title.c bibutils/utf8.c bibutils/wordin.c bibutils/wordout.c - bibutils/xml.c bibutils/xml_encoding.c + pkgconfig-depends: bibutils + c-sources: cbits/stub.c if impl(ghc >= 6.10) build-depends: base >= 4, syb debian/patches/series0000644000000000000000000000004612036250267012035 0ustar fix_cabal.patch bibutils-include-path debian/patches/bibutils-include-path0000644000000000000000000000202312036250267014730 0ustar Description: fix include paths When using the pkg-config file of libbibutils, the includes are to be searched for in bibutils/ Author: Joachim Breitner --- haskell-hs-bibutils-4.12.orig/src/Text/Bibutils.hsc +++ haskell-hs-bibutils-4.12/src/Text/Bibutils.hsc @@ -403,9 +403,9 @@ newtype BiblioOut = BiblioOut { unBiblio newtype FormatOpt = FormatOpt { unFormatOpt :: CInt } -#include "bibtexout.h" -#include "modsout.h" -#include "wordout.h" +#include "bibutils/bibtexout.h" +#include "bibutils/modsout.h" +#include "bibutils/wordout.h" #{enum FormatOpt, FormatOpt , bibout_finalcomma = BIBOUT_FINALCOMMA @@ -441,8 +441,8 @@ newtype Charset = Charset { charset :: C combineFormatOpts :: [FormatOpt] -> FormatOpt combineFormatOpts = FormatOpt . foldr ((.|.) . unFormatOpt) 0 -#include "bibutils.h" -#include "bibl.h" +#include "bibutils/bibutils.h" +#include "bibutils/bibl.h" #let alignment t = "%lu", (unsigned long)offsetof(struct {char x__; t (y__); }, y__) foreign import ccall unsafe "bibl_init" debian/compat0000644000000000000000000000000212147616217010373 0ustar 9 debian/control0000644000000000000000000000414312147625350010600 0ustar Source: haskell-hs-bibutils Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Giovanni Mascellani Build-Depends: debhelper (>= 9) , cdbs , haskell-devscripts (>= 0.8.15) , ghc , ghc-prof , libghc-syb-dev , libghc-syb-prof , libbibutils-dev (>= 4.12-5) , pkg-config Build-Depends-Indep: ghc-doc , libghc-syb-doc Standards-Version: 3.9.4 Homepage: http://hackage.haskell.org/package/hs-bibutils Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-hs-bibutils Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-hs-bibutils Package: libghc-hs-bibutils-dev Architecture: any Depends: ${haskell:Depends} , ${shlibs:Depends} , ${misc:Depends} , libbibutils-dev (>= 4.12-3.1) Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell bindings to bibutils library${haskell:ShortBlurb} bibutils is a program by Chris Putnam to convert between various bibliography formats, using a common MODS-format XML intermediate. This package offers Haskell bindings to the bibutils library. . ${haskell:Blurb} Package: libghc-hs-bibutils-prof Architecture: any Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell bindings to bibutils library${haskell:ShortBlurb} bibutils is a program by Chris Putnam to convert between various bibliography formats, using a common MODS-format XML intermediate. This package offers Haskell bindings to the bibutils library. . ${haskell:Blurb} Package: libghc-hs-bibutils-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Haskell bindings to bibutils library${haskell:ShortBlurb} bibutils is a program by Chris Putnam to convert between various bibliography formats, using a common MODS-format XML intermediate. This package offers Haskell bindings to the bibutils library. . ${haskell:Blurb} debian/changelog0000644000000000000000000000273712151073746011057 0ustar haskell-hs-bibutils (4.12-7build1) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Tue, 28 May 2013 10:24:54 +0100 haskell-hs-bibutils (4.12-7) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:50:58 +0200 haskell-hs-bibutils (4.12-6) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change -- Joachim Breitner Sun, 14 Oct 2012 12:01:08 +0200 haskell-hs-bibutils (4.12-5) unstable; urgency=low * Sourceful upload to rebuild documentation package -- Iain Lane Thu, 23 Feb 2012 11:18:11 +0000 haskell-hs-bibutils (4.12-4) unstable; urgency=low * Still link against cbits/stub.c (Closes: #647667) -- Joachim Breitner Sat, 05 Nov 2011 00:09:59 +0100 haskell-hs-bibutils (4.12-3) unstable; urgency=low * Depend on pkg-config -- Joachim Breitner Thu, 27 Oct 2011 22:25:45 +0200 haskell-hs-bibutils (4.12-2) unstable; urgency=low * Build against libbibutils package -- Joachim Breitner Sun, 09 Oct 2011 15:43:01 +0200 haskell-hs-bibutils (4.12-1) unstable; urgency=low [ Giovanni Mascellani ] * Initial release. (Closes: #635959) -- Joachim Breitner Mon, 26 Sep 2011 17:57:15 +0200