You are not logged in.

#76 2008-01-28 15:37:51

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: VLC Problem

.deps/libffmpeg_plugin_a-mux.Tpo" -c -o libffmpeg_plugin_a-mux.o `test -f 'mux.c' || echo './'`mux.c; \
    then mv -f ".deps/libffmpeg_plugin_a-mux.Tpo" ".deps/libffmpeg_plugin_a-mux.Po"; else rm -f ".deps/libffmpeg_plugin_a-mux.Tpo"; exit 1; fi
mux.c: In function 'OpenMux__0_8_6':
mux.c:136: error: incompatible types in assignment
mux.c: In function 'CloseMux__0_8_6':
mux.c:160: warning: comparison between signed and unsigned
make[6]: *** [libffmpeg_plugin_a-mux.o] Error 1
make[6]: Leaving directory `/home/archer/Programs/vlc/src/vlc-0.8.6d/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/archer/Programs/vlc/src/vlc-0.8.6d/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/archer/Programs/vlc/src/vlc-0.8.6d/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/archer/Programs/vlc/src/vlc-0.8.6d/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/archer/Programs/vlc/src/vlc-0.8.6d/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/archer/Programs/vlc/src/vlc-0.8.6d'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

It's ok now?

Thanks


~k3rn31

Offline

#77 2008-01-28 16:11:47

kanpio
Member
From: Poland/Wrocław
Registered: 2006-01-25
Posts: 49

Re: VLC Problem

Can someone post links to built packages? Why isn't this problem solved by developers? There should be corrected packages in repos.

Offline

#78 2008-01-28 16:19:19

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: VLC Problem

Archive of both packages (i686). USE AT YOUR OWN RISK.
7e52f2f58fa333eda3fbc59325813673  ffmpeg_vlc.tar.gz

Offline

#79 2008-01-28 16:23:42

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: VLC Problem

Thanks for this. Any ideas for the error above ^^^^ ?


~k3rn31

Offline

#80 2008-01-28 16:29:46

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: VLC Problem

Are you sure the source has been patched properly ?

Offline

#81 2008-01-28 16:33:11

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: VLC Problem

I made the changes that post: #76 said...


~k3rn31

Offline

#82 2008-01-28 16:35:24

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: VLC Problem

Hmmm... may I ask where you did put the patch command line in your PKGBUILD ?

Offline

#83 2008-01-28 16:40:20

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: VLC Problem

Yeap...

This is my PKGBUILD:

# $Id $
# Maintainer:
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=vlc
pkgver=0.8.6d
pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
depends=('libmad>=0.15.1b-2' 'libmpeg2>=0.4.0b-3' 'ffmpeg>=20070131'
         'wxgtk-2.6>=2.6.4' 'hal>=0.5.9.1' 'libid3tag>=0.15.1b-2' 'bash>=3.1'
         'libdvbpsi4>=0.1.5' 'fribidi>=0.10.7' 'sysfsutils>=2.0.0'
         'libdvdnav>=0.1.10-2' 'libdvdread>=0.9.4-3' 'xvidcore>=1.1.0-2'
         'libmatroska>=0.8.0' 'libxv>=1.0.1' 'libcdio>=0.78.2' 'desktop-file-utils')
arch=(i686 x86_64)
license=('GPL')
url="http://www.videolan.org/vlc/"
#Note: These build plugins, so I guess they'd be runtime depends
makedepends=('live-media' 'gnome-vfs' 'mesa' 'sdl_image' 'libmpcdec' 'speex'
             'libnotify' 'libmodplug' 'lirc-utils')
install=${pkgname}.install
source=(http://download.videolan.org/pub/videolan/vlc/${pkgver}/${pkgname}-${pkgver}.tar.bz2 vlc.patch)
#md5sums=() 

build() {
  cd $startdir/src/${pkgname}-${pkgver}
  sed -i -e 's:#include <vlc\/vlc.h>:#include <vlc/vlc.h> \n #include <locale.h>: ' src/misc/charset.c
  sed -i -e 's:/truetype/freefont/FreeSerifBold.ttf:/TTF/VeraBd.ttf:' modules/misc/freetype.c
  patch -Np0 < $startdir/src/vlc.patch
  # features that won't build on x86_64
  [ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader"

  ./configure --prefix=/usr --enable-dvdread --enable-dvdnav --enable-madi \
    --enable-ffmpeg --disable-rpath --enable-wxwidgets --enable-faad \
    --enable-alsa --enable-skins2 --enable-livedotcom --enable-dvb --enable-theora \
    --enable-dmo --with-livedotcom-tree=/usr/lib/live-media \
    --with-ffmpeg-faac --with-ffmpeg-vorbis --with-ffmpeg-dts \
    --with-ffmpeg-ogg --with-ffmpeg-theora --enable-v4l \
     --enable-lirc \
    --with-wx-config=wx-config-2.6 ${EXTRAFEATURES}
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1

  for res in 16 32 48; do
    install -D -m644 share/vlc${res}x${res}.png \
      ${startdir}/pkg/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
  done

  rm -rf ${startdir}/pkg/usr/lib/mozilla
}

~k3rn31

Offline

#84 2008-01-28 16:50:58

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: VLC Problem

I see no reason why this would not work. Did you actually install your fresh build of ffmpeg before building VLC against it ?

Offline

#85 2008-01-28 16:53:18

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: VLC Problem

Yeap with no errors. Can I check if this installed ok?


~k3rn31

Offline

#86 2008-01-28 16:57:24

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: VLC Problem

sorry to insist but the "with no errors" is a bit misleading. did you pacman -U ffmpeg-..... ?

Offline

#87 2008-01-28 17:03:17

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: VLC Problem

Yes:

pacman -U ffmpeg-20071204-1-i686.pkg.tar.gz
loading package data... done.
checking dependencies...
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) upgrading ffmpeg

I think it's ok


~k3rn31

Offline

#88 2008-01-28 17:06:49

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: VLC Problem

as an alternative, you can try this solution.

Offline

#89 2008-01-28 17:27:22

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: VLC Problem

ok I will try it

Thanks for all, fixed.

I will have problems when a new version of arch or vlc is updated with pacman?
I must do all these changes again?

Last edited by k3rn31 (2008-01-28 18:20:53)


~k3rn31

Offline

#90 2008-02-04 05:15:17

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: VLC Problem

Hi guys, trying to get this to work. Followed everything, and when I did makepkg -c to build VLC (just built ffmpeg successfully with disable swscaler), I get:

(End of code..):

audio.c: In function 'DecodeAudio__0_8_6':
audio.c:235: warning: 'avcodec_decode_audio' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2577)
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-video_filter.o -MD -MP -MF ".deps/libffmpeg_plugin_a-video_filter.Tpo" -c -o libffmpeg_plugin_a-video_filter.o `test -f 'video_filter.c' || echo './'`video_filter.c; \
    then mv -f ".deps/libffmpeg_plugin_a-video_filter.Tpo" ".deps/libffmpeg_plugin_a-video_filter.Po"; else rm -f ".deps/libffmpeg_plugin_a-video_filter.Tpo"; exit 1; fi
video_filter.c:62: warning: 'ImgReSampleContext' is deprecated
video_filter.c: In function 'CloseFilter__0_8_6':
video_filter.c:175: warning: 'img_resample_close' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2280)
video_filter.c: In function 'CheckInit':
video_filter.c:219: warning: 'img_resample_close' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2280)
video_filter.c:291: warning: 'img_resample_full_init' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2269)
video_filter.c: In function 'Process':
video_filter.c:469: warning: 'img_resample' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2275)
video_filter.c:518: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2421)
video_filter.c:530: warning: 'img_resample' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2275)
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-chroma.o -MD -MP -MF ".deps/libffmpeg_plugin_a-chroma.Tpo" -c -o libffmpeg_plugin_a-chroma.o `test -f 'chroma.c' || echo './'`chroma.c; \
    then mv -f ".deps/libffmpeg_plugin_a-chroma.Tpo" ".deps/libffmpeg_plugin_a-chroma.Po"; else rm -f ".deps/libffmpeg_plugin_a-chroma.Tpo"; exit 1; fi
chroma.c:55: warning: 'ImgReSampleContext' is deprecated
chroma.c: In function 'OpenChroma__0_8_6':
chroma.c:100: warning: 'img_resample_init' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2259)
chroma.c: In function 'ChromaConversion':
chroma.c:161: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2421)
chroma.c:165: warning: 'img_resample' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2275)
chroma.c:170: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2421)
chroma.c: In function 'CloseChroma__0_8_6':
chroma.c:186: warning: 'img_resample_close' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2280)
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-encoder.o -MD -MP -MF ".deps/libffmpeg_plugin_a-encoder.Tpo" -c -o libffmpeg_plugin_a-encoder.o `test -f 'encoder.c' || echo './'`encoder.c; \
    then mv -f ".deps/libffmpeg_plugin_a-encoder.Tpo" ".deps/libffmpeg_plugin_a-encoder.Po"; else rm -f ".deps/libffmpeg_plugin_a-encoder.Tpo"; exit 1; fi
encoder.c: In function 'OpenEncoder__0_8_6':
encoder.c:476: warning: assignment discards qualifiers from pointer target type
encoder.c:477: warning: assignment discards qualifiers from pointer target type
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-postprocess.o -MD -MP -MF ".deps/libffmpeg_plugin_a-postprocess.Tpo" -c -o libffmpeg_plugin_a-postprocess.o `test -f 'postprocess.c' || echo './'`postprocess.c; \
    then mv -f ".deps/libffmpeg_plugin_a-postprocess.Tpo" ".deps/libffmpeg_plugin_a-postprocess.Po"; else rm -f ".deps/libffmpeg_plugin_a-postprocess.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-demux.o -MD -MP -MF ".deps/libffmpeg_plugin_a-demux.Tpo" -c -o libffmpeg_plugin_a-demux.o `test -f 'demux.c' || echo './'`demux.c; \
    then mv -f ".deps/libffmpeg_plugin_a-demux.Tpo" ".deps/libffmpeg_plugin_a-demux.Po"; else rm -f ".deps/libffmpeg_plugin_a-demux.Tpo"; exit 1; fi
demux.c: In function 'OpenDemux__0_8_6':
demux.c:191: warning: comparison between signed and unsigned
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-mux.o -MD -MP -MF ".deps/libffmpeg_plugin_a-mux.Tpo" -c -o libffmpeg_plugin_a-mux.o `test -f 'mux.c' || echo './'`mux.c; \
    then mv -f ".deps/libffmpeg_plugin_a-mux.Tpo" ".deps/libffmpeg_plugin_a-mux.Po"; else rm -f ".deps/libffmpeg_plugin_a-mux.Tpo"; exit 1; fi
mux.c: In function 'CloseMux__0_8_6':
mux.c:164: warning: comparison between signed and unsigned
rm -f libffmpeg_plugin.a
ar cru libffmpeg_plugin.a libffmpeg_plugin_a-ffmpeg.o libffmpeg_plugin_a-video.o libffmpeg_plugin_a-audio.o libffmpeg_plugin_a-video_filter.o libffmpeg_plugin_a-chroma.o libffmpeg_plugin_a-encoder.o libffmpeg_plugin_a-postprocess.o libffmpeg_plugin_a-demux.o libffmpeg_plugin_a-mux.o  
ranlib libffmpeg_plugin.a
/bin/sh ../../../libtool --tag=CC --mode=link gcc -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -o libffmpeg_plugin.so libffmpeg_plugin.a -L/usr/lib -shared -lpthread -fpic -fPIC -lpostproc -lavformat -lavcodec -lz -la52 -lfaac -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -logg -ltheora -lvorbisenc -lvorbis -ldts -lfaac -lm -u vlc_entry__0_8_6
mkdir .libs
gcc -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -o libffmpeg_plugin.so -shared -fpic -fPIC -u vlc_entry__0_8_6  libffmpeg_plugin.a -L/usr/lib -lpthread -lpostproc -lavformat -lavcodec -lz -la52 -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -lavutil -logg -ltheora /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -ldts -lfaac -lm  
/usr/bin/ld: cannot find -ldts
collect2: ld returned 1 exit status
make[6]: *** [libffmpeg_plugin.so] Error 1
make[6]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Here is my vlc PKGBUILD:

# $Id $
# Maintainer:
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=vlc
pkgver=0.8.6d
pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
depends=('libmad>=0.15.1b-2' 'libmpeg2>=0.4.0b-3' 'ffmpeg>=20070131'
         'wxgtk-2.6>=2.6.4' 'hal>=0.5.9.1' 'libid3tag>=0.15.1b-2' 'bash>=3.1'
         'libdvbpsi4>=0.1.5' 'fribidi>=0.10.7' 'sysfsutils>=2.0.0'
         'libdvdnav>=0.1.10-2' 'libdvdread>=0.9.4-3' 'xvidcore>=1.1.0-2'
         'libmatroska>=0.8.0' 'libxv>=1.0.1' 'libcdio>=0.78.2' 'desktop-file-utils')
arch=(i686 x86_64)
license=('GPL')
url="http://www.videolan.org/vlc/"
#Note: These build plugins, so I guess they'd be runtime depends
makedepends=('live-media' 'gnome-vfs' 'mesa' 'sdl_image' 'libmpcdec' 'speex'
             'libnotify' 'libmodplug' 'lirc-utils')
install=${pkgname}.install
source=(http://download.videolan.org/pub/videolan/vlc/${pkgver}/${pkgname}-${pkgver}.tar.bz2 vlc.patch)
md5sums=('c11e4c38c3347e74ad9004e41208782e')

build() {
  cd $startdir/src/${pkgname}-${pkgver}
  sed -i -e 's:#include <vlc\/vlc.h>:#include <vlc/vlc.h> \n #include <locale.h>: ' src/misc/charset.c
  sed -i -e 's:/truetype/freefont/FreeSerifBold.ttf:/TTF/VeraBd.ttf:' modules/misc/freetype.c
  patch -Np1 -i ../vlc.patch || return 1
  # features that won't build on x86_64
  [ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader"

  ./configure --prefix=/usr --enable-dvdread --enable-dvdnav --enable-madi \
    --enable-ffmpeg --disable-rpath --enable-wxwidgets --enable-faad \
    --enable-alsa --enable-skins2 --enable-livedotcom --enable-dvb --enable-theora \
    --enable-dmo --with-livedotcom-tree=/usr/lib/live-media \
    --with-ffmpeg-faac --with-ffmpeg-vorbis --with-ffmpeg-dts \
    --with-ffmpeg-ogg --with-ffmpeg-theora --enable-v4l \
     --enable-lirc \
    --with-wx-config=wx-config-2.6 ${EXTRAFEATURES}
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1

  for res in 16 32 48; do
    install -D -m644 share/vlc${res}x${res}.png \
      ${startdir}/pkg/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
  done

  rm -rf ${startdir}/pkg/usr/lib/mozilla
}

TIA for any help smile

Offline

#91 2008-02-04 18:54:20

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

Re: VLC Problem

bangkok_manouel wrote:

Archive of both packages (i686). USE AT YOUR OWN RISK.
7e52f2f58fa333eda3fbc59325813673  ffmpeg_vlc.tar.gz

Thanks a lot man, after having just installed Arch and everything I need, I really didn't feel like compiling from source smile Thx for the packages.

Offline

#92 2008-02-04 20:43:20

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: VLC Problem

colbert wrote:

Hi guys, trying to get this to work. Followed everything, and when I did makepkg -c to build VLC (just built ffmpeg successfully with disable swscaler), I get:

(End of code..):

audio.c: In function 'DecodeAudio__0_8_6':
audio.c:235: warning: 'avcodec_decode_audio' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2577)
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-video_filter.o -MD -MP -MF ".deps/libffmpeg_plugin_a-video_filter.Tpo" -c -o libffmpeg_plugin_a-video_filter.o `test -f 'video_filter.c' || echo './'`video_filter.c; \
    then mv -f ".deps/libffmpeg_plugin_a-video_filter.Tpo" ".deps/libffmpeg_plugin_a-video_filter.Po"; else rm -f ".deps/libffmpeg_plugin_a-video_filter.Tpo"; exit 1; fi
video_filter.c:62: warning: 'ImgReSampleContext' is deprecated
video_filter.c: In function 'CloseFilter__0_8_6':
video_filter.c:175: warning: 'img_resample_close' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2280)
video_filter.c: In function 'CheckInit':
video_filter.c:219: warning: 'img_resample_close' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2280)
video_filter.c:291: warning: 'img_resample_full_init' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2269)
video_filter.c: In function 'Process':
video_filter.c:469: warning: 'img_resample' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2275)
video_filter.c:518: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2421)
video_filter.c:530: warning: 'img_resample' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2275)
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-chroma.o -MD -MP -MF ".deps/libffmpeg_plugin_a-chroma.Tpo" -c -o libffmpeg_plugin_a-chroma.o `test -f 'chroma.c' || echo './'`chroma.c; \
    then mv -f ".deps/libffmpeg_plugin_a-chroma.Tpo" ".deps/libffmpeg_plugin_a-chroma.Po"; else rm -f ".deps/libffmpeg_plugin_a-chroma.Tpo"; exit 1; fi
chroma.c:55: warning: 'ImgReSampleContext' is deprecated
chroma.c: In function 'OpenChroma__0_8_6':
chroma.c:100: warning: 'img_resample_init' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2259)
chroma.c: In function 'ChromaConversion':
chroma.c:161: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2421)
chroma.c:165: warning: 'img_resample' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2275)
chroma.c:170: warning: 'img_convert' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2421)
chroma.c: In function 'CloseChroma__0_8_6':
chroma.c:186: warning: 'img_resample_close' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2280)
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-encoder.o -MD -MP -MF ".deps/libffmpeg_plugin_a-encoder.Tpo" -c -o libffmpeg_plugin_a-encoder.o `test -f 'encoder.c' || echo './'`encoder.c; \
    then mv -f ".deps/libffmpeg_plugin_a-encoder.Tpo" ".deps/libffmpeg_plugin_a-encoder.Po"; else rm -f ".deps/libffmpeg_plugin_a-encoder.Tpo"; exit 1; fi
encoder.c: In function 'OpenEncoder__0_8_6':
encoder.c:476: warning: assignment discards qualifiers from pointer target type
encoder.c:477: warning: assignment discards qualifiers from pointer target type
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-postprocess.o -MD -MP -MF ".deps/libffmpeg_plugin_a-postprocess.Tpo" -c -o libffmpeg_plugin_a-postprocess.o `test -f 'postprocess.c' || echo './'`postprocess.c; \
    then mv -f ".deps/libffmpeg_plugin_a-postprocess.Tpo" ".deps/libffmpeg_plugin_a-postprocess.Po"; else rm -f ".deps/libffmpeg_plugin_a-postprocess.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-demux.o -MD -MP -MF ".deps/libffmpeg_plugin_a-demux.Tpo" -c -o libffmpeg_plugin_a-demux.o `test -f 'demux.c' || echo './'`demux.c; \
    then mv -f ".deps/libffmpeg_plugin_a-demux.Tpo" ".deps/libffmpeg_plugin_a-demux.Po"; else rm -f ".deps/libffmpeg_plugin_a-demux.Tpo"; exit 1; fi
demux.c: In function 'OpenDemux__0_8_6':
demux.c:191: warning: comparison between signed and unsigned
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin ffmpeg` -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -MT libffmpeg_plugin_a-mux.o -MD -MP -MF ".deps/libffmpeg_plugin_a-mux.Tpo" -c -o libffmpeg_plugin_a-mux.o `test -f 'mux.c' || echo './'`mux.c; \
    then mv -f ".deps/libffmpeg_plugin_a-mux.Tpo" ".deps/libffmpeg_plugin_a-mux.Po"; else rm -f ".deps/libffmpeg_plugin_a-mux.Tpo"; exit 1; fi
mux.c: In function 'CloseMux__0_8_6':
mux.c:164: warning: comparison between signed and unsigned
rm -f libffmpeg_plugin.a
ar cru libffmpeg_plugin.a libffmpeg_plugin_a-ffmpeg.o libffmpeg_plugin_a-video.o libffmpeg_plugin_a-audio.o libffmpeg_plugin_a-video_filter.o libffmpeg_plugin_a-chroma.o libffmpeg_plugin_a-encoder.o libffmpeg_plugin_a-postprocess.o libffmpeg_plugin_a-demux.o libffmpeg_plugin_a-mux.o  
ranlib libffmpeg_plugin.a
/bin/sh ../../../libtool --tag=CC --mode=link gcc -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -o libffmpeg_plugin.so libffmpeg_plugin.a -L/usr/lib -shared -lpthread -fpic -fPIC -lpostproc -lavformat -lavcodec -lz -la52 -lfaac -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -logg -ltheora -lvorbisenc -lvorbis -ldts -lfaac -lm -u vlc_entry__0_8_6
mkdir .libs
gcc -Wsign-compare -Wall -march=i686 -mtune=generic -O2 -pipe -pipe -o libffmpeg_plugin.so -shared -fpic -fPIC -u vlc_entry__0_8_6  libffmpeg_plugin.a -L/usr/lib -lpthread -lpostproc -lavformat -lavcodec -lz -la52 -lfaad -lmp3lame -lx264 -lxvidcore -ldl -lX11 -lXext -lavutil -logg -ltheora /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -ldts -lfaac -lm  
/usr/bin/ld: cannot find -ldts
collect2: ld returned 1 exit status
make[6]: *** [libffmpeg_plugin.so] Error 1
make[6]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bobby/installs/vlc/src/vlc-0.8.6d'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Here is my vlc PKGBUILD:

