Opened 15 years ago

Closed 10 years ago

#17366 closed defect (fixed)

mkvtoolnix: create an app bundle

Reported by: krunk7@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec), SickTeddyBear, cooljeanius (Eric Gallager), mopihopi
Port: mkvtoolnix

Description (last modified by mojca (Mojca Miklavec))

The +wxwidgets variant produces a binary which does not properly bind to the osx Gui framework. The end result is a correctly rendered gui that does not respond to user mouse or keyboard input nor is capable of changing focus.

The fix is to place the binary in an app bundle or add the code as described in the wxWidgets Mac OS X Issues wiki:

http://wiki.wxwidgets.org/wxMac_Issues

#include <ApplicationServices/ApplicationServices.h>
 
ProcessSerialNumber PSN;
GetCurrentProcess(&PSN);
TransformProcessType(&PSN,kProcessTransformToForegroundApplication);

Change History (9)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: pguyot@… removed
Owner: changed from macports-tickets@… to pguyot@…

comment:2 Changed 15 years ago by pguyot (Paul Guyot)

Resolution: duplicate
Status: newclosed

Dup of #19439.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added
Resolution: duplicate
Status: closedreopened
Summary: mkvtoolnix - 2.4.0 - +wxwidgets variant produces unusable binarymkvtoolnix: +wxwidgets variant produces unusable binary
Version: 1.6.0

I'm reopening the ticket because the so-called-duplicate wasn't really resolved as one would wish to. While I'm not even able to run mkvtoolnix (I'm using upstream binary now), I'm almost sure that this problem hasn't been resolved in the meantime. I'm volunteering to fix this issue as soon as I will be able to run the binary.

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

Description: modified (diff)
Summary: mkvtoolnix: +wxwidgets variant produces unusable binarymkvtoolnix: create an app bundle

comment:6 Changed 10 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 10 years ago by mopihopi

Cc: mopihopi@… added

Cc Me!

comment:9 Changed 10 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: reopenedclosed

Done in r121382. I configured MacPorts to build everything against libc++ and Mkvtoolnix works under that regime on < 10.9.

PS: There is no longer any need to add extra lines to enable the app to work: that code is part of wxWidgets now. The mmg binary works since a long time already, but I added a Mkvtoolnix.app now.

Note: See TracTickets for help on using tickets.