[MacPorts] #47934: libvpx should be in depends_build not depends_lib
#47934: libvpx should be in depends_build not depends_lib -------------------------+------------------------------------------------- Reporter: | Owner: ryandesign@… ryandesign@… | Status: new Type: defect | Milestone: Priority: Normal | Version: 2.3.3 Component: ports | Port: avidemux, ffmpeg, ffmpeg-devel, Keywords: | gd2, gstreamer010-gst-plugins-bad, gstreamer1 | -gst-plugins-good -------------------------+------------------------------------------------- libvpx installs a static library only, so dependents should list libvpx in depends_build, not depends_lib. Right? I can make this change, but want to verify with you that it's correct first. -- Ticket URL: <https://trac.macports.org/ticket/47934> MacPorts <https://www.macports.org/> Ports system for OS X
#47934: libvpx should be in depends_build not depends_lib -------------------------------------------------+------------------------- Reporter: ryandesign@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.3.3 Port: avidemux, ffmpeg, ffmpeg-devel, | Keywords: gd2, gstreamer010-gst-plugins-bad, gstreamer1 | -gst-plugins-good | -------------------------------------------------+------------------------- Comment (by devans@…): I don't know about "should" but I think, theoretically, you're right about making libvpx or any lib that produces only a static library a build dependency. The lib dependency is not "wrong" per se as it doesn't break the port but could be viewed as overkill. Having said that, I haven't done any real testing of this so why don't you let me handle ffmpeg/ffmpeg-devel and the gstreamer ports and I'll leave avidemux and gd2 to you. I'm tempted to wait on this until libvpx 1.4.0 is committed and do it then along with the required revbump. Note that dependents of static libraries always need a revdump whenever the libvpx code changes due to the static lib issue. Otherwise, the port could be using a compiled in old version of the library even though the library has been updated. -- Ticket URL: <https://trac.macports.org/ticket/47934#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47934: libvpx should be in depends_build not depends_lib -------------------------------------------------+------------------------- Reporter: ryandesign@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.3.3 Port: avidemux, ffmpeg, ffmpeg-devel, | Keywords: gd2, gstreamer010-gst-plugins-bad, gstreamer1 | -gst-plugins-good | -------------------------------------------------+------------------------- Comment (by ryandesign@…): Replying to [comment:1 devans@…]:
I don't know about "should" but I think, theoretically, you're right about making libvpx or any lib that produces only a static library a build dependency. The lib dependency is not "wrong" per se as it doesn't break the port but could be viewed as overkill.
What I meant was that making it a library dependency causes libvpx to be installed on users' systems when it doesn't need to be. There is no benefit to it being there, for users installing these ports from binaries. I was just hesitating because every port depending on libvpx does it by library dependency, and I wanted to make sure there wasn't some reason why this was needed in this case. But I don't think there is. -- Ticket URL: <https://trac.macports.org/ticket/47934#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47934: libvpx should be in depends_build not depends_lib -------------------------------------------------+------------------------- Reporter: ryandesign@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.3.3 Port: avidemux, ffmpeg, ffmpeg-devel, | Keywords: gd2, gstreamer010-gst-plugins-bad, gstreamer1 | -gst-plugins-good | -------------------------------------------------+------------------------- Comment (by devans@…): Agreed. You caught me in a bad mood. Sorry for being "linquistically over- sensitive." -- Ticket URL: <https://trac.macports.org/ticket/47934#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47934: libvpx should be in depends_build not depends_lib -------------------------------------------------+------------------------- Reporter: ryandesign@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.3.3 Port: avidemux, ffmpeg, ffmpeg-devel, | Keywords: gd2, gstreamer010-gst-plugins-bad, gstreamer1 | -gst-plugins-good | -------------------------------------------------+------------------------- Comment (by devans@…): ffmpeg, ffmpeg-devel fixed in r137058 [[BR]] gstreamer010-gst-plugins-bad fixed in r137067 [[BR]] gstreamer1-gst-plugins-good fixed in r137068 -- Ticket URL: <https://trac.macports.org/ticket/47934#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47934: libvpx should be in depends_build not depends_lib -------------------------------------------------+------------------------- Reporter: ryandesign@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: closed Component: ports | Milestone: Resolution: fixed | Version: 2.3.3 Port: avidemux, ffmpeg, ffmpeg-devel, | Keywords: gd2, gstreamer010-gst-plugins-bad, gstreamer1 | -gst-plugins-good | -------------------------------------------------+------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: gd2: r137228\\ avidemux: r137230 -- Ticket URL: <https://trac.macports.org/ticket/47934#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47934: libvpx should be in depends_build not depends_lib -------------------------------------------------+------------------------- Reporter: ryandesign@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: closed Component: ports | Milestone: Resolution: fixed | Version: 2.3.3 Port: avidemux, ffmpeg, ffmpeg-devel, | Keywords: gd2, gstreamer010-gst-plugins-bad, gstreamer1 | -gst-plugins-good | -------------------------------------------------+------------------------- Comment (by dstrubbe@…): I'm don't think this is a good idea for gd2, because it recommends linking libvpx according to its config binary: {{{ gdlib-config --libs -lgd -ljpeg -lz -L/opt/local/lib -lpng16 -L/opt/local/lib -lfreetype -L/opt/local/lib -lfontconfig -lfontconfig -L/opt/local/lib -lXpm -L/opt/local/lib -lvpx -L/opt/local/lib -ltiff -liconv }}} Everything else in this list is depends_lib for gd2. As a result, a code which naturally uses the output of this command in a configure script to decide how to link will fail if libvpx is no longer installed. On the other hand, the depends_lib port:expat does not seem to be dynamically linked into any library or executable from gd2, so I wonder if it really needs to be depends_lib. -- Ticket URL: <https://trac.macports.org/ticket/47934#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts