Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#29198 closed defect (fixed)

mplayer-devel: (without any variants) missing dependency on openjpeg?

Reported by: dbevans (David B. Evans) Owned by: acho@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: openjpeg Cc:
Port: mplayer-devel

Description

mplayer-devel links to libopenjpeg as evidenced by

devans% otool -L `which mplayer`
/opt/local/bin/mplayer:
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libpng14.14.dylib (compatibility version 20.0.0, current version 20.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/opt/local/lib/libjpeg.8.dylib (compatibility version 12.0.0, current version 12.0.0)
	/opt/local/lib/libopenjpeg.1.dylib (compatibility version 6.0.0, current version 6.0.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 152.0.0)
	/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.6)
	/opt/local/lib/liblzo2.2.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libmad.0.dylib (compatibility version 3.0.0, current version 3.1.0)
	/opt/local/lib/libtheora.0.dylib (compatibility version 4.0.0, current version 4.10.0)
	/opt/local/lib/libogg.0.dylib (compatibility version 8.0.0, current version 8.1.0)
	/opt/local/lib/libdca.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.10)
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 15.0.0)
	/opt/local/lib/libXss.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1.6.3)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libjack.0.dylib (compatibility version 1.0.0, current version 1.28.0)
	/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libmp3lame.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 44.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.42.0)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 38.0.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.53.0)
	/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.6.2)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.35.0)

but no dependency is declared

apr                             
apr-util                        
autoconf                        
automake                        
bzip2                           
cyrus-sasl2                     
db46                            
dbus                            
expat                           
gettext                         
glib2                           
gperf                           
help2man                        
jpeg                            
lame                            
libiconv                        
libmad                          
libogg                          
liboil                          
libpng                          
libtheora                       
libtool                         
libvorbis                       
lzo2                            
m4                              
ncurses                         
ncursesw                        
neon                            
openssl                         
p5-locale-gettext               
perl5                           
perl5.12                        
pkgconfig                       
python_select                   
readline                        
serf                            
sqlite3                         
subversion                      
yasm                            
zlib 

I was going to look into this futher but svn.mplayer.hu is not answering this morning.

Change History (3)

comment:1 Changed 14 years ago by dbevans (David B. Evans)

For clarity the dependency listing above is the result of

port echo rdepof:mplayer-devel

comment:2 Changed 14 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

SVN site is responding again and opportunist configuration against openjpeg is confirmed.

Dependency added in r77984. Revision incremented to ensure linking against latest openjpeg version.

comment:3 Changed 12 years ago by rogerdpack@…

possibly a similar problem with xss (I seem to have run into a problem with it)?

(macports in /opt/rdp_project_local)

$ otool -L /opt/rdp_project_local/bin/mplayer | grep Xss

/opt/rdp_project_local/lib/libXss.1.dylib (compatibility version 2.0.0, current version 2.0.0)

$ ./configure --help | grep -i xss

--disable-xss disable screensaver support via xss [autodetect]

(sorry I didn't check it against mplayer-devel Portfile per se, just noticed the problem in my own custom mplayer Portfile...FWIW)

Note: See TracTickets for help on using tickets.