# $Id $
# Maintainer:
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=vlc
pkgver=0.8.6d
pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
depends=('libmad>=0.15.1b-2' 'libmpeg2>=0.4.0b-3' 'ffmpeg>=20070131'
         'wxgtk-2.6>=2.6.4' 'hal>=0.5.9.1' 'libid3tag>=0.15.1b-2' 'bash>=3.1'
         'libdvbpsi4>=0.1.5' 'fribidi>=0.10.7' 'sysfsutils>=2.0.0'
         'libdvdnav>=0.1.10-2' 'libdvdread>=0.9.4-3' 'xvidcore>=1.1.0-2'
         'libmatroska>=0.8.0' 'libxv>=1.0.1' 'libcdio>=0.78.2' 'desktop-file-utils')
arch=(i686 x86_64)
license=('GPL')
url="http://www.videolan.org/vlc/"
#Note: These build plugins, so I guess they'd be runtime depends
makedepends=('live-media' 'gnome-vfs' 'mesa' 'sdl_image' 'libmpcdec' 'speex'
             'libnotify' 'libmodplug' 'lirc-utils')
install=${pkgname}.install
source=(http://download.videolan.org/pub/videolan/vlc/${pkgver}/${pkgname}-${pkgver}.tar.bz2 vlc.patch)
md5sums=('c11e4c38c3347e74ad9004e41208782e')

build() {
  cd $startdir/src/${pkgname}-${pkgver}
  sed -i -e 's:#include <vlc\/vlc.h>:#include <vlc/vlc.h> \n #include <locale.h>: ' src/misc/charset.c
  sed -i -e 's:/truetype/freefont/FreeSerifBold.ttf:/TTF/VeraBd.ttf:' modules/misc/freetype.c
  patch -Np1 -i ../vlc.patch || return 1
  # features that won't build on x86_64
  [ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader"

  ./configure --prefix=/usr --enable-dvdread --enable-dvdnav --enable-madi \
    --enable-ffmpeg --disable-rpath --enable-wxwidgets --enable-faad \
    --enable-alsa --enable-skins2 --enable-livedotcom --enable-dvb --enable-theora \
    --enable-dmo --with-livedotcom-tree=/usr/lib/live-media \
    --with-ffmpeg-faac --with-ffmpeg-vorbis --with-ffmpeg-dts \
    --with-ffmpeg-ogg --with-ffmpeg-theora --enable-v4l \
     --enable-lirc \
    --with-wx-config=wx-config-2.6 ${EXTRAFEATURES}
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1

  for res in 16 32 48; do
    install -D -m644 share/vlc${res}x${res}.png \
      ${startdir}/pkg/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
  done

  rm -rf ${startdir}/pkg/usr/lib/mozilla
}

TIA for any help smile

use patch file and patch command from post #74 and it should work

Offline

#93 2008-02-04 20:52:20

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: VLC Problem

the last vlc package from extra fix all problems smile


Give what you have. To someone, it may be better than you dare to think.

Offline

#94 2008-02-04 21:51:24

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: VLC Problem

Right, perfect for us lazy bustards! smile

Offline

#95 2008-02-04 22:04:52

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: VLC Problem

Wow yes the latest VLC works A+!! smile

Offline

#96 2008-02-05 16:47:57

stylopath
Member
Registered: 2007-07-26
Posts: 112

Re: VLC Problem

*sign*

....

*pacman -R mplayer big_smile

Offline

#97 2008-02-07 21:59:53

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: VLC Problem

colbert wrote:

Wow yes the latest VLC works A+!! smile

I disagree. I´ve noticed a degradation in quality. Everything is blocky. It is much better using totem with gstreamer or MPlayer
Any ideas?

Edit: I´ve just noticed that it is only present when the video is scaled up to larger resolution (e.g. fullscreen)

Offline

#98 2008-02-07 23:50:18

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: VLC Problem

If I build VLC from ABS now, is it also the newer working version ?? I only got the one from pacman.

Offline

Board footer

Powered by FluxBB