Hi, Yes, this is a bug when compiling with VLC 2.0.0. This is normally fixed in the SVN trunk.
I made a patch to correct this when i tried to build the package. This can be include in the "debian/patches" directory. Actually, I already build a package and tried to upload it, but I still didn't found a sponsor for his inclusion in Debian. I was looking for time to find one, but I was a little busy these last week. Are you debian developper or maintener? Can you sponsor me or build the package for inclusion? I think I'm going to release the 0.6.3 version of FreetuxTV, that fix this problem this week end. So if you can sponsor me, we can build a package based on this future version. Eric ########## BEGIN PATCHE (fix-compilation-libvlcgtk.patch) ########## ** Title: Compilation with VLC 2.0.0 DEP: 3 State: ACCEPTED Date: 2012-03-05 Drivers: Eric Beuque <eric.beu...@gmail.com> URL: http://code.google.com/p/freetuxtv/source/detail?r=674 Abstract: Add compilation correction with vlc 2.0.0 (import r674) --- a/lib/libvlc-gtk/gtk-libvlc-private.h +++ b/lib/libvlc-gtk/gtk-libvlc-private.h @@ -22,7 +22,7 @@ #include "gtk-libvlc-include.h" -#define GTK_LIBVLC_LOG_DOMAIN "LibVLC-Gtk" +#define GTK_LIBVLC_LOG_DOMAIN "LibVLC-Gtk" // Set default value for LIBVLC_VERSION_MAJOR #ifndef LIBVLC_VERSION_MAJOR @@ -48,42 +48,40 @@ // LIBVLC_OLD_FULLSCREEN_MODE : The branche don't need a top level window for fullscreen mode // Define the option for each branche -#if LIBVLC_VERSION_MAJOR >= 1 +#if LIBVLC_VERSION_MAJOR == 2 + // Last branche +#elif LIBVLC_VERSION_MAJOR == 1 + + #if LIBVLC_VERSION_MINOR == 0 + // Branche 1.0.x + #define LIBVLC_OLD_VLCEXCEPTION + #define LIBVLC_OLD_FULLSCREEN_MODE - -#if LIBVLC_VERSION_MINOR >= 1 -// Current branche - -#elif LIBVLC_VERSION_MINOR == 0 -// Branche 1.0.x -#define LIBVLC_OLD_VLCEXCEPTION -#define LIBVLC_OLD_FULLSCREEN_MODE - -#endif // LIBVLC_VERSION_MINOR >= 1 + #endif // LIBVLC_VERSION_MINOR >= 1 #elif LIBVLC_VERSION_MAJOR == 0 -#if LIBVLC_VERSION_MINOR == 9 -// Branche 0.9.x -#define LIBVLC_OLD_VLCEXCEPTION -#define LIBVLC_OLD_SET_DRAWABLE -#define LIBVLC_DONT_HAVE_ISPLAYING -#define LIBVLC_OLD_FULLSCREEN_MODE - -#elif LIBVLC_VERSION_MINOR == 8 -// Branche 0.8.x -#define LIBVLC_OLD_INSTANCE -#define LIBVLC_OLD_VLCEXCEPTION -#define LIBVLC_DEPRECATED_PLAYLIST -#define LIBVLC_OLD_FULLSCREEN_MODE - -#else -// LIBVLC must be at least 0.8.6 -#error "LIBVLC version is not supported" + #if LIBVLC_VERSION_MINOR == 9 + // Branche 0.9.x + #define LIBVLC_OLD_VLCEXCEPTION + #define LIBVLC_OLD_SET_DRAWABLE + #define LIBVLC_DONT_HAVE_ISPLAYING + #define LIBVLC_OLD_FULLSCREEN_MODE + + #elif LIBVLC_VERSION_MINOR == 8 + // Branche 0.8.x + #define LIBVLC_OLD_INSTANCE + #define LIBVLC_OLD_VLCEXCEPTION + #define LIBVLC_DEPRECATED_PLAYLIST + #define LIBVLC_OLD_FULLSCREEN_MODE + + #else + // LIBVLC must be at least 0.8.6 + #error "LIBVLC version is not supported" -#endif // LIBVLC_VERSION_MINOR == 9 + #endif // LIBVLC_VERSION_MINOR -#endif // LIBVLC_VERSION_MAJOR >= 1 +#endif // LIBVLC_VERSION_MAJOR #ifdef LIBVLC_OLD_INSTANCE // LibVLC header for 0.8.x ######################### END OF PATCHE On Thu, Mar 29, 2012 at 4:13 PM, Ryan Kavanagh <r...@debian.org> wrote: > Hi Eric, > > Has there been any progress on the package? I've been unable to compile > from > sources on an up to date Debian unstable (see below), but I'm interest in > the > idea of freetuxtv and can see myself using it. > > Best wishes, > Ryan > > --- > > gtk-libvlc-instance.c: In function ‘raise_error’: > gtk-libvlc-instance.c:107:2: error: unknown type name ‘libvlc_exception_t’ > gtk-libvlc-instance.c:107:28: error: ‘libvlc_exception_t’ undeclared > (first use in this function) > gtk-libvlc-instance.c:107:28: note: each undeclared identifier is reported > only once for each function it appears in > gtk-libvlc-instance.c:107:47: error: expected expression before ‘)’ token > gtk-libvlc-instance.c:111:12: warning: assignment makes pointer from > integer without a cast [enabled by default] > gtk-libvlc-instance.c: In function ‘gtk_libvlc_instance_new’: > gtk-libvlc-instance.c:174:2: error: unknown type name ‘libvlc_exception_t’ > gtk-libvlc-instance.c:198:3: error: too many arguments to function > ‘libvlc_new’ > /usr/include/vlc/libvlc.h:138:1: note: declared here > gtk-libvlc-instance.c:200:3: error: too many arguments to function > ‘libvlc_new’ > /usr/include/vlc/libvlc.h:138:1: note: declared here > make[3]: *** [gtk-libvlc-instance.lo] Error 1 >