[Pkg-haskell-commits] darcs: tools: Add more patches from our repos

Joachim Breitner mail at joachim-breitner.de
Wed Jul 17 13:53:14 UTC 2013


Wed Jul 17 13:52:55 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Add more patches from our repos

    A ./all-packages/patches/Crypto/
    A ./all-packages/patches/Crypto/4.2.5/
    A ./all-packages/patches/Crypto/4.2.5/class-constraints.diff
    A ./all-packages/patches/Crypto/4.2.5/no-quickcheck.patch
    A ./all-packages/patches/Crypto/4.2.5/patches/
    A ./all-packages/patches/Crypto/4.2.5/series
    A ./all-packages/patches/HFuse/
    A ./all-packages/patches/HFuse/0.1.0/
    A ./all-packages/patches/HFuse/0.1.0/new-exceptions.diff
    A ./all-packages/patches/HFuse/0.1.0/series
    A ./all-packages/patches/HFuse/0.2.4.1/
    A ./all-packages/patches/HFuse/0.2.4.1/ghc-7.6.patch
    A ./all-packages/patches/HFuse/0.2.4.1/series
    A ./all-packages/patches/ftphs/
    A ./all-packages/patches/ftphs/1.0.8/
    A ./all-packages/patches/ftphs/1.0.8/ghc-7.6-compatibility
    A ./all-packages/patches/ftphs/1.0.8/series
    A ./all-packages/patches/gtk2hs-buildtools/
    A ./all-packages/patches/gtk2hs-buildtools/0.12.3/
    A ./all-packages/patches/gtk2hs-buildtools/0.12.3/BangPatterns.patch
    A ./all-packages/patches/gtk2hs-buildtools/0.12.3/manpages.patch
    A ./all-packages/patches/gtk2hs-buildtools/0.12.3/series
    A ./all-packages/patches/simpleirc/
    A ./all-packages/patches/simpleirc/0.2.1/
    A ./all-packages/patches/simpleirc/0.2.1/new-exceptions.diff
    A ./all-packages/patches/simpleirc/0.2.1/series
    A ./all-packages/patches/strict-concurrency/
    A ./all-packages/patches/strict-concurrency/0.2.4.1/
    A ./all-packages/patches/strict-concurrency/0.2.4.1/series
    A ./all-packages/patches/strict-concurrency/0.2.4.1/use-new-exception
    A ./all-packages/patches/tokyocabinet-haskell/
    A ./all-packages/patches/tokyocabinet-haskell/0.0.5/
    A ./all-packages/patches/tokyocabinet-haskell/0.0.5/ghc-7.4.1-fix
    A ./all-packages/patches/tokyocabinet-haskell/0.0.5/series
    A ./all-packages/patches/weighted-regexp/
    A ./all-packages/patches/weighted-regexp/0.3.1.2/
    A ./all-packages/patches/weighted-regexp/0.3.1.2/eq-constraints
    A ./all-packages/patches/weighted-regexp/0.3.1.2/series

