[gs-devel] libgs: Which src/*.h files contain the API?

Till Kamppeter till.kamppeter at gmail.com
Fri May 18 03:52:28 PDT 2007


Russell Lang wrote:
> Till,
> 
>> I want to package GPL Ghostscript with its core functionality in the 
>> libgs, so that other programs can make use of the Postscript/PDF 
>> renderer by means of the library. My problem is only which C header 
>> files I need to put into the -devel package of this library, so that the 
>> API is available to build programs using libgs.
> 
> 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.

I also suggest that "make soinstall" should also install the header files.

    Till




More information about the gs-devel mailing list