From 1ba5449d210b2b5565e1a3179548cfb2df9fce1b Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Thu, 24 Jun 2021 09:31:37 +0200 Subject: [PATCH] Update pgf.cabal, and minors to other cabal files --- gf.cabal | 4 ++-- src/runtime/haskell-bind/pgf2.cabal | 3 +-- src/runtime/haskell/pgf.cabal | 30 ++++++++++++++--------------- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/gf.cabal b/gf.cabal index 608a5d636..9a9e3903e 100644 --- a/gf.cabal +++ b/gf.cabal @@ -72,7 +72,7 @@ flag c-runtime Description: Include functionality from the C run-time library (which must be installed already) Default: False -Library +library default-language: Haskell2010 build-depends: base >= 4.6 && <5, array, @@ -320,7 +320,7 @@ Library if impl(ghc>=8.2) ghc-options: -fhide-source-paths -Executable gf +executable gf hs-source-dirs: src/programs main-is: gf-main.hs default-language: Haskell2010 diff --git a/src/runtime/haskell-bind/pgf2.cabal b/src/runtime/haskell-bind/pgf2.cabal index 91e77c77b..c8d5d8c6c 100644 --- a/src/runtime/haskell-bind/pgf2.cabal +++ b/src/runtime/haskell-bind/pgf2.cabal @@ -9,8 +9,7 @@ homepage: https://www.grammaticalframework.org license: LGPL-3 license-file: LICENSE author: Krasimir Angelov -maintainer: kr.angelov@gmail.com -category: Language +category: Natural Language Processing build-type: Simple extra-source-files: CHANGELOG.md, README.md cabal-version: >=1.10 diff --git a/src/runtime/haskell/pgf.cabal b/src/runtime/haskell/pgf.cabal index 76e12bd2c..86faf8f01 100644 --- a/src/runtime/haskell/pgf.cabal +++ b/src/runtime/haskell/pgf.cabal @@ -1,5 +1,5 @@ name: pgf -version: 3.10 +version: 3.10.1-git cabal-version: >= 1.20 build-type: Simple @@ -9,20 +9,21 @@ synopsis: Grammatical Framework description: A library for interpreting the Portable Grammar Format (PGF) homepage: http://www.grammaticalframework.org/ bug-reports: https://github.com/GrammaticalFramework/gf-core/issues -maintainer: Thomas Hallgren -tested-with: GHC==7.6.3, GHC==7.8.3, GHC==7.10.3, GHC==8.0.2 +tested-with: GHC==7.6.3, GHC==7.8.3, GHC==7.10.3, GHC==8.0.2, GHC=8.4.4 -Library - default-language: Haskell2010 - build-depends: base >= 4.6 && <5, - array, - containers, - bytestring, - utf8-string, - random, - pretty, - mtl, - exceptions +library + default-language: Haskell2010 + build-depends: + array, + base >= 4.6 && <5, + bytestring, + containers, + -- exceptions, + ghc-prim, + mtl, + pretty, + random, + utf8-string other-modules: -- not really part of GF but I have changed the original binary library @@ -37,7 +38,6 @@ Library --if impl(ghc>=7.8) -- ghc-options: +RTS -A20M -RTS ghc-prof-options: -fprof-auto - extensions: exposed-modules: PGF