<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[119534] trunk/dports/kde/kdepimlibs4</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/119534">119534</a></dd>
<dt>Author</dt> <dd>nicos@macports.org</dd>
<dt>Date</dt> <dd>2014-04-29 09:41:39 -0700 (Tue, 29 Apr 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>kdepimlibs4: add a subport for kioslaves components</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportskdekdepimlibs4Portfile">trunk/dports/kde/kdepimlibs4/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportskdekdepimlibs4filespatchCMakeListskioslavesdiff">trunk/dports/kde/kdepimlibs4/files/patch-CMakeLists-kioslaves.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportskdekdepimlibs4Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/kde/kdepimlibs4/Portfile (119533 => 119534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/kde/kdepimlibs4/Portfile        2014-04-29 16:31:59 UTC (rev 119533)
+++ trunk/dports/kde/kdepimlibs4/Portfile        2014-04-29 16:41:39 UTC (rev 119534)
</span><span class="lines">@@ -22,7 +22,7 @@
</span><span class="cx"> 
</span><span class="cx"> #The only binaries linking to openssl (through QtNetwork) are libkimap.dylib
</span><span class="cx"> #and libmailtransport.dylib, which are purely LPGL, thus not conflicting with
</span><del>-#openssl license
</del><ins>+#openssl license, apart from plugins in kioslaves
</ins><span class="cx"> license_noconflict  openssl
</span><span class="cx"> 
</span><span class="cx"> depends_lib-append  port:kdelibs4 \
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">                     port:prison \
</span><span class="cx">                     port:gpgme
</span><span class="cx"> 
</span><del>-#Suppress build of unused kioslave
</del><ins>+#Suppress build of kioslaves which conflict with openssl
</ins><span class="cx"> patchfiles-append   patch-CMakeLists.diff
</span><span class="cx"> 
</span><span class="cx"> configure.args-append   -DMAILTRANSPORT_INPROCESS_SMTP=Off
</span><span class="lines">@@ -47,5 +47,23 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+subport kdepimlibs4-kioslaves {
+
+#kioslaves components conflict with openssl license
+license_noconflict-delete   openssl
+
+#Builds only kioslaves components
+patchfiles-delete   patch-CMakeLists.diff
+patchfiles-append   patch-CMakeLists-kioslaves.diff
+
+#Suppresses files already installed by kdepimlibs4 main port
+post-destroot {
+    delete ${destroot}${prefix}/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake \
+           ${destroot}${prefix}/lib/cmake/KdepimLibs/KdepimLibsConfigVersion.cmake \
+           ${destroot}${prefix}/share/apps/cmake/modules/KDEPimLibsDependencies.cmake \
+           ${destroot}${prefix}/share/mime/packages/kdepimlibs-mime.xml
+}
+}
+
</ins><span class="cx"> livecheck.url       http://kde.mirrors.hoobly.com/stable/
</span><span class="cx"> livecheck.regex     (\\d+(\\.\\d+)+)
</span></span></pre></div>
<a id="trunkdportskdekdepimlibs4filespatchCMakeListskioslavesdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/kde/kdepimlibs4/files/patch-CMakeLists-kioslaves.diff (0 => 119534)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/kde/kdepimlibs4/files/patch-CMakeLists-kioslaves.diff                                (rev 0)
+++ trunk/dports/kde/kdepimlibs4/files/patch-CMakeLists-kioslaves.diff        2014-04-29 16:41:39 UTC (rev 119534)
</span><span class="lines">@@ -0,0 +1,215 @@
</span><ins>+diff -ur ../kdepimlibs-4.12.4-orig/CMakeLists.txt ./CMakeLists.txt
+--- ../kdepimlibs-4.12.4-orig/CMakeLists.txt        2014-03-26 16:19:35.000000000 +0900
++++ ./CMakeLists.txt        2014-04-04 01:32:46.000000000 +0900
+@@ -171,51 +171,51 @@

+ ############### Now, we add the KDEPIMLibs components ###############
+ # These targets will always be built
+-add_subdirectory(cmake)
+-add_subdirectory(gpgme++)
+-add_subdirectory(qgpgme)
++#add_subdirectory(cmake)
++#add_subdirectory(gpgme++)
++#add_subdirectory(qgpgme)

+ if (NOT KDEPIM_ONLY_KLEO)
+-  add_subdirectory(kabc)
+-  add_subdirectory(kalarmcal)
++#  add_subdirectory(kabc)
++#  add_subdirectory(kalarmcal)
+   if (NOT KDEPIM_NO_KCAL)
+     if (NOT WINCE)
+-    add_subdirectory(kblog)
++#    add_subdirectory(kblog)
+     endif()
+-    add_subdirectory(kcal)
++#    add_subdirectory(kcal)
+   endif()
+-  add_subdirectory(kcalcore)
+-  add_subdirectory(kcalutils)
+-  add_subdirectory(akonadi) # depends on kabc is build
+-  add_subdirectory(kholidays)
++#  add_subdirectory(kcalcore)
++#  add_subdirectory(kcalutils)
++#  add_subdirectory(akonadi) # depends on kabc is build
++#  add_subdirectory(kholidays)
+   add_subdirectory(kimap)
+   add_subdirectory(kioslave)
+   add_subdirectory(kldap)
+-  add_subdirectory(kmbox)
++#  add_subdirectory(kmbox)
+ endif()
+   add_subdirectory(kmime)
+ if (NOT KDEPIM_ONLY_KLEO)
+-  add_subdirectory(kpimidentities)
+-  add_subdirectory(kpimutils)
+-  add_subdirectory(kpimtextedit)
++#  add_subdirectory(kpimidentities)
++#  add_subdirectory(kpimutils)
++#  add_subdirectory(kpimtextedit)
+   if (NOT KDEPIM_NO_KRESOURCES)
+-    add_subdirectory(kresources)
++#    add_subdirectory(kresources)
+   endif()
+-  add_subdirectory(ktnef)
+-  add_subdirectory(kxmlrpcclient)
+-  add_subdirectory(mailtransport)
+-  add_subdirectory(microblog)
+-  add_subdirectory(syndication)
++#  add_subdirectory(ktnef)
++#  add_subdirectory(kxmlrpcclient)
++#  add_subdirectory(mailtransport)
++#  add_subdirectory(microblog)
++#  add_subdirectory(syndication)
+   if (NOT WINCE)
+-  add_subdirectory(kontactinterface)
++#  add_subdirectory(kontactinterface)
+   endif()
+   # Build the CamelCase headers
+-  add_subdirectory(includes)
++#  add_subdirectory(includes)
+ endif()


+ # doc must be a subdir of kdepimlibs
+-macro_optional_add_subdirectory(doc)
++#macro_optional_add_subdirectory(doc)

+ # All done, let's display what we found...
+ feature_summary(WHAT ALL
+@@ -301,10 +301,10 @@
+         DESTINATION ${_KdepimLibsConfig_INSTALL_DIR} )

+ # Install the file with the exported targets, use ${KDEPIMLIBS_TARGET_PREFIX} as prefix for the names of these targets, Alex
+-install(EXPORT kdepimlibsLibraryTargets
+-        NAMESPACE ${KDEPIMLIBS_TARGET_PREFIX}
+-        DESTINATION ${_KdepimLibsConfig_INSTALL_DIR}
+-        FILE KDEPimLibsLibraryTargetsWithPrefix.cmake )
++#install(EXPORT kdepimlibsLibraryTargets
++#        NAMESPACE ${KDEPIMLIBS_TARGET_PREFIX}
++#        DESTINATION ${_KdepimLibsConfig_INSTALL_DIR}
++#        FILE KDEPimLibsLibraryTargetsWithPrefix.cmake )

+ # Install a KDEPimLibsDependencies.cmake so people using kdepimlibs 4.2 with kdelibs &lt; 4.2 get a useful error message, Alex
+ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/KDEPimLibsDependencies.cmake &quot;\n message(FATAL_ERROR \&quot;For using this version of kdepimlibs (${KDEPIMLIBS_VERSION}) you need a newer version of kdelibs, please update.\&quot;)\n&quot;)
+diff -ur ../kdepimlibs-4.12.4-orig/kimap/CMakeLists.txt ./kimap/CMakeLists.txt
+--- ../kdepimlibs-4.12.4-orig/kimap/CMakeLists.txt        2014-03-26 16:19:35.000000000 +0900
++++ ./kimap/CMakeLists.txt        2014-04-04 01:45:32.000000000 +0900
+@@ -2,7 +2,7 @@

+ add_definitions( -DKDE_DEFAULT_DEBUG_AREA=5327 )

+-add_subdirectory( tests )
++#add_subdirectory( tests )
+ add_definitions( -DQT_NO_CAST_FROM_ASCII )
+ add_definitions( -DQT_NO_CAST_TO_ASCII )

+@@ -65,12 +65,12 @@
+ )

