Currently, only an installer is provided for Windows 32bits. It installs binaries, a DLL and an import library (btw, the import library should be in lib/ and not in bin/) Would it be possible to: 1) add header files in the installer (the DLL and import library themselves are useless without them) 2) provide 2 zip packages: a) a 'bin' package containing the binaries and DLL b) a 'dev' package containing the import library and header files (and maybe the static lib too ?) ?
The DLL should remain in 'bin' since 'lib' in Ghostscript has other historical meaning (gs almost predates Windows). Too many things might break if we moved it and scripts that used to work depended on it. As far as the 'headers', I am not really a Windows developer, but I assume that you mean the 'iapi.h'. Is the gsdll32.res or some other .rc file needed as well to link an application with the DLL (or static lib) ? What about the small gsdll32.lib ? I don't think we need to distribute a static lib -- anyone that wants that can build it, but am willing to be convinced.
if there is only one header file (iapi.h), then yes. A header file is always needed for development. Windows or not. I don't think that other files are needed. What is needed is: DLL, import lib (gsdll32.lib) and the header file(s). about having gsdll32.lib in lib/, it's not required. It's more a conventional way to put import and static libs. even on Windows. But I wanted to say that in the Windows packages, there should be: gs-bin.zip: * bin/gsview.exe * bin/gsdll32.dll gs-dev.zip * lib/gsdll32.lib * include/iapi.h There is no problem at all to have gsdll32.lib in a subdirectory of a zip file. Or else I'm missing something.
*** Bug 694309 has been marked as a duplicate of this bug. ***