[73128] trunk/dports/multimedia/mkvtoolnix

ryandesign at macports.org ryandesign at macports.org
Thu Nov 4 20:33:09 PDT 2010


Revision: 73128
          http://trac.macports.org/changeset/73128
Author:   ryandesign at macports.org
Date:     2010-11-04 20:33:05 -0700 (Thu, 04 Nov 2010)
Log Message:
-----------
mkvtoolnix: maintainer update to 4.4.0 (#27139) and make it so mmg so it can actually gain focus and be used (#27081)

Modified Paths:
--------------
    trunk/dports/multimedia/mkvtoolnix/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/mkvtoolnix/files/
    trunk/dports/multimedia/mkvtoolnix/files/mmg-macos-1.diff

Modified: trunk/dports/multimedia/mkvtoolnix/Portfile
===================================================================
--- trunk/dports/multimedia/mkvtoolnix/Portfile	2010-11-05 01:20:51 UTC (rev 73127)
+++ trunk/dports/multimedia/mkvtoolnix/Portfile	2010-11-05 03:33:05 UTC (rev 73128)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                mkvtoolnix
-version             4.3.0
+version             4.4.0
 categories          multimedia
 maintainers         stack.nl:ruud
 description         Matroska media files manipulation tools.
@@ -15,13 +15,14 @@
 platforms           darwin
 master_sites        ${homepage}sources/
 use_bzip2           yes
+patchfiles          mmg-macos-1.diff
 
 # g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
 universal_variant   no
 
-checksums           md5 6367631773f41e2bb564323f2b1c48a3 \
-                    sha1 70ae0d5769d65b032c15eedc01e914be3245779e \
-                    rmd160 c55a126da2bcf5e36de61113bb64672d5fb44af4
+checksums           md5 1f2ea5997066ebb65444198576e5ec4a \
+                    sha1 c5e6cbc2fb522ba6653124a2eef6b416bafc488a \
+                    rmd160 85370a9ebd75b66b857c30edef1b22d8c0dce880
 
 depends_build       port:ruby
 

Added: trunk/dports/multimedia/mkvtoolnix/files/mmg-macos-1.diff
===================================================================
--- trunk/dports/multimedia/mkvtoolnix/files/mmg-macos-1.diff	                        (rev 0)
+++ trunk/dports/multimedia/mkvtoolnix/files/mmg-macos-1.diff	2010-11-05 03:33:05 UTC (rev 73128)
@@ -0,0 +1,26 @@
+--- src/mmg/mmg.cpp
++++ src/mmg/mmg.cpp
+@@ -18,6 +18,10 @@
+ #include <wx/file.h>
+ #include <wx/regex.h>
+ 
++#ifdef __WXMAC__
++# include <ApplicationServices/ApplicationServices.h>
++#endif
++
+ #include "common/chapters/chapters.h"
+ #include "common/command_line.h"
+ #include "common/common_pch.h"
+@@ -132,6 +136,12 @@ mmg_app::prepare_mmg_data_folder() {
+ 
+ bool
+ mmg_app::OnInit() {
++#ifdef __WXMAC__
++  ProcessSerialNumber PSN;
++  GetCurrentProcess(&PSN);
++  TransformProcessType(&PSN, kProcessTransformToForegroundApplication);
++#endif
++
+   mtx_common_init();
+ 
+   wxConfigBase *cfg;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101104/401c72f1/attachment.html>


More information about the macports-changes mailing list