Opened 11 years ago

Closed 11 years ago

#23892 closed defect (fixed)

TOra should use MacPorts zlib and openssl

Reported by: ryandesign (Ryan Schmidt) Owned by: petr@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: TOra

Description

TOra uses Mac OS X's zlib and openssl:

$ otool -L /opt/local/Applications/TOra.app/Contents/MacOS/TOra 
/opt/local/Applications/TOra.app/Contents/MacOS/TOra:
	/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2)
	/opt/local/lib/libpng12.0.dylib (compatibility version 43.0.0, current version 43.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.25.0)
	/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/QtXml (compatibility version 4.6.0, current version 4.6.2)
	/opt/local/libexec/qt4-mac/lib/QtSql.framework/Versions/4/QtSql (compatibility version 4.6.0, current version 4.6.2)
	/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.6.0, current version 4.6.2)
	/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
	/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
	/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/opt/local/libexec/qt4-mac/lib/libqscintilla2.5.dylib (compatibility version 5.1.0, current version 5.1.0)
	/opt/local/lib/oracle/libocci.dylib.10.1 (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/oracle/libclntsh.dylib.10.1 (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/oracle/libociei.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/postgresql83/libpq.5.dylib (compatibility version 5.0.0, current version 5.1.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0)

Ports should use MacPorts versions of libraries when possible. See the FAQ.

Attachments (1)

tora-fix.tgz (810 bytes) - added by petr@… 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by petr@…

Attachment: tora-fix.tgz added

comment:1 Changed 11 years ago by petr@…

fix attached. Libs linking is now following:

rimmer:MacOS pvanek$ otool -L TOra 
TOra:
        /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2)
        /opt/local/lib/libpng12.0.dylib (compatibility version 43.0.0, current version 43.0.0)
        /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.0.0)
        /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0)
        /opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/QtXml (compatibility version 4.6.0, current version 4.6.2)
        /opt/local/libexec/qt4-mac/lib/QtSql.framework/Versions/4/QtSql (compatibility version 4.6.0, current version 4.6.2)
        /opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.6.0, current version 4.6.2)
        /opt/local/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
        /opt/local/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
        /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2)
        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
        /opt/local/libexec/qt4-mac/lib/libqscintilla2.5.dylib (compatibility version 5.1.0, current version 5.1.0)
        /opt/local/lib/oracle/libocci.dylib.10.1 (compatibility version 0.0.0, current version 0.0.0)
        /opt/local/lib/oracle/libclntsh.dylib.10.1 (compatibility version 0.0.0, current version 0.0.0)
        /opt/local/lib/oracle/libociei.dylib (compatibility version 0.0.0, current version 0.0.0)
        /opt/local/lib/postgresql83/libpq.5.dylib (compatibility version 5.0.0, current version 5.1.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)

the fix contains one more patch for DYLD_LIBRARY_PATH in Info.plist

comment:2 Changed 11 years ago by petr@…

Ryan, can you commit/reject this fix, please? I'd like to bump TOra version, but it depends on this patch. Thanks a lot.

BTW do you think I can ask for maintainership of this port (I'm a developer of the TOra)?

comment:3 Changed 11 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

I committed the patch in r67615. I also increased the port revision, since this would change the contents of the installed files. I couldn't verify it, because the port doesn't install for me, neither before nor after the patch. I'll submit a new ticket for that.

And you are already the maintainer of this port. :)

Note: See TracTickets for help on using tickets.