New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18425 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 3 years ago

static ogg in libSDL_mixer

Reported by: vitto.giova@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: sdl, ogg, vorbis, libSDL, libSDL_mixer, deployment, bundle Cc:
Port: libsdl_mixer

Description

I was using macports version of libSDL_mixer to deploy an app i ported to the mac platform. When i tested it on a system without macports before deploying, i noticed that it would crash as soon as an ogg file was loaded.

After some research, i discovered that ogg libraries were loaded at runtime! However this is bad for the point of view of deployment, because when you create a mac bundle you have to relocate libraries, but this can't be done if libs are loaded at runtime.

On the other hand with the proposed patch it is possible to include the ogg libraries in libSDL_mixer and to avoid this situation. It is not really different with what is done in libSDL_image in which libpng and others are statically built.

Attachments

portfile.diff (147 bytes) - added by vitto.giova@… 4 years ago.
working portfile patch

Change History

Changed 4 years ago by vitto.giova@…

working portfile patch

comment:1 Changed 4 years ago by vitto.giova@…

  • Cc vitto.giova@… added

Cc Me!

comment:2 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:3 Changed 3 years ago by jmr@…

  • Cc vitto.giova@… removed
  • Status changed from new to closed
  • Resolution set to wontfix
  • Port changed from libSDL_mixer to libsdl_mixer

Shared libraries are the norm on OS X; we're not going to disable them. Read about @executable_path and friends in the dyld man page.

Note: See TracTickets for help on using tickets.