[MacPorts] #34806: mkvtoolnix needs boost and icu built with same compiler

MacPorts noreply at macports.org
Wed Feb 13 09:29:54 PST 2013


#34806: mkvtoolnix needs boost and icu built with same compiler
-------------------------+--------------------------------
  Reporter:  brian@…     |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.1
Resolution:              |   Keywords:
      Port:  mkvtoolnix  |
-------------------------+--------------------------------

Comment (by Kona8lend@…):

 I have custom ports for mkvtoolnix that work nicely. See attachment kona-
 mkvtoolnix-2fb9dfa.tar.bz2 (above).

 It consists of 3 ports:
  - mkvtoolnix 6.0.0
  - mkvtoolnix.boost 1.53.0
  - mkvtoolnix.icu 50.1.2

 mkvtoolnix has some minor upstream patches to find private boost libraries
 before macports normal libraries. Depends on mkvtoolnix.boost .

 mkvtoolnix.boost has a minor upstream patch to use -install_name properly.
 Depends on mkvtoolnix.icu .

 mkvtoolnix.icu has no upstream patches.

 All 3 ports are aware of and use /opt/local/private/mkvtoolnix/ as a
 private subtree for mkvtoolnix special needs. There are several good
 reasons for this. Firstly, we guarantee that all C++ and C++11 libraries
 for which mkvtoolnix depends on, either directly or indirectly, are built
 with the same compiler, and same c++11 mode flags. Second, this must co-
 exist with all other ports and not impact them negatively. Thirdly,
 mkvtoolnix tracks boost version bumps much faster than other apps, so
 tying them to the same version is not possible without halting mkvtoolnix
 version bumps.

 The positive side is, port:mkvtoolnix.boost has been optimized to build on
 the necessary libraries and takes an order of magnitude less time to build
 than the port:boost .

 There is support for 3 compiler variants, all tested on Mountain Lion.
 clang variant (default) is known to work with Xcode 4.6 . gcc47 and gcc48
 variants also work. gcc46 support has been dropped by upstream. I
 recommend sticking with the clang.

 If you want to try it out, add a custom directory in front of your default
 ports in /opt/local/etc/macports/sources.conf and extract the tarball. Run
 a port -d sync. Make sure old mkvtoolnix is deactivated. port info
 mkvtoolnix to verify it is picking up the new portfile. port install
 mkvtoolnix.

-- 
Ticket URL: <https://trac.macports.org/ticket/34806#comment:24>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list