Wed Jul 17 13:52:55 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Add more patches from our repos
diff -rN -u old-tools/all-packages/patches/Crypto/4.2.5/class-constraints.diff new-tools/all-packages/patches/Crypto/4.2.5/class-constraints.diff
--- old-tools/all-packages/patches/Crypto/4.2.5/class-constraints.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-tools/all-packages/patches/Crypto/4.2.5/class-constraints.diff	2013-07-17 13:53:14.441666996 +0000
@@ -0,0 +1,77 @@
+Description: ghc 7.6 class constraints
+Author: Joachim Breitner <nomeata at debian.org>
+
+Index: haskell-crypto-4.2.5/Data/Digest/SHA2.hs
+===================================================================
+--- haskell-crypto-4.2.5.orig/Data/Digest/SHA2.hs	2012-05-14 13:58:24.000000000 +0200
++++ haskell-crypto-4.2.5/Data/Digest/SHA2.hs	2012-10-21 14:21:17.359966255 +0200
+@@ -25,7 +25,7 @@
+ ch x y z = (x .&. y) `xor` (complement x .&. z)
+ maj x y z = (x .&. y) `xor` (x .&. z) `xor` (y .&. z)
+ 
+-class (Bits w) => ShaData w where
++class (Bits w, Num w) => ShaData w where
+   bigSigma0 :: w -> w
+   bigSigma1 :: w -> w
+   smallSigma0 :: w -> w
+Index: haskell-crypto-4.2.5/Data/LargeWord.hs
+===================================================================
+--- haskell-crypto-4.2.5.orig/Data/LargeWord.hs	2012-05-14 13:58:24.000000000 +0200
++++ haskell-crypto-4.2.5/Data/LargeWord.hs	2012-10-21 14:25:31.855955472 +0200
+@@ -62,7 +62,7 @@
+ data LargeKey a b = LargeKey a b
+    deriving (Eq, Ord)
+ 
+-instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) =>
++instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) =>
+    LargeWord (LargeKey a b) where
+       largeWordToInteger (LargeKey lo hi) =
+          largeWordToInteger lo + (2^(bitSize lo)) * largeWordToInteger hi
+@@ -96,17 +96,17 @@
+          where conv = integerToLargeWord . largeWordToInteger
+       largeBitSize ~(LargeKey lo hi) = largeBitSize lo + largeBitSize hi
+ 
+-instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => Show (LargeKey a b) where
++instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) => Show (LargeKey a b) where
+    showsPrec p = showInt . largeWordToInteger
+ 
+-instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => 
++instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) => 
+    Num (LargeKey a b) where
+       (+) = largeWordPlus
+       fromInteger = integerToLargeWord 
+ 
+ -- Larger keys are instances of Bits provided their constituents are keys.
+ 
+-instance (Ord a, Bits a, LargeWord a, Bits b, LargeWord b) => 
++instance (Ord a, Bits a, Num a, LargeWord a, Bits b, Num b, LargeWord b) => 
+    Bits (LargeKey a b) where
+       (.&.) = largeWordAnd
+       (.|.) = largeWordOr
+@@ -130,11 +130,11 @@
+ boflk :: (LargeKey a b) -> b
+ boflk = undefined
+ 
+-instance (Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) =>
++instance (Ord a, Bits a, Num a, LargeWord a, Ord b, Bits b, Num b, LargeWord b) =>
+    Integral (LargeKey a b) where
+       toInteger = largeWordToInteger
+ 
+-instance (Ord a, Bits a, LargeWord a, Ord b, Bits b, LargeWord b) =>
++instance (Ord a, Bits a, Num a, LargeWord a, Ord b, Bits b, Num b, LargeWord b) =>
+    Real (LargeKey a b)
+ 
+ instance Enum (LargeKey a b)
+Index: haskell-crypto-4.2.5/Data/Digest/SHA1.hs
+===================================================================
+--- haskell-crypto-4.2.5.orig/Data/Digest/SHA1.hs	2012-05-14 13:58:24.000000000 +0200
++++ haskell-crypto-4.2.5/Data/Digest/SHA1.hs	2012-10-21 14:26:57.551951840 +0200
+@@ -93,7 +93,7 @@
+       g [] = Nothing
+       g xs = Just (splitAt 64 xs)
+ 
+-fromBytes :: (Bits a) => [a] -> a
++fromBytes :: (Bits a, Num a) => [a] -> a
+ fromBytes input =
+     let dofb accum [] = accum
+         dofb accum (x:xs) = dofb ((shiftL accum 8) .|. x) xs
diff -rN -u old-tools/all-packages/patches/Crypto/4.2.5/no-quickcheck.patch new-tools/all-packages/patches/Crypto/4.2.5/no-quickcheck.patch
--- old-tools/all-packages/patches/Crypto/4.2.5/no-quickcheck.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-tools/all-packages/patches/Crypto/4.2.5/no-quickcheck.patch	2013-07-17 13:53:14.441666996 +0000
@@ -0,0 +1,62 @@
+diff -ur old/haskell-crypto-4.2.3/Crypto.cabal haskell-crypto-4.2.3/Crypto.cabal
+--- old/haskell-crypto-4.2.3/Crypto.cabal	2010-12-27 21:14:30.000000000 -0400
++++ haskell-crypto-4.2.3/Crypto.cabal	2011-04-25 17:48:48.737535576 -0400
+@@ -46,7 +46,7 @@
+                  Data.Digest.SHA512,
+                  Data.LargeWord,
+                  Data.HMAC
+-        Build-Depends:  QuickCheck >= 2.4.0.1, HUnit
++        Build-Depends:  HUnit
+         if flag(small_base)
+             Build-Depends: base >= 3, base < 5, array, random, pretty
+         else
+@@ -58,49 +58,3 @@
+                  Codec.Encryption.DESAux,
+                  Codec.Encryption.AESAux,
+                  Data.Digest.MD5Aux
+-
+-Executable      SymmetricTest
+-  Main-Is:         SymmetricTest.hs
+-  Ghc-options:     -fregs-graph
+-  Other-modules:   Codec.Utils
+-                   Codec.Encryption.Blowfish
+-                   Codec.Encryption.Modes
+-                   Codec.Encryption.Padding
+-                   Codec.Encryption.DES
+-                   Codec.Encryption.AES
+-                   Data.LargeWord
+-
+-Executable      SHA1Test
+-  Main-Is:         SHA1Test.hs
+-  Ghc-options:     -fregs-graph
+-  Other-modules:   Codec.Text.Raw
+-                   Data.Digest.SHA1
+-
+-Executable      RSATest
+-  Main-Is:         RSATest.hs
+-  Ghc-options:     -fregs-graph
+-  Other-modules:   Codec.Utils
+-                   Data.Digest.SHA1
+-                   Codec.Encryption.RSA.MGF
+-                   Codec.Encryption.RSA.EMEOAEP
+-                   Codec.Encryption.RSA
+-
+-Executable      QuickTest
+-  Main-Is:         QuickTest.hs
+-  Ghc-options:     -fregs-graph
+-  Extensions: TypeSynonymInstances
+-  Other-modules:   Codec.Utils
+-                   Codec.Encryption.Blowfish
+-                   Codec.Encryption.AES
+-                   Codec.Encryption.Modes
+-                   Codec.Encryption.Padding
+-                   Data.LargeWord
+-
+-Executable      HMACTest
+-  Main-Is:         HMACTest.hs
+-  Other-modules:   Codec.Utils
+-                   Data.HMAC
+-
+-Executable      WordListTest
+-  Main-Is:         WordListTest.hs
+-  Other-modules:   Data.LargeWord
diff -rN -u old-tools/all-packages/patches/Crypto/4.2.5/series new-tools/all-packages/patches/Crypto/4.2.5/series
--- old-tools/all-packages/patches/Crypto/4.2.5/series	1970-01-01 00:00:00.000000000 +0000
+++ new-tools/all-packages/patches/Crypto/4.2.5/series	2013-07-17 13:53:14.441666996 +0000
@@ -0,0 +1,2 @@
+class-constraints.diff
+no-quickcheck.patch
diff -rN -u old-tools/all-packages/patches/ftphs/1.0.8/ghc-7.6-compatibility new-tools/all-packages/patches/ftphs/1.0.8/ghc-7.6-compatibility
--- old-tools/all-packages/patches/ftphs/1.0.8/ghc-7.6-compatibility	1970-01-01 00:00:00.000000000 +0000
+++ new-tools/all-packages/patches/ftphs/1.0.8/ghc-7.6-compatibility	2013-07-17 13:53:14.462534477 +0000
@@ -0,0 +1,40 @@
+Description: Port to work with catch from Control.Exception as found in GHC 7.6
+Author: Iain Lane <iain.lane at canonical.com>
+Forwarded: yes
+
+--- ftphs-1.0.8.orig/src/Network/FTP/Server.hs
++++ ftphs-1.0.8/src/Network/FTP/Server.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE ScopedTypeVariables #-}
+ {- arch-tag: FTP server support
+ Copyright (C) 2004 John Goerzen <jgoerzen at complete.org>
+ 
+@@ -98,7 +99,7 @@ import Text.Printf
+ import Data.Char
+ import Data.IORef
+ import Data.List
+-import Control.Exception(finally)
++import Control.Exception(finally, try, catch, IOException)
+ import System.IO
+ 
+ data DataType = ASCII | Binary
+@@ -168,8 +169,8 @@ trapIOError :: FTPServer -> IO a -> (a -
+ trapIOError h testAction remainingAction =
+     do result <- try testAction
+        case result of
+-         Left err -> do sendReply h 550 (show err)
+-                        return True
++         Left (err :: IOException) -> do sendReply h 550 (show err)
++                                         return True
+          Right result -> remainingAction result
+ 
+ forceLogin :: CommandHandler -> CommandHandler
+@@ -214,7 +215,7 @@ commandLoop h@(FTPServer fh _ _) =
+                                     ("Closing due to error: " ++ (show e))
+                             hClose fh
+                             return False
+-        in do continue <- (flip catch) errorhandler 
++        in do continue <- (flip catch) (\(e :: IOException) -> errorhandler e)
+                (do x <- parseCommand fh
+                    case x of
+                      Left err -> do sendReply h 500 $
diff -rN -u old-tools/all-packages/patches/ftphs/1.0.8/series new-tools/all-packages/patches/ftphs/1.0.8/series
--- old-tools/all-packages/patches/ftphs/1.0.8/series	1970-01-01 00:00:00.000000000 +0000
+++ new-tools/all-packages/patches/ftphs/1.0.8/series	2013-07-17 13:53:14.462534477 +0000
@@ -0,0 +1 @@
+ghc-7.6-compatibility
diff -rN -u old-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/BangPatterns.patch new-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/BangPatterns.patch
--- old-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/BangPatterns.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/BangPatterns.patch	2013-07-17 13:53:14.467292245 +0000
@@ -0,0 +1,23 @@
+Description: The generated code has BangPatterns, newer ghc wants this mentioned explicitly
+Author: Joachim Breitner <nomeata at debian.org>
+Bug-Debian: http://bugs.debian.org/628302
+Index: gtk2hs-buildtools-0.12.1/c2hs/c/CLexer.x
+===================================================================
+--- gtk2hs-buildtools-0.12.1.orig/c2hs/c/CLexer.x	2011-09-12 13:44:10.000000000 +0200
++++ gtk2hs-buildtools-0.12.1/c2hs/c/CLexer.x	2012-02-24 22:47:58.000000000 +0100
+@@ -63,6 +63,7 @@
+ --
+ 
+ {
++{-# LANGUAGE BangPatterns #-}
+ 
+ module CLexer (lexC, parseError) where
+ 
+@@ -229,6 +230,7 @@
+ 
+ 
+ {
++{-# LANGUAGE BangPatterns #-}
+ 
+ -- We use the odd looking list of string patterns here rather than normal
+ -- string literals since GHC converts the latter into a sequence of string
diff -rN -u old-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/manpages.patch new-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/manpages.patch
--- old-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/manpages.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-tools/all-packages/patches/gtk2hs-buildtools/0.12.3/manpages.patch	2013-07-17 13:53:14.467292245 +0000
@@ -0,0 +1,380 @@
+Description: Manpages for the binaries
+ This package ships 3 binaries without manpages.  This patch includes the
+ manpages and changes the build system to install them
+Forwarded:
+ http://sourceforge.net/mailarchive/message.php?msg_name=1274804868-sup-9859%40zezinho
+ http://sourceforge.net/mailarchive/message.php?msg_name=1274874328-sup-8367%40zezinho
+Author: Marco Túlio Gontijo e Silva <marcot at debian.org>
+Last-Update: 2010-05-26
+Index: gtk2hs-buildtools-0.9/Setup.hs
+===================================================================
+--- gtk2hs-buildtools-0.9.orig/Setup.hs	2010-05-26 10:11:38.000000000 -0300
++++ gtk2hs-buildtools-0.9/Setup.hs	2010-05-26 10:13:46.000000000 -0300
+@@ -1,6 +1,42 @@
+ module Main (main) where
+ 
+-import Distribution.Simple
++-- Cabal
++import Distribution.PackageDescription (PackageDescription)
++import Distribution.Simple (defaultMainWithHooks, simpleUserHooks)
++import Distribution.Simple.InstallDirs (CopyDest (..), mandir)
++import Distribution.Simple.LocalBuildInfo (LocalBuildInfo, absoluteInstallDirs)
++import
++  Distribution.Simple.Setup
++  (copyDest, copyVerbosity, fromFlag, installVerbosity)
++import Distribution.Verbosity (Verbosity)
++import Distribution.Simple.UserHooks (UserHooks (..))
++import Distribution.Simple.Utils (copyFiles)
++import System.FilePath ((</>))
+ 
+ main :: IO ()
+-main = defaultMain
++main
++  = defaultMainWithHooks
++    $ simpleUserHooks
++      {postCopy
++          = \ _ flags pkg lbi
++            -> installManpages pkg lbi (fromFlag $ copyVerbosity flags)
++              $ fromFlag $ copyDest flags
++        , postInst
++          = \ _ flags pkg lbi ->
++             installManpages
++               pkg
++               lbi
++               (fromFlag $ installVerbosity flags)
++               NoCopyDest}
++
++manpages :: [FilePath]
++manpages = ["gtk2hsC2hs.1", "gtk2hsHookGenerator.1", "gtk2hsTypeGen.1"]
++
++manDir :: FilePath
++manDir = "man"
++
++installManpages
++  :: PackageDescription -> LocalBuildInfo -> Verbosity -> CopyDest -> IO ()
++installManpages pkg lbi verbosity copy
++  = copyFiles verbosity (mandir (absoluteInstallDirs pkg lbi copy) </> "man1")
++    $ zip (repeat manDir) manpages
+Index: gtk2hs-buildtools-0.9/man/gtk2hsC2hs.1
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ gtk2hs-buildtools-0.9/man/gtk2hsC2hs.1	2010-05-26 09:04:20.000000000 -0300
+@@ -0,0 +1,158 @@
++.\" Hey Emacs! This file is -*- nroff -*- source.
++.\"
++.\" Version $Revision: 0.1 $ from $Date: 2010/05/25 14:07:21 $
++.\"
++.TH GTK2HSC2HS 1 "November 2004" "Version 0.13.4 (gtk2hs branch)" C\->Haskell
++.SH NAME
++gtk2hsC2hs \- C->Haskell Interface Generator
++
++.SH SYNOPSIS
++.B gtk2hsC2hs
++.RB [ OPTIONS ]...
++[
++.I header-file
++]
++.I binding-file
++
++.SH DESCRIPTION
++This manual page briefly describes the
++.B gtk2hsC2hs
++command.  It's a modified version of the \fBc2hs\fR(1) command, which is a
++helper program necessary to build the Gtk2Hs suite of libraries.
++.PP
++
++.SH OPTIONS
++The programs follow the usual GNU command line syntax, with long options
++starting with two dashes (`-'). A summary of options are included below. For
++a complete description, see the other documentation.
++
++.B gtk2hsC2hs
++accepts the following options:
++.TP
++.B  \-h, \-?, \-\-help
++brief help
++.TP
++.B  \-v, \-\-version
++show version information
++.TP
++.BI \-c \ CPP\fR, \ \-\-cpp= CPP
++use executable \fICPP\fR to invoke C preprocessor
++.TP
++.BR \-C \ CPPOPTS\fR, \ \-\-cppopts= CPPOPTS
++pass CPPOPTS to the C preprocessor
++.TP
++.BI \-o \ FILE\fR, \ \-\-output= FILE
++output result to \fIFILE\fR (should end in \fI.hs\fR)
++.TP
++.BI \-t \ PATH\fR, \ \-\-output\-dir= PATH
++place generated files in PATH
++.TP
++.B  \-p \ PLATFORM, \-\-platform=PLATFORM
++platform to use for cross compilation
++.TP
++.B  \-k, \-\-keep
++keep pre-processed C header
++.TP
++.B  \-l \ NAME, \-\-lock=NAME
++wrap each foreign call with the function NAME
++.TP
++.BR \-d \ TYPE\fR, \ \-\-dump= TYPE
++dump internal information (for debugging), where TYPE is one of:
++.RS
++.IP "\(bu \fBtrace\fR" 10
++trace compiler phases
++.IP "\(bu \fBgenbind\fR"   10
++trace binding generation
++.IP "\(bu \fBctrav\fR"   10
++trace C declaration traversal
++.IP "\(bu \fBchs\fR"   10
++dump the binding file (adds \fI.dump\fR to the name)
++.RE
++.PP
++
++.I header-file
++is the header file belonging to the marshalled library. It must end with
++suffix 
++.IR .h .
++
++.I binding-file
++is the corresponding Haskell binding file, which must end with suffix
++.IR .chs .
++
++.I PLATFORM
++The platform name can be one of:
++.IR x86_64-linux .
++.IR i686-linux .
++.IR m68k-palmos .
++This allows for cross-compilation, assuming the rest of your toolchain supports
++that. The default is the current host platform.
++
++The most useful of these options is probably 
++.B  \-\-cppopts
++(or 
++.BR \-C ).
++If the C header file needs any special options (like \-D or \-I) to go
++through the C pre-processor, here is the place to pass them.
++
++.SH EXAMPLES
++
++When used directly, 
++.B gtk2hsC2hs
++is usually called as:
++
++.B gtk2hsC2hs
++.I lib.h Lib.chs
++
++where 
++.I  lib.h
++is the header file and
++.I  Lib.chs
++the Haskell binding module, which define the C- and Haskell-side interface,
++respectively.  If no errors occur, the result is a pure Haskell module
++.IR Lib.hs ,
++which implements the Haskell API of the library.
++
++A more advanced call may look like this:
++
++.BR "gtk2hsC2hs" \ \-\-cppopts=\-I\fI/some/obscure/dir\fR
++\-\-cppopts=\-DEXTRA
++.I lib.h Lib.chs
++
++Often, 
++.I  lib.h
++will not be in the current directory, but in one of the header file
++directories.  Apart from the current directory, C->Haskell looks in two
++places for the header: first, in the standard include directory of the used
++system, this is usually
++.IR /usr/include " and " /usr/local/include ;
++and second, it will look in every directory that is mentioned in a 
++.RI \-I DIR
++option passed to the pre-processor via 
++.BR \-\-cppopts .
++
++.SH CAVEATS
++If you have more than one option that you want to
++give to the pre-processor, use multiple
++.BR \-\-cppopts= \ flags.
++
++.SH "BUGS"
++
++Please report bugs and feature requests in the Gtk2Hs trac
++
++.I http://hackage.haskell.org/trac/gtk2hs/
++
++or to the Gtk2Hs mailing list
++.I gtk2hs-devel at lists.sourceforge.net
++
++.SH COPYRIGHT
++C->Haskell Compiler, version 0.13.4 (gtk2hs branch) Copyright (c) [1999..2004]
++Manuel M T Chakravarty <chak at cse.unsw.edu.au>
++
++.SH AUTHOR
++This page was addapted from the \fBc2hs\fR(1) manpage, by Marco Túlio Gontijo e
++Silva <marcot at debian.org> for the Debian GNU/Linux system (but may be used by
++others), which was mainly assembled from the original documentation of c2hs.
++
++The \fBc2hs\fR(1) was written by Michael Weber
++<michael.weber at post.rwth-aachen.de> for the Debian GNU/Linux system (but may be
++used by others).
+Index: gtk2hs-buildtools-0.9/man/gtk2hsHookGenerator.1
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ gtk2hs-buildtools-0.9/man/gtk2hsHookGenerator.1	2010-05-26 09:04:20.000000000 -0300
+@@ -0,0 +1,62 @@
++.\" Hey Emacs! This file is -*- nroff -*- source.
++.\"
++.\" Version $Revision: 0.1 $ from $Date: 2010/05/25 14:07:21 $
++.\"
++.TH GTK2HSHOOKGENERATOR 1
++.SH NAME
++gtk2hsHookGenerator \- Program to generate callback hook for Gtk signals
++
++.SH SYNOPSIS
++.B gtk2hsHookGenerator
++.RB [\| \-\-template\|\c
++.RI \|= template\-file \|]
++.RB \-\-types\|\c
++.RI \|= types\-file
++.RB [\| \-\-import\|\c
++.RI \|= import \|]
++.RB \-\-modname\|\c
++.RI \|= moduleName
++>
++.RI outFile
++
++.SH DESCRIPTION
++This manual page briefly describes the
++.B gtk2hsHookGenerator
++command.  It's a helper program necessary to build the Gtk2Hs suite of
++libraries.
++.PP
++
++.SH OPTIONS
++The programs follow the usual GNU command line syntax, with long options
++starting with two dashes (`-'). A summary of options are included below. For
++a complete description, see the other documentation.
++
++.B gtk2hsHookGenerator
++accepts the following options:
++.TP
++.BI \-\-template= template-file
++specify a path to the Signal.chs.template file
++.TP
++.BI \-\-types= types-file
++specify a path a gtkmarshal.list file
++.TP
++.BI \-\-import= import
++specify a module to be imported into the template file
++.TP
++.BI \-\-modname= moduleName
++the module name for
++. I outFile
++
++.SH "BUGS"
++
++Please report bugs and feature requests in the Gtk2Hs trac
++
++.I http://hackage.haskell.org/trac/gtk2hs/
++
++or to the Gtk2Hs mailing list
++.I gtk2hs-devel at lists.sourceforge.net
++
++.SH AUTHOR
++This page was addapted from the \fBgtk2hsC2hs\fR(1) manpage, by Marco Túlio
++Gontijo e Silva <marcot at debian.org> for the Debian GNU/Linux system (but may be
++used by others).
+Index: gtk2hs-buildtools-0.9/man/gtk2hsTypeGen.1
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ gtk2hs-buildtools-0.9/man/gtk2hsTypeGen.1	2010-05-26 09:04:20.000000000 -0300
+@@ -0,0 +1,88 @@
++.\" Hey Emacs! This file is -*- n[...incomplete...]



More information about the Pkg-haskell-commits mailing list