SF.net SVN: gar:[23220] csw/mgar/pkg/netatalk/trunk

slowfranklin at users.sourceforge.net slowfranklin at users.sourceforge.net
Fri Mar 14 18:34:08 CET 2014


Revision: 23220
          http://sourceforge.net/p/gar/code/23220
Author:   slowfranklin
Date:     2014-03-14 17:34:07 +0000 (Fri, 14 Mar 2014)
Log Message:
-----------
netatalk/trunk: Add patch for gsettings

Modified Paths:
--------------
    csw/mgar/pkg/netatalk/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/netatalk/trunk/files/0004-Ensure-gsettings-is-called-from-opt-csw-bin.patch

Modified: csw/mgar/pkg/netatalk/trunk/Makefile
===================================================================
--- csw/mgar/pkg/netatalk/trunk/Makefile	2014-03-14 16:44:08 UTC (rev 23219)
+++ csw/mgar/pkg/netatalk/trunk/Makefile	2014-03-14 17:34:07 UTC (rev 23220)
@@ -53,6 +53,7 @@
 RUNTIME_DEP_PKGS += $(RUNTIME_DEP_PKGS_$(GARCH)_$(GAROSREL)) $(RUNTIME_DEP_PKGS_$(GARCH))
 
 PATCHFILES += 0003-Disable-noinst-binary-fails-to-link-on-SPARC.patch
+PATCHFILES += 0004-Ensure-gsettings-is-called-from-opt-csw-bin.patch
 
 REINPLACEMENTS += manifest1
 REINPLACE_MATCH_manifest1 = network/netatalk

Added: csw/mgar/pkg/netatalk/trunk/files/0004-Ensure-gsettings-is-called-from-opt-csw-bin.patch
===================================================================
--- csw/mgar/pkg/netatalk/trunk/files/0004-Ensure-gsettings-is-called-from-opt-csw-bin.patch	                        (rev 0)
+++ csw/mgar/pkg/netatalk/trunk/files/0004-Ensure-gsettings-is-called-from-opt-csw-bin.patch	2014-03-14 17:34:07 UTC (rev 23220)
@@ -0,0 +1,32 @@
+From d2d5c9ae7dd66ac2e26fcb5d9ce8b430f645ef25 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Fri, 14 Mar 2014 18:16:21 +0100
+Subject: [PATCH] Ensure gsettings is called from /opt/csw/bin
+
+---
+ etc/netatalk/netatalk.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/etc/netatalk/netatalk.c b/etc/netatalk/netatalk.c
+index 4a20d7b..4cdc466 100644
+--- a/etc/netatalk/netatalk.c
++++ b/etc/netatalk/netatalk.c
+@@ -85,13 +85,13 @@ static int set_sl_volumes(void)
+     }
+ 
+     volnamelist = bjoin(vollist, sep);
+-    cmd = bformat("gsettings set org.freedesktop.Tracker.Miner.Files index-recursive-directories \"[%s]\"",
++    cmd = bformat(TRACKER_PREFIX "/bin/gsettings set org.freedesktop.Tracker.Miner.Files index-recursive-directories \"[%s]\"",
+                   bdata(volnamelist) ? bdata(volnamelist) : "");
+     LOG(log_debug, logtype_sl, "set_sl_volumes: %s", bdata(cmd));
+     system(bdata(cmd));
+ 
+     /* Disable default root user home indexing */
+-    system("gsettings set org.freedesktop.Tracker.Miner.Files index-single-directories \"[]\"");
++    system(TRACKER_PREFIX "/bin/gsettings set org.freedesktop.Tracker.Miner.Files index-single-directories \"[]\"");
+ 
+ EC_CLEANUP:
+     if (cmd)
+-- 
+1.8.4.1
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list