| View previous topic :: View next topic |
| Author |
Message |
Moonboots n00b

Joined: 02 Dec 2006 Posts: 45
|
Posted: Sun Aug 10, 2008 11:21 pm Post subject: |
|
|
Great
Many thanks for taking the time to add the new patch. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Sat Aug 16, 2008 4:16 pm Post subject: |
|
|
I finally came around to reviewing the mplayer svn ebuild, and I incorporated a lot of changes from beandog's mini-overlay. I need to warn people that I added beandog's svn ebuilds for libdvdnav and libdvdread, and they can break quite a few packages that use libdvdread especially, so you may want to mask these versions if you want to use the other packages that depend on them. They do work fine with mplayer though. As before, I have merged the mad useflag into mp3, and portage's srt useflag is (i.m.o. more correctly) named ass in this overlay. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Kubrick n00b


Joined: 02 Sep 2004 Posts: 6
|
Posted: Sun Aug 17, 2008 2:21 am Post subject: |
|
|
| yngwin wrote: | | portage's srt useflag is (i.m.o. more correctly) named ass in this overlay. |
USE="ass"
Just wanted to say thank you! |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 230
|
Posted: Sun Aug 17, 2008 3:14 pm Post subject: |
|
|
Are you still able to compil ffmpeg ?
| Code: |
In file included from libavformat/framehook.c:24:
libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated. Please help finishing libavfilter instead of wasting your time writing new filters for this crappy filter system.
x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg" -march=core2 -mssse3 -O2 -pipe -ftree-vectorize -fomit-frame-pointer -DBROKEN_RELOCATIONS -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -march=core2 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o libavformat/file.o libavformat/file.c
x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg" -march=core2 -mssse3 -O2 -pipe -ftree-vectorize -fomit-frame-pointer -DBROKEN_RELOCATIONS -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -march=core2 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o libavformat/http.o libavformat/http.c
x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg" -march=core2 -mssse3 -O2 -pipe -ftree-vectorize -fomit-frame-pointer -DBROKEN_RELOCATIONS -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -march=core2 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o libavformat/rtpproto.o libavformat/rtpproto.c
x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg" -march=core2 -mssse3 -O2 -pipe -ftree-vectorize -fomit-frame-pointer -DBROKEN_RELOCATIONS -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -march=core2 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o libavformat/tcp.o libavformat/tcp.c
x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg" -march=core2 -mssse3 -O2 -pipe -ftree-vectorize -fomit-frame-pointer -DBROKEN_RELOCATIONS -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -march=core2 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o libavformat/udp.o libavformat/udp.c
x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg" -march=core2 -mssse3 -O2 -pipe -ftree-vectorize -fomit-frame-pointer -DBROKEN_RELOCATIONS -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -march=core2 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o libavcodec/allcodecs.o libavcodec/allcodecs.c
x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/var/tmp/portage/media-video/ffmpeg-20089999/work/ffmpeg" -march=core2 -mssse3 -O2 -pipe -ftree-vectorize -fomit-frame-pointer -DBROKEN_RELOCATIONS -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -march=core2 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros -fPIC -DPIC -c -o libavcodec/audioconvert.o libavcodec/audioconvert.c
libavformat/udp.c: In function ‘udp_join_multicast_group’:
libavformat/udp.c:83: error: storage size of ‘mreq’ isn’t known
libavformat/udp.c:83: warning: unused variable ‘mreq’
libavformat/udp.c: In function ‘udp_leave_multicast_group’:
libavformat/udp.c:111: error: storage size of ‘mreq’ isn’t known
libavformat/udp.c:111: warning: unused variable ‘mreq’
make: *** [libavformat/udp.o] Error 1
make: *** Waiting for unfinished jobs....
libavcodec/audioconvert.c: In function ‘av_audio_convert’:
libavcodec/audioconvert.c:110: warning: initialization discards qualifiers from pointer target type
|
|
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Sun Aug 17, 2008 4:53 pm Post subject: |
|
|
No problem here. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 230
|
Posted: Sun Aug 17, 2008 5:04 pm Post subject: |
|
|
| So I guess you aren't on ~amd64 ? |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Sun Aug 17, 2008 5:30 pm Post subject: |
|
|
No, indeed. I'm currently on ~x86. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 230
|
|
| Back to top |
|
 |
bernd_b Tux's lil' helper

