KDE: native file dialogs

"René J.V. Bertin" rjvbertin at gmail.com
Fri Jul 11 10:10:55 PDT 2014


Anyone interested in testing a patch to use native file dialogs with KDE apps?

https://bugs.kde.org/show_bug.cgi?id=337356

Portfile diff:
8<------------------
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/kde/kdelibs4/Portfile      2014-06-24 18:30:27.000000000 +0200
+++ /opt/local/site-ports/kde/kdelibs4/Portfile 2014-07-11 12:40:37.000000000 +0200
@@ -6,7 +6,7 @@
 
 name                kdelibs4
 version             4.12.5
-revision            2
+revision            5
 categories          kde kde4
 maintainers         nicos
 license             LGPL-2+ GPL-2+ BSD
@@ -61,7 +61,23 @@
                     patch-cmake-modules-FindQt4.cmake.diff \
                     patch-cmake-modules-KDE4Macros.cmake.diff \
                     patch-removeFindFlex.diff \
-                    patch-kapplications-raster.diff
+                    patch-kapplications-raster.diff \
+                               avoid-kwindowinfo-destructor.patch
+
+variant nativefiledialogs description {File dialogs are native by default.\
+                    Set Native=false under [KFileDialog Settings] in kdeglobalrc to use KDE dialogs} {}
+
+if { [variant_isset nativefiledialogs] } {
+       patchfiles-append  native-filedialogs.patch
+}
+
+
+variant unifiedtoolbar description {Add a unified title and tool bar} {}
+
+if { [variant_isset unifiedtoolbar] } {
+       patchfiles-append  unified-toolbar.patch
+}
+
 
 patch.pre_args      -p1
 
8<------------------


More information about the macports-users mailing list