Opened 16 years ago

Closed 14 years ago

#14332 closed enhancement (fixed)

mplayer gui on osx, live555 streaming support

Reported by: mroman@… Owned by: ecronin (Eric Cronin)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: milosh@…
Port: MPlayer

Description

I suggest to change portname to lowercase, to avoid uninstall/deactivate problems due to macports bug: The name of the Port; it should be lowercase to prevent uninstallation problems due to a macports base bug.

Added:

  • "live555 streaming" media variant
  • variant enabling gmplayer compilation

It seems, there is a bug in configure script, therefore I added

configure.ldflags-append "-framework AppKit"

/usr/bin/gcc-4.0 -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o parser-mpcmd.o subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o get_path.o m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o libvo/libvo.a libao2/libao2.a input/libinput.a gui/libgui.a libmenu/libmenu.a libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a loader/libloader.a mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a libdvdcss/libdvdcss.a libass/libass.a osdep/libosdep.a -lXext -lX11 -lXv -lXinerama -lXxf86vm -lesd -laudiofile -lm -laudiofile -lm -framework OpenAL -lfaac -lx264 -lmp3lame -R/usr/X11/lib -Wl,-framework,CoreServices,-framework,ApplicationServices -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lexpat -lpng12 -lXrender -lX11 -lglib-2.0 -lintl -liconv -L/opt/local/lib -L/usr/X11/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib /opt/local/lib/live/liveMedia/libliveMedia.a                  /opt/local/lib/live/groupsock/libgroupsock.a                  /opt/local/lib/live/UsageEnvironment/libUsageEnvironment.a                  /opt/local/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                  -L/opt/local/lib -L/opt/local/lib/samba3 -L/usr/X11/lib -L/usr/lib -L/usr/local/lib  -liconv -lncurses -framework Carbon -framework QuickTime -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework IOKit -lsmbclient -lpng -lz -ljpeg -lungif -framework IOKit -L/opt/local/lib -lfreetype -lz -Wl,-framework,CoreServices,-framework,ApplicationServices -lfontconfig  -L/opt/local/lib -lfribidi -lz -llzo2 -lmad -lspeex -ltheora -logg -ldts  -lstdc++ -ldv -lxvidcore -lm     -lm   
Undefined symbols:
  "_NSAppKitVersionNumber", referenced from:
      _NSAppKitVersionNumber$non_lazy_ptr in libinput.a(ar.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

when compiling with variants: mplayer +osd+fribidi+smb+theora+xvid+x264+binary_codecs+speex+faac+dv+dts+x11+esd+live+gui+macosx

Attachments (1)

Portfile-mplayer.diff (1.2 KB) - added by mroman@… 16 years ago.
changes to mplayer Portfile

Download all attachments as: .zip

Change History (7)

Changed 16 years ago by mroman@…

Attachment: Portfile-mplayer.diff added

changes to mplayer Portfile

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ecronin@…

I don't know what would happen if you changed the case of a port name. There might be issues in port: would it notify users of the old name of the upgrade? Would the upgrade go ok? I would expect problems on case-sensitive HFS+ installations, but maybe also on case-insensitive HFS+ installations. There might be issues with rsync. There are definitely issues with Subversion checkouts, if you have case-insensitive HFS+. In short, I recommend not changing the case of the MPlayer port's name, and instead fixing the bug that makes mixed-case port names problematic.

No comment on your other changes, except to say that the port revision number should be bumped as well. Assigning ticket to MPlayer's maintainer.

comment:2 Changed 16 years ago by ecronin (Eric Cronin)

Status: newassigned
Version: 1.6.0

Ryan hits the naming issue on the head, the cure is much more painful than the illness in this case. I will take a look at live555 variant. If you are using gmplayer and x11, I would really appreciate it if you could do some regression testing and documentation there (that's one of the only undocumented variants right now).

comment:3 Changed 16 years ago by milosh@…

Cc: milosh@… added

Cc Me!

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: MPlayer added
Summary: mplayer gui on osx, live555 sereaming supportmplayer gui on osx, live555 streaming support

comment:5 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Cc: ecronin@… removed
Keywords: mplayer gui gmplayer live555 streaming removed
Resolution: fixed
Status: assignedclosed

This was added in r27465, and then removed (seemingly by accident?) in r31543. Re-added in r72062.

Note: See TracTickets for help on using tickets.