Skip to content
Tcl Source Code History Of Ticket 2557822
Login

History Of Ticket 2557822

Artifacts Associated With Ticket 2557822

  1. Ticket change [849aaebf4c] (rid 117580) by dgp on 2009-02-02 18:39:33:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      We re-distribute the sources of
      the zlib project under tcl/compat/zlib .
      
      Some files under tcl/compat/zlib/contrib/
      are under GPL license.
      
      Worth another look to be sure we're not
      getting in any trouble.
      
      If we can get out of the business of
      distributing our own fork of zlib, that
      would be nice too.
      
      
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "8"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "57. zlib"
    11. title initialized to: "zlib licensing mess"
    12. type initialized to: "Bug"
  2. Ticket change [d9c291825f] (rid 107667) by nijtmans on 2009-02-05 17:56:13:

    1. icomment:
      We are not in trouble for the following reasons:
      - Our fork has only two modifications from the original
        source files, which only influence the win32 build.
      - One of those modifications is a win32 specific
        bug-fix, which is reported directly to Marc
        Adler ([email protected]) in a private mail
        d.d. dec 12, 2008. After not receiving an
        answer, dec 18 2008 I registered to be a zlib
        developer, in order to gain access to the
        zlib mailing list.
      - The second modification handles the marking of
        the dll as a custom build, something that the
        zlib licence requires us to do. So, even if
        someone builds a zlib dll out of the Tcl fork,
        this dll will be clearly marked as not being
        the official dll.
      - The zlib/contrib directory is not used in the
        Tcl build, so even though we imported it in
        the Tcl repository, it is unmodified and doesn't
        get released in binary form. So we don't form
        a "combined work" with it as meant by the GPL.
      
      As soon as zlib 1.2.4 comes out, we will no longer
      need our own fork. I (as a zlib developer now) will
      make sure of that!
      
      I will leave this issue open, so we will not forget
      to import zlib 1.2.4 in the Tcl sources as soon as
      it is availabe.
      
      Something that should be done, is that on Win32 Tcl
      starts distributing a "zlib1.dll" in C:\Tcl\bin, in
      stead of linking it in statically in tcl86.dll. That
      will allow to simply replacing it with later zlib
      versions (when they come out) without re-building
      Tcl. The only thing we should take care of then
      is build our own zlib1.dll exactly the way that
      the official zlib1.dll is build, so with VC++ 6.0
      using nasm. That's still on my TODO list, but I
      will need the help of someone having VC++ 6.0
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  3. Ticket change [28c821db7d] (rid 88759) by nijtmans on 2009-12-11 18:21:56:

    1. closedate changed to: "2009-12-11T11:21:56"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      > That's still on my TODO list, but I
      > will need the help of someone having VC++ 6
      
      Since [Feature Request 2605263], 2009-02-16
      Tcl uses the 'official' binary build of zlib. I
      tested it with the latest Visual Studio Express.
      Thus far nobody complained, so I am confident
      it works with VC++ 6 as well.
      
      Further on, the modified zlib sources are clearly
      marked as modified, as required by the licence.
      We don't link with anything from the contrib
      directory, so that makes that we are safe.
      
      So, any dynamic win32 uses the official
      zlib1.dll. On UNIX, the system-version of
      zlib is used. On all other situations, we
      compile zlib statically, and clearly marked
      as modified.
      
      So, I think we can close this. As soon as
      zlib 1.2.4 is out, we can remove the
      hack in tclZlib.c (hopefully), but even
      that is not high priority since with normal
      builds we don't distibute zlib binaries.
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"