bug#23217: xboing bugs

2016-04-09 Thread Alex Kost
Jean Louis (2016-04-04 21:47 +0300) wrote:

> I have encountered few bugs with xboing.
>
> xboing -debug
> XBoing - Debugging mode activated.
> XBoing - Command line parsed.
> XBoing - Display system checked.
> XBoing - Colourmap created.
> XBoing - Please wait , initialising xboing ...
> XBoing - Sound system checked.
> XBoing - Initialised colour names.
> XBoing - Creating windows 
> XBoing - Creating windows finished.
> XBoing - Setting WM properties.
> XBoing - Changing window attributes.
> XBoing - Created all windows.
> XBoing - Error: Xlib Error: BadMatch (invalid parameter attributes)
>
> Please read
> `/gnu/store/k1wydpcdz5ci8c78w0xrz7hg3z09yg7j-xboing-2.4/docs/problems.doc'
> document for help.
>
> It does not run on my side. I am on foreign distribution (Debian).

Yes, I confirm that it fails.

xboing is an ancient software: the last release (2.4) dates back to
1995, so if no one is going to fix it, I think we should just remove it.

John, since you packaged xboing, are you willing to look at it?

-- 
Alex





bug#23256: vlc not building after update to ffmpeg 3.0

2016-04-09 Thread Christopher Allan Webber
vlc is failing to build after the update recently to ffmpeg 3.0.  I
verified that it builds prior to this change.

Should we include an older version of ffmpeg to build vlc with for now?
Or should we try to figure out what to do to to get vlc to build with
ffmpeg 3.0?  Maybe for now we should do the former for the aim of the latter.

Here's the output while attempting to build.

  CC   codec/libvorbis_plugin_la-vorbis.lo
  CC   codec/avcodec/libavcodec_plugin_la-video.lo
codec/avcodec/video.c: In function ‘InitVideoDec’:
codec/avcodec/video.c:226:5: error: implicit declaration of function 
‘avcodec_alloc_frame’ [-Werror=implicit-function-declaration]
 p_sys->p_ff_pic = avcodec_alloc_frame();
 ^
codec/avcodec/video.c:226:21: warning: assignment makes pointer from integer 
without a cast
 p_sys->p_ff_pic = avcodec_alloc_frame();
 ^
codec/avcodec/video.c:308:34: warning: assignment from incompatible pointer type
 p_sys->p_context->get_format = ffmpeg_GetFormat;
  ^
codec/avcodec/video.c:438:9: error: implicit declaration of function 
‘avcodec_free_frame’ [-Werror=implicit-function-declaration]
 avcodec_free_frame( &p_sys->p_ff_pic );
 ^
codec/avcodec/video.c: In function ‘lavc_dr_GetFrame’:
codec/avcodec/video.c:996:25: error: ‘PIX_FMT_PAL8’ undeclared (first use in 
this function)
 if (ctx->pix_fmt == PIX_FMT_PAL8)
 ^
codec/avcodec/video.c:996:25: note: each undeclared identifier is reported only 
once for each function it appears in
codec/avcodec/video.c: At top level:
codec/avcodec/video.c:1305:25: error: return type is an incomplete type
 static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
 ^
codec/avcodec/video.c:1305:25: error: conflicting types for ‘ffmpeg_GetFormat’
codec/avcodec/video.c:111:25: note: previous declaration of ‘ffmpeg_GetFormat’ 
was here
 static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *,
 ^
codec/avcodec/video.c: In function ‘ffmpeg_GetFormat’:
codec/avcodec/video.c:1317:5: error: invalid use of undefined type ‘enum 
PixelFormat’
 for( size_t i = 0; pi_fmt[i] != PIX_FMT_NONE; i++ )
 ^
codec/avcodec/video.c:1317:30: error: dereferencing pointer to incomplete type
 for( size_t i = 0; pi_fmt[i] != PIX_FMT_NONE; i++ )
  ^
codec/avcodec/video.c:1317:37: error: ‘PIX_FMT_NONE’ undeclared (first use in 
this function)
 for( size_t i = 0; pi_fmt[i] != PIX_FMT_NONE; i++ )
 ^
codec/avcodec/video.c:1319:9: error: invalid use of undefined type ‘enum 
PixelFormat’
 const AVPixFmtDescriptor *dsc = av_pix_fmt_desc_get(pi_fmt[i]);
 ^
codec/avcodec/video.c:1319:67: error: dereferencing pointer to incomplete type
 const AVPixFmtDescriptor *dsc = av_pix_fmt_desc_get(pi_fmt[i]);
   ^
codec/avcodec/video.c:1324:9: error: invalid use of undefined type ‘enum 
PixelFormat’
 msg_Dbg( p_dec, "available %sware decoder output format %d (%s)",
 ^
In file included from ../include/vlc_common.h:908:0,
 from codec/avcodec/video.c:32:
codec/avcodec/video.c:1325:51: error: dereferencing pointer to incomplete type
  hwaccel ? "hard" : "soft", pi_fmt[i], dsc->name );
   ^
../include/vlc_messages.h:78:63: note: in definition of macro ‘msg_Dbg’
 vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG,  MODULE_STRING, __VA_ARGS__ )
   ^
codec/avcodec/video.c:1344:5: error: invalid use of undefined type ‘enum 
PixelFormat’
 for( size_t i = 0; pi_fmt[i] != PIX_FMT_NONE; i++ )
 ^
codec/avcodec/video.c:1344:30: error: dereferencing pointer to incomplete type
 for( size_t i = 0; pi_fmt[i] != PIX_FMT_NONE; i++ )
  ^
codec/avcodec/video.c:1346:9: error: invalid use of undefined type ‘enum 
PixelFormat’
 if( p_va->pix_fmt != pi_fmt[i] )
 ^
codec/avcodec/video.c:1346:36: error: dereferencing pointer to incomplete type
 if( p_va->pix_fmt != pi_fmt[i] )
^
codec/avcodec/video.c:1370:9: error: invalid use of undefined type ‘enum 
PixelFormat’
 return pi_fmt[i];
 ^
codec/avcodec/video.c:1370:22: error: dereferencing pointer to incomplete type
 return pi_fmt[i];
  ^
codec/avcodec/video.c:1370:9: warning: ‘return’ with a value, in function 
returning void
 return pi_fmt[i];
 ^
codec/avcodec/video.c:1378:51: warning: passing argument 2 of 
‘avcodec_default_get_format’ from incompatible pointer type
 return avcodec_default_get_format( p_context, pi_fmt );
   ^
In file included from codec/avcodec/video.c:38:0:
/gnu/store/p202gwk3i870jwdwa

bug#23256: vlc not building after update to ffmpeg 3.0

2016-04-09 Thread Christopher Allan Webber
Christopher Allan Webber writes:

> vlc is failing to build after the update recently to ffmpeg 3.0.  I
> verified that it builds prior to this change.
>
> Should we include an older version of ffmpeg to build vlc with for now?
> Or should we try to figure out what to do to to get vlc to build with
> ffmpeg 3.0?  Maybe for now we should do the former for the aim of the latter.

It looks like this is not unique to us:
  https://trac.macports.org/ticket/50697





bug#23256: vlc not building after update to ffmpeg 3.0

2016-04-09 Thread Efraim Flashner
On Sat, Apr 09, 2016 at 02:21:39PM -0500, Christopher Allan Webber wrote:
> vlc is failing to build after the update recently to ffmpeg 3.0.  I
> verified that it builds prior to this change.
> 
> Should we include an older version of ffmpeg to build vlc with for now?
> Or should we try to figure out what to do to to get vlc to build with
> ffmpeg 3.0?  Maybe for now we should do the former for the aim of the latter.
> 

vlc-2.2.2 depends on an update to qt-5.6 which we haven't been able to
do yet.

I seems we have a number of programs that don't currently build with
ffmpeg-3.0, so including 2.8.6 and using that version for the programs
that need it is probably a good idea.

-- 
Efraim Flashner  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature