Preparations for release of GF 3.3

+ Changing version numbers and dates here and there.
+ Simplify build-binary-dist.sh since pgf-http need not be built anymore.
+ Use--gf-lib-path to make the sample grammars for minibar compile even if GF
  is not installed.
This commit is contained in:
hallgren
2011-10-25 18:25:49 +00:00
parent 5fd8299805
commit a8185fd997
7 changed files with 9 additions and 39 deletions

View File

@@ -50,6 +50,7 @@ setupWeb gf args dest pkg lbi =
where where
tmp_dir = gfo_dir</>tmp tmp_dir = gfo_dir</>tmp
cmd = gf++" -make -s -optimize-pgf --gfo-dir="++tmp_dir++ cmd = gf++" -make -s -optimize-pgf --gfo-dir="++tmp_dir++
" --gf-lib-path=dist/build/rgl"++
-- " --output-dir="++grammars_dir++ -- has no effect?! -- " --output-dir="++grammars_dir++ -- has no effect?!
" "++src " "++src

View File

@@ -13,23 +13,10 @@ langs="" # which languages?
set -e # Stop if an error occurs set -e # Stop if an error occurs
set -x # print commands before exuting them set -x # print commands before exuting them
cabal install # gf needs to be installed before building gf-server below runhaskell Setup.hs configure --user --prefix $prefix -fserver
runhaskell Setup.hs configure --user --prefix $prefix
runhaskell Setup.hs build $langs runhaskell Setup.hs build $langs
runhaskell Setup.hs copy --destdir=$destdir $langs runhaskell Setup.hs copy --destdir=$destdir $langs
(
cd src/server
## If you don't already have the packages gf-server depends on, this is
## the easiest way to install them:
#cabal install
runhaskell Setup.hs configure --user --prefix $prefix
runhaskell Setup.hs build
runhaskell Setup.hs copy --destdir=$destdir
)
tar -C $destdir/$prefix -zcf $targz . tar -C $destdir/$prefix -zcf $targz .
echo "Created $targz, rename it to something more informative" echo "Created $targz, rename it to something more informative"
rm -r $destdir rm -r $destdir

View File

@@ -13,7 +13,7 @@
<p> <p>
Aarne Ranta Aarne Ranta
<p> <p>
October 2011 for GF 3.2.10 October 2011 for GF 3.3
<p> <p>
@@ -129,9 +129,9 @@ You can use this in Haskell and Java programs, and also on web services, such as
The quickest way to provide a GF web service is to start GF with the <tt>-server</tt> option: The quickest way to provide a GF web service is to start GF with the <tt>-server</tt> option:
<pre> <pre>
$ gf -server $ gf -server
This is GF version 3.2.10. This is GF version 3.3
Built on linux/i386 with ghc-7.0, flags: interrupt server cclazy Built on linux/i386 with ghc-7.0, flags: interrupt server cclazy
Document root = /usr/local/share/gf-3.2.10/www Document root = /usr/local/share/gf-3.3/www
Starting HTTP server, open http://localhost:41296/ in your web browser. Starting HTTP server, open http://localhost:41296/ in your web browser.
</pre> </pre>
You can view it locally by pointing your You can view it locally by pointing your

View File

@@ -11,7 +11,7 @@ Grammatical Framework Download and Installation
What's new? See the [Release notes release-3.3.html]. What's new? See the [Release notes release-3.3.html].
== Latest released binary packages == == Binary packages ==
**TO BE UPDATED** **TO BE UPDATED**

View File

@@ -1,5 +1,5 @@
name: gf name: gf
version: 3.2.10-darcs version: 3.3
cabal-version: >= 1.8 cabal-version: >= 1.8
build-type: Custom build-type: Custom

View File

@@ -11,9 +11,9 @@
<IMG SRC="doc/Logos/gf0.png" alt=""> <IMG SRC="doc/Logos/gf0.png" alt="">
<H1>Grammatical Framework</H1> <H1>Grammatical Framework</H1>
<P> <P>
Version 3.2 Version 3.3
<br> <br>
December 2010 October 2011
<P> <P>
<font size=+2> <font size=+2>

View File

@@ -2,25 +2,12 @@ module PGF.SortTop
( forExample ( forExample
) where ) where
import PGF.Linearize
import PGF.Macros
import System.IO
import PGF.CId import PGF.CId
import PGF.Data import PGF.Data
import PGF.Macros
import PGF.Expr import PGF.Expr
import Data.Array.IArray
import Data.List
import Control.Monad
import qualified Data.Map as Map import qualified Data.Map as Map
import qualified Data.IntMap as IntMap
import qualified Data.Set as Set import qualified Data.Set as Set
import Data.Maybe import Data.Maybe
import System.Environment (getArgs)
import Data.Binary
arguments :: Type -> [CId] arguments :: Type -> [CId]
@@ -89,8 +76,3 @@ returnCat abs cid =
forExample :: PGF -> IO [[((CId,CId),[CId])]] forExample :: PGF -> IO [[((CId,CId),[CId])]]
forExample pgf = let abs = abstract pgf forExample pgf = let abs = abstract pgf
in showInOrder abs Set.empty (Set.fromList $ Map.keys $ funs abs) Set.empty in showInOrder abs Set.empty (Set.fromList $ Map.keys $ funs abs) Set.empty