[csw-devel] SF.net SVN: gar:[20942] csw/mgar/pkg

slowfranklin at users.sourceforge.net slowfranklin at users.sourceforge.net
Thu May 2 19:41:22 CEST 2013


Revision: 20942
          http://gar.svn.sourceforge.net/gar/?rev=20942&view=rev
Author:   slowfranklin
Date:     2013-05-02 17:41:21 +0000 (Thu, 02 May 2013)
Log Message:
-----------
New package Gnome Tracker

Added Paths:
-----------
    csw/mgar/pkg/tracker/
    csw/mgar/pkg/tracker/Makefile
    csw/mgar/pkg/tracker/branches/
    csw/mgar/pkg/tracker/tags/
    csw/mgar/pkg/tracker/trunk/
    csw/mgar/pkg/tracker/trunk/Makefile
    csw/mgar/pkg/tracker/trunk/checksums
    csw/mgar/pkg/tracker/trunk/files/
    csw/mgar/pkg/tracker/trunk/files/0001-Force-linking-with-CC-not-CXX.patch
    csw/mgar/pkg/tracker/trunk/files/0003-Replace-uuid_unparse_lower-with-uuid_unparse.patch
    csw/mgar/pkg/tracker/trunk/files/0004-_XOPEN_SOURCE-hides-non-standard-stuff-__EXTENSIONS_.patch