Joined: 25 Nov 2003 Posts: 81
|
Posted: Mon Aug 18, 2008 5:59 am Post subject: |
|
|
| I am on AMD64 and cannot compile ffmpeg. Neither xine.1.1.15 works wether with external ffmpeg nor internal. |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 230
|
Posted: Mon Aug 18, 2008 7:08 am Post subject: |
|
|
http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2008-August/016728.html
This time I tested the patch and it compils just fine :
| Code: |
Index: configure
===================================================================
--- configure (revision 14822)
+++ configure (working copy)
@@ -1852,6 +1852,9 @@
check_cflags -Wwrite-strings
check_cflags -Wtype-limits
enabled extra_warnings && check_cflags -Winline
+check_cflags -std=c99
+check_cflags -fasm
+check_cflags -D_BSD_SOURCE
# add some linker flags
check_ldflags -Wl,--warn-common
|
If you use bashrcng (which I strongly recommend) and the autopatch feature, you just have to put it into :
/usr/portage/local/patches/media-video/ffmpeg/ffmpeg-20089999.diff (or in the path you choose). |
|
| Back to top |
|
 |
bernd_b Tux's lil' helper

Joined: 25 Nov 2003 Posts: 81
|
Posted: Mon Aug 18, 2008 3:11 pm Post subject: |
|
|
I didn't use "bashrcng" but just copy and paste the three commands into the configure file of the downloaded ffmpeg files (although the first two ones seem to be already included in the configure-script?!)
Anyway, it seems to work. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Mon Aug 18, 2008 5:18 pm Post subject: |
|
|
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-August/051440.html is the relevant post on the ffmpeg-devel mailing list. As I can't reproduce the issue at this moment, could you try this for me: without the patch, add just "-D_XOPEN_SOURCE=600" to your cflags for this package, for example like this:
| Code: | | CFLAGS="${CFLAGS} -D_XOPEN_SOURCE=600" emerge -av ffmpeg |
If that doesn't work, then try with just "-D_BSD_SOURCE" instead. If one of these works, I can add it to the ebuild, until upstream commits a proper patch. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 230
|
Posted: Tue Aug 19, 2008 4:52 am Post subject: |
|
|
| yngwin wrote: |
If that doesn't work, then try with just "-D_BSD_SOURCE" instead. If one of these works, I can add it to the ebuild, until upstream commits a proper patch. |
The last one works
Thanks. |
|
| Back to top |
|
 |
bernd_b Tux's lil' helper

Joined: 25 Nov 2003 Posts: 81
|
Posted: Tue Aug 19, 2008 7:39 am Post subject: |
|
|
By the way:
Does anyone know a way, how to compile xine-lib using the ffmpeg from this overlay?
Until xine-lib 1.14.*, I deleted the line
--with-external-ffmpeg
in the ebuild, and with the option --digest the emerge command went fine.
With xine-lib 1.1.15 I have no luck with this anymore. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Tue Aug 19, 2008 8:28 am Post subject: |
|
|
| bernd_b wrote: | | Does anyone know a way, how to compile xine-lib using the ffmpeg from this overlay? |
If you have ffmpeg installed from this overlay, xine-lib will automatically use this. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Tue Aug 19, 2008 8:46 am Post subject: |
|
|
I made some more changes in the ffmpeg ebuild.
1. It now appends -D_BSD_SOURCE to the cflags, so the issue reported above should be fixed with that.
2. I reintroduced the eac3 useflag and have added the fresh Google Summer of Code E-AC3 decoder patch, which currently applies cleanly, and is supposed to go into ffmpeg's trunk soon, if I understand correctly.
3. There are now 2 ways to get support for the dirac codec, a next-gen free software video codec being developed under supervision of the BBC. This is still in early stages, but a 1.0 version/spec was released earlier this year. FFmpeg can use both media-video/dirac (the reference codec) and media-libs/schroedinger (a more optimized implementation that also offers a gstreamer plugin). I have added the dirac and schroedinger useflags to enable these. The dirac developers recommend you use schroedinger.
4. I removed the swscaler useflag and enabled swscale by default, as that is also the way the package in portage is going.
Edit: I've also added dirac and schroedinger useflags to the mplayer ebuild.
BTW, dirac needs a powerful processor, like a 3GHz dual core, to display normal PAL resolution videos. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 230
|
Posted: Tue Aug 19, 2008 10:51 am Post subject: |
|
|
Great, tremendous !!!
After ebuild /usr/portage/local/layman/berkano/media-video/ffmpeg/ffmpeg-20089999.ebuild digest I was able to compil both.
Thanks. |
|
| Back to top |
|
 |
bernd_b Tux's lil' helper