+ set_target_properties(kimap PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
+-install(TARGETS kimap EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
++#install(TARGETS kimap EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})

+ ########### install files ###############

+-install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kimap_export.h acl.h imapset.h job.h appendjob.h capabilitiesjob.h fetchjob.h idlejob.h listjob.h loginjob.h logoutjob.h namespacejob.h rfccodecs.h
+- selectjob.h closejob.h expungejob.h deletejob.h createjob.h subscribejob.h unsubscribejob.h renamejob.h
+- session.h sessionuiproxy.h storejob.h copyjob.h searchjob.h acljobbase.h setacljob.h getacljob.h deleteacljob.h
+- myrightsjob.h listrightsjob.h quotajobbase.h setquotajob.h getquotajob.h getquotarootjob.h metadatajobbase.h setmetadatajob.h getmetadatajob.h
+- DESTINATION ${INCLUDE_INSTALL_DIR}/kimap  COMPONENT Devel)
++#install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kimap_export.h acl.h imapset.h job.h appendjob.h capabilitiesjob.h fetchjob.h idlejob.h listjob.h loginjob.h logoutjob.h namespacejob.h rfccodecs.h
++# selectjob.h closejob.h expungejob.h deletejob.h createjob.h subscribejob.h unsubscribejob.h renamejob.h
++# session.h sessionuiproxy.h storejob.h copyjob.h searchjob.h acljobbase.h setacljob.h getacljob.h deleteacljob.h
++# myrightsjob.h listrightsjob.h quotajobbase.h setquotajob.h getquotajob.h getquotarootjob.h metadatajobbase.h setmetadatajob.h getmetadatajob.h
++# DESTINATION ${INCLUDE_INSTALL_DIR}/kimap  COMPONENT Devel)
+diff -ur ../kdepimlibs-4.12.4-orig/kldap/CMakeLists.txt ./kldap/CMakeLists.txt
+--- ../kdepimlibs-4.12.4-orig/kldap/CMakeLists.txt        2014-03-26 16:19:35.000000000 +0900
++++ ./kldap/CMakeLists.txt        2014-04-04 01:45:50.000000000 +0900
+@@ -105,26 +105,26 @@
+   VERSION ${GENERIC_LIB_VERSION}
+   SOVERSION ${GENERIC_LIB_SOVERSION}
+ )
+-install(TARGETS kldap EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
++#install(TARGETS kldap EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})

+ ########### install files ###############

+-install(FILES
+-  ber.h
+-  ${CMAKE_CURRENT_BINARY_DIR}/kldap_export.h
+-  ldapattributeproxymodel.h
+-  ldapconfigwidget.h
+-  ldapconnection.h
+-  ldapcontrol.h
+-  ldapdefs.h
+-  ldapdn.h
+-  ldapmodel.h
+-  ldapobject.h
+-  ldapoperation.h
+-  ldapsearch.h
+-  ldapserver.h
+-  ldapstructureproxymodel.h
+-  ldapurl.h
+-  ldif.h
+-  DESTINATION ${INCLUDE_INSTALL_DIR}/kldap COMPONENT Devel
+-)
++#install(FILES
++#  ber.h
++#  ${CMAKE_CURRENT_BINARY_DIR}/kldap_export.h
++#  ldapattributeproxymodel.h
++#  ldapconfigwidget.h
++#  ldapconnection.h
++#  ldapcontrol.h
++#  ldapdefs.h
++#  ldapdn.h
++#  ldapmodel.h
++#  ldapobject.h
++#  ldapoperation.h
++#  ldapsearch.h
++#  ldapserver.h
++#  ldapstructureproxymodel.h
++#  ldapurl.h
++#  ldif.h
++#  DESTINATION ${INCLUDE_INSTALL_DIR}/kldap COMPONENT Devel
++#)
+diff -ur ../kdepimlibs-4.12.4-orig/kmime/CMakeLists.txt ./kmime/CMakeLists.txt
+--- ../kdepimlibs-4.12.4-orig/kmime/CMakeLists.txt        2014-03-26 16:19:35.000000000 +0900
++++ ./kmime/CMakeLists.txt        2014-04-04 01:45:58.000000000 +0900
+@@ -39,20 +39,20 @@

+ set_target_properties(kmime PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})

