A few documentation updates

gf.cabal: include more GHC versions in the Tested-Width field.
This commit is contained in:
hallgren
2016-06-16 15:09:45 +00:00
parent e608a63f80
commit c49b920ecf
4 changed files with 32 additions and 10 deletions

View File

@@ -465,11 +465,16 @@ support by doing
``` ```
cabal install -fserver -fc-runtime cabal install -fserver -fc-runtime
``` ```
from the top directory. This give you two new things: from the top directory. This give you three new things:
- ``PGF2``: a module to import in Haskell programs, providing a binding to - ``PGF2``: a module to import in Haskell programs, providing a binding to
the C run-time system. the C run-time system.
- The GF shell can be started with ``gf -cshell`` or ``gf -crun`` to use
the C run-time system instead of the Haskell run-time system.
Only limited functionality is available when running the shell in these
modes (use the ``help`` command in the shell for details).
- ``gf -server`` mode is extended with new requests to call the C run-time - ``gf -server`` mode is extended with new requests to call the C run-time
system, e.g. ``c-parse``, ``c-linearize`` and ``c-translate``. system, e.g. ``c-parse``, ``c-linearize`` and ``c-translate``.
@@ -482,7 +487,9 @@ directories, respecively. Compile them by following the instructions in
the ``INSTALL`` files in those directories. the ``INSTALL`` files in those directories.
== Creating .deb packages for Ubuntu == == Creating binary distribution packages ==
=== Creating .deb packages for Ubuntu ===
This was tested on Ubuntu 14.04 for the release of GF 3.6, and the This was tested on Ubuntu 14.04 for the release of GF 3.6, and the
resulting ``.deb`` packages appears to work on Ubuntu 12.04, 13.10 and 14.04. resulting ``.deb`` packages appears to work on Ubuntu 12.04, 13.10 and 14.04.
@@ -492,13 +499,13 @@ tested them on Ubuntu 12.04 and 14.04.
Under Ubuntu, Haskell executables are statically linked against other Haskell Under Ubuntu, Haskell executables are statically linked against other Haskell
libraries, so the .deb packages are fairly self-contained. libraries, so the .deb packages are fairly self-contained.
=== Preparations === ==== Preparations ====
``` ```
sudo apt-get install dpkg-dev debhelper sudo apt-get install dpkg-dev debhelper
``` ```
=== Creating the package === ==== Creating the package ====
Make sure the ``debian/changelog`` starts with an entry that describes the Make sure the ``debian/changelog`` starts with an entry that describes the
version you are building. Then run version you are building. Then run
@@ -507,7 +514,13 @@ version you are building. Then run
make deb make deb
``` ```
== Creating OS X Installer packages == If get error messages about missing dependencies
(e.g. ``autoconf``, ``automake``, ``libtool-bin``, ``python-dev``,
``java-sdk``, ``txt2tags``)
use ``apt-get intall`` to install them, then try again.
=== Creating OS X Installer packages ===
Run Run
@@ -515,7 +528,15 @@ Run
make pkg make pkg
``` ```
== Creating .rpm packages for Fedora == === Creating binary tar distributions ===
Run
```
make bintar
```
=== Creating .rpm packages for Fedora ===
This is possible, but the procedure has not been automated. This is possible, but the procedure has not been automated.
It involves using the cabal-rpm tool, It involves using the cabal-rpm tool,

View File

@@ -11,7 +11,7 @@ description: GF, Grammatical Framework, is a programming language for multilingu
homepage: http://www.grammaticalframework.org/ homepage: http://www.grammaticalframework.org/
bug-reports: http://code.google.com/p/grammatical-framework/issues/list bug-reports: http://code.google.com/p/grammatical-framework/issues/list
maintainer: Thomas Hallgren maintainer: Thomas Hallgren
tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.3 tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.3, GHC==7.10.2, GHC==8.0.1
data-dir: src data-dir: src
data-files: tools/gf.el data-files: tools/gf.el
@@ -19,6 +19,7 @@ data-files: tools/gf.el
tools/dark-filetypes.GF.conf tools/dark-filetypes.GF.conf
tools/light-filetypes.GF.conf tools/light-filetypes.GF.conf
www/*.html www/*.html
www/*.css
www/P/*.png www/P/*.png
www/gfse/*.html www/gfse/*.html
www/gfse/*.css www/gfse/*.css

View File

@@ -43,7 +43,7 @@ availiable in the GF shell is also available via the GF web services API.
<p> <p>
The The
<a href="http://code.google.com/p/grammatical-framework/wiki/GFWebServiceAPI">GF <a href="gf-web-api.html">GF
Web Service API page</a> describes the calls supported by the GF web service Web Service API page</a> describes the calls supported by the GF web service
API. Below, we illustrate these calls by examples, and also show API. Below, we illustrate these calls by examples, and also show
how to make these calls from JavaScript using the API defined in how to make these calls from JavaScript using the API defined in
@@ -178,6 +178,6 @@ full API.
</dl> </dl>
<hr> <hr>
<div class=modtime><small> <div class=modtime><small>
<!-- hhmts start -->Last modified: Sat Jun 21 14:57:43 CEST 2014 <!-- hhmts end --> <!-- hhmts start -->Last modified: Thu Jun 16 17:08:04 CEST 2016 <!-- hhmts end -->
</small></div> </small></div>
<address><a href="http://www.cse.chalmers.se/~hallgren/">TH</a></address> <address><a href="http://www.cse.chalmers.se/~hallgren/">TH</a></address>

View File

@@ -337,7 +337,7 @@ See the source code for details.
GF includes two implementations of the PGF API: the traditional GF includes two implementations of the PGF API: the traditional
Haskell implementation and the newer C implementation. The commands documented Haskell implementation and the newer C implementation. The commands documented
above all use the Haskell implementation. above all use the Haskell implementation.
The following command use the C implementation instead: The following commands use the C implementation instead:
- ``c-parse``, ``c-linearize``, ``c-linearizeAll``, ``c-translate``, - ``c-parse``, ``c-linearize``, ``c-linearizeAll``, ``c-translate``,
``c-lookupmorpho``, ``c-flush``, ``c-grammar``, ``c-abstrtree``, ``c-lookupmorpho``, ``c-flush``, ``c-grammar``, ``c-abstrtree``,