Joined: 25 Nov 2003 Posts: 81
|
Posted: Tue Aug 19, 2008 2:07 pm Post subject: |
|
|
O.K., on my amd64 ffmpeg compiles now out of the box
but no luck with xine-lib-1.1.15:
| Code: | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -fvisibility=hidden -fomit-frame-pointer -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -march=athlon64 -O2 -pipe -frename-registers -ffunction-sections -DNDEBUG -c pp.c -fPIC -DPIC -o .libs/xineplug_post_planar_la-pp.o
In file included from ../../../src/xine-engine/xine_internal.h:33,
from pp.c:27:
../../../include/xine.h:2230: warning: ‘xine_tvsystem’ is deprecated
pp.c:33:27: error: postprocess.h: No such file or directory
pp.c:59: error: ‘PP_QUALITY_MAX’ undeclared here (not in a function)
pp.c:79: error: expected specifier-qualifier-list before ‘pp_context_t’
pp.c: In function ‘set_parameters’:
pp.c:90: error: ‘post_plugin_pp_t’ has no member named ‘lock’
pp.c:90: warning: passing argument 1 of ‘pthread_mutex_lock’ from incompatible pointer type
pp.c:94: error: ‘post_plugin_pp_t’ has no member named ‘lock’
pp.c:94: warning: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type
pp.c: In function ‘get_help’:
pp.c:127: error: ‘pp_help’ undeclared (first use in this function)
pp.c:127: error: (Each undeclared identifier is reported only once
pp.c:127: error: for each function it appears in.)
pp.c:127: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘struct xine_post_api_parameter_t *’
pp.c: In function ‘pp_open_plugin’:
pp.c:197: error: ‘PP_FORMAT_420’ undeclared (first use in this function)
pp.c:197: warning: assignment makes integer from pointer without a cast
pp.c:199: error: ‘PP_CPU_CAPS_MMX’ undeclared (first use in this function)
pp.c:199: error: invalid operands to binary | (have ‘int’ and ‘struct xine_post_api_parameter_t *’)
pp.c:201: error: ‘PP_CPU_CAPS_MMX2’ undeclared (first use in this function)
pp.c:201: error: invalid operands to binary | (have ‘int’ and ‘struct xine_post_api_parameter_t *’)
pp.c:203: error: ‘PP_CPU_CAPS_3DNOW’ undeclared (first use in this function)
pp.c:203: error: invalid operands to binary | (have ‘int’ and ‘struct xine_post_api_parameter_t *’)
pp.c:205: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:206: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:208: error: ‘post_plugin_pp_t’ has no member named ‘lock’
pp.c:208: warning: passing argument 1 of ‘pthread_mutex_init’ from incompatible pointer type
pp.c: In function ‘pp_dispose’:
pp.c:251: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:252: error: implicit declaration of function ‘pp_free_mode’
pp.c:252: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:253: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:255: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:256: error: implicit declaration of function ‘pp_free_context’
pp.c:256: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:257: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c: In function ‘pp_draw’:
pp.c:305: error: ‘post_plugin_pp_t’ has no member named ‘lock’
pp.c:305: warning: passing argument 1 of ‘pthread_mutex_lock’ from incompatible pointer type
pp.c:307: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:315: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:316: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:318: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:318: error: implicit declaration of function ‘pp_get_context’
pp.c:320: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:321: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:322: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:326: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:327: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:327: error: implicit declaration of function ‘pp_get_mode_by_name_and_quality’
pp.c:330: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:331: error: implicit declaration of function ‘pp_postprocess’
pp.c:335: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
pp.c:335: error: ‘post_plugin_pp_t’ has no member named ‘pp_context’
pp.c:338: error: ‘post_plugin_pp_t’ has no member named ‘lock’
pp.c:338: warning: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type
pp.c:340: error: ‘post_plugin_pp_t’ has no member named ‘pp_mode’
make[3]: *** [xineplug_post_planar_la-pp.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -fvisibility=hidden -fomit-frame-pointer -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -march=athlon64 -O2 -pipe -frename-registers -ffunction-sections -DNDEBUG -c noise.c -fPIC -DPIC -o .libs/xineplug_post_planar_la-noise.o
In file included from ../../../src/xine-engine/xine_internal.h:33,
from noise.c:24:
../../../include/xine.h:2230: warning: ‘xine_tvsystem’ is deprecated
make[3]: Leaving directory `/extern02/var/tmp/portage/media-libs/xine-lib-1.1.15/work/xine-lib-1.1.15/src/post/planar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/extern02/var/tmp/portage/media-libs/xine-lib-1.1.15/work/xine-lib-1.1.15/src/post'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/extern02/var/tmp/portage/media-libs/xine-lib-1.1.15/work/xine-lib-1.1.15/src'
make: *** [all-recursive] Error 1
*
* ERROR: media-libs/xine-lib-1.1.15 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2736: Called die
* The specific snippet of code:
* emake || die "emake failed."
* The die message:
* emake failed.
|
|
|
| Back to top |
|
 |
Gregoire Apprentice


Joined: 15 Apr 2006 Posts: 230
|
Posted: Tue Aug 19, 2008 3:59 pm Post subject: |
|
|
| I strongly suggest to go for xine-lib-1.2 (no ebuild). |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Wed Aug 20, 2008 5:00 am Post subject: |
|
|
| bernd_b wrote: | but no luck with xine-lib-1.1.15:
| Code: | In file included from ../../../src/xine-engine/xine_internal.h:33,
from pp.c:27:
../../../include/xine.h:2230: warning: ‘xine_tvsystem’ is deprecated
pp.c:33:27: error: postprocess.h: No such file or directory |
|
That is bug 225685. Can you give me the output of `emerge -pv ffmpeg xine-lib`? _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Last edited by yngwin on Wed Aug 20, 2008 5:03 am; edited 1 time in total |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Wed Aug 20, 2008 5:02 am Post subject: |
|
|
| Gregoire wrote: | | I strongly suggest to go for xine-lib-1.2 (no ebuild). |
There is a live hg ebuild in flameeyes-overlay. But this should work with xine-1.1.15 too, as it does here. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Wed Aug 20, 2008 5:53 am Post subject: |
|
|
And eac3 is now also back in mplayer! _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
bernd_b Tux's lil' helper

Joined: 25 Nov 2003 Posts: 81
|
Posted: Wed Aug 20, 2008 5:15 pm Post subject: |
|
|
| Quote: | | That is bug 225685. Can you give me the output of `emerge -pv ffmpeg xine-lib`? |
| Code: | emerge -pv ffmpeg xine-lib
WARNING: repository at /extern02/portage/local/own is missing a repo_name entry
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-video/ffmpeg-20089999 USE="a52 aac hardcoded-tables ipv6 mmx mp3 network oss sdl theora threads truetype vorbis x264 xvid zlib (-altivec) -amrnb -amrwb -bindist -debug -dirac -doc -eac3 -ieee1394 -imlib -schroedinger -test -v4l" 0 kB [1]
[ebuild U ] media-libs/xine-lib-1.1.15 [1.1.14-r1] USE="X a52 alsa dts dvd esd imagemagick ipv6 mad modplug musepack nls opengl real sdl theora truetype v4l* vorbis xcb xv -aac -aalib (-altivec) -arts -debug -directfb -dxr3 -fbcon -flac -gnome -gtk -jack -libcaca -mmap -mng -oss -pulseaudio -samba -speex -vcd (-vidix) (-vis) -wavpack (-win32codecs) -xinerama -xvmc" 0 kB
Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage/layman/berkano |
O.K:My fault:
I had some old symbolic links in /usr/include/ffmpeg pointing to the new locations of the ffmpeg header files. This helped me some time ago to get around but now broke xine-lib. Deleting the symbolic links makes xine-lib-1.1.15 compile with the ffmpeg given in this overlay.
Last edited by bernd_b on Thu Aug 21, 2008 1:43 pm; edited 1 time in total |
|
| Back to top |
|
 |
Tariella Guru

Joined: 10 Dec 2005 Posts: 310 Location: Europe/Austria
|
Posted: Thu Aug 21, 2008 11:13 am Post subject: |
|
|
When I try to emerge mplayer from the overlay, it aborts with the following message:
| Code: |
* Applying disable-version-rebranding.patch ...
* Failed Patch: disable-version-rebranding.patch !
* ( /usr/portage/local/layman/berkano/media-video/mplayer/files/disable-version-rebranding.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/media-video/mplayer-9999-r19/temp/disable-version-rebranding.patch-4372.out
|
The .out file contains the following:
| Code: |
***** disable-version-rebranding.patch *****
============================================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/berkano/media-video/mplayer/files/disable-version-rebranding.patch
============================================
patching file Makefile
Hunk #1 FAILED at 718.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
============================================
PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/berkano/media-video/mplayer/files/disable-version-rebranding.patch
============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.orig 2008-04-30 19:09:48.000000000 +0200
|+++ Makefile 2008-04-30 19:10:04.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
============================================
PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/berkano/media-video/mplayer/files/disable-version-rebranding.patch
============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.orig 2008-04-30 19:09:48.000000000 +0200
|+++ Makefile 2008-04-30 19:10:04.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
============================================
PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/berkano/media-video/mplayer/files/disable-version-rebranding.patch
============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.orig 2008-04-30 19:09:48.000000000 +0200
|+++ Makefile 2008-04-30 19:10:04.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
============================================
PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/berkano/media-video/mplayer/files/disable-version-rebranding.patch
============================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.orig 2008-04-30 19:09:48.000000000 +0200
|+++ Makefile 2008-04-30 19:10:04.000000000 +0200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
|
Is there anything I can do to solve this?
I'll provide every information you need. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 3537 Location: in the Dutch Mountains ;-)
|
Posted: Fri Aug 22, 2008 5:49 am Post subject: |
|
|
It works for me, can you try again? _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
|