Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14332 (assigned enhancement)

Opened 7 months ago

Last modified 2 months ago

mplayer gui on osx, live555 sereaming support

Reported by: mroman@… Owned by: ecronin@…
Priority: Normal Milestone: Port Enhancements
Component: ports Version:
Keywords: mplayer gui gmplayer live555 streaming Cc: ecronin@…, milosh@…
Port:

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

Portfile-mplayer.diff (1.2 kB) - added by mroman@… 7 months ago.
changes to mplayer Portfile

Change History

Changed 7 months ago by mroman@…

changes to mplayer Portfile

Changed 7 months ago by ryandesign@…

  • 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.

Changed 7 months ago by ecronin@…

  • status changed from new to assigned
  • version 1.6.0 deleted

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).

Changed 2 months ago by milosh@…

  • cc milosh@… added

Cc Me!

Note: See TracTickets for help on using tickets.