Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63939 closed defect (fixed)

quazip @1.1: create quazip-1 package alongside quazip (0.9)

Reported by: tenzap Owned by: tenzap
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mascguy (Christopher Nielsen)
Port: quazip

Description (last modified by tenzap)

According to https://github.com/stachenov/quazip/blob/master/QuaZip-1.x-migration.md quazip 1.1 should be installed along quazip 0.9 hence needing to have a quazip package holding 0.9 and a new quazip-1 (or whatever name is best suited) for quazip 1.1

Since quazip has been upgraded from 0.9 to 1.1 (0.9 being lost) and since the path changed between the 2 versions it causes problems for example in KeePassXC which can't find quazip anymore (it relies on the pathes of quazip 0.9).


Cited from page above:

QuaZip 1.0 should be installed along with 0.x. Whatever applications were built with 0.x should continue to happily use 0.x. When application developers decide so, they should switch to QuaZip 1.0 in their new releases (and preferably switch to CMake as well).

Package maintainers should not consider 1.0 an upgrade from 0.x, but rather an independent package, pretty much the same way as Qt4 and Qt5 are separate packages. The same goes for future major versions such as 2.0, whenever they are released. Or at least that's the current plan.

Change History (5)

comment:1 Changed 3 years ago by tenzap

Description: modified (diff)

comment:2 Changed 3 years ago by tenzap

a suggested way to fix this is here: https://github.com/macports/macports-ports/pull/12943

comment:3 Changed 3 years ago by tenzap

sh-3.2# port contents quazip1
Port quazip1 contains:
  /opt/local/include/QuaZip-Qt5-1.1/quazip/JlCompress.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/ioapi.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/minizip_crypt.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quaadler32.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quachecksum32.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quacrc32.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quagzipfile.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quaziodevice.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quazip.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quazip_global.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quazip_qt_compat.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quazipdir.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quazipfile.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quazipfileinfo.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/quazipnewinfo.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/unzip.h
  /opt/local/include/QuaZip-Qt5-1.1/quazip/zip.h
  /opt/local/lib/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5Config.cmake
  /opt/local/lib/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5ConfigVersion.cmake
  /opt/local/lib/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5_SharedTargets-macports.cmake
  /opt/local/lib/cmake/QuaZip-Qt5-1.1/QuaZip-Qt5_SharedTargets.cmake
  /opt/local/lib/libquazip1-qt5.1.0.0.dylib
  /opt/local/lib/libquazip1-qt5.1.1.dylib
  /opt/local/lib/libquazip1-qt5.dylib
  /opt/local/lib/pkgconfig/quazip1-qt5.pc

sh-3.2# port contents quazip
Port quazip contains:
  /opt/local/include/quazip5/JlCompress.h
  /opt/local/include/quazip5/ioapi.h
  /opt/local/include/quazip5/minizip_crypt.h
  /opt/local/include/quazip5/quaadler32.h
  /opt/local/include/quazip5/quachecksum32.h
  /opt/local/include/quazip5/quacrc32.h
  /opt/local/include/quazip5/quagzipfile.h
  /opt/local/include/quazip5/quaziodevice.h
  /opt/local/include/quazip5/quazip.h
  /opt/local/include/quazip5/quazip_global.h
  /opt/local/include/quazip5/quazipdir.h
  /opt/local/include/quazip5/quazipfile.h
  /opt/local/include/quazip5/quazipfileinfo.h
  /opt/local/include/quazip5/quazipnewinfo.h
  /opt/local/include/quazip5/unzip.h
  /opt/local/include/quazip5/zip.h
  /opt/local/lib/cmake/QuaZip5/QuaZip5Config.cmake
  /opt/local/lib/libquazip5.1.0.0.dylib
  /opt/local/lib/libquazip5.1.dylib
  /opt/local/lib/libquazip5.a
  /opt/local/lib/libquazip5.dylib

comment:4 Changed 3 years ago by tenzap

Owner: set to tenzap
Resolution: fixed
Status: newclosed

In 86d434bcc20c0c7677b03b1bb1460eea2b0a7a2b/macports-ports (master):

quazip: revert to 0.9.1 & add quazip1 package for v1.1

Closes: #63939

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.