[gs-devel] libgs: Which src/*.h files contain the API?
Russell Lang
gsview at ghostgum.com.au
Fri May 18 21:20:05 PDT 2007
Till,
> Russell Lang wrote:
> > The only ones you need are:
> >
> > ierrors.h
> > iapi.h
> > gdevdsp.h
>
> Thank you.
>
> WDYT where should I install them:
>
> /usr/include/ghostscript/
> /usr/include/gs/
> /usr/include/ghostscript/8.60/
> ...
>
> I hope the API is stable enough so that the version number is not needed.
gdevdsp.h has had one change in 5 years to add separations.
iapi.h has had no significant changes.
I would say the version number is unnecessary.
Given that Linux tends to use /usr/share/ghostscript for common files, I'd
lean towards using /usr/include/ghostscript
> I also suggest that "make soinstall" should also install the header files.
Sounds good. Please do it.
Please note that I occasionally build using the unix-gcc.mak file on old
platforms without configure. I think Ralph wants to ditch this file, but I'd like
it to be maintained, even though it might include only a subset of drivers and
features.
More information about the gs-devel
mailing list