Package: aqualung
Version: 1.0
Severity: wishlist
Tags: newcomer

Hello!

Some time ago I found that my favorite music player Aqualung had been removed
from Debian repository. I found the reasoning for doing this in the bug report
( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748560 ).

It stated that Aqualung was: "orphaned, incompatible with current libav"

However, as of September 2017, there are numerous fixes to Aqualung, the
version 1.0 is released, and the newer FFMpeg API compatibility added. In fact,
I managed to build and install Aqualung on my Debian 9 system with a very easy
patch (see the attached file).

So I suggest Debian maintainers to consider putting Aqualung package back to
repository.

  Vladimir



-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8), LANGUAGE=uk:ru 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aqualung depends on:
ii  libasound2                1.1.3-5
ii  libatk1.0-0               2.22.0-1
ii  libavcodec57              7:3.2.8-1~deb9u1
ii  libavformat57             7:3.2.8-1~deb9u1
ii  libavutil55               7:3.2.8-1~deb9u1
ii  libbz2-1.0                1.0.6-8.1
ii  libc6                     2.24-11+deb9u1
ii  libcairo2                 1.14.8-1
ii  libcddb2                  1.3.2-5
ii  libcdio-cdda1             0.83-4.3+b1
ii  libcdio-paranoia1         0.83-4.3+b1
ii  libcdio13                 0.83-4.3+b1
ii  libflac8                  1.3.2-1
ii  libfontconfig1            2.11.0-6.7+b1
ii  libfreetype6              2.6.3-3.2
ii  libgdk-pixbuf2.0-0        2.36.5-2+deb9u1
ii  libglib2.0-0              2.50.3-2
ii  libgtk2.0-0               2.24.31-2
ii  libifp4                   1.0.0.2-5+b2
ii  libjack0 [libjack-0.125]  1:0.125.0-2
ii  liblrdf0                  0.6.1-1
ii  liblua5.1-0               5.1.5-8.1+b2
ii  libmad0                   0.15.1b-8
ii  libmodplug1               1:0.8.8.5-3
ii  libmp3lame0               3.99.5+repack1-9+b2
ii  libmpcdec6                2:0.1~r495-1+b1
ii  libogg0                   1.3.2-1
ii  liboggz2                  1.1.1-5+b1
ii  libpango-1.0-0            1.40.5-1
ii  libpangocairo-1.0-0       1.40.5-1
ii  libpangoft2-1.0-0         1.40.5-1
ii  libpulse0                 10.0-1+deb9u1
ii  libsamplerate0            0.1.8-8+b2
ii  libsndfile1               1.0.27-3
ii  libsndio6.1               1.1.0-3
ii  libspeex1                 1.2~rc1.2-1+b2
ii  libusb-0.1-4              2:0.1.12-30
ii  libvorbis0a               1.3.5-4
ii  libvorbisenc2             1.3.5-4
ii  libvorbisfile3            1.3.5-4
ii  libwavpack1               5.0.0-2
ii  libxml2                   2.9.4+dfsg1-2.2+deb9u1
ii  zlib1g                    1:1.2.8.dfsg-5

aqualung recommends no packages.

aqualung suggests no packages.

-- no debconf information
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_lavc_version_major_55.patch by Vladimir Smolyar <[email protected]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix for newer versions of FFMpeg

@DPATCH@
--- aqualung-1.0.orig/src/decoder/dec_lavc.c    2015-04-19 15:49:49.000000000 
+0300
+++ aqualung-1.0/src/decoder/dec_lavc.c 2017-09-10 11:57:24.752842399 +0300
@@ -280,7 +280,10 @@
                return DECODER_OPEN_BADLIB;
 
        pd->avCodecCtx = pd->avFormatCtx->streams[pd->audioStream]->codec;
-#if LIBAVCODEC_VERSION_MAJOR >= 53
+
+#if LIBAVCODEC_VERSION_MAJOR >= 55
+       pd->avCodecCtx->get_buffer2 = avcodec_default_get_buffer2;
+#elif LIBAVCODEC_VERSION_MAJOR >= 53
        pd->avCodecCtx->get_buffer = avcodec_default_get_buffer;
        pd->avCodecCtx->release_buffer = avcodec_default_release_buffer;
 #endif /* LIBAVCODEC_VERSION_MAJOR >= 53 */

Reply via email to