+-install(TARGETS kmime EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
++#install(TARGETS kmime EXPORT kdepimlibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})

+-install( FILES
+-         boolflags.h
+-         ${CMAKE_CURRENT_BINARY_DIR}/kmime_export.h
+-         kmime_charfreq.h
+-         kmime_codecs.h
+-         kmime_content.h
+-         kmime_contentindex.h
+-         kmime_header_parsing.h
+-         kmime_headers.h
+-         kmime_message.h
+-         kmime_mdn.h
+-         kmime_newsarticle.h
+-         kmime_dateformatter.h
+-         kmime_util.h
+-         DESTINATION ${INCLUDE_INSTALL_DIR}/kmime COMPONENT Devel)
++#install( FILES
++#         boolflags.h
++#         ${CMAKE_CURRENT_BINARY_DIR}/kmime_export.h
++#         kmime_charfreq.h
++#         kmime_codecs.h
++#         kmime_content.h
++#         kmime_contentindex.h
++#         kmime_header_parsing.h
++#         kmime_headers.h
++#         kmime_message.h
++#         kmime_mdn.h
++#         kmime_newsarticle.h
++#         kmime_dateformatter.h
++#         kmime_util.h
++#         DESTINATION ${INCLUDE_INSTALL_DIR}/kmime COMPONENT Devel)
</ins></span></pre>
</div>
</div>

</body>
</html>