Added: csw/mgar/pkg/tracker/Makefile
===================================================================
--- csw/mgar/pkg/tracker/Makefile	                        (rev 0)
+++ csw/mgar/pkg/tracker/Makefile	2013-05-02 17:41:21 UTC (rev 20942)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/tracker/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/tracker/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tracker/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/tracker/trunk/Makefile	2013-05-02 17:41:21 UTC (rev 20942)
@@ -0,0 +1,104 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = tracker
+# Tracker version after this require glib2 >= 2.35.1
+VERSION = 0.15.2
+GARTYPE = v2
+
+DESCRIPTION = semantic data storage for desktop and mobile devices
+define BLURB
+  Tracker is a semantic data storage for desktop and mobile devices.
+  Tracker uses W3C standards for RDF ontologies using Nepomuk with
+  SPARQL to query and update the data.
+  Tracker is a central repository of user information, that provides
+  two big benefits for the user; shared data between applications
+  and information which is relational to other information (for
+  example mixing contacts with files, locations, activities and etc.).
+endef
+
+MASTER_SITES = $(GNOME_MIRROR)
+DISTFILES  = $(NAME)-$(VERSION).tar.xz
+GARCOMPILER = GNU
+
+BUILD_DEP_PKGS += CSWlibgsf-dev
+BUILD_DEP_PKGS += CSWvala
+BUILD_DEP_PKGS += CSWggettext-dev
+BUILD_DEP_PKGS += CSWglib2devel
+BUILD_DEP_PKGS += CSWlibiconv-dev
+BUILD_DEP_PKGS += CSWlibsqlite3-dev
+BUILD_DEP_PKGS += CSWlibxml2-dev
+BUILD_DEP_PKGS += CSWlibz-dev
+BUILD_DEP_PKGS += CSWlibpopplerdev
+BUILD_DEP_PKGS += CSWlibgif-dev
+BUILD_DEP_PKGS += CSWlibjpeg-dev
+BUILD_DEP_PKGS += CSWlibtiff-dev
+BUILD_DEP_PKGS += CSWlibicu-devel
+BUILD_DEP_PKGS += CSWpkgconfig
+BUILD_DEP_PKGS += CSWlibpng-dev
+
+RUNTIME_DEP_PKGS += CSWlibuuid
+RUNTIME_DEP_PKGS += CSWlibgsf
+RUNTIME_DEP_PKGS += CSWzlib
+RUNTIME_DEP_PKGS += CSWvala
+RUNTIME_DEP_PKGS += CSWggettext
+RUNTIME_DEP_PKGS += CSWglib2
+RUNTIME_DEP_PKGS += CSWgio-fam-backend
+RUNTIME_DEP_PKGS += CSWlibiconv2
+RUNTIME_DEP_PKGS += CSWlibsqlite3-0
+RUNTIME_DEP_PKGS += CSWlibxml2
+RUNTIME_DEP_PKGS += CSWlibz1
+RUNTIME_DEP_PKGS += CSWlibpoppler
+RUNTIME_DEP_PKGS += CSWlibgif4
+RUNTIME_DEP_PKGS += CSWlibjpeg7
+RUNTIME_DEP_PKGS += CSWlibtiff3
+RUNTIME_DEP_PKGS += CSWlibicu46
+RUNTIME_DEP_PKGS += CSWlibpng15-15
+
+PATCHFILES += 0001-Force-linking-with-CC-not-CXX.patch
+PATCHFILES += 0003-Replace-uuid_unparse_lower-with-uuid_unparse.patch
+PATCHFILES += 0004-_XOPEN_SOURCE-hides-non-standard-stuff-__EXTENSIONS_.patch
+
+# Packages
+PACKAGES += CSWlibtracker0-16
+PACKAGES += CSWlibtracker-dev
+PACKAGES += CSWtracker
+
+# Catalog names
+CATALOGNAME_CSWlibtracker0-16 = libtracker0_16
+CATALOGNAME_CSWlibtracker-dev = libtracker_dev
+
+# Package descriptions
+SPKG_DESC_CSWlibtracker0-16 = Gnome Tracker, libraries
+SPKG_DESC_CSWlibtracker-dev = Gnome Tracker, development files
+SPKG_DESC_CSWtracker        = Gnome Tracker
+
+# Package payload
+PKGFILES_CSWlibtracker0-16 += $(call pkgfiles_lib,libtracker-extract-0.16.so)
+PKGFILES_CSWlibtracker0-16 += $(call pkgfiles_lib,libtracker-miner-0.16.so)
+PKGFILES_CSWlibtracker0-16 += $(call pkgfiles_lib,libtracker-sparql-0.16.so)
+PKGFILES_CSWlibtracker0-16 += $(call baseisadirs,$(libdir),tracker-0\.16/extract-modules/libextract-.*\.so)
+PKGFILES_CSWlibtracker0-16 += $(call baseisadirs,$(libdir),tracker-0\.16/libtracker-common\.so.*)
+PKGFILES_CSWlibtracker0-16 += $(call baseisadirs,$(libdir),tracker-0\.16/libtracker-data\.so.*)
+
+PKGFILES_CSWlibtracker-dev += $(PKGFILES_DEVEL)
+
+# Inter-package deps
+RUNTIME_DEP_PKGS_CSWlibtracker-dev += CSWlibtracker0-16
+RUNTIME_DEP_PKGS_CSWtracker        += CSWlibtracker0-16
+
+# For gettext
+CONFIGURE_ENV_PATH = /opt/csw/gnu:$(PATH)
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --enable-tracker-fts
+CONFIGURE_ARGS += --disable-unit-tests
+CONFIGURE_ARGS += --disable-hal
+CONFIGURE_ARGS += --disable-introspection
+CONFIGURE_ARGS += --disable-playlist
+CONFIGURE_ARGS += --disable-nautilus-extension
+
+TEST_SCRIPTS =
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/tracker/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/tracker/trunk/checksums
===================================================================
--- csw/mgar/pkg/tracker/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/tracker/trunk/checksums	2013-05-02 17:41:21 UTC (rev 20942)
@@ -0,0 +1 @@
+dc28cac7eb36b5755cf7b4209b363956  tracker-0.15.2.tar.xz

