Bug#726838: mplayer depends upon old libavutil under unstable

2014-01-14 Thread Christoph Anton Mitterer

Removing mplayer in favour of mplayer2 seems to be quite a bad idea,...
as the later seems to be more or less dead upstream, while the former is
actively developed.

So this is probably a no-go.

It should be mentioned btw, that the mplayer and mplayer2 packages from
DMO just work fine (and can even be installed concurrently),... so I
wonder a bit why the ones from Debian can't.


Cheers,
Chris.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#726838: mplayer depends upon old libavutil under unstable

2013-12-23 Thread Gianluigi Tiesi
Source: mplayer
Followup-For: Bug #726838

Hi all,
I've made some fixes to help package building.

libav-compat.diff: adds system libav compatibility

Unfortunately the mplayer code is not enough clean to build using
system include so there is a catch.
I've removed local ffmpeg from includes (in configure), but some files
require libavutil/x86_cpu.h
A trick can be add a local patch that adds this file
on topdir (this file only). It's not pretty but the alternative
is change a lot of files.

live555-async.diff: async interface for live555

A patch I've made some time ago that mimic async code (like live555 did)
I've noticed some problems in live555 after they removed the sync interface.
Applying this patch to an old snapshot of live555 with
sync code behaves exactly as using the old live555 code and does not
expose the problem(s).

control.diff: for new deps

libjack-dev - libjack-dev | libjack-jackd2-dev
libmpcdec-dev - deprecated not enabled by default (decoder in libav?)
libschroedinger-dev - needs ffmpeg static
libsvga1-dev - removed from debian

debian/control and debian/rules

libsmbclient-dev - detection is broken, configure needs to use pkg-config
(in sid the include is in /usr/include/samba-4.0/libsmbclient.h)
libaudio-dev ? nas audio system, really used?
libdts-dev - it's better to use libdca-dev, mplayer uses it anyway

the install rule for png files need to be revised, now mplayer
has 16 22 24 32 48 256 png

Hope it helps

Regards


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
diff -ur -xdebian mplayer-1.1.1.orig/av_opts.c mplayer-1.1.1/av_opts.c
--- mplayer-1.1.1.orig/av_opts.c	2012-01-28 14:51:57.0 +0100
+++ mplayer-1.1.1/av_opts.c	2013-12-24 06:49:16.0 +0100
@@ -42,7 +42,7 @@
 arg = strchr(str, '=');
 if(arg)  *arg++= 0;
 
