[121380] trunk/dports/kde

nicos at macports.org nicos at macports.org
Tue Jun 24 09:31:17 PDT 2014


Revision: 121380
          https://trac.macports.org/changeset/121380
Author:   nicos at macports.org
Date:     2014-06-24 09:31:17 -0700 (Tue, 24 Jun 2014)
Log Message:
-----------
kmymoney4 and devel version: deactivate raster graphics as it fails with this application (see commit r121378)

Revision Links:
--------------
    https://trac.macports.org/changeset/121378

Modified Paths:
--------------
    trunk/dports/kde/kmymoney4/Portfile
    trunk/dports/kde/kmymoney4-devel/Portfile

Added Paths:
-----------
    trunk/dports/kde/kmymoney4/files/patch-mainRaster.diff
    trunk/dports/kde/kmymoney4-devel/files/patch-mainRaster.diff

Modified: trunk/dports/kde/kmymoney4/Portfile
===================================================================
--- trunk/dports/kde/kmymoney4/Portfile	2014-06-24 16:29:25 UTC (rev 121379)
+++ trunk/dports/kde/kmymoney4/Portfile	2014-06-24 16:31:17 UTC (rev 121380)
@@ -8,6 +8,7 @@
 
 name                kmymoney4
 version             4.6.4
+revision            1
 
 categories          kde kde4 finance
 maintainers         mk pixilla openmaintainer
@@ -46,5 +47,6 @@
 patch.pre_args      -p1
 patchfiles          patch-CMakeLists.txt.diff \
                     patch-CMakeLists_remove_APIDOC.txt.diff \
-                    patch_remove_manpage_and_APIDOC.diff
+                    patch_remove_manpage_and_APIDOC.diff \
+                    patch-mainRaster.diff
 

Added: trunk/dports/kde/kmymoney4/files/patch-mainRaster.diff
===================================================================
--- trunk/dports/kde/kmymoney4/files/patch-mainRaster.diff	                        (rev 0)
+++ trunk/dports/kde/kmymoney4/files/patch-mainRaster.diff	2014-06-24 16:31:17 UTC (rev 121380)
@@ -0,0 +1,15 @@
+diff --git a/kmymoney/main.cpp b/kmymoney/main.cpp
+index 6047ac6..d449b47 100644
+--- a/kmymoney/main.cpp
++++ b/kmymoney/main.cpp
+@@ -117,6 +117,10 @@ int main(int argc, char *argv[])
+ 
+   KMyMoneyUtils::checkConstants();
+ 
++#ifdef Q_OS_MAC
++  // Raster graphics cause KMyMoney in KDE 4 to crash on Apple OS X.
++  KApplication::doNotUseRaster();
++#endif
+   KApplication* a = new KApplication();
+ 
+   if (KGlobal::locale()->monetaryDecimalSymbol().isEmpty()) {

Modified: trunk/dports/kde/kmymoney4-devel/Portfile
===================================================================
--- trunk/dports/kde/kmymoney4-devel/Portfile	2014-06-24 16:29:25 UTC (rev 121379)
+++ trunk/dports/kde/kmymoney4-devel/Portfile	2014-06-24 16:31:17 UTC (rev 121380)
@@ -12,6 +12,7 @@
 
 name                kmymoney4-devel
 version             4.6-20140411
+revision            1
 
 categories          kde kde4 finance
 maintainers         mk pixilla openmaintainer
@@ -42,7 +43,8 @@
 patch.dir         ${workpath}/${distname}
 patch.pre_args    -p1
 patchfiles        patch_remove_manpage.diff \
-                  patch-CMakeLists_remove_APIDOC.txt.diff
+                  patch-CMakeLists_remove_APIDOC.txt.diff \
+                  patch-mainRaster.diff
 #                  patch-CMakeLists.txt.diff
 #                  patch_to_include_datePopup_hideshow.diff
 

Added: trunk/dports/kde/kmymoney4-devel/files/patch-mainRaster.diff
===================================================================
--- trunk/dports/kde/kmymoney4-devel/files/patch-mainRaster.diff	                        (rev 0)
+++ trunk/dports/kde/kmymoney4-devel/files/patch-mainRaster.diff	2014-06-24 16:31:17 UTC (rev 121380)
@@ -0,0 +1,15 @@
+diff --git a/kmymoney/main.cpp b/kmymoney/main.cpp
+index 6047ac6..d449b47 100644
+--- a/kmymoney/main.cpp
++++ b/kmymoney/main.cpp
+@@ -117,6 +117,10 @@ int main(int argc, char *argv[])
+ 
+   KMyMoneyUtils::checkConstants();
+ 
++#ifdef Q_OS_MAC
++  // Raster graphics cause KMyMoney in KDE 4 to crash on Apple OS X.
++  KApplication::doNotUseRaster();
++#endif
+   KApplication* a = new KApplication();
+ 
+   if (KGlobal::locale()->monetaryDecimalSymbol().isEmpty()) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140624/586510ca/attachment-0001.html>


More information about the macports-changes mailing list