[126347] trunk/dports/kde/kate

nicos at macports.org nicos at macports.org
Wed Oct 8 07:48:31 PDT 2014


Revision: 126347
          https://trac.macports.org/changeset/126347
Author:   nicos at macports.org
Date:     2014-10-08 07:48:31 -0700 (Wed, 08 Oct 2014)
Log Message:
-----------
kate: update to 4.13.3, add fix for zoom

Modified Paths:
--------------
    trunk/dports/kde/kate/Portfile

Added Paths:
-----------
    trunk/dports/kde/kate/files/
    trunk/dports/kde/kate/files/patch-Zoom.diff

Modified: trunk/dports/kde/kate/Portfile
===================================================================
--- trunk/dports/kde/kate/Portfile	2014-10-08 14:46:52 UTC (rev 126346)
+++ trunk/dports/kde/kate/Portfile	2014-10-08 14:48:31 UTC (rev 126347)
@@ -5,7 +5,7 @@
 PortGroup           kde4   1.1
 
 name                kate
-version             4.12.5
+version             4.13.3
 categories          kde kde4
 license             LGPL-2+
 maintainers         nicos openmaintainer
@@ -20,14 +20,17 @@
 master_sites        kde:stable/${version}/src/
 use_xz              yes
 distname            kate-${version}
-checksums           rmd160  f1a2d8e382ac65eeda0fd8b6c49c0ae103965ab0 \
-                    sha256  217fb7c9751d553791b1729f6bbc0661a3edf3e69b9c4da762afb40065c339ed
+checksums           rmd160  9a3697d4ecd29d1980e9e3c0d2a3e2b9666e3a2f \
+                    sha256  0549519ebf9b97b1658b836b1875637a4df20e186583c62f3aed18709bc57475
 
 depends_lib-append  port:kdelibs4 \
                     port:kactivities \
                     port:qjson \
                     port:oxygen-icons
 
+#Avoids weird behaviour with Zoom on OS X (https://git.reviewboard.kde.org/r/120319/)
+patchfiles          patch-Zoom.diff
+
 #Blacklist gcc42 and llvm-gcc-42 (does not build with gcc, ticket #37596)
 compiler.blacklist  gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
 

Added: trunk/dports/kde/kate/files/patch-Zoom.diff
===================================================================
--- trunk/dports/kde/kate/files/patch-Zoom.diff	                        (rev 0)
+++ trunk/dports/kde/kate/files/patch-Zoom.diff	2014-10-08 14:48:31 UTC (rev 126347)
@@ -0,0 +1,13 @@
+diff -ur ../kate-4.13.3-orig/part/view/kateviewinternal.cpp ./part/view/kateviewinternal.cpp
+--- ../kate-4.13.3-orig/part/view/kateviewinternal.cpp	2014-07-10 12:10:57.000000000 +0900
++++ ./part/view/kateviewinternal.cpp	2014-09-23 11:34:13.000000000 +0900
+@@ -3275,7 +3275,7 @@
+ void KateViewInternal::wheelEvent(QWheelEvent* e)
+ {
+   // zoom text, if ctrl is pressed
+-  if (e->modifiers() == Qt::ControlModifier) {
++  if (e->modifiers() == Qt::ControlModifier && KGlobalSettings::wheelMouseZooms() ) {
+     if (e->delta() > 0) {
+       slotIncFontSizes();
+     } else {
+Only in ./part/view: kateviewinternal.cpp.orig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141008/bca7dfe6/attachment.html>


More information about the macports-changes mailing list