-if(av_set_string3(v, str, arg, 0, NULL)  0){
+if (av_opt_set(v, str, arg, 0)  0) {
 free(start);
 return -1;
 }
diff -ur -xdebian mplayer-1.1.1.orig/bstr.c mplayer-1.1.1/bstr.c
--- mplayer-1.1.1.orig/bstr.c	2010-07-19 00:00:48.0 +0200
+++ mplayer-1.1.1/bstr.c	2013-12-24 06:49:16.0 +0100
@@ -18,6 +18,7 @@
 
 #include string.h
 #include libavutil/avutil.h
+#include libavutil/common.h
 
 #include bstr.h
 
diff -ur -xdebian mplayer-1.1.1.orig/codec-cfg.c mplayer-1.1.1/codec-cfg.c
--- mplayer-1.1.1.orig/codec-cfg.c	2012-05-08 12:56:22.0 +0200
+++ mplayer-1.1.1/codec-cfg.c	2013-12-24 06:49:16.0 +0100
@@ -54,6 +54,7 @@
 #include help_mp.h
 
 #include libavutil/avutil.h
+#include libavutil/common.h
 #include libmpcodecs/img_format.h
 #include codec-cfg.h
 
diff -ur -xdebian mplayer-1.1.1.orig/configure mplayer-1.1.1/configure
--- mplayer-1.1.1.orig/configure	2012-05-22 20:01:51.0 +0200
+++ mplayer-1.1.1/configure	2013-12-24 06:49:16.0 +0100
@@ -1554,7 +1554,7 @@
   fi
 fi
 
-extra_cflags=-I. -Iffmpeg $extra_cflags
+extra_cflags=-I. $extra_cflags
 extra_ldflags=-lm $extra_ldflags
 _timer=timer-linux.c
 _getch=getch2.c
diff -ur -xdebian mplayer-1.1.1.orig/fmt-conversion.h mplayer-1.1.1/fmt-conversion.h
--- mplayer-1.1.1.orig/fmt-conversion.h	2011-03-01 22:44:15.0 +0100
+++ mplayer-1.1.1/fmt-conversion.h	2013-12-24 06:49:16.0 +0100
@@ -22,6 +22,7 @@
 #include config.h
 #include libavutil/avutil.h
 #include libavutil/samplefmt.h
+#include libavutil/pixfmt.h
 
 enum PixelFormat imgfmt2pixfmt(int fmt);
 int pixfmt2imgfmt(enum PixelFormat pix_fmt);
diff -ur -xdebian mplayer-1.1.1.orig/libaf/af_format.c mplayer-1.1.1/libaf/af_format.c
--- mplayer-1.1.1.orig/libaf/af_format.c	2011-10-26 17:12:35.0 +0200
+++ mplayer-1.1.1/libaf/af_format.c	2013-12-24 06:49:16.0 +0100
@@ -34,6 +34,7 @@
 #include libvo/fastmemcpy.h
 
 #include libavutil/avutil.h
+#include libavutil/common.h
 
 /* Functions used by play to convert the input audio to the correct
format */
diff -ur -xdebian mplayer-1.1.1.orig/libaf/af_lavcac3enc.c mplayer-1.1.1/libaf/af_lavcac3enc.c
--- mplayer-1.1.1.orig/libaf/af_lavcac3enc.c	2012-02-19 16:21:23.0 +0100
+++ mplayer-1.1.1/libaf/af_lavcac3enc.c	2013-12-24 06:49:16.0 +0100
@@ -34,6 +34,7 @@
 
 #include libavcodec/avcodec.h
 #include libavutil/intreadwrite.h
+#include libavutil/common.h
 
 #define AC3_MAX_CHANNELS6
 #define AC3_FRAME_SIZE   1536
diff -ur -xdebian mplayer-1.1.1.orig/libmpcodecs/vd_ffmpeg.c mplayer-1.1.1/libmpcodecs/vd_ffmpeg.c
--- mplayer-1.1.1.orig/libmpcodecs/vd_ffmpeg.c	2012-06-02 17:00:52.0 +0200
+++ mplayer-1.1.1/libmpcodecs/vd_ffmpeg.c	2013-12-24 06:49:16.0 +0100
@@ -47,6 +47,18 @@
 
 #include libavcodec/avcodec.h
 
+#ifndef AV_EF_COMPLIANT
+#define AV_EF_COMPLIANT 0
+#endif
+
+#ifndef AV_EF_CAREFUL
+#define 

Bug#726838: mplayer depends upon old libavutil under unstable

2013-11-02 Thread Christoph Anton Mitterer
severity 726838 grave
stop

Raising severity, since the issue makes the package uninstallable and
thus unusable.


Chris.


smime.p7s
Description: S/MIME cryptographic signature


Bug#726838: mplayer depends upon old libavutil under unstable

2013-10-19 Thread Javier Vasquez
Package: mplayer
Severity: important

Dear Maintainer,

mplayer under unstable for loongson-2f depends upon libavutil51, which
is no longer present under unstable.  It also depends upon some other
packages, which are not installable given the lack of libavutil51.

It looks like mplayer needs to be kept up to date against other media packages.

See below:

% aptitude install mplayer
The following NEW packages will be installed:
  mplayer{b}
  0 packages upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
  Need to get 2,654 kB of archives. After unpacking 5,129 kB will be used.
  The following packages have unmet dependencies:
   mplayer : Depends: libavcodec53 (= 5:0.8-2~) but it is not installable. or
  libavcodec-extra-53 (= 5:0.8-2~) but it is not
installable.
 Depends: libavformat53 (= 5:0.8-2~) but it is not installable.
 Depends: libavutil51 (= 5:0.8-2~) which is a virtual package.
 Depends: libsmbclient (= 3.0.24) but it is not going to
be installed.
 Depends: libx264-123 but it is not installable.
 Depends: libxvmc1 but it is not going to be installed.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (700, 'experimental')
Architecture: mipsel (mips64)

Kernel: Linux 3.10-3-loongson-2f
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mplayer depends on:
ii  libaa1  1.4p5-41
ii  libasound2  1.0.27.2-2
pn  libavcodec53 | libavcodec-extra-53  none
pn  libavformat53   none
pn  libavutil51 none
ii  libbluray1  1:0.4.0-1
ii  libbz2-1.0  1.0.6-5
ii  libc6   2.17-93
ii  libcaca00.99.beta18-1
ii  libcdparanoia0  3.10.2+debian-11
ii  libdca0 0.0.5-6
ii  libdirectfb-1.2-9   1.2.10.0-5
ii  libdvdnav4  4.2.0+20130225-3
ii  libdvdread4 4.2.0+20130219-2
ii  libenca01.15-1
ii  libesd0 0.2.41-11
ii  libfaad22.7-8
ii  libfontconfig1  2.10.2-2
ii  libfreetype62.4.9-1.1
ii  libfribidi0 0.19.5-2
ii  libgcc1 1:4.8.1-10
ii  libgif4 4.1.6-10
ii  libgl1-mesa-glx [libgl1]9.1.7-1
ii  libjack0 [libjack-0.116]1:0.121.3+20120418git75e3e20b-2.1
ii  libjpeg88d-1
ii  liblircclient0  0.9.0~pre1-1
ii  liblzo2-2   2.06-1.2
ii  libmp3lame0 3.99.5+repack1-3
ii  libmpeg2-4  0.5.1-5
ii  libncurses5 5.9+20130608-1
ii  libogg0 1.3.1-1
ii  libopenal1  1:1.14-4
ii  libpng12-0  1.2.49-5
ii  libpostproc52   6:0.git20120821-4
ii  libpulse0   4.0-6+b1
ii  libsdl1.2debian 1.2.15-7
pn  libsmbclientnone
ii  libspeex1   1.2~rc1-7
ii  libstdc++6  4.8.1-10
ii  libswscale2 6:9.10-1
ii  libtheora0  1.1.1+dfsg.1-3.1
ii  libtinfo5   5.9+20130608-1
ii  libx11-62:1.6.2-1
pn  libx264-123 none
ii  libxext62:1.3.2-1
ii  libxinerama12:1.1.3-1
ii  libxv1  2:1.0.9-1
ii  libxvidcore42:1.3.2-9
pn  libxvmc1none
ii  libxxf86dga12:1.1.4-1
ii  libxxf86vm1 1:1.1.3-1
ii  zlib1g  1:1.2.8.dfsg-1

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2  1.0.6-5
ii  fontconfig 2.10.2-2
ii  fonts-freefont-ttf [ttf-freefont]  20120503-1
pn  mplayer-docnone
ii  netselect  0.3.ds1-25
ii  ttf-freefont   20120503-1

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org