[MacPorts] #18672: RFE: Create a more up to date mplayer port (mplayer-devel)
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ------------------------------------+--------------------------------------- Reporter: perry@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Keywords: mplayer, mplayer-devel | Port: mplayer-devel ------------------------------------+--------------------------------------- MPlayer OS X 1.0rc2 is outdated, and an official release seems unlikely (e.g., refer to http://lists.mplayerhq.hu/pipermail/mplayer- users/2008-June/073524.html). A new port, mplayer-devel, should be created that uses a more recent checkout from svn. In the past, there was discussion on macports-users (http://www.nabble.com /MPlayer-Port-Suggestion-to20611389.html#a20611998), but work on it lagged behind. Hopefully this ticket will help jump-start work on it again ;). -- Ticket URL: <http://trac.macports.org/ticket/18672> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ------------------------------------+--------------------------------------- Reporter: perry@… | Owner: ecronin@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Keywords: mplayer, mplayer-devel | Port: mplayer-devel ------------------------------------+--------------------------------------- Changes (by ecronin@…): * owner: macports-tickets@… => ecronin@… * status: new => assigned Comment: Perry- I remember there was a Portfile floating around in that e-mail thread, could you attach it to this ticket? -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ------------------------------------+--------------------------------------- Reporter: perry@… | Owner: ecronin@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Keywords: mplayer, mplayer-devel | Port: mplayer-devel ------------------------------------+--------------------------------------- Comment(by perry@…): Replying to [comment:1 ecronin@…]:
Perry- I remember there was a Portfile floating around in that e-mail thread, could you attach it to this ticket?
I just replied to an earlier e-mail we had; unfortunately, I seem to have lost most of our e-mail exchange with Altoine (not sure why...). I'll try to create a Portfile from scratch during one of my breaks this weekend. Hopefully it won't take too long since I've been running a recent build of mplayer linked against MacPorts' libraries for awhile now. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ------------------------------------+--------------------------------------- Reporter: perry@… | Owner: ecronin@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Keywords: mplayer, mplayer-devel | Port: mplayer-devel ------------------------------------+--------------------------------------- Comment(by perry@…): To get things started, I've attached a far from complete Portfile (hopefully someone with more time can make more headway). It looks like most of the work will be spent filtering out undeclared dependencies. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ------------------------------------+--------------------------------------- Reporter: perry@… | Owner: ecronin@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Keywords: mplayer, mplayer-devel | Port: mplayer-devel ------------------------------------+--------------------------------------- Comment(by acho@…): downloading mplayer from svn requires pulling out the correct versions of libav*, libpostproc, and libdvd* or there is a fair chance it won't compile. For example, when I ran this portfile, I pulled down libavcodec svn 18522 dated 2009-04-15 02:23:40 -0400, which did not compile. I've seen this before in ffmpeg (multimedia/ffmpeg/Portfile r36295) and the fix is to call svn with --ignore-externals, then explicitly fetch the versions you want. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ------------------------------------+--------------------------------------- Reporter: perry@… | Owner: acho@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Keywords: mplayer, mplayer-devel | Port: mplayer-devel ------------------------------------+--------------------------------------- Changes (by acho@…): * owner: ecronin@… => acho@… * status: assigned => new -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Changes (by acho@…): * status: new => closed * resolution: => fixed Comment: Committed port file in r49969. Eric, feel free to co-maintain or take ownership. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Comment(by jmgregory@…): I got the following errors when attempting to install: (PowerPC G4, OS X 10.4, Xcode version 2.5) {{{ $ sudo port install mplayer-devel +osd+fribidi+samba+theora+xvid+x264+faac+twolame+dts ---> Building mplayer-devel Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build /_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mplayer-devel/work/trunk" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -Wundef -Wdisabled-optimization -Wno- pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -maltivec -mabi=altivec -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -I/usr/X11/include -Ilibdvdread4 -c -o libvo/vo_jpeg.o libvo/vo_jpeg.c libvo/vo_jpeg.c:33:21: error: jpeglib.h: No such file or directory libvo/vo_jpeg.c: In function 'jpeg_write': libvo/vo_jpeg.c:183: error: storage size of 'cinfo' isn't known libvo/vo_jpeg.c:184: error: storage size of 'jerr' isn't known libvo/vo_jpeg.c:185: error: 'JSAMPROW' undeclared (first use in this function) libvo/vo_jpeg.c:185: error: (Each undeclared identifier is reported only once libvo/vo_jpeg.c:185: error: for each function it appears in.) libvo/vo_jpeg.c:185: error: parse error before 'row_pointer' libvo/vo_jpeg.c:198: warning: implicit declaration of function 'jpeg_std_error' libvo/vo_jpeg.c:199: warning: implicit declaration of function 'jpeg_create_compress' libvo/vo_jpeg.c:200: warning: implicit declaration of function 'jpeg_stdio_dest' libvo/vo_jpeg.c:205: error: 'JCS_RGB' undeclared (first use in this function) libvo/vo_jpeg.c:207: warning: implicit declaration of function 'jpeg_set_defaults' libvo/vo_jpeg.c:209: error: 'TRUE' undeclared (first use in this function) libvo/vo_jpeg.c:219: warning: implicit declaration of function 'jpeg_set_quality' libvo/vo_jpeg.c:224: warning: implicit declaration of function 'jpeg_simple_progression' libvo/vo_jpeg.c:227: warning: implicit declaration of function 'jpeg_start_compress' libvo/vo_jpeg.c:231: error: 'row_pointer' undeclared (first use in this function) libvo/vo_jpeg.c:232: warning: implicit declaration of function 'jpeg_write_scanlines' libvo/vo_jpeg.c:235: warning: implicit declaration of function 'jpeg_finish_compress' libvo/vo_jpeg.c:237: warning: implicit declaration of function 'jpeg_destroy_compress' libvo/vo_jpeg.c:184: warning: unused variable 'jerr' libvo/vo_jpeg.c:183: warning: unused variable 'cinfo' make: *** [libvo/vo_jpeg.o] Error 1 Error: Status 1 encountered during processing. }}} I was able to get past it by adding -I/opt/local/include to CFLAGS in config.mak in the build directory. (I added it to CXXFLAGS and OPTFLAGS, too, for good measure). I don't know how to translate that into the Portfile. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Comment(by jmgregory@…): Update: I also had to add -L/opt/local/lib/samba3 and -L/opt/local/lib to EXTRA_LIB in config.mak. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: enhancement | Status: closed Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Comment(by jeremyhu@…): Please don't do this crappy XFree86 foo. I'll cleanup the X11 cruft... -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Port Requests Component: ports | Version: 1.7.0 Resolution: | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Changes (by acho@…): * status: closed => reopened * resolution: fixed => Comment: I didn't have the problems you noticed when enabling samba3 and jpeg, but the changes I added to the above portfile should correct it. Please try that out, and I'll commit it if it does help. -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Changes (by acho@…): * status: reopened => closed * resolution: => fixed Comment: committed r50040 -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18672: RFE: Create a more up to date mplayer port (mplayer-devel) ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: acho@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: mplayer, mplayer-devel Port: mplayer-devel | ---------------------------------+------------------------------------------ Comment(by jens-macports@…): Does not build on Snow Leopard, fresh install, on Macbook Pro June 2009 model: sudo port install mplayer-devel +binary_codecs +dts +dv +x264 +faac -glx +theora +twolame +xvid {{{ ---> Building mplayer-devel Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mplayer-devel/work/trunk" && /usr/bin/make -j2 all " returned error 2 Command output: libao2/ao_coreaudio.c:1039: warning: 'AudioDeviceGetPropertyInfo' is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2338) libao2/ao_coreaudio.c:1041: warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367) libao2/ao_coreaudio.c:1046: warning: 'AudioDeviceSetProperty' is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2402) libao2/ao_coreaudio.c:1056: warning: 'AudioDeviceSetProperty' is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2402) /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_corevideo.o libvo/vo_corevideo.m /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_gif89a.o libvo/vo_gif89a.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_jpeg.o libvo/vo_jpeg.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_md5sum.o libvo/vo_md5sum.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libao2/ao_openal.o libao2/ao_openal.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_png.o libvo/vo_png.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_pnm.o libvo/vo_pnm.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_tga.o libvo/vo_tga.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o asxparser.o asxparser.c libvo/vo_corevideo.m: In function 'config': libvo/vo_corevideo.m:216: warning: 'stringWithCString:' is deprecated (declared at /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386) libvo/vo_corevideo.m: In function 'preinit': libvo/vo_corevideo.m:389: warning: ISO C90 forbids mixed declarations and code /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o codec-cfg.o codec-cfg.c libvo/vo_corevideo.m: In function '-[MPlayerOpenGLView preinit]': libvo/vo_corevideo.m:449: warning: class 'MPlayerOpenGLView' does not implement the 'NSWindowDelegate' protocol /usr/bin/gcc-4.2 -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no- pic -falign-loops=16 -shared-libgcc -I. -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -c -o cpudetect.o cpudetect.c /var/tmp//ccwleouV.s:8:suffix or operands invalid for `pushf' /var/tmp//ccwleouV.s:13:suffix or operands invalid for `popf' /var/tmp//ccwleouV.s:14:suffix or operands invalid for `pushf' make: *** [cpudetect.o] Error 1 make: *** Waiting for unfinished jobs.... codec-cfg.c: In function 'parse_codec_cfg': codec-cfg.c:513: warning: assignment discards qualifiers from pointer target type codec-cfg.c:514: warning: assignment discards qualifiers from pointer target type Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/18672#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts