debian/0000755000000000000000000000000012154321521007162 5ustar debian/watch0000644000000000000000000000032212036250655010220 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|ltk-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/ltk \ ([\d\.]*\d)/ debian/rules0000755000000000000000000000022212036250655010246 0ustar #!/usr/bin/make -f DEB_BUILD_DEPENDENCIES = build-arch include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/copyright0000644000000000000000000000123712036250655011130 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: haskell-ltk Maintainer: Jürgen Nicklisch-Franken Source: http://hackage.haskell.org/package/ltk Copyright: 2007-2010, Juergen "jutaro" Nicklisch-Franken License: GPL-2 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 of the License, or (at your option) any later version. . On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2' debian/source/0000755000000000000000000000000012036250655010472 5ustar debian/source/format0000644000000000000000000000001412036250655011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012145674740010627 5ustar debian/patches/series0000644000000000000000000000003412145674740012041 0ustar ghc-7.6-compatibility.patch debian/patches/ghc-7.6-compatibility.patch0000644000000000000000000000532512145674740015575 0ustar Description: Compile with the versions of some modules in GHC 7.6 Forwarded: yes Author: Iain Lane Index: b/ltk.cabal =================================================================== --- a/ltk.cabal +++ b/ltk.cabal @@ -16,8 +16,8 @@ tested-with: GHC ==6.10 || ==6.12 || ==7.0 Library - build-depends: Cabal >=1.6.0 && <1.15, base >=4.0.0.0 && <4.6, - containers >=0.2 && <0.5, filepath >=1.1.0 && <1.4, + build-depends: Cabal >=1.6.0 && <1.17, base >=4.0.0.0 && <4.7, + containers >=0.2 && <0.6, filepath >=1.1.0 && <1.4, glib >=0.10.0 && <0.13, gtk >=0.10.0 && <0.13, mtl >=1.1.0.2 && <2.2, parsec >=2.1.0.1 && <3.2, pretty >=1.0.1.0 && <1.2, transformers >=0.2.2.0 && <0.4, Index: b/src/Text/PrinterParser.hs =================================================================== --- a/src/Text/PrinterParser.hs +++ b/src/Text/PrinterParser.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -XTypeSynonymInstances -XFlexibleInstances #-} +{-# OPTIONS_GHC -XTypeSynonymInstances -XFlexibleInstances -XScopedTypeVariables #-} -- -- | Module for saving and restoring preferences and settings -- @@ -49,6 +49,7 @@ import Data.List (foldl') import qualified Text.ParserCombinators.Parsec as P ((), CharParser(..), parseFromFile) +import Control.Exception (catch, IOException) type Printer beta = beta -> PP.Doc @@ -232,7 +233,7 @@ case res of Left pe -> error $ "Error reading file " ++ show fn ++ " " ++ show pe Right r -> return r) - (\ e -> error $ "Error reading file " ++ show fn ++ " " ++ show e) + (\ (e :: IOException) -> error $ "Error reading file " ++ show fn ++ " " ++ show e) parseFields :: alpha -> [FieldDescriptionS alpha] -> P.CharParser () alpha parseFields defaultValue descriptions = Index: b/src/Graphics/UI/Editor/Simple.hs =================================================================== --- a/src/Graphics/UI/Editor/Simple.hs +++ b/src/Graphics/UI/Editor/Simple.hs @@ -63,6 +63,7 @@ import Graphics.UI.Editor.Basics (GUIEvent(..), GUIEventSelector(..), propagateAsChanged, genericGUIEvents, activateEvent, Editor) +import Control.Exception (catch, IOException) -- ------------------------------------------------------------ -- * Simple Editors @@ -360,7 +361,7 @@ case s of Nothing -> return Nothing Just s -> catch (liftM Just (readIO s)) - (\e -> do + (\ (e :: IOException) -> do putStrLn ("Generic editor no parse for " ++ s ++ " " ++ show e) return Nothing) return (wid,ginj,gext) debian/compat0000644000000000000000000000000212147616247010376 0ustar 9 debian/control0000644000000000000000000000302112150230142010553 0ustar Source: haskell-ltk Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Joachim Breitner Build-Depends: debhelper (>= 9) , cdbs , haskell-devscripts (>= 0.8.15) , ghc , libghc-glib-dev (>= 0.10.0) , libghc-glib-dev (<< 0.13) , libghc-gtk-dev (>= 0.10.0) , libghc-gtk-dev (<< 0.13) , libghc-mtl-dev (>= 1.1.0.2) , libghc-mtl-dev (<< 2.2) , libghc-transformers-dev (>= 0.2.2.0) , libghc-transformers-dev (<< 0.4) , libghc-parsec3-dev (<< 3.2) Build-Depends-Indep: ghc-doc , libghc-parsec3-doc , libghc-glib-doc , libghc-gtk-doc , libghc-mtl-doc , libghc-transformers-doc Standards-Version: 3.9.4 Homepage: http://hackage.haskell.org/package/ltk Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-ltk Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-ltk Package: libghc-ltk-dev Architecture: any Depends: ${haskell:Depends} , ${shlibs:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Leksah Toolkit${haskell:ShortBlurb} This library provides the toolkit used by the leksah editor. . ${haskell:Blurb} Package: libghc-ltk-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Leksah Toolkit${haskell:ShortBlurb} This library provides the toolkit used by the leksah editor. . ${haskell:Blurb} debian/changelog0000644000000000000000000000444612154321521011044 0ustar haskell-ltk (0.12.1.0-3build2) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Fri, 07 Jun 2013 10:09:37 +0100 haskell-ltk (0.12.1.0-3build1) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Tue, 28 May 2013 17:43:13 +0100 haskell-ltk (0.12.1.0-3) unstable; urgency=low * Move Haskell blurb to the end of the description, reduces the impact of #708703 -- Joachim Breitner Sat, 25 May 2013 23:52:28 +0200 haskell-ltk (0.12.1.0-2) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:51:20 +0200 haskell-ltk (0.12.1.0-1) experimental; urgency=low [ Joachim Breitner ] * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change * New upstream release [ Iain Lane ] * Add patch (changes already upstream) to fix compilation with GHC 7.6 -- Iain Lane Sat, 13 Apr 2013 22:02:03 +0100 haskell-ltk (0.12.0.0-2) unstable; urgency=low * Bump mtl and transformers dependency -- Joachim Breitner Sat, 19 May 2012 19:24:14 +0200 haskell-ltk (0.12.0.0-1) unstable; urgency=low * New upstream release -- Joachim Breitner Tue, 13 Mar 2012 13:48:33 +0100 haskell-ltk (0.10.0.4-1) unstable; urgency=low * New upstream release * Depend and build against parsec 3, not 2 * no-haddock-dep.patch: ltk does not actually need the haddock library, so remove it from the build-depends in .cabal -- Joachim Breitner Fri, 27 May 2011 17:23:56 +0200 haskell-ltk (0.8.0.6-3) unstable; urgency=low [ Marco Silva ] * Use ghc instead of ghc6 [ Iain Lane ] * Standards-Version → 3.9.2, no changes required -- Iain Lane Fri, 27 May 2011 14:34:30 +0100 haskell-ltk (0.8.0.6-2) unstable; urgency=low * Correct build dependency on gtk2hs documentation (Closes: #590377) -- Joachim Breitner Mon, 26 Jul 2010 13:18:55 +0200 haskell-ltk (0.8.0.6-1) unstable; urgency=low * Initial release. (Closes: #574692) -- Joachim Breitner Thu, 24 Jun 2010 09:09:12 +0200