[126342] trunk/dports/kde

nicos at macports.org nicos at macports.org
Wed Oct 8 04:09:03 PDT 2014


Revision: 126342
          https://trac.macports.org/changeset/126342
Author:   nicos at macports.org
Date:     2014-10-08 04:09:03 -0700 (Wed, 08 Oct 2014)
Log Message:
-----------
baloo: new port

Added Paths:
-----------
    trunk/dports/kde/baloo/
    trunk/dports/kde/baloo/Portfile
    trunk/dports/kde/baloo/files/
    trunk/dports/kde/baloo/files/patch-executables.diff
    trunk/dports/kde/baloo/files/patch-xapiandatabase.diff

Added: trunk/dports/kde/baloo/Portfile
===================================================================
--- trunk/dports/kde/baloo/Portfile	                        (rev 0)
+++ trunk/dports/kde/baloo/Portfile	2014-10-08 11:09:03 UTC (rev 126342)
@@ -0,0 +1,47 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           kde4   1.1
+
+name                baloo
+version             4.13.3
+categories          kde kde4
+maintainers         nicos openmaintainer
+license             {LGPL-2 LGPL-2.1+ GPL-2+}
+description         Baloo is a metadata and search framework for KDE.
+long_description    ${description} It is aimed ultimately at replacing nepomuk.
+platforms           darwin
+homepage            http://www.kde.org
+master_sites        kde:stable/${version}/src/
+use_xz              yes
+checksums           rmd160  7bddd8bf42a32628133fb8cdd2f1cb55cdf83e63 \
+                    sha256  c7467bf518dc23e319b581dbc1dff84cd8d0b03516a1d25bde0aa0cd7bbad043
+
+depends_lib-append  port:kdelibs4 \
+                    port:kdepimlibs4 \
+                    port:kfilemetadata \
+                    port:xapian-core \
+                    port:akonadi \
+                    port:qjson
+
+patchfiles          patch-xapiandatabase.diff \
+                    patch-executables.diff
+
+startupitem.create      yes
+
+startupitem.start       "${prefix}/bin/balooctl start"
+startupitem.stop        "${prefix}/bin/balooctl stop"
+startupitem.restart     "${prefix}/bin/balooctl restart"
+
+post-destroot {
+    move ${destroot}${prefix}/bin/baloo_file_cleaner.app/Contents/MacOS/baloo_file_cleaner \
+        ${destroot}${prefix}/bin/baloo_file_cleaner
+    file delete -force ${destroot}${prefix}/bin/baloo_file_cleaner.app
+    move ${destroot}${prefix}/bin/baloo_file_extractor.app/Contents/MacOS/baloo_file_extractor \
+        ${destroot}${prefix}/bin/baloo_file_extractor
+    file delete -force ${destroot}${prefix}/bin/baloo_file_extractor.app
+}
+
+livecheck.url       http://kde.mirrors.hoobly.com/stable/
+livecheck.regex     (\\d+(\\.\\d+)+)


Property changes on: trunk/dports/kde/baloo/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/kde/baloo/files/patch-executables.diff
===================================================================
--- trunk/dports/kde/baloo/files/patch-executables.diff	                        (rev 0)
+++ trunk/dports/kde/baloo/files/patch-executables.diff	2014-10-08 11:09:03 UTC (rev 126342)
@@ -0,0 +1,34 @@
+Only in ./src/pim/agent: .DS_Store
+diff -ur ../baloo-4.13.2-orig/src/tools/balooctl/CMakeLists.txt ./src/tools/balooctl/CMakeLists.txt
+--- ../baloo-4.13.2-orig/src/tools/balooctl/CMakeLists.txt	2014-06-04 16:50:08.000000000 +0900
++++ ./src/tools/balooctl/CMakeLists.txt	2014-06-15 13:30:48.000000000 +0900
+@@ -1,6 +1,6 @@
+ set(SRCS main.cpp)
+ 
+-kde4_add_executable(balooctl ${SRCS})
++add_executable(balooctl ${SRCS})
+ 
+ target_link_libraries(balooctl
+     ${KDE4_KDECORE_LIBS}
+diff -ur ../baloo-4.13.2-orig/src/tools/baloosearch/CMakeLists.txt ./src/tools/baloosearch/CMakeLists.txt
+--- ../baloo-4.13.2-orig/src/tools/baloosearch/CMakeLists.txt	2014-06-04 16:50:08.000000000 +0900
++++ ./src/tools/baloosearch/CMakeLists.txt	2014-06-15 13:31:16.000000000 +0900
+@@ -1,6 +1,6 @@
+ set(SRCS main.cpp)
+ 
+-kde4_add_executable(baloosearch ${SRCS})
++add_executable(baloosearch ${SRCS})
+ 
+ target_link_libraries(baloosearch
+   ${KDE4_KDECORE_LIBS}
+diff -ur ../baloo-4.13.2-orig/src/tools/balooshow/CMakeLists.txt ./src/tools/balooshow/CMakeLists.txt
+--- ../baloo-4.13.2-orig/src/tools/balooshow/CMakeLists.txt	2014-06-04 16:50:08.000000000 +0900
++++ ./src/tools/balooshow/CMakeLists.txt	2014-06-15 13:31:42.000000000 +0900
+@@ -1,6 +1,6 @@
+ set(SRCS main.cpp)
+ 
+-kde4_add_executable(balooshow ${SRCS})
++add_executable(balooshow ${SRCS})
+ 
+ target_link_libraries(balooshow
+     ${KDE4_KDECORE_LIBS}

Added: trunk/dports/kde/baloo/files/patch-xapiandatabase.diff
===================================================================
--- trunk/dports/kde/baloo/files/patch-xapiandatabase.diff	                        (rev 0)
+++ trunk/dports/kde/baloo/files/patch-xapiandatabase.diff	2014-10-08 11:09:03 UTC (rev 126342)
@@ -0,0 +1,23 @@
+--- src/xapian/xapiandatabase.cpp.orig	2014-06-04 16:50:08.000000000 +0900
++++ src/xapian/xapiandatabase.cpp	2014-06-13 01:32:12.000000000 +0900
+@@ -24,10 +24,7 @@
+ #include <QTimer>
+ #include <QDir>
+ 
+-#ifdef __GNUC__
+-#include <malloc.h>
+ #include <unistd.h>
+-#endif
+ 
+ using namespace Baloo;
+ 
+@@ -140,9 +137,6 @@
+     m_docsToAdd.clear();
+     m_docsToRemove.clear();
+ 
+-#ifdef __GNUC__
+-    malloc_trim(0);
+-#endif
+ }
+ 
+ XapianDocument XapianDatabase::document(uint id)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141008/c4b25437/attachment.html>


More information about the macports-changes mailing list