[MacPorts] #26815: mkvtoolnix builds with ruby19
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: mkvtoolnix, ruby | Port: mkvtoolnix --------------------------------------+------------------------------------- mkvtoolnix successfully builds and works with 'ruby19' installed, not just 'ruby' package. There is should be an option to build mkvtoolnix with ruby19 P.S. I have symlinks from ruby19, irb19, erb19 and so on to ruby, irb, erb. Maybe it won't build otherwise -- Ticket URL: <https://trac.macports.org/ticket/26815> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: mkvtoolnix, ruby | Port: mkvtoolnix --------------------------------------+------------------------------------- Comment(by ruud@…): As far as I know the build system doesn't care what version of ruby you have, and neither do I. I just picked the most obvious port for the Portfile. If a dev knows an easy way to support both I'm all for it. -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: mkvtoolnix, ruby | Port: mkvtoolnix --------------------------------------+------------------------------------- Comment(by rmstonecipher@…): Dmitry, I do not have any ruby other than 'ruby' installed, but perhaps the following substitution would resolve this issue: {{{ -depends_build port:ruby +depends_build path:lib/libruby.dylib:ruby }}} This would depend, of course, on your specific ruby providing ${prefix}/lib/libruby.dylib.[[br]] If it works and Ruud (let me know if that's your surname and I'll be sure to address you as Mr. Ruud) approves, I can commit this change.[[br]][[br]] Cheers,[[br]] Ryan -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: mkvtoolnix, ruby | Port: mkvtoolnix --------------------------------------+------------------------------------- Comment(by ruud@…): Replying to [comment:2 rmstonecipher@…]:
Dmitry, I do not have any ruby other than 'ruby' installed, but perhaps the following substitution would resolve this issue: {{{ -depends_build port:ruby +depends_build path:lib/libruby.dylib:ruby }}} This would depend, of course, on your specific ruby providing ${prefix}/lib/libruby.dylib.[[br]] If it works and Ruud (let me know if that's your surname and I'll be sure to address you as Mr. Ruud) approves, I can commit this change.[[br]][[br]] Cheers,[[br]] Ryan I thought that was changed last time. Anyway, fine with me. Ow, and Ruud is my first name; no mr required.
-- Ticket URL: <https://trac.macports.org/ticket/26815#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: mkvtoolnix, ruby | Port: mkvtoolnix --------------------------------------+------------------------------------- Comment(by rmstonecipher@…): Ruud,[[br]] It looks like Dmitry was right; not a single file is provided by both ruby19 and ruby.[[br]] My idea for setting the dependency using path:path/to/file:port will not work.[[br]][[br]] Ryan Stonecipher -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: kona8lend@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: mkvtoolnix --------------------------------------+------------------------------------- Changes (by jmr@…): * keywords: mkvtoolnix, ruby => * owner: macports-tickets@… => kona8lend@… -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: kona8lend@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: mkvtoolnix --------------------------------------+------------------------------------- Comment(by Kona8lend@…): Here's the state as near as I can figure it: 1. mkvtoolnix bundles drake which in turn has a build-time dependency on a ruby of version approximately 1.8.x . 2. build-time dependency is for executable ''''ruby'''' to be found in the path. 3. MacOSX bundles '''/usr/bin/ruby''' thus mkvtoolnix builds without '''port:ruby''' and without '''port:ruby19''' 4. drake does not reference or try to use ''''ruby1.9'''' from the path ruby is bundled on both pertinent versions of MacOSX (10.7 and 10.6) thus build-time dependency for '''port:ruby''' or '''port:ruby19 +nosuffix''' is not required. I recommend at this time to remove the build-time dependency for '''port:ruby'''. This solves (presumably) the ticket issue of not installing port:ruby unnecessarily. ''(see mkvtoolnix-nukeruby.diff above)'' -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: kona8lend@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: mkvtoolnix --------------------------------------+------------------------------------- Comment(by ryandesign@…): The versions of /usr/bin/ruby supplied by Tiger, Leopard, Snow Leopard and Lion are all compatible with drake? -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: kona8lend@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: mkvtoolnix --------------------------------------+------------------------------------- Changes (by ryandesign@…): * type: defect => enhancement -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 --------------------------------------+------------------------------------- Reporter: dmitry.gladkov@… | Owner: kona8lend@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: mkvtoolnix --------------------------------------+------------------------------------- Comment(by Kona8lend@…): Why was port:ruby added as a dependency in r71927 ? Let's just delete this dependency and if Tiger's ruby-1.8.2 is insufficient, a conditional dependency for 10.4 can easily be added. -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26815: mkvtoolnix builds with ruby19 ---------------------------------------+------------------------------------ Reporter: dmitry.gladkov@… | Owner: kona8lend@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: mkvtoolnix | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: new => closed * resolution: => fixed Comment: r88824 -- Ticket URL: <https://trac.macports.org/ticket/26815#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts