The fig package

[Tags: bsd3, library]

The Fig library provides parsing and printing for the FIG 3.2 format (the format used by the Xfig drawing program) together with a simple search-and-replace facility.


[Skip to ReadMe]

Properties

Versions1.3.0, 1.3.1, 1.4.0
Change logChangelog
Dependenciesbase (<5), containers, parsec, pretty [details]
LicenseBSD3
AuthorAnders Lau Olsen
MaintainerAnders Lau Olsen <anders.lau.olsen@gmail.com>
Stabilitystable
CategoryGraphics
Home pagehttp://www.bergsoe.org/fig
UploadedWed Jul 3 11:40:04 UTC 2013 by AndersLauOlsen
DistributionsNixOS:1.4.0
Downloads515 total (25 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for fig-1.4.0

Fig is a Haskell package for parsing and manipulation of Xfig files.

The package has a Cabal setup and can be installed this way:

$ runhaskell Setup configure
$ runhaskell Setup build
$ sudo runhaskell Setup install

You can use the package without doing an install by editing the Main.hs file to suit your needs and building the program with the following command:

$ ghc --make Main.hs -o fig2fig

Run the program with a FIG file as input and view the results:

$ ./fig2fig < transitive.fig > out.fig
$ xfig out.fig

The package has a home page with more information on its use and a HackageDB page with all releases of the package.