[59380] trunk/dports/kde/kdelibs4

sharky at macports.org sharky at macports.org
Wed Oct 14 02:18:04 PDT 2009


Revision: 59380
          http://trac.macports.org/changeset/59380
Author:   sharky at macports.org
Date:     2009-10-14 02:18:03 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
kdelibs4: fix installation of bundle icons

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

Added Paths:
-----------
    trunk/dports/kde/kdelibs4/files/fix-bundle-icons.patch

Modified: trunk/dports/kde/kdelibs4/Portfile
===================================================================
--- trunk/dports/kde/kdelibs4/Portfile	2009-10-14 09:14:48 UTC (rev 59379)
+++ trunk/dports/kde/kdelibs4/Portfile	2009-10-14 09:18:03 UTC (rev 59380)
@@ -40,6 +40,7 @@
 patchfiles          default-kde4-xdg-menu-prefix.patch \
                     dont-use-fdatasync.patch \
                     dont-use-carbon-keyboard.patch \
+                    fix-bundle-icons.patch \
                     nameser-compat.patch
 patch.dir           ${workpath}/${distname}
 patch.pre_args      -p1

Added: trunk/dports/kde/kdelibs4/files/fix-bundle-icons.patch
===================================================================
--- trunk/dports/kde/kdelibs4/files/fix-bundle-icons.patch	                        (rev 0)
+++ trunk/dports/kde/kdelibs4/files/fix-bundle-icons.patch	2009-10-14 09:18:03 UTC (rev 59380)
@@ -0,0 +1,17 @@
+Index: kdelibs-4.3.2/cmake/modules/KDE4Macros.cmake
+===================================================================
+--- kdelibs-4.3.2.orig/cmake/modules/KDE4Macros.cmake	2009-07-21 17:16:04.000000000 +0200
++++ kdelibs-4.3.2/cmake/modules/KDE4Macros.cmake	2009-10-14 10:38:21.000000000 +0200
+@@ -1155,11 +1155,7 @@
+                 # main target
+                 list(APPEND ${appsources} ${_outfilename}.icns)
+ 
+-                #            this doesn't seem to work for me - Use manual "install" instead
+-                # TODO: test again with cmake 2.6 ?
+-                #           SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_BINARY_DIR}/${target}.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
+-
+-                install(FILES ${_outfilename}.icns DESTINATION ${BIN_INSTALL_DIR}/${target}.app/Contents/Resources/)
++                set_source_files_properties(${_outfilename}.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
+ 
+             else(_icon)
+                 # TODO - try to scale a non-128 icon...? Try to convert an SVG on the fly?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091014/8266311f/attachment.html>


More information about the macports-changes mailing list