Added: csw/mgar/pkg/tracker/trunk/files/0001-Force-linking-with-CC-not-CXX.patch
===================================================================
--- csw/mgar/pkg/tracker/trunk/files/0001-Force-linking-with-CC-not-CXX.patch	                        (rev 0)
+++ csw/mgar/pkg/tracker/trunk/files/0001-Force-linking-with-CC-not-CXX.patch	2013-05-02 17:41:21 UTC (rev 20942)
@@ -0,0 +1,57 @@
+From 418c1723f87ae488294d9744657ce5a34e49c4f1 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Mon, 29 Apr 2013 07:39:43 +0200
+Subject: [PATCH] Force linking with CC, not CXX
+
+Linking with CXX introduces bizarre linker errors where dependent
+libs are linked with their relative sourcetree path even in the final
+installed libarary.
+---
+ src/libtracker-extract/Makefile.in |   10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/src/libtracker-extract/Makefile.in b/src/libtracker-extract/Makefile.in
+index 0ce7b1d..3d046e9 100644
+--- a/src/libtracker-extract/Makefile.in
++++ b/src/libtracker-extract/Makefile.in
+@@ -74,7 +74,7 @@ DIST_COMMON = $(libtracker_extractinclude_HEADERS) $(noinst_HEADERS) \
+ @HAVE_MEEGOTOUCH_TRUE@	tracker-encoding-meegotouch.cpp                \
+ @HAVE_MEEGOTOUCH_TRUE@	tracker-encoding-meegotouch.h
+ 
+- at HAVE_INTROSPECTION_TRUE@am__append_3 = $(AM_CPPFLAGS)
++ at HAVE_INTROSPECTION_TRUE@am__append_3 = $(AM_CFLAGS)
+ @HAVE_INTROSPECTION_TRUE at am__append_4 = TrackerExtract-$(TRACKER_API_VERSION).gir
+ subdir = src/libtracker-extract
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -152,8 +152,8 @@ AM_V_lt = $(am__v_lt_ at AM_V@)
+ am__v_lt_ = $(am__v_lt_ at AM_DEFAULT_V@)
+ am__v_lt_0 = --silent
+ libtracker_extract_ at TRACKER_API_VERSION@_la_LINK = $(LIBTOOL) \
+-	$(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+-	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
++	$(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
++	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ 	$(libtracker_extract_ at TRACKER_API_VERSION@_la_LDFLAGS) \
+ 	$(LDFLAGS) -o $@
+ DEFAULT_INCLUDES = -I. at am__isrc@ -I$(top_builddir)
+@@ -531,7 +531,7 @@ GTESTER_REPORT = gtester-report
+ 
+ # initialize variables for unconditional += appending
+ TEST_PROGS = 
+-AM_CPPFLAGS = \
++AM_CFLAGS = \
+ 	$(BUILD_CFLAGS)                                \
+ 	-I$(top_srcdir)/src                            \
+ 	-I$(top_builddir)/src                          \
+@@ -662,7 +662,7 @@ clean-libLTLIBRARIES:
+ 	  rm -f "$${dir}/so_locations"; \
+ 	done
+ libtracker-extract- at TRACKER_API_VERSION@.la: $(libtracker_extract_ at TRACKER_API_VERSION@_la_OBJECTS) $(libtracker_extract_ at TRACKER_API_VERSION@_la_DEPENDENCIES) $(EXTRA_libtracker_extract_ at TRACKER_API_VERSION@_la_DEPENDENCIES) 
+-	$(AM_V_CXXLD)$(libtracker_extract_ at TRACKER_API_VERSION@_la_LINK) -rpath $(libdir) $(libtracker_extract_ at TRACKER_API_VERSION@_la_OBJECTS) $(libtracker_extract_ at TRACKER_API_VERSION@_la_LIBADD) $(LIBS)
++	$(AM_V_CCLD)$(libtracker_extract_ at TRACKER_API_VERSION@_la_LINK) -rpath $(libdir) $(libtracker_extract_ at TRACKER_API_VERSION@_la_OBJECTS) $(libtracker_extract_ at TRACKER_API_VERSION@_la_LIBADD) $(LIBS)
+ 
+ mostlyclean-compile:
+ 	-rm -f *.$(OBJEXT)
+-- 
+1.7.9.2
+

Added: csw/mgar/pkg/tracker/trunk/files/0003-Replace-uuid_unparse_lower-with-uuid_unparse.patch
===================================================================
--- csw/mgar/pkg/tracker/trunk/files/0003-Replace-uuid_unparse_lower-with-uuid_unparse.patch	                        (rev 0)
+++ csw/mgar/pkg/tracker/trunk/files/0003-Replace-uuid_unparse_lower-with-uuid_unparse.patch	2013-05-02 17:41:21 UTC (rev 20942)
@@ -0,0 +1,36 @@
+From 6c8d1ff8a1e0e938aa3433661de558eadb5e75f5 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Wed, 9 Jan 2013 15:37:43 +0100
+Subject: [PATCH 4/6] Replace uuid_unparse_lower() with uuid_unparse()
+
+---
+ src/libtracker-sparql/tracker-utils.vala |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/libtracker-sparql/tracker-utils.vala b/src/libtracker-sparql/tracker-utils.vala
+index 9b62dce..e23a59c 100644
+--- a/src/libtracker-sparql/tracker-utils.vala
++++ b/src/libtracker-sparql/tracker-utils.vala
+@@ -89,8 +89,8 @@ namespace Tracker.Sparql {
+ 	[CCode (cname = "uuid_generate")]
+ 	private extern static void uuid_generate ([CCode (array_length = false)] uchar[] uuid);
+ 
+-	[CCode (cname = "uuid_unparse_lower")]
+-	private extern static void uuid_unparse_lower ([CCode (array_length = false)] uchar[] uuid, char* out);
++	[CCode (cname = "uuid_unparse")]
++	private extern static void uuid_unparse ([CCode (array_length = false)] uchar[] uuid, char* out);
+ 
+ 	/**
+ 	 * tracker_sparql_get_uuid_urn:
+@@ -110,7 +110,7 @@ namespace Tracker.Sparql {
+ 		string lower = (string) new char[37];
+ 
+ 		uuid_generate (base_uuid);
+-		uuid_unparse_lower (base_uuid, (char *) lower);
++		uuid_unparse (base_uuid, (char *) lower);
+ 
+ 		// generate uuid
+ 		return "urn:uuid:%s".printf (lower);
+-- 
+1.7.9.2
+

Added: csw/mgar/pkg/tracker/trunk/files/0004-_XOPEN_SOURCE-hides-non-standard-stuff-__EXTENSIONS_.patch
===================================================================
--- csw/mgar/pkg/tracker/trunk/files/0004-_XOPEN_SOURCE-hides-non-standard-stuff-__EXTENSIONS_.patch	                        (rev 0)
+++ csw/mgar/pkg/tracker/trunk/files/0004-_XOPEN_SOURCE-hides-non-standard-stuff-__EXTENSIONS_.patch	2013-05-02 17:41:21 UTC (rev 20942)
@@ -0,0 +1,27 @@
+From 4e73d080ec9bb36465a37e91ff7f9a67aa497f03 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Wed, 9 Jan 2013 15:38:32 +0100
+Subject: [PATCH 5/6] _XOPEN_SOURCE hides non-standard stuff, __EXTENSIONS__
+ brings them back
+
+---
+ src/tracker-extract/tracker-main.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
+index 7773ebe..3cecd32 100644
+--- a/src/tracker-extract/tracker-main.c
++++ b/src/tracker-extract/tracker-main.c
+@@ -21,6 +21,9 @@
+ #include "config.h"
+ 
+ #define _XOPEN_SOURCE
++#ifndef __EXTENSIONS__
++#define __EXTENSIONS__
++#endif
+ #include <time.h>
+ #include <stdlib.h>
+ #include <locale.h>
+-- 
+1.7.9.2
+

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