Commit Graph

53 Commits

Author SHA1 Message Date
hallgren 2cc9a37db4 Setup.hs: paralell RGL module compilation experiment
For this to have any effect, Setup.hs has to be compiled with -threaded, which
cabal-install doesn't do, unfortunately...
2013-03-25 14:03:10 +00:00
Sergei Trofimovich 8e4d460c6f Setup.hs: switch to base-4 exceptions
Fixes build failure on ghc-7.6:
    $ runhaskell Setup.hs configure
    Setup.hs:394:14: Not in scope: `E.try'

base-4 is available/default since ghc-6.10.
2013-03-09 21:18:03 +00:00
hallgren 08569c6e8a Setup.hs: eliminate "minimal" mode, fix darcs version info
The reported number of recorded changes since the last tagged version was off
by one (because it counted the change that set the tag).
Also added a note that -K32M is not needed when using new-comp. But -old-comp
is still available as a configuration option, so I'm keeping -K32M for now.
2013-01-30 15:48:36 +00:00
aarne 467d5330c6 updated the lists of notPresent languages 2013-01-29 16:53:15 +00:00
aarne 064fcf4345 added Heb = Hebrew to the incomplete languages that can be compiled 2013-01-28 18:03:35 +00:00
hallgren 61323039bd Setup.hs: add some incomplete languages to the list compiled languages
To be specific: Amh, Ara, Lat, Tur and Mlt.
2013-01-28 16:07:44 +00:00
hallgren c70c01745b Add Chinese to the list of installed RGL languages and support it in the web apps
Aarne says the Chinese resource grammar is complete, but not yet completely
correct.
2012-10-22 10:16:10 +00:00
hallgren 1d6cbf8189 Use NOINLINE for build info and darcs version info
... to avoid unnecessary recompilation of other modules.
2012-10-18 20:01:22 +00:00
hallgren 3c66e95176 Setup.hs: add Maltese to the list of known RGL languages, but don't compile it by default 2012-09-27 14:28:59 +00:00
hallgren da0dcab111 Setup.hs: Persian does not support mkPresent 2012-09-26 15:21:34 +00:00
hallgren 2546a841dd Add Persian to the list of installed RGL langauges 2012-09-26 13:04:18 +00:00
aarne 2951361732 tried to change Jap to Jpn everywhere 2012-06-11 20:08:14 +00:00
gregoire.detrez 8412792d66 Small Setup.hs bug fix
Setup.hs failed to generate DarcsVersion_gf if dist/build/autogen does not exists.g
Added a line to create the directory if absent.
2012-06-09 12:49:01 +00:00
hallgren 2e4aedd211 Setup.hs: fix two problems with querying darcs 2012-05-30 16:15:59 +00:00
hallgren 25c5ad2bf0 More detailed version info in the startup message
The Setup.hs script now queries darcs to create more detailed version info
to include in the startup message.

Note thought that with distributed version control systems like darcs,
the only way to uniquely identify a version is by the set of patches included.
Since the patches are not totally ordered, just looking at the last patch is
not enough.

For official releases, we tag the current set of patches so we can refer to
it by name (e.g. RELEASE-3.3.3).
2012-05-30 15:45:45 +00:00
hallgren d13f71a27e Integrate Japanese
* Update Setup.hs to build Japanese by default.
* News item about Japanese on the home page.
* Add Japanese to the supported RGL imports in the grammar editor (gfse).
2012-05-15 13:11:32 +00:00
hallgren 9260797e6b Setup.hs: include Hindi and Thai by default in RGL builds 2012-03-01 14:25:41 +00:00
virk.shafqat 14e0237950 sindhipatch 2012-02-21 09:02:42 +00:00
normundsg 1966ce5eb6 Latvian: 1) added some extra things that are used by the Attempto grammar; 2) added notpresent tags; 3) compiles with Setup.hs and lib/src/Make.hs 2012-02-20 02:42:07 +00:00
Nick Frolov 31e1a657f9 Symbolic and Nound fixes for Russian 2011-11-24 16:13:08 +00:00
kr.angelov f1cacffc98 now if some module is compiled with -no-pmcfg then the PMCFG code is generated at the end during the linking phase. Now the default compilation of the libraries with cabal is with -no-pmcfg. 2011-11-24 14:23:04 +00:00
hallgren ae8dfb381c Setup.hs: less verbose output during the compilation of the RGL
Only show the full gf command line if an error occurs.
2011-10-20 13:36:42 +00:00
hallgren 6d0c06a365 Bug fix in setup for gf -server mode
Use the command "dist/build/gf/gf" instead of "gf" to compile the sample
grammars for the minibar, to avoid failing if gf is installed in a directory
which is not in the $PATH.
2011-10-14 19:34:55 +00:00
hallgren 50605036dd Bug fixes for gf -server mode and setup 2011-10-12 18:27:46 +00:00
hallgren fa4af3d043 Improvements of "gf -server" mode and related setup
"gf -server" mode now contains everything needed to run the minibar and
the grammar editor (including example-based grammar writing).

The Setup.hs script installs the required files where gf -server can find them.
These files have been moved to a new directory: src/www.

The separate server program pgf-http is now obsolete.
2011-10-12 17:03:54 +00:00
hallgren 15d7a6ed74 test suite: Don't fail because of the Win32/Unix text file incompatibility. 2011-09-19 13:14:01 +00:00
virk.shafqat 458675a8e8 refinements-Pnb-2011-04-30 2011-04-30 18:11:48 +00:00
hallgren b2b6def050 Include Urd in the default set of languages to compile 2010-12-23 11:44:40 +00:00
hallgren d47da82d00 Setup.hs: build both alltenses and present by default
Now you can specify more than one mode when building and installing the RGL.
For example to build all modes, run

        runhaskell Setup.hs build alltenses present minimal

The default is to build alltenses and present, which means that a single
command,

        cabal install

is enough to obtain a normal installation of GF. Without this change, additional
build and install commands would be required before you can compile example
grammars, like Foods and Phrasebook.

The build-binary-dist.sh script has been simplified accordingly.
2010-12-22 21:18:47 +00:00
aarne 1ae49d8eb6 refined synopsis 2010-12-22 09:57:16 +00:00
aarne 4f244b6eec remove -src from Setup; simplified str2numeral; bug fix in Finnish ordinal inflection 2010-12-21 09:58:12 +00:00
hallgren bef7f8b053 Setup.hs: improved langs=... option
Instead of just giving an explicit list of languages to compile, you can
now also add and remove languages from the default list by using langs=+...
or langs=-...

Examples:

	cabal build langs=Eng,Swe,Ger   -- as before, compile the given 3 langs
	cabal build langs=-Fin          -- use default languages, but omit Fin 
	cabal build langs=+Urd		-- use default languages + Urd

("cabal build ..." is the same as "runhaskell Setup.hs build ...")
2010-11-30 16:49:15 +00:00
hallgren 7669828212 Setup.hs: omit urdu when compiling the rgl, for now. 2010-11-30 16:29:36 +00:00
hallgren 5acc248546 Use the internal preprocessors mkPresent and mkMinimal 2010-11-26 18:49:01 +00:00
aarne c4a69d7c4a flags in Setup.hs to speed up library compilation 2010-11-13 22:18:41 +00:00
aarne bdf8805250 added Urd to Setup 2010-09-03 14:05:07 +00:00
kevin.kofler e2d0c82f0c Setup.hs: Increase stack size for gf runs, fixes TryFin.gf build on Fedora 13 x86_64 2010-05-16 16:58:09 +00:00
krasimir 7290a2fc68 add Dutch to the list of languages in Setup.hs 2010-06-17 15:34:41 +00:00
krasimir e8ee150215 add Bul to the list of languages in Setup.hs that have API 2010-04-19 09:43:58 +00:00
krasimir a039808141 PGF is now real synchronous PMCFG 2010-01-17 21:35:36 +00:00
aarne 8ed9fe442d Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs 2009-11-16 15:21:56 +00:00
krasimir 9412171621 integrate Polish in the build system 2009-10-24 12:32:03 +00:00
krasimir d31e2fe040 bugfix in Setup.hs for Linux 2009-10-15 06:44:40 +00:00
krasimir f89d582d3b the Setup.hs script should build the prelude also 2009-10-07 08:34:32 +00:00
krasimir 4b8ff9a4be add Romanian to the build system 2009-09-16 08:40:16 +00:00
krasimir 6c8ad4ca16 added preCopy and postCopy hooks in Setup.hs 2009-06-23 11:44:36 +00:00
aarne 2116f41bc2 next-lib renamed to lib, lib to old-lib 2009-06-22 15:39:08 +00:00
krasimir 2087339dfc make erasing=on the default 2009-06-16 14:50:06 +00:00
krasimir 3115ee32ce now rgl-pgf produces one .pgf per language and finally one combined .pgf 2009-06-16 12:15:11 +00:00
krasimir 055f33518e now 'runghc Setup.hs test' runs a simple extensible testsuite 2009-05-20 14:57:42 +00:00