[MacPorts] #50694: ffmpeg: issues updating to version 3.0

MacPorts noreply at macports.org
Wed Feb 24 06:39:29 PST 2016


#50694: ffmpeg: issues updating to version 3.0
-------------------------------------------------+-------------------------
  Reporter:  devans@…                            |      Owner:  devans@…
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  baresip cmus ffmpegthumbs FreeRDP   |
  goldendict gpac libdlna libextractor           |
  libquicktime-devel mlt moc OpenSceneGraph      |
  pHash py27-bob-io-video transcode VLC wxsvg    |
  xine-lib xmms2 yorick-av                       |
-------------------------------------------------+-------------------------

Comment (by devans@…):

 Replying to [comment:18 mojca@…]:
 > The latest release of `xmms2` is more than 4 years old (from 2011). The
 problems have most likely been fixed in the devel version (see
 https://git.xmms2.org/xmms2/xmms2-devel/), but I don't see any sign of a
 new release. We should probably open a separate ticket for that.
 >
 > I tried to fetch from GIT
 >
 > {{{
 > #!diff
 > --- Portfile  (revision 145999)
 > +++ Portfile  (working copy)
 > @@ -5,8 +5,6 @@
 >  PortGroup               waf 1.0
 >
 >  name                    xmms2
 > -version                 0.8DrO_o
 > -revision                10
 >  categories              audio
 >  # Mostly LGPL, some plugins and clients are GPL
 >  license                 LGPL-2.1+ GPL-2+ GPL-2
 > @@ -13,15 +11,15 @@
 >  maintainers             nomaintainer
 >  homepage                http://xmms2.org/
 >  platforms               darwin
 > -master_sites            sourceforge:project/xmms2/xmms2/[regsub
 {^([0-9.]+)} ${version} {\1%20}]
 > -use_bzip2               yes
 >
 > +fetch.type              git
 > +git.url                 git://git.xmms2.org/xmms2/xmms2-devel.git
 > +git.branch              ece0baf0f56f705bdf9a3d174ac170d194bfe0b0
 > +version                 1.8.11
 > +
 >  description             CrossPlatform Music Multiplexer System
 >  long_description        Next generation audio player of XMMS
 >
 > -checksums               rmd160
 35513d7eddd5f79146cb8aa5c6c0bb35369619ec \
 > -                        sha256
 c77e41e7bd5788889d5a2f78331ca8c748b8721bd2e59f36c36ad4c7cae8694a
 > -
 >  depends_build-append    port:pkgconfig
 >
 >  depends_lib             path:lib/pkgconfig/glib-2.0.pc:glib2 \
 > }}}
 >
 > But the port needs more effort than just that:
 > {{{
 > :info:configure src/lib/s4: b46e5975 (not initialized)
 > :info:configure The submodule 'src/lib/s4' is not initialized. Run `git
 submodule update --init` and try again.
 > }}}

 As you say, it looks like the hard part of updating this port (moving from
 avcodec_decode_audio3 to avcodec_decode_audio4 which involves moving from
 fixed buffers to AVFrames) has been already done upstream as part of a
 cleanup of deprecations.  The changes are very localized to a specific
 plugin, so I'm working on just back porting the appropriate changes (as
 patches) along with any residual cleanup necessary.

 This should fix the ffmpeg compatibility issues without getting into a
 bigger can of worms having to do with the updating the program in its
 entirety.  Since there hasn't been a new release in a long time it would
 probably be wise to confer with the upstream developers to see if they
 would be willing to make one that they think is relatively stable.

-- 
Ticket URL: <https://trac.macports.org/ticket/50694#comment:22>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list