Bug 691686 - provide binary and developer package for Windows platforms
Summary: provide binary and developer package for Windows platforms
Status: RESOLVED LATER
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Config/Install (show other bugs)
Version: 0.00
Hardware: PC Windows XP
: P4 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
: 694309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-15 07:59 UTC by vincent.torri
Modified: 2024-03-15 14:30 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vincent.torri 2010-10-15 07:59:45 UTC
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 ?)

?
Comment 1 Ray Johnston 2010-10-15 13:58:27 UTC
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.
Comment 2 vincent.torri 2010-10-15 14:30:07 UTC
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.
Comment 3 Chris Liddell (chrisl) 2013-06-26 15:07:43 UTC
*** Bug 694309 has been marked as a duplicate of this bug. ***