Re: [Gtk]MathView under MacOSX

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Fri Aug 05 2005 - 20:49:45 CEST

Luca Padovani wrote:
> Hello everyone,
>
> after some struggle I managed to have GtkMathView compile and run under
> MacOSX (see CVS HEAD). Well, to be precise only the SVG backend compiles
> and runs, as I didn't bother to install GTK+. And, to tell the whole
> truth, I had to use some packages from fink, but just the bare minimum:
>
> * libxml2 >= 2.6.7
> * GLIB >= 2.2.1
> * autotools

Not an issue for AbiWord, we already have those.

> getopt
> ======
>
> The mathmlviewer and mathmlsvg binaries parse command line options using
> getopt_long. This function is normally provided, under Linux, by the
> standard C library. There is no need to link other libraries, all one
> has to do is to #include <getopt.h>.
>
> Under MacOSX, getopt.h is not provided. However there is a declaration
> for getopt (not getopt_long!) in unistd.h. The problem about getopt is
> that it does not recognize the long format of command line options (such
> as --version).

use popt, and it is ok.
[...]

> Apart from the problems above, I'm very happy that gtkmathview has
> landed on MacOSX (the SVG produced by mathmlsvg can be directly seen
> with the Adobe SVG plugin!). I'm looking forward to seeing it integrated
> with AbiWord, just as it happened a few days ago with the Win32
> platform, thanks to the work of Marc Maurer.

Well we'll see. I'm update CVS. I might make an XCode project to build
it on MacOS X using the point-n-click tools.

Hub
Received on Fri Aug 5 20:43:20 2005

This archive was generated by hypermail 2.1.8 : Fri Aug 05 2005 - 20:43:20 CEST