summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-09-03 13:00:12 +0200
committerCarlos Garnacho <carlosg@gnome.org>2018-09-09 20:52:11 +0200
commit426071b26e6954b70d80ade8b2fad36a27c606a6 (patch)
treec465e97f5bde927077bf4278df0efb9c29ef90d6
parent4b7980b92d15167ae43e79211faf1358c8cbe575 (diff)
downloadtracker-426071b26e6954b70d80ade8b2fad36a27c606a6.tar.gz
build: Drop autotoolswip/carlosg/drop-autotools
-rw-r--r--.gitlab-ci.yml12
-rw-r--r--Makefile.am127
-rwxr-xr-xautogen.sh68
-rw-r--r--configure.ac1027
-rw-r--r--docs/Makefile.am15
-rw-r--r--docs/design/Makefile.am6
-rw-r--r--docs/manpages/Makefile.am19
-rw-r--r--docs/reference/Makefile.am10
-rw-r--r--docs/reference/libtracker-control/Makefile.am62
-rw-r--r--docs/reference/libtracker-miner/Makefile.am81
-rw-r--r--docs/reference/libtracker-sparql/Makefile.am97
-rw-r--r--docs/reference/ontology/Makefile.am56
-rw-r--r--docs/tools/Makefile.am32
-rw-r--r--examples/Makefile.am6
-rw-r--r--examples/libtracker-miner/Makefile.am22
-rw-r--r--examples/libtracker-sparql/Makefile.am15
-rw-r--r--examples/rss-reader/Makefile.am7
-rw-r--r--m4/.gitignore1
-rw-r--r--m4/attributes.m4288
-rw-r--r--m4/sqlite-auto-extension.m440
-rw-r--r--m4/sqlite-builtin-fts5.m435
-rw-r--r--m4/sqlite-threadsafe.m452
-rw-r--r--m4/tracker.m4253
-rw-r--r--m4/vala-extra.m426
-rw-r--r--src/Makefile.am22
-rw-r--r--src/gvdb/Makefile.am20
-rw-r--r--src/libtracker-bus/Makefile.am35
-rw-r--r--src/libtracker-common/Makefile.am84
-rw-r--r--src/libtracker-common/stop-words/Makefile.am17
-rw-r--r--src/libtracker-control/Makefile.am106
-rw-r--r--src/libtracker-data/Makefile.am117
-rw-r--r--src/libtracker-direct/Makefile.am21
-rw-r--r--src/libtracker-fts/Makefile.am50
-rw-r--r--src/libtracker-miner/Makefile.am196
-rw-r--r--src/libtracker-remote/Makefile.am38
-rw-r--r--src/libtracker-sparql-backend/Makefile.am88
-rw-r--r--src/libtracker-sparql/Makefile.am123
-rw-r--r--src/ontologies/Makefile.am41
-rw-r--r--src/tracker-store/Makefile.am125
-rw-r--r--src/tracker/Makefile.am69
-rw-r--r--tests/Makefile.am20
-rw-r--r--tests/common/Makefile.am18
-rw-r--r--tests/functional-tests/Makefile.am77
-rw-r--r--tests/functional-tests/common/Makefile.am7
-rw-r--r--tests/functional-tests/common/data/Images/Makefile.am10
-rw-r--r--tests/functional-tests/common/data/Makefile.am15
-rw-r--r--tests/functional-tests/common/data/Music/Makefile.am8
-rw-r--r--tests/functional-tests/common/data/Video/Makefile.am10
-rw-r--r--tests/functional-tests/common/utils/Makefile.am13
-rw-r--r--tests/functional-tests/ipc/Makefile.am74
-rw-r--r--tests/functional-tests/test-ontologies/Makefile.am14
-rw-r--r--tests/functional-tests/test-ontologies/add-class/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/add-domainIndex/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/add-prop/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/basic-future/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/basic/Makefile.am7
-rw-r--r--tests/functional-tests/test-ontologies/cardinality/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/indexed/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/notify/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/property-promotion/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/property-range-int-to-string/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/property-range-string-to-date/Makefile.am6
-rw-r--r--tests/functional-tests/test-ontologies/superclass-remove/Makefile.am6
-rw-r--r--tests/functional-tests/ttl/Makefile.am60
-rw-r--r--tests/functional-tests/unittest2/Makefile.am19
-rw-r--r--tests/gvdb/Makefile.am19
-rw-r--r--tests/libtracker-common/Makefile.am49
-rw-r--r--tests/libtracker-data/Makefile.am98
-rw-r--r--tests/libtracker-data/aggregates/Makefile.am11
-rw-r--r--tests/libtracker-data/algebra/Makefile.am43
-rw-r--r--tests/libtracker-data/anon/Makefile.am9
-rw-r--r--tests/libtracker-data/ask/Makefile.am7
-rw-r--r--tests/libtracker-data/backup/Makefile.am6
-rw-r--r--tests/libtracker-data/basic/Makefile.am18
-rw-r--r--tests/libtracker-data/bind/Makefile.am13
-rw-r--r--tests/libtracker-data/bnode-coreference/Makefile.am7
-rw-r--r--tests/libtracker-data/bound/Makefile.am7
-rw-r--r--tests/libtracker-data/datetime/Makefile.am15
-rw-r--r--tests/libtracker-data/error/Makefile.am14
-rw-r--r--tests/libtracker-data/expr-ops/Makefile.am21
-rw-r--r--tests/libtracker-data/functions/Makefile.am45
-rw-r--r--tests/libtracker-data/graph/Makefile.am18
-rw-r--r--tests/libtracker-data/mixed-cardinality/Makefile.am10
-rw-r--r--tests/libtracker-data/nie/Makefile.am30
-rw-r--r--tests/libtracker-data/nmo/Makefile.am34
-rw-r--r--tests/libtracker-data/optional/Makefile.am11
-rw-r--r--tests/libtracker-data/regex/Makefile.am9
-rw-r--r--tests/libtracker-data/sort/Makefile.am24
-rw-r--r--tests/libtracker-data/subqueries/Makefile.am11
-rw-r--r--tests/libtracker-data/turtle/Makefile.am10
-rw-r--r--tests/libtracker-data/update/Makefile.am43
-rw-r--r--tests/libtracker-fts/Makefile.am42
-rw-r--r--tests/libtracker-fts/limits/Makefile.am12
-rw-r--r--tests/libtracker-fts/prefix/Makefile.am10
-rw-r--r--tests/libtracker-miner/Makefile.am125
-rw-r--r--tests/libtracker-sparql/Makefile.am29
-rw-r--r--tests/tracker-steroids/Makefile.am26
-rw-r--r--utils/Makefile.am11
-rw-r--r--utils/data-generators/Makefile.am1
-rw-r--r--utils/data-generators/cc/Makefile.am20
-rw-r--r--utils/mtp/Makefile.am17
-rw-r--r--utils/ontology/Makefile.am21
-rw-r--r--utils/sandbox/Makefile.am1
-rw-r--r--utils/tracker-resdump/Makefile.am31
104 files changed, 1 insertions, 4854 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f345b8be3..75470763b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,17 +1,7 @@
stages:
- test
-test-autotools-fedora-latest:
- stage: test
- image: registry.gitlab.gnome.org/sthursfield/tracker-oci-images/amd64/fedora:latest
-
- script:
- - su tracker -c './autogen.sh --prefix=/usr'
- - su tracker -c 'make -j'
- - LANG=en_US.UTF8 VERBOSE=1 su tracker -c 'dbus-launch make check'
- - su tracker -c 'make functional-test'
-
-test-meson-fedora-latest:
+test-fedora-latest:
stage: test
image: registry.gitlab.gnome.org/sthursfield/tracker-oci-images/amd64/fedora:latest
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 21e63d7c2..000000000
--- a/Makefile.am
+++ /dev/null
@@ -1,127 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-SUBDIRS = src docs po utils examples
-
-if HAVE_UNIT_TESTS
-SUBDIRS += tests
-endif
-
-#if ENABLE_GCOV
-.PHONY: coverage coverage-report
-coverage:
- find $(top_srcdir) -name "*.gcda" | xargs rm -f
- $(MAKE) $(AM_MAKEFLAGS) test
-
-coverage-report: coverage
- lcov --directory $(top_srcdir)/src --capture --output-file $(top_builddir)/lcov.info
- lcov --directory $(top_srcdir)/src --output-file $(top_builddir)/lcov.info --remove $(top_builddir)/lcov.info \
- tracker-sparql-builder.c \
- tracker-sparql-expression.c \
- tracker-sparql-pattern.c \
- tracker-sparql-query.c \
- tracker-sparql-scanner.c \
- tracker-turtle-reader.c \
- tracker-turtle-writer.c \
- libtracker-bus/tracker-array-cursor.c \
- libtracker-bus/tracker-bus-fd-cursor.c \
- libtracker-bus/tracker-bus.c \
- libtracker-direct/tracker-direct.c \
- libtracker-miner/tracker-storage.c \
- libtracker-miner/tracker-dbus.c \
- libtracker-miner/tracker-miner-fs.c \
- libtracker-miner/tracker-miner-object.c \
- libtracker-miner/tracker-miner-web.c \
- libtracker-miner/tracker-network-provider.c \
- libtracker-miner/tracker-network-provider-network-manager.c \
- libtracker-sparql/tracker-builder.c \
- libtracker-sparql/tracker-connection.c \
- libtracker-sparql/tracker-cursor.c \
- libtracker-sparql/tracker-plugin-loader.c \
- libtracker-sparql/tracker-utils.c \
- libtracker-sparql-backend/tracker-backend.c \
- tracker-store/tracker-backup.c \
- tracker-store/tracker-dbus.c \
- tracker-store/tracker-main.c \
- tracker-store/tracker-resources.c \
- tracker-store/tracker-statistics.c \
- tracker-store/tracker-status.c \
- tracker-store/tracker-steroids.c \
- tracker-store/tracker-store.c \
- tracker-control/* \
- libstemmer/stem_UTF_8_* \
- tracker-control/tracker-miner-files-index-client.h \
- "*.vapi" \
- rm -rf $(top_builddir)/coverage
- $(MKDIR_P) $(top_builddir)/coverage
- genhtml --title "@PACKAGE_STRING@" --output-directory $(top_builddir)/coverage $(top_builddir)/lcov.info
-#endif
-
-distclean-local:
- if test "x$(srcdir)" = "x."; then :; else \
- rm -f ChangeLog; \
- fi
-
-.PHONY: ChangeLog
-gen_start_date = 2009-04-10
-ChangeLog:
- $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
- $(top_srcdir)/gitlog-to-changelog --since=$(gen_start_date) > $@.tmp \
- && mv -f $@.tmp $@ \
- || ($(RM) $@.tmp; \
- echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
- (test -f $@ || echo git-log is required to generate this file >> $@)); \
- else \
- test -f $@ || \
- (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
- echo A git checkout and git-log is required to generate this file >> $@); \
- fi
-
-functional-test:
- cd tests/functional-tests/ && $(MAKE) $(AM_MAKEFLAGS) $@
-
-EXTRA_DIST += \
- config.h.meson.in \
- ChangeLog.pre-0-6-93 \
- COPYING.GPL \
- COPYING.LGPL \
- gitlog-to-changelog \
- intltool-extract.in \
- intltool-merge.in \
- intltool-update.in \
- po/meson.build \
- meson.build \
- meson_options.txt \
- tracker.doap \
- tap-driver.sh \
- tap-test
-
-DISTCLEANFILES += \
- intltool-extract \
- intltool-merge \
- intltool-update
-
-DISTCHECK_CONFIGURE_FLAGS = \
- --with-session-bus-services-dir="\$(datadir)"/dbus-1/services \
- --with-bash-completion-dir="\$(datadir)"/bash-completion/ \
- --disable-nautilus-extension \
- --enable-unit-tests \
- --enable-functional-tests \
- --enable-gtk-doc \
- --enable-introspection \
- --disable-miner-rss \
- --disable-miner-evolution \
- --disable-miner-thunderbird \
- --disable-miner-firefox \
- --enable-poppler \
- --enable-exempi \
- --enable-libiptcdata \
- --enable-libjpeg \
- --enable-libtiff \
- --enable-libvorbis \
- --enable-libflac \
- --enable-libgsf \
- --enable-playlist \
- --enable-tracker-preferences \
- --enable-enca
-
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index c6e999390..000000000
--- a/autogen.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-test -n "$srcdir" || srcdir=$(dirname "$0")
-test -n "$srcdir" || srcdir=.
-
-olddir=$(pwd)
-
-cd $srcdir
-
-(test -f configure.ac) || {
- echo "*** ERROR: Directory '$srcdir' does not look like the top-level project directory ***"
- exit 1
-}
-
-# shellcheck disable=SC2016
-PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac)
-
-aclocal --install || exit 1
-gtkdocize --copy || exit 1
-intltoolize --force --copy --automake || exit 1
-autoreconf --verbose --force --install || exit 1
-
-cd "$olddir"
-if [ "$NOCONFIGURE" = "" ]; then
- # If no arguments are given, use those used with distcheck
- # equally, use the JHBuild prefix if it is available otherwise fall
- # back to the default (/usr/local)
- if [ $# -eq 0 ] ; then
- echo "Using distcheck arguments, none were supplied..."
-
- if test -n "$JHBUILD_PREFIX" ; then
- echo "Using JHBuild prefix ('$JHBUILD_PREFIX')"
- NEW_PREFIX="--prefix $JHBUILD_PREFIX --with-bash-completion-dir=$JHBUILD_PREFIX/share/bash-completion/completions"
- fi
-
- NEW_ARGS="\
- --disable-nautilus-extension \
- --enable-unit-tests \
- --enable-functional-tests \
- --enable-gtk-doc \
- --enable-introspection \
- --disable-miner-rss \
- --disable-miner-evolution \
- --disable-miner-thunderbird \
- --disable-miner-firefox \
- --enable-poppler \
- --enable-exempi \
- --enable-libiptcdata \
- --enable-libjpeg \
- --enable-libtiff \
- --enable-libvorbis \
- --enable-libflac \
- --enable-libgsf \
- --enable-playlist \
- --enable-tracker-preferences \
- --enable-enca"
-
- set -- $NEW_PREFIX $NEW_ARGS
- fi
-
- $srcdir/configure "$@" || exit 1
-
- if [ "$1" = "--help" ]; then exit 0 else
- echo "Now type 'make' to compile $PKG_NAME" || exit 1
- fi
-else
- echo "Skipping configure process."
-fi
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index a4d98fd67..000000000
--- a/configure.ac
+++ /dev/null
@@ -1,1027 +0,0 @@
-# -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
-# This file is part of Tracker.
-
-AC_PREREQ([2.64])
-
-# Making releases:
-# TRACKER_MICRO_VERSION += 1;
-# TRACKER_INTERFACE_AGE += 1;
-# TRACKER_BINARY_AGE += 1;
-# if any functions have been added, set TRACKER_INTERFACE_AGE to 0.
-# if backwards compatibility has been broken,
-# set TRACKER_BINARY_AGE and TRACKER_INTERFACE_AGE to 0.
-m4_define([tracker_major_version], [2])
-m4_define([tracker_minor_version], [1])
-m4_define([tracker_micro_version], [4])
-m4_define([tracker_interface_age], [0])
-m4_define([tracker_binary_age],
- [m4_eval(100 * tracker_minor_version + tracker_micro_version)])
-m4_define([tracker_version],
- [tracker_major_version.tracker_minor_version.tracker_micro_version])
-# This is the X.Y used in -llibtracker-FOO-X.Y
-m4_define([tracker_api_version], [2.0])
-
-# libtool version related macros
-m4_define([tracker_lt_release], [tracker_major_version.tracker_minor_version])
-m4_define([tracker_lt_current],
- [m4_eval(100 * tracker_minor_version + tracker_micro_version - tracker_interface_age)])
-m4_define([tracker_lt_revision], [tracker_interface_age])
-m4_define([tracker_lt_age], [m4_eval(tracker_binary_age - tracker_interface_age)])
-m4_define([tracker_lt_current_minus_age],
- [m4_eval(tracker_lt_current - tracker_lt_age)])
-
-# Define a string for the earliest version that this release has
-# backwards binary compatibility with for all interfaces a module
-# might. Unless we add module-only API with lower stability
-# guarantees, this should be unchanged until we break binary compat
-# for Tracker.
-#
-# TRACKER_BINARY_VERSION=$TRACKER_MAJOR_VERSION.$TRACKER_MINOR_VERSION.$LT_CURRENT
-m4_define([tracker_binary_version], [1.0.0])
-
-AC_INIT([tracker],
- [tracker_version],
- [http://bugzilla.gnome.org/enter_bug.cgi?product=tracker],
- [tracker],
- [https://wiki.gnome.org/Projects/Tracker])
-
-AC_CONFIG_AUX_DIR([build-aux])
-AC_CONFIG_SRCDIR([src/tracker-store/tracker-main.vala])
-AC_CONFIG_MACRO_DIR([m4])
-AC_CONFIG_HEADERS([config.h])
-
-# Available since autoconf 2.60, implies _GNU_SOURCE and extensions if available.
-# See: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Posix-Variants.html
-AC_USE_SYSTEM_EXTENSIONS
-
-# Adding the 'subdir-objects' Automake option here will fix some Automake
-# warnings, but it will also break the build. I believe that it triggers
-# <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13928>. That bug will
-# be fixed in Automake 1.16, so we should be eventually able to use
-# 'subdir-objects' (which is apparently will be on by default in Automake 2.0),
-# but we'll need to require Automake 1.16 before we can do so.
-AM_INIT_AUTOMAKE([1.11 no-define tar-ustar -Wno-portability no-dist-gzip dist-xz])
-
-AC_PROG_LIBTOOL
-
-AM_SILENT_RULES([yes])
-
-dnl http://people.gnome.org/~walters/docs/build-api.txt
-dnl We don't support srcdir != builddir.
-echo \#buildapi-variable-no-builddir >/dev/null
-
-IDT_COMPILE_WARNINGS
-
-TRACKER_MAJOR_VERSION=tracker_major_version
-TRACKER_MINOR_VERSION=tracker_minor_version
-TRACKER_MICRO_VERSION=tracker_micro_version
-TRACKER_INTERFACE_AGE=tracker_interface_age
-TRACKER_BINARY_AGE=tracker_binary_age
-TRACKER_VERSION=tracker_version
-TRACKER_API_VERSION=tracker_api_version
-TRACKER_BINARY_VERSION=tracker_binary_version
-
-dnl Note: this creates TRACKER_API_VERSION_UNDERSCORES and AC_SUBST's it
-AX_DOTS_TO_UNDERSCORES(TRACKER_API_VERSION, tracker_api_version)
-
-AC_SUBST(TRACKER_MAJOR_VERSION)
-AC_SUBST(TRACKER_MINOR_VERSION)
-AC_SUBST(TRACKER_MICRO_VERSION)
-AC_SUBST(TRACKER_INTERFACE_AGE)
-AC_SUBST(TRACKER_BINARY_AGE)
-AC_SUBST(TRACKER_API_VERSION)
-AC_SUBST(TRACKER_VERSION)
-AC_SUBST(TRACKER_BINARY_VERSION)
-
-AC_DEFINE(TRACKER_MAJOR_VERSION, [tracker_major_version],
- [Define to the Tracker major version])
-AC_DEFINE(TRACKER_MINOR_VERSION, [tracker_minor_version],
- [Define to the Tracker minor version])
-AC_DEFINE(TRACKER_MICRO_VERSION, [tracker_micro_version],
- [Define to the Tracker micro version])
-AC_DEFINE(TRACKER_INTERFACE_AGE, [tracker_interface_age],
- [Define to the Tracker interface age])
-AC_DEFINE(TRACKER_BINARY_AGE, [tracker_binary_age],
- [Define to the Tracker binary age])
-
-# libtool versioning
-LT_RELEASE=tracker_lt_release
-LT_CURRENT=tracker_lt_current
-LT_REVISION=tracker_lt_revision
-LT_AGE=tracker_lt_age
-LT_CURRENT_MINUS_AGE=tracker_lt_current_minus_age
-AC_SUBST(LT_RELEASE)
-AC_SUBST(LT_CURRENT)
-AC_SUBST(LT_REVISION)
-AC_SUBST(LT_AGE)
-AC_SUBST(LT_CURRENT_MINUS_AGE)
-
-# Checks for programs.
-AC_PROG_CXX
-AC_PROG_AWK
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lm':
-AC_CHECK_LIB([m], [main])
-
-AC_CHECK_HEADERS([fcntl.h float.h inttypes.h limits.h locale.h stddef.h stdint.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/statfs.h sys/statvfs.h sys/time.h unistd.h])
-
-AC_CHECK_HEADER([zlib.h],
- [],
- [AC_MSG_ERROR([You must have zlib.h and zlib installed])])
-
-AC_HEADER_STDC
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_C_INLINE
-AC_TYPE_INT32_T
-AC_TYPE_INT64_T
-AC_TYPE_PID_T
-AC_TYPE_SIZE_T
-AC_TYPE_UINT16_T
-AC_TYPE_UINT32_T
-AC_TYPE_UINT8_T
-
-# Can posix_fadvise be used
-AC_CHECK_DECLS(posix_fadvise, [], [], [
-#define _XOPEN_SOURCE 600
-#include <fcntl.h>])
-
-# Checks for functions
-AC_CHECK_FUNCS([posix_fadvise])
-AC_CHECK_FUNCS([getline strnlen])
-
-# Checks for library functions.
-AC_FUNC_MALLOC
-AC_FUNC_MKTIME
-AC_FUNC_MMAP
-AC_FUNC_REALLOC
-AC_FUNC_STRNLEN
-AC_FUNC_STRTOD
-AC_CHECK_FUNCS([alarm ftruncate memchr memmove memset modf munmap setlocale sqrt strcasecmp strchr strcspn strndup strrchr strstr strtoul strtoull tzset])
-
-# if statvfs64() is available, enable the 64-bit API extensions
-AC_CHECK_FUNCS([statvfs64], [have_statvfs64=yes], [have_statvfs64=no])
-if test "x$have_statvfs" = "xyes" ; then
- CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
-fi
-
-# Check for defines we expect
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-#include "stdio.h"]], [[
-printf ("%s", __FUNCTION__);
- ]])],
- [have_function=yes],
- [have_function=no])
-
-if test "x$have_function" = "xno" ; then
- AC_DEFINE(__FUNCTION__,
- __func__,
- [Defined for compilers not supporting __FUNCTION__])
-fi
-
-case $host in
- *-*-linux*)
- tracker_os_linux=yes
- ;;
-esac
-
-# Remember CFLAGS upon entering configure...
-CFLAGS="$CFLAGS"
-
-# Initialize GLib
-GLIB_GSETTINGS
-GLIB_TESTS
-
-# Initialize libtool
-LT_PREREQ([2.2])
-LT_INIT([disable-static])
-
-# Binary required versions
-PYTHON_REQUIRED=2.6
-
-# Library required versions
-DBUS_REQUIRED=1.3.1
-GLIB_REQUIRED=2.44.0
-LIBXML2_REQUIRED=2.6
-UPOWER_REQUIRED=0.9.0
-LIBICU_REQUIRED=4.8.1.1
-JSON_GLIB_REQUIRED=1.0
-LIBSOUP_REQUIRED=2.40
-
-# 3.6.11 for sqlite_backup API
-# 3.6.16 to fix test failures
-# 3.6.17 for shared cache mode with virtual tables
-# 3.7.0 for WAL
-# 3.7.9 for FTS4 content= support
-# 3.7.15 for sqlite3_errstr() support
-# 3.8.3 for SQLITE_DETERMINISTIC
-SQLITE_REQUIRED=3.8.3
-
-# Needed to generate .gir files,
-# see http://live.gnome.org/GnomeGoals/AddGObjectIntrospectionSupport
-GOBJECT_INTROSPECTION_CHECK([0.9.5])
-
-GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
-AC_SUBST(GLIB_PREFIX)
-
-# Check requirements for gvdb
-GVDB_REQUIRED="glib-2.0 >= $GLIB_REQUIRED"
-PKG_CHECK_MODULES(GVDB, [$GVDB_REQUIRED])
-
-# Check requirements for libtracker-bus
-LIBTRACKER_BUS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(LIBTRACKER_BUS, [$LIBTRACKER_BUS_REQUIRED])
-
-# Check requirements for libtracker-common
-LIBTRACKER_COMMON_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(LIBTRACKER_COMMON, [$LIBTRACKER_COMMON_REQUIRED])
-
-case $host in
- *-*-openbsd*)
- LIBTRACKER_COMMON_LIBS="$LIBTRACKER_COMMON_LIBS -lkvm"
- ;;
-esac
-
-# Check requirements for libtracker-data
-LIBTRACKER_DATA_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED
- sqlite3 >= $SQLITE_REQUIRED
- uuid"
-PKG_CHECK_MODULES(LIBTRACKER_DATA, [$LIBTRACKER_DATA_REQUIRED])
-
-LIBTRACKER_DATA_LIBS="$LIBTRACKER_DATA_LIBS -lz -lm"
-
-# Check requirements for libtracker-direct
-LIBTRACKER_DIRECT_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(LIBTRACKER_DIRECT, [$LIBTRACKER_DIRECT_REQUIRED])
-
-# Check requirements for libtracker-remote
-LIBTRACKER_REMOTE_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- libsoup-2.4 >= $LIBSOUP_REQUIRED
- libxml-2.0 >= $LIBXML2_REQUIRED
- json-glib-1.0 >= $JSON_GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(LIBTRACKER_REMOTE, [$LIBTRACKER_REMOTE_REQUIRED])
-
-# Check requirements for libtracker-fts
-LIBTRACKER_FTS_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED
- sqlite3 >= $SQLITE_REQUIRED"
-
-PKG_CHECK_MODULES(LIBTRACKER_FTS, [$LIBTRACKER_FTS_REQUIRED])
-
-# Check requirements for libtracker-miner
-LIBTRACKER_MINER_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(LIBTRACKER_MINER, [$LIBTRACKER_MINER_REQUIRED])
-
-# Check requirements for libtracker-control
-LIBTRACKER_CONTROL_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(LIBTRACKER_CONTROL, [$LIBTRACKER_CONTROL_REQUIRED])
-
-# Check requirements for libtracker-sparql
-LIBTRACKER_SPARQL_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED
- json-glib-1.0 >= $JSON_GLIB_REQUIRED
- uuid"
-
-PKG_CHECK_MODULES(LIBTRACKER_SPARQL, [$LIBTRACKER_SPARQL_REQUIRED])
-
-# Check requirements for tracker-control
-TRACKER_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED
- uuid"
-
-PKG_CHECK_MODULES(TRACKER, [$TRACKER_REQUIRED])
-
-# Check requirements for tracker-resdump
-TRACKER_RESDUMP_REQUIRED="glib-2.0 >= $GLIB_REQUIRED"
-
-PKG_CHECK_MODULES(TRACKER_RESDUMP, [$TRACKER_RESDUMP_REQUIRED],
- [have_tracker_resdump=yes],
- [have_tracker_resdump=no])
-
-# Check requirements for tracker-store
-TRACKER_STORE_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
- gio-unix-2.0 >= $GLIB_REQUIRED
- gmodule-2.0 >= $GLIB_REQUIRED
- sqlite3 >= $SQLITE_REQUIRED"
-
-PKG_CHECK_MODULES(TRACKER_STORE, [$TRACKER_STORE_REQUIRED])
-
-TRACKER_STORE_LIBS="$TRACKER_STORE_LIBS -lz -lm"
-
-# Check we have Vala valac command we need
-VALA_MIN_VERSION=0.18.0
-AM_PROG_VALAC([$VALA_MIN_VERSION])
-if test "x$VALAC" = "x"; then
- AC_MSG_ERROR([Vala requested but valac >= $VALA_MIN_VERSION is not installed])
-fi
-
-####################################################################
-# Check gettext/intltool support
-####################################################################
-GETTEXT_PACKAGE=AC_PACKAGE_NAME
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
-IT_PROG_INTLTOOL([0.40.0])
-
-####################################################################
-# Check if we should enable GCOV coverage reporting support
-####################################################################
-
-AC_ARG_ENABLE(gcov,
- AS_HELP_STRING([--enable-gcov],
- [enable coverage reporting support [[default=no]]]),
- [enable_gcov=$enableval],
- [enable_gcov=no])
-AM_CONDITIONAL(ENABLE_GCOV, test "x$enable_gcov" != "xno")
-
-if test "x$enable_gcov" != "xno" ; then
- GCOV_VALAFLAGS="-g"
- GCOV_CFLAGS="-ftest-coverage -fprofile-arcs"
- GCOV_LIBS="-lgcov"
-else
- GCOV_VALAFLAGS=
- GCOV_CFLAGS=
- GCOV_LIBS=
-fi
-
-AC_SUBST(GCOV_VALAFLAGS)
-AC_SUBST(GCOV_CFLAGS)
-AC_SUBST(GCOV_LIBS)
-
-####################################################################
-# General VALAFLAGS/CFLAGS/LIBS
-#
-# NOTE: BUILD_VALACFLAGS are for the sources built by Vala,
-# not for .vala files themselves.
-####################################################################
-BUILD_VALAFLAGS="-g --target-glib=${GLIB_REQUIRED}"
-BUILD_VALACFLAGS="${WARN_VALACFLAGS} ${GCOV_CFLAGS} -DG_LOG_DOMAIN=\\\"Tracker\\\" -DTRACKER_COMPILATION"
-BUILD_CFLAGS="${WARN_CFLAGS} ${GCOV_CFLAGS} -DG_LOG_DOMAIN=\\\"Tracker\\\" -DTRACKER_COMPILATION"
-BUILD_LIBS="${GCOV_LIBS}"
-
-AC_SUBST(BUILD_VALAFLAGS)
-AC_SUBST(BUILD_VALACFLAGS)
-AC_SUBST(BUILD_CFLAGS)
-AC_SUBST(BUILD_LIBS)
-
-####################################################################
-# Check if linker supports --enable-new-dtags
-####################################################################
-AC_MSG_CHECKING([whether $CC supports -Wl,--enable-new-dtags])
-save_LDFLAGS=$LDFLAGS
-LDFLAGS="-Wl,--enable-new-dtags $LDFLAGS"
-
-AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
- [enable_new_dtags=yes; AC_MSG_RESULT(yes)], [enable_new_dtags=no; AC_MSG_RESULT(no)])
-LDFLAGS=$save_LDFLAGS
-DTAGS_LDFLAGS=
-if test "x$enable_new_dtags" = "xyes"; then
- DTAGS_LDFLAGS="-Wl,--enable-new-dtags"
-fi
-AC_SUBST(DTAGS_LDFLAGS)
-
-####################################################################
-# Check for minimal
-####################################################################
-
-AC_ARG_ENABLE(minimal,
- AS_HELP_STRING([--enable-minimal],
- [disabled EVERYTHING except the very core (tracker-store and foundation libraries) [[default=no]]]),
- [enable_minmal=$enableval],
- [enable_minmal=no])
-
-# WE only disable the binaries we're building here, not optional
-# extras for those binaries
-if test "x$enable_minimal" = "xyes"; then
- AC_MSG_WARN([Building minimal configuration])
-
- enable_tracker_extract=no
- enable_tracker_writeback=no
- enable_miner_fs=no
- enable_miner_apps=no
- enable_miner_rss=no
-fi
-
-####################################################################
-# Check for functional-test include/exclude
-####################################################################
-AC_ARG_ENABLE([functional-tests],
- AS_HELP_STRING([--enable-functional-tests],
- [enable functional tests [[default=no]]]),
- [enable_functional_tests=$enableval],
- [enable_functional_tests=no])
-
-if test x$enable_functional_tests != "xno"; then
- # Python check, require >= 2.6
- AC_PATH_PROG([PYTHON],[python],[:])
- AS_IF([test "$PYTHON" != ":"],
- [AM_PYTHON_CHECK_VERSION([$PYTHON],[$PYTHON_REQUIRED],[:],[PYTHON=":"])])
-
- if test "$PYTHON" = ":"; then
- AC_MSG_ERROR([Could not find Python >= $PYTHON_REQUIRED (for functional-tests, try --disable-functional-tests).])
- fi
-
- AC_DEFINE(DIST_FUNCTIONAL_TESTS, 1, [Include functional tests in the installation])
-fi
-
-AM_CONDITIONAL(DIST_FUNCTIONAL_TESTS, test "x$enable_functional_tests" != "xno")
-
-AC_SUBST(FUNCTIONAL_TESTS_ONTOLOGIES_DIR, "@top_srcdir@/tests/functional-tests/test-ontologies")
-AC_SUBST(FUNCTIONAL_TESTS_TRACKER_STORE_PATH, "@top_builddir@/src/tracker-store/tracker-store")
-
-####################################################################
-# Check for gtk-doc and docbook-tools
-####################################################################
-
-# Check for GTK_DOC_CHECK availability. The GTK_DOC_CHECK invocation
-# must be on its own line, gtkdocize relies on it
-m4_ifdef([GTK_DOC_CHECK], [
-GTK_DOC_CHECK([1.8])
-
-# NOTE: We need to use a separate automake conditional for this
-# to make this work with the tarballs.
-AM_CONDITIONAL([ENABLE_GTK_DOC], test "x$enable_gtk_doc" = xyes)
-],
-[
-AM_CONDITIONAL([ENABLE_GTK_DOC], false)
-])
-
-####################################################################
-# Check if we should install Windows specific binaries
-####################################################################
-
-AC_MSG_CHECKING(for WIN32)
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
- #ifndef WIN32
- #error
- #endif
- ]])],
- [native_win32=yes; AC_MSG_RESULT(yes)],
- [native_win32=no; AC_MSG_RESULT(no)])
-
-AM_CONDITIONAL(OS_WIN32, test "$native_win32" = "yes")
-
-if test "$native_win32" = "yes" ; then
- AC_DEFINE(OS_WIN32, 1, [Define if we are on win32])
-fi
-
-####################################################################
-# Check if we should disable the journal
-####################################################################
-
-AC_ARG_ENABLE(journal,
- AS_HELP_STRING([--enable-journal],
- [enable database journal backup mechanism [[default=yes]]]),
- [enable_journal=$enableval],
- [enable_journal=yes])
-
-if test "x$enable_journal" != "xno" ; then
- have_tracker_journal="yes"
-else
- have_tracker_journal="no (disabled)"
-fi
-
-AM_CONDITIONAL(DISABLE_JOURNAL, test "x$enable_journal" = "xno")
-
-if test "x$enable_journal" = "xno" ; then
- AC_DEFINE(DISABLE_JOURNAL, 1, [Define if we disable the journal])
-fi
-
-####################################################################
-# Check for SQLite
-####################################################################
-
-PKG_CHECK_MODULES(SQLITE3, [sqlite3 >= $SQLITE_REQUIRED])
-AC_SUBST(SQLITE3_CFLAGS)
-AC_SUBST(SQLITE3_LIBS)
-
-# Make sure SQLite is compiled thread-safe
-AX_SQLITE_THREADSAFE
-if test "x$ax_cv_sqlite_threadsafe" != "xyes"; then
- AC_MSG_ERROR([sqlite3 is not compiled thread-safe])
-fi
-
-# Make sure we're not using versions which cause problems.
-#
-# Avoid versions:
-# 3.7.10 - 3.7.13: https://mail.gnome.org/archives/tracker-list/2012-October/msg00028.html
-# 3.8.1: https://mail.gnome.org/archives/tracker-list/2013-November/msg00021.html
-# 3.8.4.1: https://mail.gnome.org/archives/tracker-list/2014-April/msg00001.html
-#
-AC_MSG_CHECKING(whether SQLite3 version is safe)
-
-PKG_CHECK_EXISTS([sqlite3 <= 3.7.9], sqlite_safe=yes, sqlite_safe=no)
-if test "x$sqlite_safe" != "xyes"; then
- PKG_CHECK_EXISTS([sqlite3 >= 3.7.14], sqlite_safe=yes, sqlite_safe=no)
-fi
-
-if test "x$sqlite_safe" = "xyes"; then
- PKG_CHECK_EXISTS([sqlite3 = 3.8.1], sqlite_safe=no, sqlite_safe=yes)
-fi
-
-if test "x$sqlite_safe" = "xyes"; then
- PKG_CHECK_EXISTS([sqlite3 = 3.8.4.2], sqlite_safe=no, sqlite_safe=yes)
-fi
-
-
-if test "x$sqlite_safe" != "xyes"; then
- AC_MSG_RESULT(no)
-else
- AC_MSG_RESULT(yes)
-fi
-
-##################################################################
-# Check for libtracker-common, make sure libstemmer exists
-##################################################################
-
-AC_ARG_ENABLE([libstemmer],
- AS_HELP_STRING([--enable-libstemmer],
- [enable the stemming while indexing [[default=auto]]]),
- [enable_libstemmer=$enableval],
- [enable_libstemmer=auto])
-
-if test "x$enable_libstemmer" != "xno" ; then
- AC_CHECK_LIB([stemmer], [sb_stemmer_new], [have_libstemmer=yes], [have_libstemmer=no])
-
- if test "x$have_libstemmer" = "xyes"; then
- AC_DEFINE(HAVE_LIBSTEMMER, [], [Define if we have libstemmer])
- LIBTRACKER_COMMON_LIBS="$LIBTRACKER_COMMON_LIBS -lstemmer"
- fi
-else
- have_libstemmer="no (disabled)"
-fi
-
-if test "x$enable_libstemmer" = "xyes"; then
- if test "x$have_libstemmer" != "xyes"; then
- AC_MSG_ERROR([Could not find libstemmer.])
- fi
-fi
-
-AM_CONDITIONAL(HAVE_LIBSTEMMER, test "x$have_libstemmer" = "xyes")
-
-##################################################################
-# Check for tracker-fts, allow disabling FTS support
-##################################################################
-
-AC_ARG_ENABLE([tracker-fts],
- AS_HELP_STRING([--enable-tracker-fts],
- [enable the tracker FTS [[default=auto]]]),
- [enable_tracker_fts=$enableval],
- [enable_tracker_fts=auto])
-
-if test "x$enable_tracker_fts" = "xno" ; then
- have_tracker_fts="no (disabled)"
-else
- have_tracker_fts="yes"
-fi
-
-if test "x$have_tracker_fts" = "xyes"; then
- AC_DEFINE(HAVE_TRACKER_FTS, [1], [Define to 1 if tracker FTS is compiled])
-
- AX_SQLITE_BUILTIN_FTS5
- if test "x$ax_cv_sqlite_builtin_fts5" = "xyes" ; then
- have_builtin_fts5="yes"
- AC_DEFINE(HAVE_BUILTIN_FTS, [], [Defined if Sqlite has FTS5 compiled in])
- else
- have_builtin_fts5="no"
-
- # Sqlite 3.20 broke compatibility of the fts5 module both ways, demand
- # that it's builtin into sqlite from that version on.
- PKG_CHECK_EXISTS([sqlite3 >= 3.20.0], sqlite_builtin_fts5_forced=yes, sqlite_builtin_fts5_forced=no)
- if test "x$sqlite_builtin_fts5_forced" == "xyes"; then
- AC_MSG_ERROR([sqlite3 >= 3.20.0 must be compiled with --enable-fts5])
- fi
-
- # Make sure SQLite has extension loading enabled
- AX_SQLITE_AUTO_EXTENSION
- if test "x$ax_cv_sqlite_auto_extension" != "xyes"; then
- AC_MSG_ERROR([sqlite3 cannot load extensions])
- fi
- fi
-else
- AC_DEFINE(HAVE_TRACKER_FTS, [0], [Define to 0 if tracker FTS is not compiled])
- have_builtin_fts5="disabled"
-fi
-
-AM_CONDITIONAL(HAVE_BUILTIN_FTS, test "$have_builtin_fts5" = "yes")
-AM_CONDITIONAL(HAVE_TRACKER_FTS, test "$have_tracker_fts" = "yes")
-
-####################################################################
-# bash-completion
-####################################################################
-
-AC_ARG_WITH([bash-completion-dir],
- AS_HELP_STRING([--with-bash-completion-dir[=PATH]],
- [Install the bash auto-completion script in this directory. @<:@default=yes@:>@]),
- [],
- [with_bash_completion_dir=yes])
-
-if test "x$with_bash_completion_dir" = "xyes"; then
- PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0],
- [BASH_COMPLETION_DIR=$($PKG_CONFIG --variable=completionsdir bash-completion)],
- [BASH_COMPLETION_DIR="${datadir}/bash-completion/completions"])
-elif test "x$with_bash_completion_dir" != "xno"; then
- # Set with_bash_completions_dir to avoid printing path twice below
- BASH_COMPLETION_DIR="$with_bash_completion_dir"
- with_bash_completion_dir="yes"
-fi
-
-AC_SUBST([BASH_COMPLETION_DIR])
-AM_CONDITIONAL([WITH_BASH_COMPLETION],[test "x$with_bash_completion_dir" != "xno"])
-
-####################################################################
-# Check for D-Bus requirements
-####################################################################
-
-# Check we are not using a different D-Bus services dir
-AC_ARG_WITH([session_bus_services_dir],
- AS_HELP_STRING([--with-session-bus-services-dir],
- [path to DBus services directory]),
- [dbus_services_dir=$withval],
- [dbus_services_dir=$datadir/dbus-1/services])
-
-DBUS_SERVICES_DIR="$dbus_services_dir"
-AC_SUBST(DBUS_SERVICES_DIR)
-
-####################################################################
-# GLib/GIO utilities
-####################################################################
-
-GLIB_MKENUMS=`$PKG_CONFIG glib-2.0 --variable=glib_mkenums`
-AC_SUBST(GLIB_MKENUMS)
-
-GDBUS_CODEGEN=`$PKG_CONFIG --variable=gdbus_codegen gio-2.0`
-AC_SUBST(GDBUS_CODEGEN)
-
-GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
-AC_SUBST(GLIB_COMPILE_RESOURCES)
-
-####################################################################
-# Should we build GLib based unit tests
-####################################################################
-
-AC_ARG_ENABLE(unit_tests,
- AS_HELP_STRING([--enable-unit-tests],
- [enable unit tests [[default=yes]]]),
- [enable_unit_tests=$enableval],
- [enable_unit_tests=yes])
-
-if test "x$enable_unit_tests" != "xno" ; then
- have_unit_tests=yes
-
- AC_DEFINE(HAVE_UNIT_TEST, 1, [Define if we have GLib unit test framework])
-
- AC_PATH_PROG(gtester, gtester)
- if test -z $gtester; then
- AC_MSG_ERROR([Could not find 'gtester'])
- fi
-else
- have_unit_tests=no
-fi
-
-AM_CONDITIONAL(HAVE_UNIT_TESTS, test "x$have_unit_tests" = "xyes")
-
-##################################################################
-# Check for libtracker-common: upower for battery/power support
-##################################################################
-
-AC_ARG_ENABLE(upower,
- AS_HELP_STRING([--disable-upower],
- [disable UPower support for AC power detection [[default=auto]]]),
- [enable_upower=$enableval],
- [enable_upower=auto])
-
-AS_IF([test "x$enable_upower" != "xno"], [
- PKG_CHECK_MODULES(UPOWER,
- [upower-glib >= $UPOWER_REQUIRED],
- [have_upower=yes],
- [have_upower=no])
-
- TRACKER_MINER_FS_CFLAGS="$TRACKER_MINER_FS_CFLAGS $UPOWER_CFLAGS"
- TRACKER_MINER_FS_LIBS="$TRACKER_MINER_FS_LIBS $UPOWER_LIBS"
- save_LIBS=$LIBS
- LIBS=$UPOWER_LIBS
- AC_CHECK_FUNCS(up_client_get_on_low_battery)
- LIBS=$save_LIBS
-
- if test "x$have_upower" = "xyes"; then
- AC_DEFINE(HAVE_UPOWER, [], [Define if we have UPOWER])
- fi
-], [
- have_upower="no (disabled)"
-])
-
-if test "x$enable_upower" = "xyes"; then
- if test "x$have_upower" != "xyes"; then
- AC_MSG_ERROR([Could not find upower >= $UPOWER_REQUIRED.])
- fi
-fi
-
-AM_CONDITIONAL(HAVE_UPOWER, test "x$have_upower" = "xyes")
-
-##################################################################
-# Check for libtracker-data and libtracker-fts: Unicode support
-#
-# By default, AUTO with this order of preference:
-# 1) libunistring
-# 2) libicu
-##################################################################
-
-# Check for libunistring...
-AC_CHECK_HEADER(uniwbrk.h,
- AC_CHECK_LIB([unistring],
- [u8_wordbreaks],
- [have_libunistring=yes],
- [have_libunistring=no]))
-LIBUNISTRING_CFLAGS=""
-LIBUNISTRING_LIBS="-lunistring"
-
-# Check for libicu...
-PKG_CHECK_MODULES(LIBICU,
- [icu-i18n >= $LIBICU_REQUIRED icu-uc >= $LIBICU_REQUIRED],
- [have_libicu=yes],
- [have_libicu=no])
-
-# Configure option
-AC_ARG_WITH([unicode-support],
- AS_HELP_STRING([--with-unicode-support],
- [Unicode support library? (libunistring|libicu) [[default=auto]]]),
- [with_unicode_support=$withval],
- [with_unicode_support=auto])
-
-# If auto, decide ourselves
-if test "x$with_unicode_support" = "xauto"; then
- if test "x$have_libicu" = "xyes"; then
- with_unicode_support=libicu
- else
- if test "x$have_libunistring" = "xyes"; then
- with_unicode_support=libunistring
- else
- AC_MSG_ERROR([Could not find either libunistring or libicu])
- fi
- fi
-fi
-
-UNICODE_SUPPORT_CFLAGS=
-UNICODE_SUPPORT_LIBS=
-
-case "x$with_unicode_support" in
- # Use libunistring
- "xlibunistring")
- UNICODE_SUPPORT_CFLAGS=$LIBUNISTRING_CFLAGS
- UNICODE_SUPPORT_LIBS=$LIBUNISTRING_LIBS
- if test "x$have_libunistring" = "xyes"; then
- AC_DEFINE(HAVE_LIBUNISTRING, [1], [libunistring Unicode support library])
- else
- AC_MSG_ERROR([Could not find libunistring])
- fi
- ;;
- # Use libicu
- "xlibicu")
- UNICODE_SUPPORT_CFLAGS=$LIBICU_CFLAGS
- UNICODE_SUPPORT_LIBS=$LIBICU_LIBS
- if test "x$have_libicu" = "xyes"; then
- AC_DEFINE(HAVE_LIBICU, [1], [libicu Unicode support library])
- else
- AC_MSG_ERROR([Could not find libicu])
- fi
- ;;
- # Invalid option value
- *) AC_MSG_ERROR([Wrong value for --with-unicode-support: $with_unicode_support]) ;;
-esac
-
-AM_CONDITIONAL(HAVE_LIBICU, test "x$have_libicu" = "xyes")
-
-# Add to libtracker-common
-LIBTRACKER_COMMON_CFLAGS="$LIBTRACKER_COMMON_CFLAGS $UNICODE_SUPPORT_CFLAGS"
-LIBTRACKER_COMMON_LIBS="$LIBTRACKER_COMMON_LIBS $UNICODE_SUPPORT_LIBS"
-
-# Add to libtracker-fts
-LIBTRACKER_FTS_CFLAGS="$LIBTRACKER_FTS_CFLAGS $UNICODE_SUPPORT_CFLAGS"
-LIBTRACKER_FTS_LIBS="$LIBTRACKER_FTS_LIBS $UNICODE_SUPPORT_LIBS"
-
-# Add to libtracker-data
-LIBTRACKER_DATA_CFLAGS="$LIBTRACKER_DATA_CFLAGS $UNICODE_SUPPORT_CFLAGS"
-LIBTRACKER_DATA_LIBS="$LIBTRACKER_DATA_LIBS $UNICODE_SUPPORT_LIBS"
-
-# Add to libtracker-extract
-LIBTRACKER_EXTRACT_CFLAGS="$LIBTRACKER_EXTRACT_CFLAGS $UNICODE_SUPPORT_CFLAGS"
-LIBTRACKER_EXTRACT_LIBS="$LIBTRACKER_EXTRACT_LIBS $UNICODE_SUPPORT_LIBS"
-
-AM_CONDITIONAL(BUILD_LIBUNISTRING_PARSER, test "x$with_unicode_support" = "xlibunistring")
-AM_CONDITIONAL(BUILD_LIBICU_PARSER, test "x$with_unicode_support" = "xlibicu")
-
-##################################################################
-# Check for libtracker-miner: network-manager for web miners
-##################################################################
-
-AC_ARG_ENABLE(network_manager,
- AS_HELP_STRING([--enable-network-manager],
- [enable NetworkManager support to detect network status [[default=auto]]]),
- [enable_network_manager=$enableval],
- [enable_network_manager=auto])
-
-if test "x$enable_network_manager" != "xno"; then
-
- PKG_CHECK_MODULES(NETWORK_MANAGER,
- [libnm],
- [have_network_manager=yes],
- [have_network_manager=no])
-
- LIBTRACKER_MINER_CFLAGS="$LIBTRACKER_MINER_CFLAGS $NETWORK_MANAGER_CFLAGS"
- LIBTRACKER_MINER_LIBS="$LIBTRACKER_MINER_LIBS $NETWORK_MANAGER_LIBS"
-
- if test "x$have_network_manager" = "xyes"; then
- AC_DEFINE(HAVE_NETWORK_MANAGER, [], [Define if we have NetworkManager for network status detection])
- fi
-fi
-
-if test "x$enable_network_manager" = "xyes"; then
- if test "x$have_network_manager" != "xyes"; then
- AC_MSG_ERROR([Could not find libnm.])
- fi
-fi
-
-AM_CONDITIONAL(HAVE_NETWORK_MANAGER, test "x$have_network_manager" = "xyes")
-
-##################################################################
-# Check for tracker-resdump
-##################################################################
-
-AM_CONDITIONAL(HAVE_TRACKER_RESDUMP, test "$have_tracker_resdump" = "yes")
-
-##################################################################
-# Write generated files
-##################################################################
-
-AC_CONFIG_FILES([
- docs/Makefile
- docs/design/Makefile
- docs/manpages/Makefile
- docs/reference/Makefile
- docs/reference/libtracker-control/Makefile
- docs/reference/libtracker-control/version.xml
- docs/reference/libtracker-sparql/Makefile
- docs/reference/libtracker-sparql/version.xml
- docs/reference/libtracker-miner/Makefile
- docs/reference/libtracker-miner/version.xml
- docs/reference/ontology/Makefile
- docs/reference/ontology/version.xml
- docs/tools/Makefile
- Makefile
- po/Makefile.in
- src/gvdb/Makefile
- src/libtracker-common/Makefile
- src/libtracker-common/stop-words/Makefile
- src/libtracker-sparql/Makefile
- src/libtracker-sparql/tracker-sparql.pc
- src/libtracker-bus/Makefile
- src/libtracker-control/Makefile
- src/libtracker-control/tracker-control.pc
- src/libtracker-data/Makefile
- src/libtracker-direct/Makefile
- src/libtracker-remote/Makefile
- src/libtracker-sparql-backend/Makefile
- src/libtracker-fts/Makefile
- src/libtracker-miner/Makefile
- src/libtracker-miner/tracker-miner.pc
- src/Makefile
- src/ontologies/Makefile
- src/tracker-store/Makefile
- src/tracker/Makefile
- tests/common/Makefile
- tests/gvdb/Makefile
- tests/libtracker-common/Makefile
- tests/libtracker-data/Makefile
- tests/libtracker-data/aggregates/Makefile
- tests/libtracker-data/algebra/Makefile
- tests/libtracker-data/anon/Makefile
- tests/libtracker-data/ask/Makefile
- tests/libtracker-data/basic/Makefile
- tests/libtracker-data/bind/Makefile
- tests/libtracker-data/bnode-coreference/Makefile
- tests/libtracker-data/bound/Makefile
- tests/libtracker-data/datetime/Makefile
- tests/libtracker-data/expr-ops/Makefile
- tests/libtracker-data/functions/Makefile
- tests/libtracker-data/graph/Makefile
- tests/libtracker-data/nie/Makefile
- tests/libtracker-data/nmo/Makefile
- tests/libtracker-data/mixed-cardinality/Makefile
- tests/libtracker-data/optional/Makefile
- tests/libtracker-data/regex/Makefile
- tests/libtracker-data/sort/Makefile
- tests/libtracker-data/subqueries/Makefile
- tests/libtracker-data/error/Makefile
- tests/libtracker-data/backup/Makefile
- tests/libtracker-data/turtle/Makefile
- tests/libtracker-data/update/Makefile
- tests/libtracker-miner/Makefile
- tests/libtracker-fts/Makefile
- tests/libtracker-fts/limits/Makefile
- tests/libtracker-fts/prefix/Makefile
- tests/libtracker-sparql/Makefile
- tests/functional-tests/Makefile
- tests/functional-tests/configuration.json
- tests/functional-tests/ipc/Makefile
- tests/functional-tests/common/Makefile
- tests/functional-tests/common/utils/Makefile
- tests/functional-tests/unittest2/Makefile
- tests/functional-tests/test-ontologies/Makefile
- tests/functional-tests/test-ontologies/basic/Makefile
- tests/functional-tests/test-ontologies/property-range-int-to-string/Makefile
- tests/functional-tests/test-ontologies/property-range-string-to-date/Makefile
- tests/functional-tests/test-ontologies/cardinality/Makefile
- tests/functional-tests/test-ontologies/notify/Makefile
- tests/functional-tests/test-ontologies/indexed/Makefile
- tests/functional-tests/test-ontologies/add-class/Makefile
- tests/functional-tests/test-ontologies/add-prop/Makefile
- tests/functional-tests/test-ontologies/add-domainIndex/Makefile
- tests/functional-tests/test-ontologies/superclass-remove/Makefile
- tests/functional-tests/test-ontologies/property-promotion/Makefile
- tests/functional-tests/test-ontologies/basic-future/Makefile
- tests/functional-tests/ttl/Makefile
- tests/Makefile
- tests/tracker-steroids/Makefile
- utils/Makefile
- utils/ontology/Makefile
- utils/data-generators/Makefile
- utils/data-generators/cc/Makefile
- utils/mtp/Makefile
- utils/sandbox/Makefile
- utils/tracker-resdump/Makefile
- examples/Makefile
- examples/libtracker-miner/Makefile
- examples/libtracker-sparql/Makefile
- examples/rss-reader/Makefile
-])
-
-AC_OUTPUT
-
-echo "
-Build Configuration:
-
- Prefix: ${prefix}
- Source code location: ${srcdir}
- Compiler: ${CC}
- Compiler Warnings: $enable_compile_warnings
- C Flags: $warning_cflags
- VALA Flags: $warning_valacflags
-
- Win32: $native_win32
-
- Enable gtk doc (for documentation): $enable_gtk_doc
-
- Enable functional tests: $enable_functional_tests
- Enable unit tests: $have_unit_tests
-
-Feature Support:
-
- Support for UPower: $have_upower
- Support for network status detection: $have_network_manager
- Unicode support library: $with_unicode_support
-
- Build with Journal support: $have_tracker_journal
- Build with SQLite FTS support: $have_tracker_fts (built-in FTS: $have_builtin_fts5)
- Build with Stemming support: $have_libstemmer
-
- Bash completion support: $with_bash_completion_dir ($BASH_COMPLETION_DIR)
-
-Frameworks / Options:
-
- Support Guaranteed Metadata $enable_guarantee_metadata (e.g. guess nie:title from files)
-
-"
-
-# Any warnings we need to issue...
-if test "x$sqlite_safe" = "xno"; then
-sqlite_version=$($PKG_CONFIG --modversion sqlite3)
-echo "
-WARNING:
- SQLite3 version $sqlite_version is not safe. For details see:
- 3.7.10 - 3.7.13: https://mail.gnome.org/archives/tracker-list/2012-October/msg00028.html
- 3.8.1: https://mail.gnome.org/archives/tracker-list/2013-November/msg00021.html
- 3.8.4.2: https://mail.gnome.org/archives/tracker-list/2014-April/msg00001.html
-
-
-"
-fi
diff --git a/docs/Makefile.am b/docs/Makefile.am
deleted file mode 100644
index a54c59eb4..000000000
--- a/docs/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-SUBDIRS = manpages design tools reference
-
-# require gtk-doc when making dist
-#
-if ENABLE_GTK_DOC
-dist-check-gtk-doc:
-else
-dist-check-gtk-doc:
- @echo "*** gtk-doc must be enabled in order to make dist"
- @false
-endif
-
-dist-hook: dist-check-gtk-doc
-
-EXTRA_DIST = meson.build
diff --git a/docs/design/Makefile.am b/docs/design/Makefile.am
deleted file mode 100644
index c9d0d861a..000000000
--- a/docs/design/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-architecture_docs = \
- tracker-store.dia \
- tracker-miner-fs.dia \
- tracker-structural-view.dot
-
-EXTRA_DIST = $(architecture_docs)
diff --git a/docs/manpages/Makefile.am b/docs/manpages/Makefile.am
deleted file mode 100644
index b719e47d0..000000000
--- a/docs/manpages/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-common = \
- tracker-info.1 \
- tracker-daemon.1 \
- tracker-search.1 \
- tracker-sparql.1 \
- tracker-sql.1 \
- tracker-status.1 \
- tracker-store.1 \
- tracker-tag.1 \
- tracker-reset.1 \
- tracker-index.1
-
-# Require only common and enabled manpages
-man_MANS = $(common)
-
-# Make sure even disabled manpages get distributed
-EXTRA_DIST = \
- $(common) \
- meson.build
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
deleted file mode 100644
index 55df4e828..000000000
--- a/docs/reference/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-SUBDIRS = \
- libtracker-control \
- libtracker-sparql \
- libtracker-miner
-
-if ENABLE_GTK_DOC
-SUBDIRS += ontology
-endif
-
-EXTRA_DIST = meson.build
diff --git a/docs/reference/libtracker-control/Makefile.am b/docs/reference/libtracker-control/Makefile.am
deleted file mode 100644
index 41d82dbab..000000000
--- a/docs/reference/libtracker-control/Makefile.am
+++ /dev/null
@@ -1,62 +0,0 @@
-AUTOMAKE_OPTIONS = 1.6
-
-# The name of the module.
-DOC_MODULE=libtracker-control
-
-# The top-level SGML file.
-DOC_MAIN_SGML_FILE=libtracker-control-docs.sgml
-
-# Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="TRACKER_DISABLE_DEPRECATED"
-
-# Extra options to pass to gtkdoc-scangobj
-# SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)"
-
-# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=$(top_srcdir)/src/libtracker-control
-
-# Used for dependencies
-HFILE_GLOB=$(top_srcdir)/src/libtracker-control/*.h
-CFILE_GLOB=$(top_srcdir)/src/libtracker-control/*.c
-
-# Header files to ignore when scanning
-IGNORE_HFILES=
-
-# CFLAGS and LDFLAGS for compiling scan program. Only needed
-# if $(DOC_MODULE).types is non-empty.
-AM_CPPFLAGS = \
- -DTRACKER_COMPILATION \
- -I$(top_srcdir)/src \
- $(LIBTRACKER_CONTROL_CFLAGS)
-
-GTKDOC_LIBS = \
- $(top_builddir)/src/libtracker-control/libtracker-control-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(LIBTRACKER_CONTROL_LIBS)
-
-# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-mkhtml
-MKHTML_OPTIONS=--path="$(abs_builddir)"
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
-content_files = version.xml migrating-1to2.xml
-
-expand_content_files =
-
-# Images to copy into HTML directory
-HTML_IMAGES =
-
-# Extra options to supply to gtkdoc-fixref
-FIXXREF_OPTIONS = \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio
-
-include $(top_srcdir)/gtk-doc.make
-
-# Other files to distribute
-EXTRA_DIST += \
- version.xml.in \
- meson.build
diff --git a/docs/reference/libtracker-miner/Makefile.am b/docs/reference/libtracker-miner/Makefile.am
deleted file mode 100644
index 250f10c54..000000000
--- a/docs/reference/libtracker-miner/Makefile.am
+++ /dev/null
@@ -1,81 +0,0 @@
-AUTOMAKE_OPTIONS = 1.6
-
-# The name of the module.
-DOC_MODULE=libtracker-miner
-
-# The top-level SGML file.
-DOC_MAIN_SGML_FILE=libtracker-miner-docs.sgml
-
-# Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="TRACKER_DISABLE_DEPRECATED"
-
-# Extra options to pass to gtkdoc-scangobj
-# SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)"
-
-# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=$(top_srcdir)/src/libtracker-miner
-
-# Used for dependencies
-HFILE_GLOB=$(top_srcdir)/src/libtracker-miner/*.h
-CFILE_GLOB=$(top_srcdir)/src/libtracker-miner/*.c
-
-# Header files to ignore when scanning
-IGNORE_HFILES= \
- tracker-crawler.h \
- tracker-dbus.h \
- tracker-file-notifier.h \
- tracker-file-system.h \
- tracker-miner-client.h \
- tracker-miner-glue.h \
- tracker-miner-files-index-client.h \
- tracker-miner-fs-processing-pool.h \
- tracker-miner-web-dbus.h \
- tracker-miner-web-glue.h \
- tracker-miner-web-glue.h \
- tracker-monitor.h \
- tracker-priority-queue.h \
- tracker-sparql-buffer.h \
- tracker-task-pool.h \
- tracker-utils.h
-
-# CFLAGS and LDFLAGS for compiling scan program. Only needed
-# if $(DOC_MODULE).types is non-empty.
-AM_CPPFLAGS = \
- -DTRACKER_COMPILATION \
- -I$(top_srcdir)/src \
- $(LIBTRACKER_MINER_CFLAGS)
-
-GTKDOC_LIBS = \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(LIBTRACKER_MINER_LIBS)
-
-# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-mkhtml
-MKHTML_OPTIONS=--path="$(abs_builddir)"
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
-content_files = version.xml overview.sgml migrating-1to2.xml
-
-expand_content_files =
-
-# Images to copy into HTML directory
-HTML_IMAGES =
-
-# Extra options to supply to gtkdoc-fixref
-FIXXREF_OPTIONS = \
- --extra-dir=../libtracker-control/html \
- --extra-dir=../libtracker-sparql/html \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio
-
-include $(top_srcdir)/gtk-doc.make
-
-# Other files to distribute
-EXTRA_DIST += \
- version.xml.in \
- meson.build
diff --git a/docs/reference/libtracker-sparql/Makefile.am b/docs/reference/libtracker-sparql/Makefile.am
deleted file mode 100644
index a4b74e354..000000000
--- a/docs/reference/libtracker-sparql/Makefile.am
+++ /dev/null
@@ -1,97 +0,0 @@
-AUTOMAKE_OPTIONS = 1.6
-
-# Generation of the base ontology XML files.
-ontology-doc.stamp:
- $(MKDIR_P) xml
- $(top_builddir)/docs/tools/ttl2sgml -d $(top_srcdir)/src/ontologies/ -o xml/
- $(AM_V_GEN) touch $@
-
-version.xml: ontology-doc.stamp
-
-# The name of the module.
-DOC_MODULE = libtracker-sparql
-
-# The top-level SGML file.
-DOC_MAIN_SGML_FILE = libtracker-sparql-docs.sgml
-
-# Extra options to supply to gtkdoc-scan
-SCAN_OPTIONS=--deprecated-guards="TRACKER_DISABLE_DEPRECATED"
-
-# Extra options to pass to gtkdoc-scangobj
-# SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)"
-
-# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR = $(top_srcdir)/src/libtracker-sparql
-
-# Used for dependencies
-HFILE_GLOB = $(top_srcdir)/src/libtracker-sparql/*.h $(top_builddir)/config.h
-CFILE_GLOB = $(top_srcdir)/src/libtracker-sparql/*.c
-
-# Header files to ignore when scanning
-IGNORE_HFILES = \
- $(top_srcdir)/src/libtracker-sparql/tracker-generated-no-checks.h \
- $(top_srcdir)/src/libtracker-sparql/tracker-uri.h
-
-# CFLAGS and LDFLAGS for compiling scan program. Only needed
-# if $(DOC_MODULE).types is non-empty.
-AM_CPPFLAGS = \
- -DTRACKER_COMPILATION \
- -I$(top_srcdir)/src \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-GTKDOC_LIBS = \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(LIBTRACKER_SPARQL_LIBS)
-
-# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS = --sgml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-mkhtml
-MKHTML_OPTIONS=--path="$(abs_builddir)"
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
-content_files = version.xml examples.sgml overview.sgml ontologies.sgml private-store.xml migrating-1to2.xml
-
-expand_content_files =
-
-# Images to copy into HTML directory
-HTML_IMAGES =
-
-# Extra options to supply to gtkdoc-fixref
-FIXXREF_OPTIONS = \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
- --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio
-
-include $(top_srcdir)/gtk-doc.make
-
-EXAMPLES = \
- examples/ontologies/defining-cardinality-1.rq \
- examples/ontologies/defining-cardinality-2.txt \
- examples/ontologies/defining-cardinality-3.rq \
- examples/ontologies/defining-classes-1.txt \
- examples/ontologies/defining-classes-2.txt \
- examples/ontologies/defining-classes-3.rq \
- examples/ontologies/defining-fts-indexes-1.txt \
- examples/ontologies/defining-fts-indexes-2.rq \
- examples/ontologies/defining-indexes-1.txt \
- examples/ontologies/defining-namespaces-1.txt \
- examples/ontologies/defining-properties-1.txt \
- examples/ontologies/defining-properties-2.txt \
- examples/ontologies/defining-properties-3.txt \
- examples/ontologies/defining-properties-4.rq \
- examples/ontologies/defining-uniqueness-1.txt \
- examples/ontologies/defining-uniqueness-2.rq \
- examples/ontologies/example.description \
- examples/ontologies/predefined-elements-1.txt \
- examples/ontologies/predefined-elements-2.rq
-
-# Other files to distribute
-EXTRA_DIST += \
- $(EXAMPLES) \
- version.xml.in \
- meson.build
-
-CLEANFILES += \
- ontology-doc.stamp
diff --git a/docs/reference/ontology/Makefile.am b/docs/reference/ontology/Makefile.am
deleted file mode 100644
index 42fe722c5..000000000
--- a/docs/reference/ontology/Makefile.am
+++ /dev/null
@@ -1,56 +0,0 @@
-AUTOMAKE_OPTIONS = 1.6
-
-# The original Ontology explanation files
-ONTOLOGY_INTRODUCTIONS = \
- mfo-introduction.xml \
- mlo-introduction.xml \
- nco-introduction.xml \
- nie-introduction.xml \
- nmm-introduction.xml \
- nmo-introduction.xml \
- xsd-introduction.xml
-
-# Generation of the ontology XML files.
-gen-doc.stamp: $(ONTOLOGY_INTRODUCTIONS)
- $(MKDIR_P) xml
- $(top_builddir)/docs/tools/ttl2sgml -d $(top_srcdir)/src/ontologies/nepomuk -o xml/
- $(AM_V_GEN) touch $@
-
-version.xml: gen-doc.stamp
-
-# The name of the module.
-DOC_MODULE = ontology
-
-# The top-level SGML file.
-DOC_MAIN_SGML_FILE = ontology-docs.sgml
-
-# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR = .
-
-# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS = --sgml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-mkhtml
-MKHTML_OPTIONS=--path="$(abs_builddir)"
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
-content_files = \
- version.xml
-
-expand_content_files =
-
-# Extra options to supply to gtkdoc-fixref
-FIXXREF_OPTIONS =
-
-include $(top_srcdir)/gtk-doc.make
-
-# Other files to distribute
-# Note that HTML_FILES and content_files are already included
-# by gtk-doc
-EXTRA_DIST += \
- version.xml.in \
- $(ONTOLOGY_INTRODUCTIONS) \
- meson.build
-
-CLEANFILES += \
- gen-doc.stamp
diff --git a/docs/tools/Makefile.am b/docs/tools/Makefile.am
deleted file mode 100644
index 3f77f17ec..000000000
--- a/docs/tools/Makefile.am
+++ /dev/null
@@ -1,32 +0,0 @@
-noinst_PROGRAMS = ttl2sgml
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -DTOP_SRCDIR=\"$(top_srcdir)\" \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(LIBTRACKER_DATA_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(LIBTRACKER_DATA_LIBS) \
- $(BUILD_LIBS)
-
-TTL_LOADER_FILES = \
- ttl_loader.c \
- ttl_loader.h \
- ttl_model.c \
- ttl_model.h \
- ttl_sgml.c \
- ttl_sgml.h
-
-ttl2sgml_SOURCES = \
- $(TTL_LOADER_FILES) \
- ttlresource2sgml.c \
- ttlresource2sgml.h \
- ttl2sgml.c
-
-EXTRA_DIST = \
- meson.build
diff --git a/examples/Makefile.am b/examples/Makefile.am
deleted file mode 100644
index bb003942f..000000000
--- a/examples/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-SUBDIRS = \
- libtracker-miner \
- libtracker-sparql \
- rss-reader
-
-EXTRA_DIST = meson.build
diff --git a/examples/libtracker-miner/Makefile.am b/examples/libtracker-miner/Makefile.am
deleted file mode 100644
index 0b67a2925..000000000
--- a/examples/libtracker-miner/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-noinst_PROGRAMS = tracker-miner-test
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DSHAREDIR=\""$(datadir)"\" \
- $(LIBTRACKER_MINER_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_MINER_LIBS)
-
-tracker_miner_test_SOURCES = \
- tracker-miner-test.c \
- tracker-miner-test.h \
- tracker-main.c
-
-EXTRA_DIST = meson.build
diff --git a/examples/libtracker-sparql/Makefile.am b/examples/libtracker-sparql/Makefile.am
deleted file mode 100644
index 058a83cfb..000000000
--- a/examples/libtracker-sparql/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-noinst_PROGRAMS = async-connection class-signal
-
-AM_CPPFLAGS = $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-LDADD = $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-$(TRACKER_API_VERSION).la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_SPARQL_LIBS)
-
-async_connection_SOURCES = async-connection.c
-
-class_signal_SOURCES = class-signal.c
-
-EXTRA_DIST = meson.build
diff --git a/examples/rss-reader/Makefile.am b/examples/rss-reader/Makefile.am
deleted file mode 100644
index e6606b136..000000000
--- a/examples/rss-reader/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-EXTRA_DIST = \
- initial-data.ttl \
- rss_viewer.ui \
- main.py \
- signaler.py \
- tracker_backend.py \
- zeitgeist_backend.py
diff --git a/m4/.gitignore b/m4/.gitignore
deleted file mode 100644
index 0f4126cd6..000000000
--- a/m4/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.m4
diff --git a/m4/attributes.m4 b/m4/attributes.m4
deleted file mode 100644
index aa53ef238..000000000
--- a/m4/attributes.m4
+++ /dev/null
@@ -1,288 +0,0 @@
-dnl Macros to check the presence of generic (non-typed) symbols.
-dnl Copyright (c) 2006-2008 Diego Pettenò <flameeyes@gmail.com>
-dnl Copyright (c) 2006-2008 xine project
-dnl Copyright (c) 2012 Lucas De Marchi <lucas.de.marchi@gmail.com>
-dnl
-dnl This program is free software; you can redistribute it and/or modify
-dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version 2, or (at your option)
-dnl any later version.
-dnl
-dnl This program is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-dnl GNU General Public License for more details.
-dnl
-dnl You should have received a copy of the GNU General Public License
-dnl along with this program; if not, write to the Free Software
-dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-dnl 02110-1301, USA.
-dnl
-dnl As a special exception, the copyright owners of the
-dnl macro gives unlimited permission to copy, distribute and modify the
-dnl configure scripts that are the output of Autoconf when processing the
-dnl Macro. You need not follow the terms of the GNU General Public
-dnl License when using or distributing such scripts, even though portions
-dnl of the text of the Macro appear in them. The GNU General Public
-dnl License (GPL) does govern all other use of the material that
-dnl constitutes the Autoconf Macro.
-dnl
-dnl This special exception to the GPL applies to versions of the
-dnl Autoconf Macro released by this project. When you make and
-dnl distribute a modified version of the Autoconf Macro, you may extend
-dnl this special exception to the GPL to apply to your modified version as
-dnl well.
-
-dnl Check if FLAG in ENV-VAR is supported by compiler and append it
-dnl to WHERE-TO-APPEND variable
-dnl CC_CHECK_FLAG_APPEND([WHERE-TO-APPEND], [ENV-VAR], [FLAG])
-
-AC_DEFUN([CC_CHECK_FLAG_APPEND], [
- AC_CACHE_CHECK([if $CC supports flag $3 in envvar $2],
- AS_TR_SH([cc_cv_$2_$3]),
- [eval "AS_TR_SH([cc_save_$2])='${$2}'"
- eval "AS_TR_SH([$2])='-Werror $3'"
- AC_LINK_IFELSE([AC_LANG_SOURCE([int a = 0; int main(void) { return a; } ])],
- [eval "AS_TR_SH([cc_cv_$2_$3])='yes'"],
- [eval "AS_TR_SH([cc_cv_$2_$3])='no'"])
- eval "AS_TR_SH([$2])='$cc_save_$2'"])
-
- AS_IF([eval test x$]AS_TR_SH([cc_cv_$2_$3])[ = xyes],
- [eval "$1='${$1} $3'"])
-])
-
-dnl CC_CHECK_FLAGS_APPEND([WHERE-TO-APPEND], [ENV-VAR], [FLAG1 FLAG2])
-AC_DEFUN([CC_CHECK_FLAGS_APPEND], [
- for flag in $3; do
- CC_CHECK_FLAG_APPEND($1, $2, $flag)
- done
-])
-
-dnl Check if the flag is supported by linker (cacheable)
-dnl CC_CHECK_LDFLAGS([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
-
-AC_DEFUN([CC_CHECK_LDFLAGS], [
- AC_CACHE_CHECK([if $CC supports $1 flag],
- AS_TR_SH([cc_cv_ldflags_$1]),
- [ac_save_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $1"
- AC_LINK_IFELSE([int main() { return 1; }],
- [eval "AS_TR_SH([cc_cv_ldflags_$1])='yes'"],
- [eval "AS_TR_SH([cc_cv_ldflags_$1])="])
- LDFLAGS="$ac_save_LDFLAGS"
- ])
-
- AS_IF([eval test x$]AS_TR_SH([cc_cv_ldflags_$1])[ = xyes],
- [$2], [$3])
-])
-
-dnl define the LDFLAGS_NOUNDEFINED variable with the correct value for
-dnl the current linker to avoid undefined references in a shared object.
-AC_DEFUN([CC_NOUNDEFINED], [
- dnl We check $host for which systems to enable this for.
- AC_REQUIRE([AC_CANONICAL_HOST])
-
- case $host in
- dnl FreeBSD (et al.) does not complete linking for shared objects when pthreads
- dnl are requested, as different implementations are present; to avoid problems
- dnl use -Wl,-z,defs only for those platform not behaving this way.
- *-freebsd* | *-openbsd*) ;;
- *)
- dnl First of all check for the --no-undefined variant of GNU ld. This allows
- dnl for a much more readable commandline, so that people can understand what
- dnl it does without going to look for what the heck -z defs does.
- for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do
- CC_CHECK_LDFLAGS([$possible_flags], [LDFLAGS_NOUNDEFINED="$possible_flags"])
- break
- done
- ;;
- esac
-
- AC_SUBST([LDFLAGS_NOUNDEFINED])
-])
-
-dnl Check for a -Werror flag or equivalent. -Werror is the GCC
-dnl and ICC flag that tells the compiler to treat all the warnings
-dnl as fatal. We usually need this option to make sure that some
-dnl constructs (like attributes) are not simply ignored.
-dnl
-dnl Other compilers don't support -Werror per se, but they support
-dnl an equivalent flag:
-dnl - Sun Studio compiler supports -errwarn=%all
-AC_DEFUN([CC_CHECK_WERROR], [
- AC_CACHE_CHECK(
- [for $CC way to treat warnings as errors],
- [cc_cv_werror],
- [CC_CHECK_CFLAGS_SILENT([-Werror], [cc_cv_werror=-Werror],
- [CC_CHECK_CFLAGS_SILENT([-errwarn=%all], [cc_cv_werror=-errwarn=%all])])
- ])
-])
-
-AC_DEFUN([CC_CHECK_ATTRIBUTE], [
- AC_REQUIRE([CC_CHECK_WERROR])
- AC_CACHE_CHECK([if $CC supports __attribute__(( ifelse([$2], , [$1], [$2]) ))],
- AS_TR_SH([cc_cv_attribute_$1]),
- [ac_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $cc_cv_werror"
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([$3])],
- [eval "AS_TR_SH([cc_cv_attribute_$1])='yes'"],
- [eval "AS_TR_SH([cc_cv_attribute_$1])='no'"])
- CFLAGS="$ac_save_CFLAGS"
- ])
-
- AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes],
- [AC_DEFINE(
- AS_TR_CPP([SUPPORT_ATTRIBUTE_$1]), 1,
- [Define this if the compiler supports __attribute__(( ifelse([$2], , [$1], [$2]) ))]
- )
- $4],
- [$5])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_CONSTRUCTOR], [
- CC_CHECK_ATTRIBUTE(
- [constructor],,
- [void __attribute__((constructor)) ctor() { int a; }],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_FORMAT], [
- CC_CHECK_ATTRIBUTE(
- [format], [format(printf, n, n)],
- [void __attribute__((format(printf, 1, 2))) printflike(const char *fmt, ...) { fmt = (void *)0; }],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [
- CC_CHECK_ATTRIBUTE(
- [format_arg], [format_arg(printf)],
- [char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_VISIBILITY], [
- CC_CHECK_ATTRIBUTE(
- [visibility_$1], [visibility("$1")],
- [void __attribute__((visibility("$1"))) $1_function() { }],
- [$2], [$3])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_NONNULL], [
- CC_CHECK_ATTRIBUTE(
- [nonnull], [nonnull()],
- [void __attribute__((nonnull())) some_function(void *foo, void *bar) { foo = (void*)0; bar = (void*)0; }],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_UNUSED], [
- CC_CHECK_ATTRIBUTE(
- [unused], ,
- [void some_function(void *foo, __attribute__((unused)) void *bar);],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_SENTINEL], [
- CC_CHECK_ATTRIBUTE(
- [sentinel], ,
- [void some_function(void *foo, ...) __attribute__((sentinel));],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_DEPRECATED], [
- CC_CHECK_ATTRIBUTE(
- [deprecated], ,
- [void some_function(void *foo, ...) __attribute__((deprecated));],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_ALIAS], [
- CC_CHECK_ATTRIBUTE(
- [alias], [weak, alias],
- [void other_function(void *foo) { }
- void some_function(void *foo) __attribute__((weak, alias("other_function")));],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_MALLOC], [
- CC_CHECK_ATTRIBUTE(
- [malloc], ,
- [void * __attribute__((malloc)) my_alloc(int n);],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_PACKED], [
- CC_CHECK_ATTRIBUTE(
- [packed], ,
- [struct astructure { char a; int b; long c; void *d; } __attribute__((packed));],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_CONST], [
- CC_CHECK_ATTRIBUTE(
- [const], ,
- [int __attribute__((const)) twopow(int n) { return 1 << n; } ],
- [$1], [$2])
-])
-
-AC_DEFUN([CC_FLAG_VISIBILITY], [
- AC_REQUIRE([CC_CHECK_WERROR])
- AC_CACHE_CHECK([if $CC supports -fvisibility=hidden],
- [cc_cv_flag_visibility],
- [cc_flag_visibility_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $cc_cv_werror"
- CC_CHECK_CFLAGS_SILENT([-fvisibility=hidden],
- cc_cv_flag_visibility='yes',
- cc_cv_flag_visibility='no')
- CFLAGS="$cc_flag_visibility_save_CFLAGS"])
-
- AS_IF([test "x$cc_cv_flag_visibility" = "xyes"],
- [AC_DEFINE([SUPPORT_FLAG_VISIBILITY], 1,
- [Define this if the compiler supports the -fvisibility flag])
- $1],
- [$2])
-])
-
-AC_DEFUN([CC_FUNC_EXPECT], [
- AC_REQUIRE([CC_CHECK_WERROR])
- AC_CACHE_CHECK([if compiler has __builtin_expect function],
- [cc_cv_func_expect],
- [ac_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $cc_cv_werror"
- AC_COMPILE_IFELSE([AC_LANG_SOURCE(
- [int some_function() {
- int a = 3;
- return (int)__builtin_expect(a, 3);
- }])],
- [cc_cv_func_expect=yes],
- [cc_cv_func_expect=no])
- CFLAGS="$ac_save_CFLAGS"
- ])
-
- AS_IF([test "x$cc_cv_func_expect" = "xyes"],
- [AC_DEFINE([SUPPORT__BUILTIN_EXPECT], 1,
- [Define this if the compiler supports __builtin_expect() function])
- $1],
- [$2])
-])
-
-AC_DEFUN([CC_ATTRIBUTE_ALIGNED], [
- AC_REQUIRE([CC_CHECK_WERROR])
- AC_CACHE_CHECK([highest __attribute__ ((aligned ())) supported],
- [cc_cv_attribute_aligned],
- [ac_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $cc_cv_werror"
- for cc_attribute_align_try in 64 32 16 8 4 2; do
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([
- int main() {
- static char c __attribute__ ((aligned($cc_attribute_align_try))) = 0;
- return c;
- }])], [cc_cv_attribute_aligned=$cc_attribute_align_try; break])
- done
- CFLAGS="$ac_save_CFLAGS"
- ])
-
- if test "x$cc_cv_attribute_aligned" != "x"; then
- AC_DEFINE_UNQUOTED([ATTRIBUTE_ALIGNED_MAX], [$cc_cv_attribute_aligned],
- [Define the highest alignment supported])
- fi
-])
diff --git a/m4/sqlite-auto-extension.m4 b/m4/sqlite-auto-extension.m4
deleted file mode 100644
index 60cee93c8..000000000
--- a/m4/sqlite-auto-extension.m4
+++ /dev/null
@@ -1,40 +0,0 @@
-AC_DEFUN([AX_SQLITE_AUTO_EXTENSION],
-[
- AC_REQUIRE([AC_PROG_CC])
-
- OLD_CFLAGS="$CFLAGS"
- OLD_LDFLAGS="$LDFLAGS"
- OLD_LIBS="$LIBS"
- CFLAGS="$SQLITE3_CFLAGS"
- LDFLAGS="$SQLITE3_LDFLAGS"
- LIBS="$SQLITE3_LIBS"
-
- AC_CHECK_HEADERS([sqlite3.h])
-
- AC_CACHE_CHECK([whether SQLite3 has extension loading enabled],
- [ax_cv_sqlite_auto_extension],
- [
- AC_RUN_IFELSE(
- [AC_LANG_PROGRAM([[#include <sqlite3.h>
- static int initialized = 0;
- int extEntryPoint(sqlite3 *db, const char **err, void **api){
- initialized = 1;
- if (api != 0 && *api != 0)
- return SQLITE_OK;
- return SQLITE_ERROR;
- }]],
- [[sqlite3 *db;
- int rc;
- sqlite3_auto_extension((void (*)(void))extEntryPoint);
- rc = sqlite3_open(":memory:", &db);
- if (rc!=SQLITE_OK) return -1;
- if (initialized==0) return -1]])],
- [ax_cv_sqlite_auto_extension=yes],
- [ax_cv_sqlite_auto_extension=no],
- [ax_cv_sqlite_auto_extension=no])])
-
- CFLAGS="$OLD_CFLAGS"
- LDFLAGS="$OLD_LDFLAGS"
- LIBS="$OLD_LIBS"
-])
-
diff --git a/m4/sqlite-builtin-fts5.m4 b/m4/sqlite-builtin-fts5.m4
deleted file mode 100644
index 635f15dc7..000000000
--- a/m4/sqlite-builtin-fts5.m4
+++ /dev/null
@@ -1,35 +0,0 @@
-AC_DEFUN([AX_SQLITE_BUILTIN_FTS5],
-[
- AC_REQUIRE([AC_PROG_CC])
-
- OLD_CFLAGS="$CFLAGS"
- OLD_LDFLAGS="$LDFLAGS"
- OLD_LIBS="$LIBS"
- CFLAGS="$SQLITE3_CFLAGS"
- LDFLAGS="$SQLITE3_LDFLAGS"
- LIBS="$SQLITE3_LIBS"
-
- AC_CHECK_HEADERS([sqlite3.h])
-
- AC_CACHE_CHECK([whether SQLite3 has required FTS features],
- [ax_cv_sqlite_builtin_fts5],
- [
- AC_RUN_IFELSE(
- [AC_LANG_PROGRAM([[#include <sqlite3.h>]],
- [[sqlite3 *db;
- int rc;
- rc = sqlite3_open(":memory:", &db);
- if (rc!=SQLITE_OK) return -1;
- rc = sqlite3_exec(db, "create table a(text)", 0, 0, 0);
- if (rc!=SQLITE_OK) return -1;
- rc = sqlite3_exec(db, "create virtual table t using fts5(content='a',text)", 0, 0, 0);
- if (rc!=SQLITE_OK) return -1;]])],
- [ax_cv_sqlite_builtin_fts5=yes],
- [ax_cv_sqlite_builtin_fts5=no],
- [ax_cv_sqlite_builtin_fts5=no])])
-
- CFLAGS="$OLD_CFLAGS"
- LDFLAGS="$OLD_LDFLAGS"
- LIBS="$OLD_LIBS"
-])
-
diff --git a/m4/sqlite-threadsafe.m4 b/m4/sqlite-threadsafe.m4
deleted file mode 100644
index 75bdfbfa8..000000000
--- a/m4/sqlite-threadsafe.m4
+++ /dev/null
@@ -1,52 +0,0 @@
-# sqlite-threadsafe.m4 serial 2
-
-dnl Copyright (C) 2010 Aleksander Morgado <aleksander@gnu.org>
-dnl This file is free software; unlimited permission to copy and/or distribute
-dnl it is given, with or without modifications, as long as this notice is
-dnl preserved.
-
-dnl This program will execute the sqlite3_threadsafe() method to check
-dnl whether the sqlite3 library was compiled in threadsafe mode or not,
-dnl and will fill the ax_cv_sqlite_threadsafe cached variable accordingly.
-dnl See http://sqlite.org/c3ref/threadsafe.html for more information.
-
-dnl Once this m4 macro has been evaluated, you can for example issue an error
-dnl when sqlite3 was not compiled thread-safe:
-dnl
-dnl AX_SQLITE_THREADSAFE
-dnl if test "x$ax_cv_sqlite_threadsafe" != "xyes"; then
-dnl AC_MSG_ERROR([sqlite3 is not compiled in a thread-safe mode])
-dnl fi
-
-
-AC_DEFUN([AX_SQLITE_THREADSAFE],
-[
- AC_REQUIRE([AC_PROG_CC])
-
- save_LIBS="$LIBS"
-
- AC_CHECK_HEADERS([sqlite3.h])
- AC_CHECK_LIB([sqlite3],[sqlite3_threadsafe])
-
- AC_CACHE_CHECK([whether sqlite was compiled thread-safe],
- [ax_cv_sqlite_threadsafe],
- [
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
-#include <sqlite3.h>
-int main ()
-{
- /* sqlite3_threadsafe() returns the value of the SQLITE_THREADSAFE
- * preprocessor macro used when compiling. If this is 0, sqlite3
- * library was NOT compiled in a thread-safe mode */
-
- return sqlite3_threadsafe () == 0 ? -1 : 0;
-}
-
- ]])],
- [ax_cv_sqlite_threadsafe=yes],
- [ax_cv_sqlite_threadsafe=no],
- [ax_cv_sqlite_threadsafe=no])])
-
- LIBS="$save_LIBS"
-])
-
diff --git a/m4/tracker.m4 b/m4/tracker.m4
deleted file mode 100644
index 7265e359d..000000000
--- a/m4/tracker.m4
+++ /dev/null
@@ -1,253 +0,0 @@
-dnl #########################################################################
-AC_DEFUN([AX_DOTS_TO_UNDERSCORES], [
- $1[]_UNDERSCORES=`echo "$$1" | sed -e 's/\./_/g'`
- AC_SUBST($1[]_UNDERSCORES)
-]) dnl AX_DOTS_TO_UNDERSCORES
-
-dnl #########################################################################
-AC_DEFUN([AX_COMPARE_VERSION], [
- # Used to indicate true or false condition
- ax_compare_version=false
-
- # Convert the two version strings to be compared into a format that
- # allows a simple string comparison. The end result is that a version
- # string of the form 1.12.5-r617 will be converted to the form
- # 0001001200050617. In other words, each number is zero padded to four
- # digits, and non digits are removed.
- AS_VAR_PUSHDEF([A],[ax_compare_version_A])
- A=`echo "$1" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \
- -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \
- -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \
- -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \
- -e 's/[[^0-9]]//g'`
-
- AS_VAR_PUSHDEF([B],[ax_compare_version_B])
- B=`echo "$3" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \
- -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \
- -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \
- -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \
- -e 's/[[^0-9]]//g'`
-
- dnl # In the case of le, ge, lt, and gt, the strings are sorted as necessary
- dnl # then the first line is used to determine if the condition is true.
- dnl # The sed right after the echo is to remove any indented white space.
- m4_case(m4_tolower($2),
- [lt],[
- ax_compare_version=`echo "x$A
-x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/false/;s/x${B}/true/;1q"`
- ],
- [gt],[
- ax_compare_version=`echo "x$A
-x$B" | sed 's/^ *//' | sort | sed "s/x${A}/false/;s/x${B}/true/;1q"`
- ],
- [le],[
- ax_compare_version=`echo "x$A
-x$B" | sed 's/^ *//' | sort | sed "s/x${A}/true/;s/x${B}/false/;1q"`
- ],
- [ge],[
- ax_compare_version=`echo "x$A
-x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/true/;s/x${B}/false/;1q"`
- ],[
- dnl Split the operator from the subversion count if present.
- m4_bmatch(m4_substr($2,2),
- [0],[
- # A count of zero means use the length of the shorter version.
- # Determine the number of characters in A and B.
- ax_compare_version_len_A=`echo "$A" | awk '{print(length)}'`
- ax_compare_version_len_B=`echo "$B" | awk '{print(length)}'`
-
- # Set A to no more than B's length and B to no more than A's length.
- A=`echo "$A" | sed "s/\(.\{$ax_compare_version_len_B\}\).*/\1/"`
- B=`echo "$B" | sed "s/\(.\{$ax_compare_version_len_A\}\).*/\1/"`
- ],
- [[0-9]+],[
- # A count greater than zero means use only that many subversions
- A=`echo "$A" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"`
- B=`echo "$B" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"`
- ],
- [.+],[
- AC_WARNING(
- [illegal OP numeric parameter: $2])
- ],[])
-
- # Pad zeros at end of numbers to make same length.
- ax_compare_version_tmp_A="$A`echo $B | sed 's/./0/g'`"
- B="$B`echo $A | sed 's/./0/g'`"
- A="$ax_compare_version_tmp_A"
-
- # Check for equality or inequality as necessary.
- m4_case(m4_tolower(m4_substr($2,0,2)),
- [eq],[
- test "x$A" = "x$B" && ax_compare_version=true
- ],
- [ne],[
- test "x$A" != "x$B" && ax_compare_version=true
- ],[
- AC_WARNING([illegal OP parameter: $2])
- ])
- ])
-
- AS_VAR_POPDEF([A])dnl
- AS_VAR_POPDEF([B])dnl
-
- dnl # Execute ACTION-IF-TRUE / ACTION-IF-FALSE.
- if test "$ax_compare_version" = "true" ; then
- m4_ifvaln([$4],[$4],[:])dnl
- m4_ifvaln([$5],[else $5])dnl
- fi
-]) dnl AX_COMPARE_VERSION
-
-dnl #########################################################################
-dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
-AC_DEFUN([IDT_COMPILE_WARNINGS],[
- if test -f $srcdir/autogen.sh; then
- default_compile_warnings="maximum"
- else
- default_compile_warnings="no"
- fi
-
- AC_ARG_WITH(compile-warnings,
- AS_HELP_STRING([--with-compile-warnings=@<:@no/yes/maximum/error@:>@],
- [Compiler warnings]),
- [enable_compile_warnings="$withval"],
- [enable_compile_warnings="$default_compile_warnings"])
-
- warnCFLAGS=
- if test "x$GCC" != xyes; then
- enable_compile_warnings=no
- fi
-
- warning_cflags=
- warning_valaflags=
- realsave_CFLAGS="$CFLAGS"
-
- # Everything from -Wall except:
- # 1. the -Wunused-* stuff
- # 2. the non C warnings: -Wreorder -Wc++11-compat
- # 3. unfixable issues: -Wmissing-braces
- #
- # We don't want to see warnings about generated code.
- CC_CHECK_FLAGS_APPEND([common_cflags], [CFLAGS], [\
- -Waddress \
- -Warray-bounds \
- -Wchar-subscripts \
- -Wenum-compare \
- -Wimplicit-int \
- -Wimplicit-function-declaration \
- -Wcomment \
- -Wformat \
- -Wmain \
- -Wmaybe-uninitialized \
- -Wnonnull \
- -Wparentheses \
- -Wpointer-sign \
- -Wreturn-type \
- -Wsequence-point \
- -Wsign-compare \
- -Wstrict-aliasing \
- -Wstrict-overflow=1 \
- -Wswitch \
- -Wtrigraphs \
- -Wuninitialized \
- -Wunknown-pragmas \
- -Wvolatile-register-var \
- ])
-
- CC_CHECK_FLAGS_APPEND([no_warning_cflags], [CFLAGS], [\
- -Wno-unused-variable \
- -Wno-unused-function \
- -Wno-shadow \
- -Wno-format-nonliteral \
- -Wno-sign-compare \
- -Wno-strict-prototypes \
- ])
-
- case "$enable_compile_warnings" in
- no)
- warning_cflags=
- warning_valacflags="$no_warning_cflags"
- ;;
- yes)
- CC_CHECK_FLAGS_APPEND([additional_cflags], [CFLAGS], [\
- -Wall \
- -Wunused \
- -Wmissing-prototypes \
- -Wmissing-declarations \
- ])
-
- dnl -Wall includes the $common_cflags already.
- warning_cflags="$additional_cflags"
- warning_valacflags="$no_warning_cflags"
- ;;
- maximum|error)
- CC_CHECK_FLAGS_APPEND([additional_cflags], [CFLAGS], [\
- -Wall \
- -Wunused \
- -Wchar-subscripts \
- -Wmissing-prototypes \
- -Wmissing-declarations \
- -Wnested-externs \
- -Wpointer-arit \
- -Wno-sign-compare \
- -Wno-pointer-sign \
- ])
-
- dnl -Wall includes the $common_cflags already.
- warning_cflags="$additional_cflags"
- warning_valacflags="$no_warning_cflags"
-
- if test "$enable_compile_warnings" = "error" ; then
- warning_cflags="$warning_cflags -Werror"
- warning_valacflags="$warning_valacflags -Werror"
- fi
- ;;
- *)
- AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --with-compile-warnings)
- ;;
- esac
- CFLAGS="$realsave_CFLAGS"
- AC_MSG_CHECKING(what warning flags to pass to the C compiler)
- AC_MSG_RESULT($warning_cflags)
-
- AC_MSG_CHECKING(what warning flags to pass to the C compiler for Vala built sources)
- AC_MSG_RESULT($warning_valacflags)
-
- WARN_CFLAGS="$warning_cflags"
- AC_SUBST(WARN_CFLAGS)
-
- WARN_VALACFLAGS="$warning_valacflags"
- AC_SUBST(WARN_VALACFLAGS)
-]) dnl IDT_COMPILE_WARNINGS
-
-
-
-dnl Stolen from https://git.gnome.org/browse/glib/tree/m4macros/glibtests.m4
-
-dnl GLIB_TESTS
-dnl
-
-AC_DEFUN([GLIB_TESTS],
-[
- AC_ARG_ENABLE(installed-tests,
- AS_HELP_STRING([--enable-installed-tests],
- [Enable installation of some test cases]),
- [case ${enableval} in
- yes) ENABLE_INSTALLED_TESTS="1" ;;
- no) ENABLE_INSTALLED_TESTS="" ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-installed-tests]) ;;
- esac])
- AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], test "$ENABLE_INSTALLED_TESTS" = "1")
- AC_ARG_ENABLE(always-build-tests,
- AS_HELP_STRING([--enable-always-build-tests],
- [Enable always building tests during 'make all']),
- [case ${enableval} in
- yes) ENABLE_ALWAYS_BUILD_TESTS="1" ;;
- no) ENABLE_ALWAYS_BUILD_TESTS="" ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
- esac])
- AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
- if test "$ENABLE_INSTALLED_TESTS" = "1"; then
- AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
- AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
- fi
-])
diff --git a/m4/vala-extra.m4 b/m4/vala-extra.m4
deleted file mode 100644
index 0851ebcc9..000000000
--- a/m4/vala-extra.m4
+++ /dev/null
@@ -1,26 +0,0 @@
-dnl Copyright (C) 2011 Nokia <ivan.frade@nokia.com>
-dnl This file is free software; unlimited permission to copy and/or distribute
-dnl it is given, with or without modifications, as long as this notice is
-dnl preserved.
-
-dnl AX_VALA_CHECK_VERSION([MIN_VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
-dnl ---------------------------------------------------------------------------
-dnl Run ACTION-IF-TRUE if the vala compiler is installed AND has version >= VERSION.
-dnl Run ACTION-IF-FALSE otherwise.
-
-dnl This macro doesn't check if valac is installed (use AM_PROG_VALAC or your
-dnl own AC_PATH_PROG to check that)
-
-AC_DEFUN([AX_VALA_CHECK_VERSION],
-[
- AC_MSG_CHECKING([valac generates proper GIR])
- AS_IF([test "x$VALAC" != "x"], [], [AC_PATH_PROG([VALAC], [valac], [])])
- am__vala_version=`$VALAC --version | sed 's/Vala *//'`
- AS_VERSION_COMPARE([$1], ["$am__vala_version"],
- [AC_MSG_RESULT([yes])
- $2],
- [AC_MSG_RESULT([yes])
- $2],
- [AC_MSG_RESULT([no])
- $3])
-])
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 5d76e30c5..000000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-if HAVE_TRACKER_FTS
-libtrackerfts_dir = libtracker-fts
-endif
-
-SUBDIRS = \
- ontologies \
- gvdb \
- libtracker-common \
- libtracker-sparql \
- $(libtrackerfts_dir) \
- libtracker-bus \
- libtracker-data \
- libtracker-direct \
- libtracker-remote \
- libtracker-sparql-backend \
- libtracker-miner \
- libtracker-control \
- tracker \
- tracker-store
-
-EXTRA_DIST = \
- meson.build
diff --git a/src/gvdb/Makefile.am b/src/gvdb/Makefile.am
deleted file mode 100644
index e1d59b49b..000000000
--- a/src/gvdb/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- $(GVDB_CFLAGS)
-
-noinst_LTLIBRARIES = libgvdb.la
-
-libgvdb_la_SOURCES = \
- gvdb-builder.c \
- gvdb-reader.c
-
-noinst_HEADERS = \
- gvdb-builder.h \
- gvdb-format.h \
- gvdb-reader.h
-
-libgvdb_la_LIBADD = \
- $(BUILD_LIBS) \
- $(GVDB_LIBS)
-
-EXTRA_DIST = meson.build
diff --git a/src/libtracker-bus/Makefile.am b/src/libtracker-bus/Makefile.am
deleted file mode 100644
index 36ed987ea..000000000
--- a/src/libtracker-bus/Makefile.am
+++ /dev/null
@@ -1,35 +0,0 @@
-noinst_LTLIBRARIES = libtracker-bus.la
-
-AM_VALAFLAGS = \
- --includedir=libtracker-bus \
- --header tracker-bus.h \
- --vapi tracker-bus.vapi \
- --pkg gio-2.0 --pkg gio-unix-2.0 --pkg posix \
- $(BUILD_VALAFLAGS) \
- $(top_srcdir)/src/libtracker-common/libtracker-common.vapi \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi
-
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(LIBTRACKER_BUS_CFLAGS)
-
-libtracker_bus_la_SOURCES = \
- tracker-namespace.vala \
- tracker-bus.vala \
- tracker-array-cursor.vala \
- tracker-bus-fd-cursor.vala
-
-libtracker_bus_la_LIBADD = \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_BUS_LIBS)
-
-noinst_HEADERS = \
- tracker-bus.h
-
-BUILT_SOURCES = \
- libtracker_bus_la_vala.stamp
-
-EXTRA_DIST = meson.build
diff --git a/src/libtracker-common/Makefile.am b/src/libtracker-common/Makefile.am
deleted file mode 100644
index f525668c1..000000000
--- a/src/libtracker-common/Makefile.am
+++ /dev/null
@@ -1,84 +0,0 @@
-SUBDIRS = stop-words
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -DSHAREDIR=\""$(datadir)"\" \
- $(LIBTRACKER_COMMON_CFLAGS)
-
-TRACKER_PARSER_FILES = \
- tracker-parser.h \
- tracker-parser-utils.c \
- tracker-parser-utils.h \
- tracker-parser-libicu.c \
- tracker-parser-libunistring.c
-
-libtracker_commondir = $(libdir)/tracker-$(TRACKER_API_VERSION)
-libtracker_common_LTLIBRARIES = libtracker-common.la
-
-libtracker_common_la_SOURCES = \
- $(BUILT_SOURCES) \
- tracker-date-time.c \
- tracker-dbus.c \
- tracker-domain-ontology.c \
- tracker-file-utils.c \
- tracker-ioprio.c \
- tracker-log.c \
- tracker-sched.c \
- tracker-type-utils.c \
- tracker-utils.c \
- tracker-locale.c \
- tracker-parser-utils.c \
- tracker-language.c
-
-noinst_HEADERS = \
- tracker-dbus.h \
- tracker-enums.h \
- tracker-ioprio.h \
- tracker-log.h \
- tracker-common.h \
- tracker-date-time.h \
- tracker-domain-ontology.h \
- tracker-file-utils.h \
- tracker-sched.h \
- tracker-type-utils.h \
- tracker-utils.h \
- tracker-locale.h \
- tracker-parser.h \
- tracker-parser-utils.h \
- tracker-language.h
-
-
-if BUILD_LIBUNISTRING_PARSER
- libtracker_common_la_SOURCES += tracker-parser-libunistring.c
-endif
-
-if BUILD_LIBICU_PARSER
- libtracker_common_la_SOURCES += tracker-parser-libicu.c
-endif
-
-libtracker_common_la_LIBADD = \
- $(BUILD_LIBS) \
- $(LIBTRACKER_COMMON_LIBS) \
- -lm
-
-tracker-enum-types.h: tracker-enum-types.h.template tracker-enums.h
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-enum-types.h.template $(noinst_HEADERS)) > $@
-
-tracker-enum-types.c: tracker-enum-types.c.template tracker-enums.h
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-enum-types.c.template $(noinst_HEADERS)) > $@
-
-
-BUILT_SOURCES = \
- tracker-enum-types.c \
- tracker-enum-types.h
-
-CLEANFILES = \
- tracker-enum-types.c \
- tracker-enum-types.h
-
-EXTRA_DIST = \
- libtracker-common.vapi \
- tracker-enum-types.c.template \
- tracker-enum-types.h.template \
- meson.build
diff --git a/src/libtracker-common/stop-words/Makefile.am b/src/libtracker-common/stop-words/Makefile.am
deleted file mode 100644
index 46d86d0da..000000000
--- a/src/libtracker-common/stop-words/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-configdir = $(datadir)/tracker/stop-words
-config_DATA = \
- stopwords.da \
- stopwords.de \
- stopwords.en \
- stopwords.es \
- stopwords.fi \
- stopwords.fr \
- stopwords.hu \
- stopwords.it \
- stopwords.nb \
- stopwords.nl \
- stopwords.pt \
- stopwords.ru \
- stopwords.sv
-
-EXTRA_DIST = $(config_DATA) meson.build
diff --git a/src/libtracker-control/Makefile.am b/src/libtracker-control/Makefile.am
deleted file mode 100644
index 6e5589681..000000000
--- a/src/libtracker-control/Makefile.am
+++ /dev/null
@@ -1,106 +0,0 @@
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DSHAREDIR=\""$(datadir)"\" \
- -DTRACKER_MINERS_DIR=\""$(datadir)/tracker/miners"\" \
- $(LIBTRACKER_MINER_CFLAGS)
-
-lib_LTLIBRARIES = libtracker-control-@TRACKER_API_VERSION@.la
-
-libtracker_controldir = $(libdir)/tracker-$(TRACKER_API_VERSION)
-libtracker_controlincludedir=$(includedir)/tracker-$(TRACKER_API_VERSION)/libtracker-control/
-
-libtracker_control_@TRACKER_API_VERSION@_la_SOURCES = \
- tracker-miner-manager.c \
- tracker-miner-manager.h
-
-libtracker_controlinclude_HEADERS = \
- tracker-control.h \
- tracker-miner-manager.h
-
-libtracker_control_@TRACKER_API_VERSION@_la_LDFLAGS = \
- $(DTAGS_LDFLAGS) \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-if !ENABLE_GCOV
-# Using enable_gcov instead of have_unit_test because when doing a release
-# we disable gcov but NOT the unit tests
-libtracker_control_@TRACKER_API_VERSION@_la_LDFLAGS += \
- -export-symbols-regex '^tracker_.*'
-endif
-
-libtracker_control_@TRACKER_API_VERSION@_la_LIBADD = \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- -lm \
- $(BUILD_LIBS) \
- $(LIBTRACKER_MINER_LIBS)
-
-# PkgConfig
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = tracker-control-$(TRACKER_API_VERSION).pc
-
-tracker-control-$(TRACKER_API_VERSION).pc: tracker-control.pc
- cp $< $@
-
-CLEANFILES = tracker-control-$(TRACKER_API_VERSION).pc
-
-# Vala bindings
-vapidir = $(datadir)/vala/vapi
-vapi_DATA = \
- tracker-control-$(TRACKER_API_VERSION).vapi \
- tracker-control-$(TRACKER_API_VERSION).deps
-
-tracker-control-$(TRACKER_API_VERSION).vapi: tracker-control.vapi
- cp $< $@
-
-tracker-control-$(TRACKER_API_VERSION).deps: tracker-control.deps
- cp $< $@
-
-BUILT_SOURCES = \
- $(vapi_DATA)
-
-CLEANFILES += $(BUILT_SOURCES)
-
-EXTRA_DIST = \
- tracker-control.vapi \
- tracker-control.deps \
- meson.build
-
-# Introspection foo
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = \
- -I $(top_srcdir)/src \
- -D TRACKER_COMPILATION \
- --c-include="libtracker-control/tracker-control.h" \
- --identifier-prefix=Tracker \
- --symbol-prefix=tracker \
- --warn-all
-
-if HAVE_INTROSPECTION
-INTROSPECTION_CFLAGS += $(AM_CPPFLAGS)
-introspection_sources = \
- $(libtracker_control_@TRACKER_API_VERSION@_la_SOURCES)
-
-TrackerControl-@TRACKER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libtracker-control-$(TRACKER_API_VERSION).la Makefile
-TrackerControl_@TRACKER_API_VERSION_UNDERSCORES@_gir_INCLUDES = Gio-2.0
-TrackerControl_@TRACKER_API_VERSION_UNDERSCORES@_gir_CFLAGS = $(INCLUDES)
-TrackerControl_@TRACKER_API_VERSION_UNDERSCORES@_gir_NAMESPACE = "TrackerControl"
-TrackerControl_@TRACKER_API_VERSION_UNDERSCORES@_gir_LIBS = libtracker-control-$(TRACKER_API_VERSION).la
-TrackerControl_@TRACKER_API_VERSION_UNDERSCORES@_gir_FILES = $(introspection_sources)
-
-INTROSPECTION_GIRS += TrackerControl-$(TRACKER_API_VERSION).gir
-
-girdir = $(datadir)/gir-1.0
-gir_DATA = $(INTROSPECTION_GIRS)
-
-typelibdir = $(libdir)/girepository-1.0
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-
-CLEANFILES += $(gir_DATA) $(typelib_DATA)
-
-build-vapi: TrackerControl-$(TRACKER_API_VERSION).gir
- @vapigen --library tracker-control --metadatadir $(top_srcdir) --pkg gio-2.0 TrackerControl-$(TRACKER_API_VERSION).gir
-
-endif
diff --git a/src/libtracker-data/Makefile.am b/src/libtracker-data/Makefile.am
deleted file mode 100644
index 2aecf5fc7..000000000
--- a/src/libtracker-data/Makefile.am
+++ /dev/null
@@ -1,117 +0,0 @@
-AM_VALAFLAGS = \
- --includedir=libtracker-data \
- --header tracker-sparql-query.h \
- --vapi tracker-sparql-query.vapi \
- --pkg gio-2.0 \
- --pkg posix \
- $(BUILD_VALAFLAGS) \
- $(top_srcdir)/src/libtracker-common/libtracker-common.vapi \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
- libtracker-data.vapi
-
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DSHAREDIR=\""$(datadir)"\" \
- $(LIBTRACKER_DATA_CFLAGS)
-
-libtracker_datadir = $(libdir)/tracker-$(TRACKER_API_VERSION)
-libtracker_data_LTLIBRARIES = libtracker-data.la
-
-tracker-data-enum-types.h: tracker-data-enum-types.h.template
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-data-enum-types.h.template tracker-db-interface-sqlite.h) > $@
-
-tracker-data-enum-types.c: tracker-data-enum-types.c.template
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-data-enum-types.c.template tracker-db-interface-sqlite.h) > $@
-
-libtracker_data_la_SOURCES = \
- $(top_builddir)/src/ontologies/tracker-gresources.c \
- $(top_builddir)/src/ontologies/tracker-gresources.h \
- tracker-data-enum-types.c \
- tracker-data-enum-types.h \
- tracker-vala-namespace.vala \
- tracker-sparql-expression.vala \
- tracker-sparql-pattern.vala \
- tracker-sparql-query.vala \
- tracker-sparql-scanner.vala \
- tracker-turtle-reader.vala \
- tracker-class.c \
- tracker-collation.c \
- tracker-crc32.c \
- tracker-data-backup.c \
- tracker-data-manager.c \
- tracker-data-query.c \
- tracker-data-update.c \
- tracker-db-config.c \
- tracker-db-interface.c \
- tracker-db-interface-sqlite.c \
- tracker-db-manager.c \
- tracker-db-journal.c \
- tracker-db-backup.c \
- tracker-namespace.c \
- tracker-ontology.c \
- tracker-ontologies.c \
- tracker-property.c
-
-libtracker_data_la_LIBADD = \
- $(top_builddir)/src/gvdb/libgvdb.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_DATA_LIBS) \
- -lm
-
-if HAVE_TRACKER_FTS
-libtracker_data_la_LIBADD += \
- $(top_builddir)/src/libtracker-fts/libtracker-fts.la
-endif
-
-noinst_HEADERS = \
- tracker-class.h \
- tracker-crc32.h \
- tracker-data.h \
- tracker-collation.h \
- tracker-data-backup.h \
- tracker-data-manager.h \
- tracker-data-query.h \
- tracker-data-update.h \
- tracker-db-config.h \
- tracker-db-interface.h \
- tracker-db-interface-sqlite.h \
- tracker-db-manager.h \
- tracker-db-journal.h \
- tracker-db-backup.h \
- tracker-namespace.h \
- tracker-ontology.h \
- tracker-ontologies.h \
- tracker-property.h \
- tracker-sparql-query.h
-
-# Configuration / GSettings
-gsettings_ENUM_NAMESPACE = org.freedesktop.Tracker
-gsettings_ENUM_FILES = $(top_srcdir)/src/libtracker-common/tracker-enums.h
-
-gsettings_SCHEMAS = org.freedesktop.Tracker.DB.gschema.xml
-
-@INTLTOOL_XML_NOMERGE_RULE@
-
-@GSETTINGS_RULES@
-
-# Dist / Clean rules for all data
-BUILT_SOURCES = \
- tracker-data-enum-types.c \
- tracker-data-enum-types.h \
- libtracker_data_la_vala.stamp
-
-CLEANFILES = \
- libtracker_data_la_vala.stamp \
- $(gsettings_SCHEMAS) \
- $(man_MANS)
-
-EXTRA_DIST = \
- tracker-data-enum-types.c.template \
- tracker-data-enum-types.h.template \
- libtracker-data.vapi \
- $(gsettings_SCHEMAS:.xml=.xml.in) \
- $(man_MANS) \
- meson.build
diff --git a/src/libtracker-direct/Makefile.am b/src/libtracker-direct/Makefile.am
deleted file mode 100644
index 80e7d9a9a..000000000
--- a/src/libtracker-direct/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-noinst_LTLIBRARIES = libtracker-direct.la
-
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DSHAREDIR=\""$(datadir)"\" \
- $(LIBTRACKER_DIRECT_CFLAGS)
-
-libtracker_direct_la_SOURCES = \
- tracker-direct.c
-
-libtracker_direct_la_LIBADD = \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_DIRECT_LIBS)
-
-noinst_HEADERS = \
- tracker-direct.h
-
-EXTRA_DIST = meson.build tracker-direct.vapi
diff --git a/src/libtracker-fts/Makefile.am b/src/libtracker-fts/Makefile.am
deleted file mode 100644
index c018c999b..000000000
--- a/src/libtracker-fts/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -DNDEBUG \
- $(LIBTRACKER_FTS_CFLAGS)
-
-noinst_LTLIBRARIES = libtracker-fts.la
-
-fts5_sources = \
- fts5.c \
- fts5.h
-
-libtracker_fts_la_SOURCES = \
- tracker-fts.c \
- tracker-fts.h \
- tracker-fts-config.c \
- tracker-fts-config.h \
- tracker-fts-tokenizer.c \
- tracker-fts-tokenizer.h
-
-if !HAVE_BUILTIN_FTS
- libtracker_fts_la_SOURCES += $(fts5_sources)
-endif
-
-libtracker_fts_la_LIBADD = \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_FTS_LIBS)
-
-EXTRA_DIST = $(fts5_sources)
-
-# Configuration / GSettings
-gsettings_ENUM_NAMESPACE = org.freedesktop.Tracker
-gsettings_ENUM_FILES = $(top_srcdir)/src/libtracker-common/tracker-enums.h
-
-gsettings_SCHEMAS = org.freedesktop.Tracker.FTS.gschema.xml
-
-@INTLTOOL_XML_NOMERGE_RULE@
-
-@GSETTINGS_RULES@
-
-# Dist / Clean rules for all data
-CLEANFILES = \
- $(gsettings_SCHEMAS) \
- $(man_MANS)
-
-EXTRA_DIST += \
- $(gsettings_SCHEMAS:.xml=.xml.in) \
- $(man_MANS) \
- meson.build
diff --git a/src/libtracker-miner/Makefile.am b/src/libtracker-miner/Makefile.am
deleted file mode 100644
index 9f6ddfdec..000000000
--- a/src/libtracker-miner/Makefile.am
+++ /dev/null
@@ -1,196 +0,0 @@
-# Include list of shared sources:
-# Defines:
-# $(libtracker_miner_monitor_sources)
-# $(libtracker_miner_monitor_headers)
-# $(libtracker_miner_file_system_sources)
-#
-# Headers and sources are split for the tests to build
-# with make distcheck.
-#
-include Makefile-shared-sources.decl
-
-tracker-miner-enum-types.h: tracker-miner-enum-types.h.template tracker-miner-enums.h
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-miner-enum-types.h.template tracker-miner-enums.h) > $@
-
-tracker-miner-enum-types.c: tracker-miner-enum-types.c.template
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-miner-enum-types.c.template tracker-miner-enums.h) > $@
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DSHAREDIR=\""$(datadir)"\" \
- -DTRACKER_MINERS_DIR=\""$(datadir)/tracker/miners"\" \
- $(LIBTRACKER_MINER_CFLAGS)
-
-lib_LTLIBRARIES = libtracker-miner-@TRACKER_API_VERSION@.la
-
-noinst_LTLIBRARIES = libtracker-miner-private.la
-
-libtracker_minerdir = $(libdir)/tracker-$(TRACKER_API_VERSION)
-libtracker_minerincludedir=$(includedir)/tracker-$(TRACKER_API_VERSION)/libtracker-miner/
-
-private_sources = \
- tracker-crawler.c \
- tracker-crawler.h \
- tracker-decorator-private.h \
- tracker-file-data-provider.c \
- tracker-file-data-provider.h \
- tracker-file-notifier.h \
- tracker-file-notifier.c \
- tracker-file-system.h \
- tracker-file-system.c \
- tracker-priority-queue.h \
- tracker-priority-queue.c \
- tracker-task-pool.h \
- tracker-task-pool.c \
- tracker-sparql-buffer.h \
- tracker-sparql-buffer.c \
- tracker-utils.c \
- tracker-utils.h
-
-miner_sources = \
- $(libtracker_miner_monitor_sources) \
- $(libtracker_miner_monitor_headers) \
- tracker-data-provider.c \
- tracker-data-provider.h \
- tracker-decorator.c \
- tracker-decorator.h \
- tracker-decorator-fs.c \
- tracker-decorator-fs.h \
- tracker-indexing-tree.c \
- tracker-indexing-tree.h \
- tracker-miner-enum-types.c \
- tracker-miner-enum-types.h \
- tracker-miner-object.c \
- tracker-miner-object.h \
- tracker-miner-online.c \
- tracker-miner-online.h \
- tracker-miner-proxy.c \
- tracker-miner-proxy.h \
- tracker-miner-fs.c \
- tracker-miner-fs.h
-
-libtracker_miner_private_la_SOURCES = \
- $(private_sources)
-
-libtracker_miner_@TRACKER_API_VERSION@_la_SOURCES = \
- $(miner_sources)
-
-libtracker_minerinclude_HEADERS = \
- tracker-data-provider.h \
- tracker-decorator.h \
- tracker-decorator-fs.h \
- tracker-indexing-tree.h \
- tracker-miner.h \
- tracker-miner-enums.h \
- tracker-miner-enum-types.h \
- tracker-miner-object.h \
- tracker-miner-online.h \
- tracker-miner-proxy.h \
- tracker-miner-fs.h
-
-libtracker_miner_@TRACKER_API_VERSION@_la_LDFLAGS = \
- $(DTAGS_LDFLAGS) \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-if !ENABLE_GCOV
-# Using enable_gcov instead of have_unit_test because when doing a release
-# we disable gcov but NOT the unit tests
-libtracker_miner_@TRACKER_API_VERSION@_la_LDFLAGS += \
- -export-symbols-regex '^tracker_(data_provider|miner|indexing_tree|directory_flags|filter_type|filter_policy|network_type|decorator)_.*'
-endif
-
-libtracker_miner_@TRACKER_API_VERSION@_la_LIBADD = \
- libtracker-miner-private.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- -lm \
- $(BUILD_LIBS) \
- $(LIBTRACKER_MINER_LIBS)
-
-# PkgConfig
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = tracker-miner-$(TRACKER_API_VERSION).pc
-
-tracker-miner-$(TRACKER_API_VERSION).pc: tracker-miner.pc
- cp $< $@
-
-CLEANFILES = tracker-miner-$(TRACKER_API_VERSION).pc
-
-# Vala bindings
-vapidir = $(datadir)/vala/vapi
-vapi_DATA = \
- tracker-miner-$(TRACKER_API_VERSION).vapi \
- tracker-miner-$(TRACKER_API_VERSION).deps
-
-tracker-miner-$(TRACKER_API_VERSION).vapi: tracker-miner.vapi
- cp $< $@
-
-tracker-miner-$(TRACKER_API_VERSION).deps: tracker-miner.deps
- cp $< $@
-
-BUILT_SOURCES = \
- tracker-miner-enum-types.c \
- tracker-miner-enum-types.h \
- $(vapi_DATA)
-
-CLEANFILES += $(BUILT_SOURCES)
-
-EXTRA_DIST = \
- tracker-miner-enum-types.c.template \
- tracker-miner-enum-types.h.template \
- tracker-miner.vapi \
- tracker-miner.deps
-
-# Introspection foo
--include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = \
- -I $(top_srcdir)/src \
- -D TRACKER_COMPILATION \
- --c-include="libtracker-miner/tracker-miner.h" \
- --identifier-prefix=Tracker \
- --symbol-prefix=tracker \
- --warn-all
-
-INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/src/libtracker-sparql-backend
-
-if HAVE_INTROSPECTION
-INTROSPECTION_CFLAGS += $(AM_CPPFLAGS)
-introspection_sources = \
- $(filter-out $(libtracker_miner_monitor_sources) \
- $(libtracker_miner_monitor_headers) \
- $(private_sources), \
- $(libtracker_miner_@TRACKER_API_VERSION@_la_SOURCES))
-
-TrackerMiner-@TRACKER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libtracker-miner-$(TRACKER_API_VERSION).la Makefile
-TrackerMiner_@TRACKER_API_VERSION_UNDERSCORES@_gir_INCLUDES = GObject-2.0 GModule-2.0 Gio-2.0
-TrackerMiner_@TRACKER_API_VERSION_UNDERSCORES@_gir_SCANNERFLAGS = \
- --include-uninstalled=$(top_builddir)/src/libtracker-sparql-backend/Tracker-$(TRACKER_API_VERSION).gir
-TrackerMiner_@TRACKER_API_VERSION_UNDERSCORES@_gir_CFLAGS = $(INCLUDES)
-TrackerMiner_@TRACKER_API_VERSION_UNDERSCORES@_gir_NAMESPACE = "TrackerMiner"
-TrackerMiner_@TRACKER_API_VERSION_UNDERSCORES@_gir_LIBS = libtracker-miner-$(TRACKER_API_VERSION).la
-TrackerMiner_@TRACKER_API_VERSION_UNDERSCORES@_gir_FILES = $(introspection_sources)
-
-INTROSPECTION_GIRS += TrackerMiner-$(TRACKER_API_VERSION).gir
-
-girdir = $(datadir)/gir-1.0
-gir_DATA = $(INTROSPECTION_GIRS)
-
-typelibdir = $(libdir)/girepository-1.0
-typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
-
-CLEANFILES += $(gir_DATA) $(typelib_DATA)
-
-build-vapi: TrackerMiner-$(TRACKER_API_VERSION).gir
- @vapigen --library tracker-miner --metadatadir $(top_srcdir) --pkg gio-2.0 --vapidir $(top_builddir)/src/libtracker-sparql --pkg tracker-sparql-$(TRACKER_API_VERSION) TrackerMiner-$(TRACKER_API_VERSION).gir
-
-endif
-
-# DBus interfaces (XML files)
-configdir = $(datadir)/tracker
-config_DATA = tracker-miner.xml
-
-EXTRA_DIST += \
- $(config_DATA) \
- meson.build
diff --git a/src/libtracker-remote/Makefile.am b/src/libtracker-remote/Makefile.am
deleted file mode 100644
index aff49d746..000000000
--- a/src/libtracker-remote/Makefile.am
+++ /dev/null
@@ -1,38 +0,0 @@
-noinst_LTLIBRARIES = libtracker-remote.la
-
-AM_VALAFLAGS = \
- --includedir=libtracker-remote \
- --header tracker-remote.h \
- --vapi tracker-remote.vapi \
- --pkg gio-2.0 \
- --pkg libsoup-2.4 \
- --pkg json-glib-1.0 \
- --pkg libxml-2.0 \
- $(BUILD_VALAFLAGS) \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi
-
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(LIBTRACKER_REMOTE_CFLAGS)
-
-libtracker_remote_la_SOURCES = \
- tracker-json-cursor.vala \
- tracker-xml-cursor.vala \
- tracker-remote.vala
-
-libtracker_remote_la_LIBADD = \
- $(BUILD_LIBS) \
- $(LIBTRACKER_REMOTE_LIBS)
-
-noinst_HEADERS = \
- tracker-remote.h
-
-BUILT_SOURCES = \
- libtracker_remote_la_vala.stamp
-
-DISTCLEANFILES = \
- libtracker_remote_la_vala.stamp
-
-EXTRA_DIST = meson.build
diff --git a/src/libtracker-sparql-backend/Makefile.am b/src/libtracker-sparql-backend/Makefile.am
deleted file mode 100644
index 6fe17dccb..000000000
--- a/src/libtracker-sparql-backend/Makefile.am
+++ /dev/null
@@ -1,88 +0,0 @@
-lib_LTLIBRARIES = libtracker-sparql-@TRACKER_API_VERSION@.la
-
-AM_VALAFLAGS = \
- --pkg gio-2.0 \
- $(BUILD_VALAFLAGS) \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
- $(top_srcdir)/src/libtracker-bus/tracker-bus.vapi \
- $(top_srcdir)/src/libtracker-data/libtracker-data.vapi \
- $(top_srcdir)/src/libtracker-direct/tracker-direct.vapi \
- $(top_srcdir)/src/libtracker-remote/tracker-remote.vapi \
- $(top_srcdir)/src/libtracker-common/libtracker-common.vapi
-
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(LIBTRACKER_REMOTE_CFLAGS) \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-libtracker_sparql_@TRACKER_API_VERSION@_la_SOURCES = \
- tracker-backend.vala
-
-libtracker_sparql_@TRACKER_API_VERSION@_la_LIBADD = \
- $(top_builddir)/src/libtracker-sparql/libtracker-sparql-intermediate-vala.la \
- $(top_builddir)/src/libtracker-sparql/libtracker-sparql-intermediate-c.la \
- $(top_builddir)/src/libtracker-bus/libtracker-bus.la \
- $(top_builddir)/src/libtracker-direct/libtracker-direct.la \
- $(top_builddir)/src/libtracker-remote/libtracker-remote.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_REMOTE_LIBS) \
- $(LIBTRACKER_SPARQL_LIBS)
-
-libtracker_sparql_@TRACKER_API_VERSION@_la_LDFLAGS = \
- $(DTAGS_LDFLAGS) \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -export-symbols-regex '^(tracker_sparql_(connection|cursor|builder|escape|error|value|get)_.*|tracker_namespace_manager_.*|tracker_resource_.*|tracker_notifier_.*)'
-
-EXTRA_DIST = meson.build
-
-# Introspection foo
--include $(INTROSPECTION_MAKEFILE)
-
-if HAVE_INTROSPECTION
-
-c_introspection_files = \
- $(top_builddir)/src/libtracker-sparql/tracker-sparql-enum-types.c \
- $(top_builddir)/src/libtracker-sparql/tracker-sparql-enum-types.h \
- $(top_srcdir)/src/libtracker-sparql/tracker-namespace-manager.c \
- $(top_srcdir)/src/libtracker-sparql/tracker-namespace-manager.h \
- $(top_srcdir)/src/libtracker-sparql/tracker-notifier.c \
- $(top_srcdir)/src/libtracker-sparql/tracker-notifier.h \
- $(top_srcdir)/src/libtracker-sparql/tracker-resource.c \
- $(top_srcdir)/src/libtracker-sparql/tracker-resource.h \
- $(top_srcdir)/src/libtracker-sparql/tracker-ontologies.h \
- $(top_srcdir)/src/libtracker-sparql/tracker-version.c \
- $(top_srcdir)/src/libtracker-sparql/tracker-version.h
-
-INTROSPECTION_SCANNER_ARGS = \
- -I $(top_srcdir)/src \
- -D TRACKER_COMPILATION \
- --identifier-prefix=Tracker \
- --symbol-prefix=tracker \
- --warn-all
-
-Tracker_C-@TRACKER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) Makefile libtracker-sparql-@TRACKER_API_VERSION@.la
-Tracker_C_@TRACKER_API_VERSION_UNDERSCORES@_gir_INCLUDES = GObject-2.0 GModule-2.0 Gio-2.0
-Tracker_C_@TRACKER_API_VERSION_UNDERSCORES@_gir_CFLAGS = $(INCLUDES)
-Tracker_C_@TRACKER_API_VERSION_UNDERSCORES@_gir_NAMESPACE = "Tracker"
-Tracker_C_@TRACKER_API_VERSION_UNDERSCORES@_gir_LIBS = libtracker-sparql-@TRACKER_API_VERSION@.la
-Tracker_C_@TRACKER_API_VERSION_UNDERSCORES@_gir_FILES = $(c_introspection_files)
-
-INTROSPECTION_GIRS = Tracker_C-$(TRACKER_API_VERSION).gir
-
-noinst_DATA = $(INTROSPECTION_GIRS)
-
-Tracker-@TRACKER_API_VERSION@.gir: $(INTROSPECTION_GIRS) $(top_srcdir)/src/libtracker-sparql/Tracker_Vala-$(TRACKER_API_VERSION).gir
- $(AM_V_GEN) ($(top_srcdir)/utils/g-ir-merge/g-ir-merge --namespace Tracker --nsversion $(TRACKER_API_VERSION) $(INTROSPECTION_GIRS) $(top_srcdir)/src/libtracker-sparql/Tracker_Vala-$(TRACKER_API_VERSION).gir) > $@
-
-GIRS = Tracker-$(TRACKER_API_VERSION).gir
-
-girdir = $(datadir)/gir-1.0
-gir_DATA = $(GIRS)
-
-typelibdir = $(libdir)/girepository-1.0
-typelib_DATA = $(GIRS:.gir=.typelib)
-
-CLEANFILES = $(gir_DATA) $(typelib_DATA) $(INTROSPECTION_GIRS)
-endif
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
deleted file mode 100644
index 9351d10cf..000000000
--- a/src/libtracker-sparql/Makefile.am
+++ /dev/null
@@ -1,123 +0,0 @@
-noinst_LTLIBRARIES = libtracker-sparql-intermediate-vala.la libtracker-sparql-intermediate-c.la
-
-libtracker_sparql_intermediate_vala_la_VALAFLAGS = \
- --gir Tracker_Vala-$(TRACKER_API_VERSION).gir \
- --library tracker-sparql-$(TRACKER_API_VERSION) \
- --includedir=libtracker-sparql \
- --header $(vala_header:.h=-no-checks.h) \
- --vapi tracker-sparql.vapi \
- --pkg gio-2.0 --pkg posix \
- $(BUILD_VALAFLAGS) \
- libtracker-sparql-intermediate-c.vapi
-
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-libtracker_sparqlincludedir = $(includedir)/tracker-$(TRACKER_API_VERSION)/libtracker-sparql
-
-tracker-sparql-enum-types.h: tracker-sparql-enum-types.h.template tracker-notifier.h
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-sparql-enum-types.h.template tracker-notifier.h) > $@
-
-tracker-sparql-enum-types.c: tracker-sparql-enum-types.c.template tracker-sparql-enum-types.h
- $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tracker-sparql-enum-types.c.template tracker-notifier.h) > $@
-
-ENUM_SOURCES = \
- tracker-sparql-enum-types.c \
- tracker-sparql-enum-types.h
-
-libtracker_sparql_intermediate_vala_la_SOURCES = \
- tracker-namespace.vala \
- tracker-builder.vala \
- tracker-connection.vala \
- tracker-cursor.vala \
- tracker-utils.vala
-
-libtracker_sparql_intermediate_vala_la_LIBADD = \
- $(BUILD_LIBS) \
- $(LIBTRACKER_SPARQL_LIBS)
-
-libtracker_sparql_intermediate_c_la_SOURCES = \
- $(ENUM_SOURCES) \
- tracker-namespace-manager.c \
- tracker-namespace-manager.h \
- tracker-notifier.c \
- tracker-notifier.h \
- tracker-resource.c \
- tracker-resource.h \
- tracker-uri.c \
- tracker-uri.h \
- tracker-ontologies.h \
- tracker-version.c \
- tracker-version.h
-
-
-# Should only be one file
-vala_header = tracker-generated.h
-
-# We wrap the generated .h file with a check to make sure it's
-# not included directly. All other .[ch] headers have this.
-%-generated.h: %-generated-no-checks.h
- $(AM_V_GEN)(echo "#if !defined (__LIBTRACKER_SPARQL_INSIDE__) && !defined (TRACKER_COMPILATION)" ; \
- echo "#error \"only <libtracker-sparql/tracker-sparql.h> must be included directly.\"" ; \
- echo "#endif") > $@
- $(AM_V_GEN)(cat $< >> $@)
-
-VAPIFILES = \
- $(srcdir)/libtracker-sparql-intermediate-c.vapi \
- $(srcdir)/tracker-sparql.vapi
-
-tracker-sparql-$(TRACKER_API_VERSION).vapi: $(VAPIFILES)
- $(AM_V_GEN)(sed -e 's#libtracker-sparql/.*\.h#libtracker-sparql/tracker-sparql.h#' $(VAPIFILES) > $@)
-
-libtracker_sparqlinclude_HEADERS = \
- $(vala_header) \
- tracker-namespace-manager.h \
- tracker-notifier.h \
- tracker-ontologies.h \
- tracker-resource.h \
- tracker-sparql.h \
- tracker-version.h
-
-tracker-sparql-$(TRACKER_API_VERSION).deps: tracker-sparql.deps
- $(AM_V_GEN)cp $^ $@
-
-# PkgConfig
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = tracker-sparql-$(TRACKER_API_VERSION).pc
-
-tracker-sparql-$(TRACKER_API_VERSION).pc: tracker-sparql.pc
- cp $< $@
-
-CLEANFILES = \
- $(ENUM_SOURCES) \
- tracker-sparql-$(TRACKER_API_VERSION).pc
-
-# Vala bindings
-vapidir = $(datadir)/vala/vapi
-vapi_DATA = \
- tracker-sparql-$(TRACKER_API_VERSION).vapi \
- tracker-sparql-$(TRACKER_API_VERSION).deps
-
-BUILT_SOURCES = \
- libtracker_sparql_intermediate_vala_la_vala.stamp \
- $(ENUM_SOURCES)
-
-MAINTAINERCLEANFILES = \
- tracker-sparql-$(TRACKER_API_VERSION).vapi \
- tracker-sparql-$(TRACKER_API_VERSION).deps \
- $(vala_header:.h=-no-checks.h)
-
-CLEANFILES += tracker-sparql-$(TRACKER_API_VERSION).vapi
-
-EXTRA_DIST = \
- tracker-sparql-enum-types.c.template \
- tracker-sparql-enum-types.h.template \
- tracker-sparql-$(TRACKER_API_VERSION).deps \
- tracker-sparql.deps \
- $(vala_header:.h=-no-checks.h) \
- tracker-sparql-add-include-guards.sh \
- libtracker-sparql-intermediate-c.vapi \
- meson.build
diff --git a/src/ontologies/Makefile.am b/src/ontologies/Makefile.am
deleted file mode 100644
index 4416669f4..000000000
--- a/src/ontologies/Makefile.am
+++ /dev/null
@@ -1,41 +0,0 @@
-nepomukdir = $(datadir)/tracker/ontologies/nepomuk
-
-internal_config = \
- 10-xsd.ontology 10-xsd.description \
- 11-rdf.ontology 11-rdf.description \
- 12-nrl.ontology 12-nrl.description \
- 20-dc.ontology 20-dc.description \
- 31-nao.ontology 31-nao.description
-
-nepomuk_DATA = \
- nepomuk/30-nie.ontology nepomuk/30-nie.description \
- nepomuk/32-nco.ontology nepomuk/32-nco.description \
- nepomuk/33-nfo.ontology nepomuk/33-nfo.description \
- nepomuk/34-nmo.ontology nepomuk/34-nmo.description \
- nepomuk/35-ncal.ontology nepomuk/35-ncal.description \
- nepomuk/36-scal.ontology nepomuk/36-scal.description \
- nepomuk/37-nid3.ontology nepomuk/37-nid3.description \
- nepomuk/38-nmm.ontology nepomuk/38-nmm.description \
- nepomuk/39-mto.ontology nepomuk/39-mto.description \
- nepomuk/40-mlo.ontology nepomuk/40-mlo.description \
- nepomuk/41-mfo.ontology nepomuk/41-mfo.description \
- nepomuk/89-mtp.ontology nepomuk/89-mtp.description \
- nepomuk/92-slo.ontology nepomuk/92-slo.description \
- nepomuk/90-tracker.ontology nepomuk/90-tracker.description \
- nepomuk/91-maemo.ontology nepomuk/91-maemo.description \
- nepomuk/93-libosinfo.ontology nepomuk/93-libosinfo.description
-
-# GResource
-tracker_gresource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/builtin-ontology.gresource.xml)
-tracker-gresources.h: builtin-ontology.gresource.xml $(tracker_gresource_files) $(internal_config)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --sourcedir=$(builddir) --generate --c-name tracker_gresources $<
-tracker-gresources.c: builtin-ontology.gresource.xml $(tracker_gresource_files) $(internal_config)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --sourcedir=$(builddir) --generate --c-name tracker_gresources $<
-
-BUILT_SOURCES = tracker-gresources.c tracker-gresources.h
-
-EXTRA_DIST = \
- $(internal_config) \
- builtin-ontology.gresource.xml \
- meson.build \
- $(nepomuk_DATA)
diff --git a/src/tracker-store/Makefile.am b/src/tracker-store/Makefile.am
deleted file mode 100644
index 2463cb4ab..000000000
--- a/src/tracker-store/Makefile.am
+++ /dev/null
@@ -1,125 +0,0 @@
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -DSHAREDIR=\""$(datadir)"\" \
- -DLOCALEDIR=\""$(localedir)"\" \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(TRACKER_STORE_CFLAGS) \
- -include config.h
-
-libexec_PROGRAMS = tracker-store
-
-tracker_store_SOURCES = \
- tracker-backup.vala \
- tracker-config.c \
- tracker-dbus.vala \
- tracker-events.c \
- tracker-main.vala \
- tracker-resources.vala \
- tracker-statistics.vala \
- tracker-status.vala \
- tracker-steroids.vala \
- tracker-store.vala \
- tracker-writeback.c
-
-noinst_HEADERS = \
- tracker-config.h \
- tracker-events.h \
- tracker-store.h \
- tracker-writeback.h
-
-BUILT_SOURCES = tracker-store.h
-
-tracker_store_VALAFLAGS = \
- --pkg gio-2.0 \
- --pkg gio-unix-2.0 \
- --pkg posix \
- $(BUILD_VALAFLAGS) \
- $(top_srcdir)/src/libtracker-common/libtracker-common.vapi \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
- $(top_srcdir)/src/libtracker-data/tracker-sparql-query.vapi \
- $(top_srcdir)/src/libtracker-data/libtracker-data.vapi \
- $(top_srcdir)/src/libtracker-direct/tracker-direct.vapi \
- $(top_srcdir)/src/tracker-store/tracker-config.vapi \
- $(top_srcdir)/src/tracker-store/tracker-events.vapi \
- $(top_srcdir)/src/tracker-store/tracker-locale-change.vapi \
- $(top_srcdir)/src/tracker-store/tracker-writeback.vapi \
- -H tracker-store.h
-
-tracker_store_LDADD = \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-direct/libtracker-direct.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(BUILD_LIBS) \
- $(TRACKER_STORE_LIBS)
-
-EXTRA_DIST = \
- tracker-config.vapi \
- tracker-events.vapi \
- tracker-locale-change.vapi \
- tracker-writeback.vapi
-
-
-# DBus interfaces (XML files) and services
-configdir = $(datadir)/tracker
-config_DATA = \
- tracker-backup.xml \
- tracker-resources.xml \
- tracker-statistics.xml \
- tracker-status.xml
-
-%.service: %.service.in
- @sed -e "s|@libexecdir[@]|${libexecdir}|" $< > $@
-
-servicedir = $(DBUS_SERVICES_DIR)
-service_DATA = org.freedesktop.Tracker1.service
-
-systemd_userdir = $(prefix)/lib/systemd/user
-systemd_user_DATA = tracker-store.service
-
-domain_ontologiesdir = $(datadir)/tracker/domain-ontologies
-domain_ontologies_DATA = default.rule
-
-# Desktop files: First we fix the VERSION and libexecdir
-%.desktop.in: %.desktop.in.in
- @sed -e "s|@libexecdir[@]|${libexecdir}|" \
- -e "s|@VERSION[@]|${VERSION}|" $< > $@
-
-autostartdir = $(sysconfdir)/xdg/autostart
-autostart_DATA = tracker-store.desktop
-
-@INTLTOOL_DESKTOP_RULE@
-
-# Configuration / GSettings
-gsettings_ENUM_NAMESPACE = org.freedesktop.Tracker
-gsettings_ENUM_FILES = $(top_srcdir)/src/libtracker-common/tracker-enums.h
-
-gsettings_SCHEMAS = $(schemalist) $(config)
-
-config = org.freedesktop.Tracker.Store.gschema.xml
-schemalist = org.freedesktop.Tracker.gschema.xml
-
-@INTLTOOL_XML_NOMERGE_RULE@
-
-@GSETTINGS_RULES@
-
-# Dist / Clean rules for all data
-CLEANFILES = \
- $(autostart_DATA) \
- $(autostart_DATA:.desktop=.desktop.in) \
- $(service_DATA) \
- $(systemd_user_DATA) \
- $(gsettings_SCHEMAS) \
- $(man_MANS)
-
-EXTRA_DIST += \
- $(autostart_DATA:.desktop=.desktop.in.in) \
- $(service_DATA:.service=.service.in) \
- $(systemd_user_DATA:.service=.service.in) \
- $(config_DATA) \
- $(gsettings_SCHEMAS:.xml=.xml.in) \
- $(man_MANS) \
- $(domain_ontologies_DATA) \
- meson.build
-
diff --git a/src/tracker/Makefile.am b/src/tracker/Makefile.am
deleted file mode 100644
index 03dce88a2..000000000
--- a/src/tracker/Makefile.am
+++ /dev/null
@@ -1,69 +0,0 @@
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -DLIBEXECDIR=\""$(libexecdir)"\" \
- -DLOCALEDIR=\""$(localedir)"\" \
- -DMANDIR=\""$(mandir)"\" \
- -DSHAREDIR=\""$(datadir)"\" \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(TRACKER_CFLAGS)
-
-libs = \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(TRACKER_LIBS)
-
-bin_PROGRAMS = tracker
-
-tracker_SOURCES = \
- tracker-main.c \
- tracker-config.c \
- tracker-config.h \
- tracker-color.h \
- tracker-daemon.c \
- tracker-daemon.h \
- tracker-dbus.c \
- tracker-dbus.h \
- tracker-extract.c \
- tracker-extract.h \
- tracker-help.c \
- tracker-help.h \
- tracker-index.c \
- tracker-index.h \
- tracker-info.c \
- tracker-info.h \
- tracker-process.c \
- tracker-process.h \
- tracker-reset.c \
- tracker-reset.h \
- tracker-search.c \
- tracker-search.h \
- tracker-sparql.c \
- tracker-sparql.h \
- tracker-sql.c \
- tracker-sql.h \
- tracker-status.c \
- tracker-status.h \
- tracker-tag.c \
- tracker-tag.h
-
-tracker_LDADD = \
- $(top_builddir)/src/libtracker-control/libtracker-control-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(TRACKER_LIBS)
-
-# Bash completion
-if WITH_BASH_COMPLETION
-bashcompletiondir = $(BASH_COMPLETION_DIR)
-bashcompletion_DATA = bash-completion/tracker
-endif
-
-EXTRA_DIST = \
- $(bashcompletion_DATA) \
- meson.build
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index db6cf3002..000000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-SUBDIRS = \
- common \
- gvdb \
- libtracker-common \
- libtracker-miner \
- libtracker-data \
- libtracker-sparql \
- tracker-steroids
-
-if HAVE_TRACKER_FTS
-SUBDIRS += libtracker-fts
-endif
-
-if DIST_FUNCTIONAL_TESTS
-SUBDIRS += functional-tests
-endif
-
-EXTRA_DIST += meson.build
diff --git a/tests/common/Makefile.am b/tests/common/Makefile.am
deleted file mode 100644
index c689281e6..000000000
--- a/tests/common/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-noinst_LTLIBRARIES += libtracker-testcommon.la
-
-AM_CPPFLAGS = \
- $(BUILD) \
- -DTEST_TEXT=\""$(top_srcdir)"/tests/libtracker-common/non-utf8.txt\" \
- $(LIBTRACKER_COMMON_CFLAGS)
-
-LDADD = \
- $(BUILD_LIBS) \
- $(LIBTRACKER_COMMON_LIBS)
-
-libtracker_testcommon_la_SOURCES = \
- tracker-test-helpers.c \
- tracker-test-helpers.h
-
-EXTRA_DIST += meson.build
diff --git a/tests/functional-tests/Makefile.am b/tests/functional-tests/Makefile.am
deleted file mode 100644
index 08082702d..000000000
--- a/tests/functional-tests/Makefile.am
+++ /dev/null
@@ -1,77 +0,0 @@
-SUBDIRS = \
- ipc \
- common \
- ttl \
- unittest2 \
- test-ontologies
-
-configdir = $(datadir)/tracker-tests
-
-config_DATA = \
- configuration.json \
- trackertest
-
-config_SCRIPTS = \
- __init__.py \
- $(slow_tests) \
- $(standard_tests)
-
-standard_tests = \
- 01-insertion.py \
- 02-sparql-bugs.py
-if HAVE_TRACKER_FTS
-standard_tests += 03-fts-functions.py
-endif
-standard_tests += \
- 04-group-concat.py \
- 05-coalesce.py \
- 06-distance.py \
- 07-graph.py \
- 08-unique-insertions.py \
- 09-concurrent-query.py \
- 14-signals.py \
- 15-statistics.py \
- 16-collation.py \
- 17-ontology-changes.py
-
-slow_tests = \
- 10-sqlite-misused.py \
- 11-sqlite-batch-misused.py \
- 12-transactions.py \
- 13-threaded-store.py
-
-10-sqlite-misused.py: ttl/gen-test-data.stamp
-11-sqlite-misused-batch.py: ttl/gen-test-data.stamp
-13-busy-store.py: ttl/gen-test-data.stamp
-
-ttl/gen-test-data.stamp:
- cd ttl && $(MAKE) $(AM_MAKEFLAGS)
-
-TEST_RUNNER = $(top_srcdir)/tests/functional-tests/test-runner.sh
-
-functional-test: ${standard_tests}
- for test in ${standard_tests} ; do \
- export TRACKER_DB_ONTOLOGIES_DIR=$(top_srcdir)/src/ontologies/nepomuk; \
- export TRACKER_FUNCTIONAL_TEST_BUILD_DIR=$(top_builddir) ; \
- export TRACKER_FUNCTIONAL_TEST_CONFIG=$(top_builddir)/tests/functional-tests/configuration.json ; \
- export TRACKER_LANGUAGE_STOP_WORDS_DIR=$(top_srcdir)/src/libtracker-common/stop-words ; \
- export TRACKER_TEST_DOMAIN_ONTOLOGY_RULE=$(top_srcdir)/src/tracker-store/default.rule ; \
- $(TEST_RUNNER) python $(top_srcdir)/tests/functional-tests/$$test; \
- done
-
-functional-test-slow: ${slow_tests}
- @for test in ${slow_tests} ; do \
- export TRACKER_DB_ONTOLOGIES_DIR=$(top_srcdir)/src/ontologies/nepomuk; \
- export TRACKER_FUNCTIONAL_TEST_BUILD_DIR=$(top_builddir) ; \
- export TRACKER_FUNCTIONAL_TEST_CONFIG=$(top_builddir)/tests/functional-tests/configuration.json ; \
- export TRACKER_LANGUAGE_STOP_WORDS_DIR=$(top_srcdir)/src/libtracker-common/stop-words ; \
- export TRACKER_TEST_DOMAIN_ONTOLOGY_RULE=$(top_srcdir)/src/tracker-store/default.rule ; \
- $(TEST_RUNNER) python $(top_srcdir)/tests/functional-tests/$$test; \
- done
-
-EXTRA_DIST = \
- $(config_SCRIPTS) \
- $(config_DATA) \
- configuration.json.in \
- test-runner.sh \
- meson.build
diff --git a/tests/functional-tests/common/Makefile.am b/tests/functional-tests/common/Makefile.am
deleted file mode 100644
index 0629512c1..000000000
--- a/tests/functional-tests/common/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-SUBDIRS = utils
-
-commondir = $(datadir)/tracker-tests/common
-
-common_SCRIPTS = __init__.py
-
-EXTRA_DIST = $(common_SCRIPTS)
diff --git a/tests/functional-tests/common/data/Images/Makefile.am b/tests/functional-tests/common/data/Images/Makefile.am
deleted file mode 100644
index 1e348be67..000000000
--- a/tests/functional-tests/common/data/Images/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-configdir = $(datadir)/tracker-tests/data/Images
-
-config_DATA = \
- test-image-1.jpg \
- test-image-2.png \
- test-image-3.tif
-
-EXTRA_DIST = $(config_DATA)
diff --git a/tests/functional-tests/common/data/Makefile.am b/tests/functional-tests/common/data/Makefile.am
deleted file mode 100644
index 376e4bad3..000000000
--- a/tests/functional-tests/common/data/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-SUBDIRS = \
- Music \
- Video \
- Images \
- Text
-
-configdir = $(datadir)/tracker-tests/data
-
-config_DATA = \
- pickled_Music \
- pickled_Images
-
-EXTRA_DIST = $(config_DATA)
diff --git a/tests/functional-tests/common/data/Music/Makefile.am b/tests/functional-tests/common/data/Music/Makefile.am
deleted file mode 100644
index 8cc8925b5..000000000
--- a/tests/functional-tests/common/data/Music/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-configdir = $(datadir)/tracker-tests/data/Music
-
-config_DATA = \
- tracker-mp3-test.mp3
-
-EXTRA_DIST = $(config_DATA)
diff --git a/tests/functional-tests/common/data/Video/Makefile.am b/tests/functional-tests/common/data/Video/Makefile.am
deleted file mode 100644
index e3bbf0f99..000000000
--- a/tests/functional-tests/common/data/Video/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-if DIST_FUNCTIONAL_TESTS
-configdir = $(datadir)/tracker-tests/data/Video
-
-config_DATA = \
- test-video.mp4
-
-EXTRA_DIST = $(config_DATA)
-endif
diff --git a/tests/functional-tests/common/utils/Makefile.am b/tests/functional-tests/common/utils/Makefile.am
deleted file mode 100644
index 2f989d5c9..000000000
--- a/tests/functional-tests/common/utils/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-utilsdir = $(datadir)/tracker-tests/common/utils
-
-utils_SCRIPTS = \
- __init__.py \
- configuration.py \
- dconf.py \
- expectedFailure.py \
- helpers.py \
- storetest.py \
- options.py \
- system.py
-
-EXTRA_DIST = $(utils_SCRIPTS)
diff --git a/tests/functional-tests/ipc/Makefile.am b/tests/functional-tests/ipc/Makefile.am
deleted file mode 100644
index 6d39da2d5..000000000
--- a/tests/functional-tests/ipc/Makefile.am
+++ /dev/null
@@ -1,74 +0,0 @@
-noinst_PROGRAMS = \
- test-insert-or-replace \
- test-busy-handling \
- test-direct-query \
- test-bus-query \
- test-bus-query-cancellation \
- test-default-update \
- test-bus-update \
- test-class-signal \
- test-class-signal-performance \
- test-class-signal-performance-batch \
- test-update-array-performance
-
-AM_VALAFLAGS = \
- --pkg gio-2.0 \
- $(BUILD_VALAFLAGS) \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
- $(top_srcdir)/src/libtracker-bus/tracker-bus.vapi
-
-AM_CPPFLAGS =\
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DTEST_DOMAIN_ONTOLOGY_RULE=\""$(abs_top_srcdir)/src/tracker-store/default.rule"\" \
- -DTEST_ONTOLOGIES_DIR=\""$(abs_top_srcdir)/src/ontologies/nepomuk"\" \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-LDADD =\
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-direct/libtracker-direct.la \
- $(top_builddir)/src/libtracker-bus/libtracker-bus.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-$(TRACKER_API_VERSION).la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS)\
- $(LIBTRACKER_SPARQL_LIBS)
-
-test_insert_or_replace_SOURCES = \
- test-insert-or-replace.vala
-
-test_busy_handling_SOURCES = \
- test-busy-handling.vala
-
-test_direct_query_SOURCES = \
- test-shared-query.vala \
- test-direct-query.vala
-
-test_default_update_SOURCES = \
- test-shared-update.vala \
- test-default-update.vala
-
-test_bus_query_SOURCES = \
- test-shared-query.vala \
- test-bus-query.vala
-
-test_bus_query_cancellation_SOURCES = \
- test-bus-query-cancellation.c
-
-test_update_array_performance_SOURCES = \
- test-update-array-performance.c
-
-test_bus_update_SOURCES = \
- test-shared-update.vala \
- test-bus-update.vala
-
-test_class_signal_SOURCES = \
- test-class-signal.vala
-
-test_class_signal_performance_SOURCES = \
- test-class-signal-performance.vala
-
-test_class_signal_performance_batch_SOURCES = \
- test-class-signal-performance-batch.vala
-
-EXTRA_DIST = meson.build
diff --git a/tests/functional-tests/test-ontologies/Makefile.am b/tests/functional-tests/test-ontologies/Makefile.am
deleted file mode 100644
index 37082138d..000000000
--- a/tests/functional-tests/test-ontologies/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-SUBDIRS = basic \
- property-range-int-to-string \
- property-range-string-to-date \
- cardinality \
- notify \
- indexed \
- add-class \
- add-prop \
- add-domainIndex \
- superclass-remove \
- property-promotion \
- basic-future
diff --git a/tests/functional-tests/test-ontologies/add-class/Makefile.am b/tests/functional-tests/test-ontologies/add-class/Makefile.am
deleted file mode 100644
index 9a9024043..000000000
--- a/tests/functional-tests/test-ontologies/add-class/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-addclassdir = $(datadir)/tracker-tests/test-ontologies/add-class
-
-addclass_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(addclass_DATA)
diff --git a/tests/functional-tests/test-ontologies/add-domainIndex/Makefile.am b/tests/functional-tests/test-ontologies/add-domainIndex/Makefile.am
deleted file mode 100644
index 52203b4a3..000000000
--- a/tests/functional-tests/test-ontologies/add-domainIndex/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-domainindexdir = $(datadir)/tracker-tests/test-ontologies/add-domainIndex
-
-domainindex_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(domainindex_DATA)
diff --git a/tests/functional-tests/test-ontologies/add-prop/Makefile.am b/tests/functional-tests/test-ontologies/add-prop/Makefile.am
deleted file mode 100644
index 98aa3cd1b..000000000
--- a/tests/functional-tests/test-ontologies/add-prop/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-addpropdir = $(datadir)/tracker-tests/test-ontologies/add-prop
-
-addprop_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(addprop_DATA)
diff --git a/tests/functional-tests/test-ontologies/basic-future/Makefile.am b/tests/functional-tests/test-ontologies/basic-future/Makefile.am
deleted file mode 100644
index 181449de5..000000000
--- a/tests/functional-tests/test-ontologies/basic-future/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-basicfutdir = $(datadir)/tracker-tests/test-ontologies/basic-future
-
-basicfut_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(basicfut_DATA)
diff --git a/tests/functional-tests/test-ontologies/basic/Makefile.am b/tests/functional-tests/test-ontologies/basic/Makefile.am
deleted file mode 100644
index be05359b2..000000000
--- a/tests/functional-tests/test-ontologies/basic/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-basicontodir = $(datadir)/tracker-tests/test-ontologies/basic
-
-basiconto_DATA = \
- 91-test.ontology
-
-
-EXTRA_DIST = $(basiconto_DATA)
diff --git a/tests/functional-tests/test-ontologies/cardinality/Makefile.am b/tests/functional-tests/test-ontologies/cardinality/Makefile.am
deleted file mode 100644
index 320d54858..000000000
--- a/tests/functional-tests/test-ontologies/cardinality/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-cardinalitydir = $(datadir)/tracker-tests/test-ontologies/cardinality
-
-cardinality_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(cardinality_DATA)
diff --git a/tests/functional-tests/test-ontologies/indexed/Makefile.am b/tests/functional-tests/test-ontologies/indexed/Makefile.am
deleted file mode 100644
index c454a7f12..000000000
--- a/tests/functional-tests/test-ontologies/indexed/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-indexeddir = $(datadir)/tracker-tests/test-ontologies/indexed
-
-indexed_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(indexed_DATA)
diff --git a/tests/functional-tests/test-ontologies/notify/Makefile.am b/tests/functional-tests/test-ontologies/notify/Makefile.am
deleted file mode 100644
index dd305d47c..000000000
--- a/tests/functional-tests/test-ontologies/notify/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-notifydir = $(datadir)/tracker-tests/test-ontologies/notify
-
-notify_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(notify_DATA)
diff --git a/tests/functional-tests/test-ontologies/property-promotion/Makefile.am b/tests/functional-tests/test-ontologies/property-promotion/Makefile.am
deleted file mode 100644
index 06f0df058..000000000
--- a/tests/functional-tests/test-ontologies/property-promotion/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-proppromotiondir = $(datadir)/tracker-tests/test-ontologies/property-promotion
-
-proppromotion_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(proppromotion_DATA)
diff --git a/tests/functional-tests/test-ontologies/property-range-int-to-string/Makefile.am b/tests/functional-tests/test-ontologies/property-range-int-to-string/Makefile.am
deleted file mode 100644
index c3097b558..000000000
--- a/tests/functional-tests/test-ontologies/property-range-int-to-string/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-intontodir = $(datadir)/tracker-tests/test-ontologies/property-range-int-to-string
-
-intonto_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(intonto_DATA)
diff --git a/tests/functional-tests/test-ontologies/property-range-string-to-date/Makefile.am b/tests/functional-tests/test-ontologies/property-range-string-to-date/Makefile.am
deleted file mode 100644
index 5fd586411..000000000
--- a/tests/functional-tests/test-ontologies/property-range-string-to-date/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-dateontodir = $(datadir)/tracker-tests/test-ontologies/property-range-string-to-date
-
-dateonto_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(dateonto_DATA)
diff --git a/tests/functional-tests/test-ontologies/superclass-remove/Makefile.am b/tests/functional-tests/test-ontologies/superclass-remove/Makefile.am
deleted file mode 100644
index e247980d0..000000000
--- a/tests/functional-tests/test-ontologies/superclass-remove/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-superclassrmdir = $(datadir)/tracker-tests/test-ontologies/superclass-remove
-
-superclassrm_DATA = \
- 91-test.ontology
-
-EXTRA_DIST = $(superclassrm_DATA)
diff --git a/tests/functional-tests/ttl/Makefile.am b/tests/functional-tests/ttl/Makefile.am
deleted file mode 100644
index 1105e0b80..000000000
--- a/tests/functional-tests/ttl/Makefile.am
+++ /dev/null
@@ -1,60 +0,0 @@
-BUILT_SOURCES = gen-test-data.stamp
-
-gen-test-data.stamp:
- @echo "Generate data"
- rm -rf ttl && mkdir ttl
- ${top_srcdir}/utils/data-generators/cc/generate ${top_srcdir}/utils/data-generators/cc/max.cfg
- mv ttl/* . && rmdir ttl
- touch gen-test-data.stamp
-
-ttldir = $(datadir)/tracker-tests/ttl
-
-ttl_DATA = \
- 010-nco_EmailAddress.ttl \
- 011-nco_PostalAddress.ttl \
- 012-nco_PhoneNumber.ttl \
- 013-nco_IMAddress.ttl \
- 014-nco_ContactEmail.ttl \
- 015-nco_ContactCall.ttl \
- 016-nco_ContactIM.ttl \
- 018-nco_PersonContact.ttl \
- 020-slo_GeoLocation.ttl \
- 021-slo_Landmark.ttl \
- 026-mlo_GeoPoint.ttl \
- 027-mlo_LocationBoundingBox.ttl \
- 028-mlo_GeoLocation.ttl \
- 029-mlo_Landmark.ttl \
- 030-nmo_MailAccount.ttl \
- 031-nmo_MailFolder.ttl \
- 032-nmo_Email.ttl \
- 035-nmo_CommunicationChannel.ttl \
- 036-nmo_IMMessage.ttl \
- 037-nmo_SMSMessage.ttl \
- 038-nmo_Call.ttl \
- 040-nmm_Artist.ttl \
- 040-nmm_MusicAlbumDisc.ttl \
- 041-nmm_MusicAlbum.ttl \
- 042-nmm_MusicPiece.ttl \
- 045-nmm_Photo.ttl \
- 044-nfo_Equipment.ttl \
- 046-nmm_Video.ttl \
- 050-tracker_Volume.ttl \
- 051-nfo_PlainTextDocument.ttl \
- 060-nfo_SoftwareCategory.ttl \
- 061-nfo_SoftwareApplication.ttl \
- 065-nfo_WebHistory.ttl \
- 070-ncal_Alarm.ttl \
- 071-ncal_Calendar.ttl \
- 072-ncal_Event.ttl \
- 073-ncal_Todo.ttl \
- 080-mfo_FeedChannel.ttl \
- 081-mfo_FeedMessage.ttl \
- 090-mto_TransferElement.ttl \
- 091-mto_UploadTransfer.ttl
-
-DISTCLEANFILES = \
- $(BUILT_SOURCES) \
- $(ttl_DATA) \
- source-data.pkl
-
-EXTRA_DIST = meson.build
diff --git a/tests/functional-tests/unittest2/Makefile.am b/tests/functional-tests/unittest2/Makefile.am
deleted file mode 100644
index 8e05fdf12..000000000
--- a/tests/functional-tests/unittest2/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-ut2dir = $(datadir)/tracker-tests/unittest2
-
-ut2_SCRIPTS = \
- __init__.py \
- case.py \
- compatibility.py \
- loader.py \
- __main__.py \
- main.py \
- result.py \
- runner.py \
- signals.py \
- suite.py \
- unit2.py \
- unit2 \
- util.py
-
-EXTRA_DIST = \
- $(ut2_SCRIPTS)
diff --git a/tests/gvdb/Makefile.am b/tests/gvdb/Makefile.am
deleted file mode 100644
index f89aea7cb..000000000
--- a/tests/gvdb/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-noinst_PROGRAMS += $(test_programs)
-
-test_programs = gvdb-test
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(GVDB_CFLAGS)
-
-gvdb_test_SOURCES = gvdb-test.c
-gvdb_test_LDADD = \
- $(top_builddir)/src/gvdb/libgvdb.la \
- $(BUILD_LIBS) \
- $(GVDB_LIBS)
-
-EXTRA_DIST += meson.build
diff --git a/tests/libtracker-common/Makefile.am b/tests/libtracker-common/Makefile.am
deleted file mode 100644
index a4d8d9e4b..000000000
--- a/tests/libtracker-common/Makefile.am
+++ /dev/null
@@ -1,49 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-noinst_PROGRAMS += $(test_programs)
-
-check_PROGRAMS += tracker-parser
-
-test_programs = \
- tracker-type-utils \
- tracker-dbus \
- tracker-file-utils \
- tracker-utils \
- tracker-sched-test \
- tracker-date-time-test \
- tracker-parser-test
-
-AM_CPPFLAGS = \
- -DTOP_SRCDIR=\"$(abs_top_srcdir)\" \
- -DTOP_BUILDDIR=\"$(abs_top_builddir)\" \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_srcdir)/tests/common \
- $(LIBTRACKER_COMMON_CFLAGS)
-
-LDADD = \
- $(top_builddir)/tests/common/libtracker-testcommon.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_COMMON_LIBS)
-
-tracker_dbus_SOURCES = \
- tracker-dbus-test.c
-
-tracker_type_utils_SOURCES = tracker-type-utils-test.c
-
-tracker_file_utils_SOURCES = tracker-file-utils-test.c
-
-tracker_utils_SOURCES = tracker-utils-test.c
-
-tracker_sched_test_SOURCES = tracker-sched-test.c
-
-tracker_date_time_test_SOURCES = tracker-date-time-test.c
-
-tracker_parser_test_SOURCES = tracker-parser-test.c
-
-tracker_parser_SOURCES = tracker-parser.c
-
-EXTRA_DIST += \
- non-utf8.txt \
- meson.build
diff --git a/tests/libtracker-data/Makefile.am b/tests/libtracker-data/Makefile.am
deleted file mode 100644
index 3beb17997..000000000
--- a/tests/libtracker-data/Makefile.am
+++ /dev/null
@@ -1,98 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-SUBDIRS = \
- aggregates \
- algebra \
- anon \
- ask \
- basic \
- bind \
- bnode-coreference \
- bound \
- datetime \
- expr-ops \
- functions \
- graph \
- nie \
- nmo \
- mixed-cardinality \
- optional \
- regex \
- sort \
- subqueries \
- error \
- backup \
- update \
- turtle
-
-noinst_PROGRAMS += $(test_programs)
-
-test_programs = \
- tracker-sparql \
- tracker-sparql-blank \
- tracker-ontology \
- tracker-backup \
- tracker-crc32-test \
- tracker-ontology-change \
- tracker-db-journal
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -DTOP_SRCDIR=\"$(abs_top_srcdir)\" \
- -DTOP_BUILDDIR=\"$(abs_top_builddir)\" \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/tests/common \
- $(LIBTRACKER_DATA_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/tests/common/libtracker-testcommon.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_DATA_LIBS)
-
-tracker_sparql_SOURCES = tracker-sparql-test.c
-tracker_sparql_blank_SOURCES = tracker-sparql-blank-test.c
-tracker_ontology_SOURCES = tracker-ontology-test.c
-tracker_ontology_change_SOURCES = tracker-ontology-change-test.c
-tracker_backup_SOURCES = tracker-backup-test.c
-tracker_crc32_test_SOURCES = tracker-crc32-test.c
-tracker_db_journal_SOURCES = tracker-db-journal-test.c
-
-EXTRA_DIST += \
- dawg-testcases \
- change/source/99-example.ontology.v1 \
- change/source/99-example.ontology.v2 \
- change/source/99-example.ontology.v3 \
- change/source/99-example.ontology.v4 \
- change/source/99-example.ontology.v5 \
- change/source/99-example.ontology.v6 \
- change/source/99-example.ontology.v7 \
- change/test-1.out \
- change/test-1.rq \
- change/test-2.out \
- change/test-2.rq \
- change/test-3.out \
- change/test-3.rq \
- change/test-4.rq \
- change/test-4.out \
- change/test-5.out \
- change/test-5.rq \
- change/change-test-1.rq \
- change/change-test-1.out \
- change/change-test-2.rq \
- change/change-test-2.out \
- change/change-test-3.rq \
- change/change-test-3.out \
- change/updates/99-example.queries.v2 \
- change/updates/99-example.queries.v3 \
- change/updates/99-example.queries.v4 \
- change/updates/99-example.queries.v5 \
- change/updates/99-example.queries.v6 \
- change/updates/99-example.queries.v7 \
- meson.build
-
-clean-local:
- rm -rf $(abs_builddir)/test-cache
diff --git a/tests/libtracker-data/aggregates/Makefile.am b/tests/libtracker-data/aggregates/Makefile.am
deleted file mode 100644
index 962e246d7..000000000
--- a/tests/libtracker-data/aggregates/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- data-1.ttl \
- aggregate-1.out \
- aggregate-1.rq \
- aggregate-distinct-1.out \
- aggregate-distinct-1.rq \
- aggregate-group-1.out \
- aggregate-group-1.rq
diff --git a/tests/libtracker-data/algebra/Makefile.am b/tests/libtracker-data/algebra/Makefile.am
deleted file mode 100644
index 68effa763..000000000
--- a/tests/libtracker-data/algebra/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test-1.ontology \
- test-2.ontology \
- data-1.ttl \
- data-2.ttl \
- filter-nested-1.out \
- filter-nested-1.rq \
- filter-nested-2.out \
- filter-nested-2.rq \
- filter-in-1.out \
- filter-in-1.rq \
- filter-in-2.out \
- filter-in-2.rq \
- filter-in-3.out \
- filter-in-3.rq \
- filter-in-4.out \
- filter-in-4.rq \
- filter-in-5.rq \
- filter-in-5.out \
- filter-placement-1.out \
- filter-placement-1.rq \
- filter-placement-2.out \
- filter-placement-2.rq \
- filter-placement-3.out \
- filter-placement-3.rq \
- filter-placement-3a.out \
- filter-placement-3a.rq \
- filter-scope-1.out \
- filter-scope-1.rq \
- opt-filter-3.out \
- opt-filter-3.rq \
- opt-filter-3.ttl \
- two-nested-opt-alt.out \
- two-nested-opt-alt.rq \
- two-nested-opt.out \
- two-nested-opt.rq \
- two-nested-opt.ttl \
- var-scope-join-1.out \
- var-scope-join-1.rq \
- var-scope-join-1.ttl
-
diff --git a/tests/libtracker-data/anon/Makefile.am b/tests/libtracker-data/anon/Makefile.am
deleted file mode 100644
index 82ef2800b..000000000
--- a/tests/libtracker-data/anon/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- data.ttl \
- query.out \
- query.rq \
- query-2.out \
- query-2.rq
diff --git a/tests/libtracker-data/ask/Makefile.am b/tests/libtracker-data/ask/Makefile.am
deleted file mode 100644
index 604548ad1..000000000
--- a/tests/libtracker-data/ask/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- ask-1.out \
- ask-1.rq \
- data.ontology \
- data.ttl
diff --git a/tests/libtracker-data/backup/Makefile.am b/tests/libtracker-data/backup/Makefile.am
deleted file mode 100644
index 0c43ad7eb..000000000
--- a/tests/libtracker-data/backup/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- backup.ontology \
- backup.data
-
diff --git a/tests/libtracker-data/basic/Makefile.am b/tests/libtracker-data/basic/Makefile.am
deleted file mode 100644
index 1e163ecbc..000000000
--- a/tests/libtracker-data/basic/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- base-prefix-3.out \
- base-prefix-3.rq \
- compare-cast.rq \
- compare-cast.out \
- data-1.ttl \
- predicate-variable.out \
- predicate-variable.rq \
- predicate-variable-2.out \
- predicate-variable-2.rq \
- predicate-variable-3.out \
- predicate-variable-3.rq \
- predicate-variable-4.out \
- predicate-variable-4.rq
-
diff --git a/tests/libtracker-data/bind/Makefile.am b/tests/libtracker-data/bind/Makefile.am
deleted file mode 100644
index 522d6ae00..000000000
--- a/tests/libtracker-data/bind/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- data.ontology \
- data.ttl \
- bind1.out \
- bind1.rq \
- bind2.out \
- bind2.rq \
- bind3.out \
- bind3.rq \
- bind4.out \
- bind4.rq
diff --git a/tests/libtracker-data/bnode-coreference/Makefile.am b/tests/libtracker-data/bnode-coreference/Makefile.am
deleted file mode 100644
index 5277cf801..000000000
--- a/tests/libtracker-data/bnode-coreference/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- data.ontology \
- data.ttl \
- query.out \
- query.rq
diff --git a/tests/libtracker-data/bound/Makefile.am b/tests/libtracker-data/bound/Makefile.am
deleted file mode 100644
index f636734b6..000000000
--- a/tests/libtracker-data/bound/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- bound1.out \
- bound1.rq \
- data.ontology \
- data.ttl
diff --git a/tests/libtracker-data/datetime/Makefile.am b/tests/libtracker-data/datetime/Makefile.am
deleted file mode 100644
index 05d67c2a6..000000000
--- a/tests/libtracker-data/datetime/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- data-1.ttl \
- data-2.ttl \
- data-3.rq \
- delete-1.out \
- delete-1.rq \
- functions-localtime-1.out \
- functions-localtime-1.rq \
- functions-timezone-1.out \
- functions-timezone-1.rq \
- functions-timezone-2.out \
- functions-timezone-2.rq
diff --git a/tests/libtracker-data/error/Makefile.am b/tests/libtracker-data/error/Makefile.am
deleted file mode 100644
index a91599a1d..000000000
--- a/tests/libtracker-data/error/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- query-error-1.out \
- query-error-1.rq \
- query-error-1.ttl \
- query-error-2.out \
- query-error-2.rq \
- query-error-2.ttl \
- update-error-1.rq \
- update-error-query-1.out \
- update-error-query-1.rq
-
diff --git a/tests/libtracker-data/expr-ops/Makefile.am b/tests/libtracker-data/expr-ops/Makefile.am
deleted file mode 100644
index 69ff884d3..000000000
--- a/tests/libtracker-data/expr-ops/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- data.ontology \
- data.ttl \
- query-ge-1.out \
- query-ge-1.rq \
- query-le-1.out \
- query-le-1.rq \
- query-minus-1.out \
- query-minus-1.rq \
- query-mul-1.out \
- query-mul-1.rq \
- query-plus-1.out \
- query-plus-1.rq \
- query-unminus-1.out \
- query-unminus-1.rq \
- query-unplus-1.out \
- query-unplus-1.rq \
- query-res-1.rq \
- query-res-1.out
diff --git a/tests/libtracker-data/functions/Makefile.am b/tests/libtracker-data/functions/Makefile.am
deleted file mode 100644
index 320dc995b..000000000
--- a/tests/libtracker-data/functions/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test-1.ontology \
- test-2.ontology \
- data-1.ttl \
- data-2.ttl \
- data-3.ttl \
- data-4.ttl \
- functions-property-1.out \
- functions-property-1.rq \
- functions-tracker-1.out \
- functions-tracker-1.rq \
- functions-tracker-2.out \
- functions-tracker-2.rq \
- functions-tracker-loc-1.rq \
- functions-tracker-loc-1.out \
- functions-xpath-1.out \
- functions-xpath-1.rq \
- functions-xpath-2.out \
- functions-xpath-2.rq \
- functions-xpath-3.out \
- functions-xpath-3.rq \
- functions-xpath-4.out \
- functions-xpath-4.rq \
- functions-xpath-5.out \
- functions-xpath-5.rq \
- functions-xpath-6.rq \
- functions-xpath-6.out \
- functions-xpath-7.rq \
- functions-xpath-7.out \
- functions-xpath-8.rq \
- functions-xpath-8.out \
- functions-xpath-9.rq \
- functions-xpath-9.out \
- functions-xpath-10.rq \
- functions-xpath-10.out \
- functions-xpath-11.rq \
- functions-xpath-11.out \
- functions-xpath-12.rq \
- functions-xpath-12.out \
- functions-xpath-13.rq \
- functions-xpath-13.out \
- functions-xpath-14.rq \
- functions-xpath-14.out
diff --git a/tests/libtracker-data/graph/Makefile.am b/tests/libtracker-data/graph/Makefile.am
deleted file mode 100644
index d6eb67d92..000000000
--- a/tests/libtracker-data/graph/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- data-1.rq \
- data-2.rq \
- data-3.rq \
- data-4.rq \
- graph-1.out \
- graph-1.rq \
- graph-2.out \
- graph-2.rq \
- graph-3.out \
- graph-3.rq \
- graph-4.out \
- graph-4.rq \
- graph-5.out \
- graph-5.rq
diff --git a/tests/libtracker-data/mixed-cardinality/Makefile.am b/tests/libtracker-data/mixed-cardinality/Makefile.am
deleted file mode 100644
index 41c897906..000000000
--- a/tests/libtracker-data/mixed-cardinality/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- insert-mixed-cardinality-1.rq \
- insert-mixed-cardinality-query-1.rq \
- insert-mixed-cardinality-query-1.out \
- update-mixed-cardinality-1.rq \
- update-mixed-cardinality-query-1.rq \
- update-mixed-cardinality-query-1.out
diff --git a/tests/libtracker-data/nie/Makefile.am b/tests/libtracker-data/nie/Makefile.am
deleted file mode 100644
index 6ecc04b31..000000000
--- a/tests/libtracker-data/nie/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- data-1.ttl \
- filter-characterset-1.out \
- filter-characterset-1.rq \
- filter-comment-1.out \
- filter-comment-1.rq \
- filter-description-1.out \
- filter-description-1.rq \
- filter-generator-1.out \
- filter-generator-1.rq \
- filter-identifier-1.out \
- filter-identifier-1.rq \
- filter-keyword-1.out \
- filter-keyword-1.rq \
- filter-language-1.out \
- filter-language-1.rq \
- filter-legal-1.out \
- filter-legal-1.rq \
- filter-mimetype-1.out \
- filter-mimetype-1.rq \
- filter-plaintextcontent-1.out \
- filter-plaintextcontent-1.rq \
- filter-subject-1.out \
- filter-subject-1.rq \
- filter-title-1.out \
- filter-title-1.rq \
- filter-version-1.out \
- filter-version-1.rq
diff --git a/tests/libtracker-data/nmo/Makefile.am b/tests/libtracker-data/nmo/Makefile.am
deleted file mode 100644
index d3a9e98d7..000000000
--- a/tests/libtracker-data/nmo/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- data-1.ttl \
- filter-boundary-1.out \
- filter-boundary-1.rq \
- filter-charset-1.out \
- filter-charset-1.rq \
- filter-contentdescription-1.out \
- filter-contentdescription-1.rq \
- filter-contentid-1.out \
- filter-contentid-1.rq \
- filter-contenttransferencoding-1.out \
- filter-contenttransferencoding-1.rq \
- filter-headername-1.out \
- filter-headername-1.rq \
- filter-headervalue-1.out \
- filter-headervalue-1.rq \
- filter-isanswered-1.out \
- filter-isanswered-1.rq \
- filter-isdeleted-1.out \
- filter-isdeleted-1.rq \
- filter-isdraft-1.out \
- filter-isdraft-1.rq \
- filter-isflagged-1.out \
- filter-isflagged-1.rq \
- filter-isread-1.out \
- filter-isread-1.rq \
- filter-isrecent-1.out \
- filter-isrecent-1.rq \
- filter-messageid-1.out \
- filter-messageid-1.rq \
- filter-messagesubject-1.out \
- filter-messagesubject-1.rq
diff --git a/tests/libtracker-data/optional/Makefile.am b/tests/libtracker-data/optional/Makefile.am
deleted file mode 100644
index 8be74e8aa..000000000
--- a/tests/libtracker-data/optional/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test-1.ontology \
- test-2.ontology \
- complex-data-1.ttl \
- q-opt-complex-1.out \
- q-opt-complex-1.rq \
- simple-optional-triple.out \
- simple-optional-triple.rq \
- simple-optional-triple.ttl
diff --git a/tests/libtracker-data/regex/Makefile.am b/tests/libtracker-data/regex/Makefile.am
deleted file mode 100644
index 86c1e8e27..000000000
--- a/tests/libtracker-data/regex/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- regex-data-01.ttl \
- regex-query-001.out \
- regex-query-001.rq \
- regex-query-002.out \
- regex-query-002.rq
diff --git a/tests/libtracker-data/sort/Makefile.am b/tests/libtracker-data/sort/Makefile.am
deleted file mode 100644
index 0ad39c6cb..000000000
--- a/tests/libtracker-data/sort/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- data-sort-1.ttl \
- data-sort-3.ttl \
- data-sort-4.ttl \
- data-sort-5.ttl \
- query-sort-1.out \
- query-sort-1.rq \
- query-sort-2.out \
- query-sort-2.rq \
- query-sort-3.out \
- query-sort-3.rq \
- query-sort-4.out \
- query-sort-4.rq \
- query-sort-5.out \
- query-sort-5.rq \
- query-sort-6.rq \
- query-sort-6.out \
- query-sort-7.rq \
- query-sort-7.out \
- query-sort-8.rq \
- query-sort-8.out
diff --git a/tests/libtracker-data/subqueries/Makefile.am b/tests/libtracker-data/subqueries/Makefile.am
deleted file mode 100644
index 7c1fb1fa2..000000000
--- a/tests/libtracker-data/subqueries/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- data-1.ttl \
- subqueries-1.out \
- subqueries-1.rq \
- subqueries-union-1.out \
- subqueries-union-1.rq \
- subqueries-union-2.out \
- subqueries-union-2.rq
diff --git a/tests/libtracker-data/turtle/Makefile.am b/tests/libtracker-data/turtle/Makefile.am
deleted file mode 100644
index 2baeeef73..000000000
--- a/tests/libtracker-data/turtle/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- turtle-data-001.ttl \
- turtle-query-001.out \
- turtle-query-001.rq \
- turtle-data-002.ttl \
- turtle-query-002.out \
- turtle-query-002.rq
diff --git a/tests/libtracker-data/update/Makefile.am b/tests/libtracker-data/update/Makefile.am
deleted file mode 100644
index 668080424..000000000
--- a/tests/libtracker-data/update/Makefile.am
+++ /dev/null
@@ -1,43 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- test.ontology \
- delete-data-1.rq \
- delete-data-2.rq \
- delete-data-query-1.out \
- delete-data-query-1.rq \
- delete-data-query-2.out \
- delete-data-query-2.rq \
- delete-insert-where-1.rq \
- delete-insert-where-2.rq \
- delete-insert-where-3.rq \
- delete-insert-where-4.rq \
- delete-insert-where-5.rq \
- delete-insert-where-6.rq \
- delete-insert-where-query-1.out \
- delete-insert-where-query-1.rq \
- delete-insert-where-query-2.out \
- delete-insert-where-query-2.rq \
- delete-insert-where-query-3.out \
- delete-insert-where-query-3.rq \
- delete-insert-where-query-4.out \
- delete-insert-where-query-4.rq \
- delete-insert-where-query-5.out \
- delete-insert-where-query-5.rq \
- delete-insert-where-query-6.out \
- delete-insert-where-query-6.rq \
- delete-where-1.rq \
- delete-where-2.rq \
- delete-where-query-1.out \
- delete-where-query-1.rq \
- delete-where-query-2.out \
- delete-where-query-2.rq \
- insert-data-1.rq \
- insert-data-2.rq \
- insert-data-query-1.out \
- insert-data-query-1.rq \
- insert-data-query-2.out \
- insert-data-query-2.rq \
- invalid-insert-where-1.rq \
- invalid-insert-where-query-1.out \
- invalid-insert-where-query-1.rq
diff --git a/tests/libtracker-fts/Makefile.am b/tests/libtracker-fts/Makefile.am
deleted file mode 100644
index 9298ca33b..000000000
--- a/tests/libtracker-fts/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-SUBDIRS = \
- limits \
- prefix
-
-noinst_PROGRAMS += $(test_programs)
-
-test_programs = \
- tracker-fts-test
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/tests/common \
- -DTOP_SRCDIR=\"$(top_srcdir)\" \
- -DTOP_BUILDDIR=\"$(top_builddir)\" \
- $(LIBTRACKER_FTS_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/tests/common/libtracker-testcommon.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_FTS_LIBS)
-
-tracker_fts_test_SOURCES = tracker-fts-test.c
-
-EXTRA_DIST += \
- data.ontology \
- fts3aa-data.rq \
- fts3aa-1.rq \
- fts3aa-1.out \
- fts3aa-2.rq \
- fts3aa-2.out \
- fts3ae-data.rq \
- fts3ae-1.rq \
- fts3ae-1.out \
- meson.build
-
diff --git a/tests/libtracker-fts/limits/Makefile.am b/tests/libtracker-fts/limits/Makefile.am
deleted file mode 100644
index ca6915aa3..000000000
--- a/tests/libtracker-fts/limits/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- fts3limits-data.rq \
- fts3limits-1.out \
- fts3limits-1.rq \
- fts3limits-2.out \
- fts3limits-2.rq \
- fts3limits-3.out \
- fts3limits-3.rq \
- fts3limits-4.out \
- fts3limits-4.rq
diff --git a/tests/libtracker-fts/prefix/Makefile.am b/tests/libtracker-fts/prefix/Makefile.am
deleted file mode 100644
index 37be159b1..000000000
--- a/tests/libtracker-fts/prefix/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-EXTRA_DIST += \
- fts3prefix-data.rq \
- fts3prefix-1.out \
- fts3prefix-1.rq \
- fts3prefix-2.out \
- fts3prefix-2.rq \
- fts3prefix-3.out \
- fts3prefix-3.rq
diff --git a/tests/libtracker-miner/Makefile.am b/tests/libtracker-miner/Makefile.am
deleted file mode 100644
index 184c8e1c3..000000000
--- a/tests/libtracker-miner/Makefile.am
+++ /dev/null
@@ -1,125 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-# Include list of shared sources:
-# Defines:
-# $(libtracker_miner_monitor_sources)
-# $(libtracker_miner_monitor_headers)
-#
-# Headers and sources are split for the tests to build
-# with make distcheck.
-#
-include $(top_srcdir)/src/libtracker-miner/Makefile-shared-sources.decl
-
-noinst_LTLIBRARIES += libtracker-miner-tests.la
-
-noinst_PROGRAMS += $(test_programs)
-
-test_programs = \
- tracker-crawler-test \
- tracker-file-enumerator-test \
- tracker-file-notifier-test \
- tracker-file-system-test \
- tracker-thumbnailer-test \
- tracker-miner-fs-test \
- tracker-monitor-test \
- tracker-priority-queue-test \
- tracker-task-pool-test \
- tracker-indexing-tree-test
-
-AM_CPPFLAGS = \
- $(BUILD_VALACFLAGS) \
- -DTEST \
- -DLIBEXEC_PATH=\""$(libexecdir)"\" \
- -DTEST_DATA_DIR=\""$(abs_top_srcdir)/tests/libtracker-miner/data"\" \
- -DTEST_MINERS_DIR=\""$(abs_top_srcdir)/tests/libtracker-miner/mock-miners"\" \
- -DTEST_ONTOLOGIES_DIR=\""$(abs_top_srcdir)/src/ontologies/nepomuk"\" \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/tests/common \
- $(LIBTRACKER_MINER_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-private.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_MINER_LIBS)
-
-libtracker_miner_tests_la_VALAFLAGS = \
- --header tracker-miner-mock.h \
- --pkg glib-2.0 \
- --pkg gio-2.0 \
- --pkg gio-unix-2.0 \
- --pkg posix \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
- $(BUILD_VALAFLAGS)
-
-libtracker_miner_tests_la_SOURCES = \
- tracker-miner-mock.vala \
- tracker-connection-mock.vala
-
-libtracker_miner_tests_la_LIBADD = \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(BUILD_LIBS)
-
-tracker_crawler_test_SOURCES = \
- $(libtracker_miner_crawler_sources) \
- $(libtracker_miner_crawler_headers) \
- tracker-crawler-test.c
-
-tracker_thumbnailer_test_SOURCES = \
- tracker-thumbnailer-test.c \
- thumbnailer-mock.c \
- empty-gobject.c
-
-tracker_monitor_test_SOURCES = \
- tracker-monitor-test.c
-if !ENABLE_GCOV
-# If gcov is enabled, libtracker-miner exports all symbols and this is not needed.
-tracker_monitor_test_SOURCES += \
- $(libtracker_miner_monitor_sources)
-endif
-
-tracker_miner_fs_test_SOURCES = \
- tracker-miner-fs-test.c
-
-tracker_priority_queue_test_SOURCES = \
- tracker-priority-queue-test.c
-
-tracker_task_pool_test_SOURCES = \
- tracker-task-pool-test.c
-
-tracker_indexing_tree_test_SOURCES = \
- tracker-indexing-tree-test.c
-
-tracker_file_system_test_SOURCES = \
- tracker-file-system-test.c
-
-tracker_file_notifier_test_SOURCES = \
- $(libtracker_miner_monitor_sources) \
- tracker-file-notifier-test.c
-
-noinst_HEADERS = \
- $(libtracker_miner_monitor_headers) \
- tracker-miner-mock.h \
- thumbnailer-mock.h \
- miners-mock.h \
- empty-gobject.h
-
-BUILT_SOURCES += \
- $(libtracker_miner_file_system_sources) \
- $(libtracker_miner_file_system_headers) \
- libtracker_miner_tests_la_vala.stamp
-
-EXTRA_DIST += \
- data/empty-dir/.hidden \
- data/file1 \
- data/dir/empty-dir/.hidden \
- data/dir/file1 \
- data/dir/file2 \
- meson.build \
- mock-miners/mock-miner-1.desktop \
- mock-miners/mock-miner-2.desktop
diff --git a/tests/libtracker-sparql/Makefile.am b/tests/libtracker-sparql/Makefile.am
deleted file mode 100644
index 56f9349b5..000000000
--- a/tests/libtracker-sparql/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-noinst_PROGRAMS += $(test_programs)
-
-test_programs = \
- tracker-resource-test \
- tracker-sparql-test
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/tests/common \
- -DTEST_DOMAIN_ONTOLOGY_RULE=\""$(abs_top_srcdir)/src/tracker-store/default.rule"\" \
- -DTEST_ONTOLOGIES_DIR=\""$(abs_top_srcdir)/src/ontologies/nepomuk"\" \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_SPARQL_LIBS)
-
-tracker_resource_test_SOURCES = tracker-resource-test.c
-
-tracker_sparql_test_SOURCES = tracker-sparql-test.c
-
-tracker_gb_737023_test_SOURCES = tracker-gb-737023-test.c
-
-EXTRA_DIST += meson.build
diff --git a/tests/tracker-steroids/Makefile.am b/tests/tracker-steroids/Makefile.am
deleted file mode 100644
index 2e5553811..000000000
--- a/tests/tracker-steroids/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-include $(top_srcdir)/Makefile.decl
-
-noinst_PROGRAMS += $(test_programs)
-
-test_programs = \
- tracker-test
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -I$(top_srcdir)/tests/common \
- -DTEST_DOMAIN_ONTOLOGY_RULE=\""$(abs_top_srcdir)/src/tracker-store/default.rule"\" \
- -DTEST_ONTOLOGIES_DIR=\""$(abs_top_srcdir)/src/ontologies/nepomuk"\" \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_SPARQL_LIBS)
-
-tracker_test_SOURCES = \
- tracker-test.c
-
-EXTRA_DIST += meson.build
diff --git a/utils/Makefile.am b/utils/Makefile.am
deleted file mode 100644
index 161cb7abd..000000000
--- a/utils/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-SUBDIRS = \
- ontology \
- data-generators \
- mtp \
- sandbox
-
-if HAVE_TRACKER_RESDUMP
-SUBDIRS += tracker-resdump
-endif
-
-EXTRA_DIST = meson.build g-ir-merge/g-ir-merge
diff --git a/utils/data-generators/Makefile.am b/utils/data-generators/Makefile.am
deleted file mode 100644
index 2a96b8ffe..000000000
--- a/utils/data-generators/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS = cc
diff --git a/utils/data-generators/cc/Makefile.am b/utils/data-generators/cc/Makefile.am
deleted file mode 100644
index 8ac207a8f..000000000
--- a/utils/data-generators/cc/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-EXTRA_DIST = \
- default.cfg \
- gen_data.py \
- generate \
- __init__.py \
- max.cfg \
- mfo.py \
- mlo.py \
- mto.py \
- ncal.py \
- nco.py \
- nfo.py \
- nmm.py \
- nmo.py \
- slo.py \
- ontology_prefixes.py \
- tools.py \
- tracker.py \
- convert_data.py \
- source-data
diff --git a/utils/mtp/Makefile.am b/utils/mtp/Makefile.am
deleted file mode 100644
index 58d9385cb..000000000
--- a/utils/mtp/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DLOCALEDIR=\""$(localedir)"\" \
- $(LIBTRACKER_SPARQL_CFLAGS)
-
-noinst_PROGRAMS = mtp-dummy
-
-mtp_dummy_SOURCES = mtp-dummy.c
-mtp_dummy_LDADD = \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_SPARQL_LIBS)
-
-EXTRA_DIST = meson.build
diff --git a/utils/ontology/Makefile.am b/utils/ontology/Makefile.am
deleted file mode 100644
index 15a1b17ba..000000000
--- a/utils/ontology/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-noinst_PROGRAMS = ontology-validator data-validator
-
-AM_CPPFLAGS = \
- $(BUILD_CFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- -DTOP_SRCDIR=\"$(top_srcdir)\" \
- $(LIBTRACKER_DATA_CFLAGS)
-
-LDADD = \
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-@TRACKER_API_VERSION@.la \
- $(BUILD_LIBS) \
- $(LIBTRACKER_DATA_LIBS)
-
-ontology_validator_SOURCES = ontology-validator.c
-
-data_validator_SOURCES = data-validator.c
-
-EXTRA_DIST = meson.build
diff --git a/utils/sandbox/Makefile.am b/utils/sandbox/Makefile.am
deleted file mode 100644
index b6c899d11..000000000
--- a/utils/sandbox/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_DIST = tracker-sandbox.py
diff --git a/utils/tracker-resdump/Makefile.am b/utils/tracker-resdump/Makefile.am
deleted file mode 100644
index 352932275..000000000
--- a/utils/tracker-resdump/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-noinst_PROGRAMS = tracker-resdump
-
-AM_VALAFLAGS = \
- --pkg gio-2.0 \
- $(BUILD_VALAFLAGS) \
- $(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
- $(top_srcdir)/src/libtracker-bus/tracker-bus.vapi
-
-AM_CPPFLAGS =\
- $(BUILD_VALACFLAGS) \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/src \
- $(LIBTRACKER_SPARQL_CFLAGS) \
- $(TRACKER_RESDUMP_CFLAGS)
-
-LDADD =\
- $(top_builddir)/src/libtracker-data/libtracker-data.la \
- $(top_builddir)/src/libtracker-direct/libtracker-direct.la \
- $(top_builddir)/src/libtracker-bus/libtracker-bus.la \
- $(top_builddir)/src/libtracker-sparql-backend/libtracker-sparql-$(TRACKER_API_VERSION).la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(BUILD_LIBS)\
- $(LIBTRACKER_SPARQL_LIBS) \
- $(TRACKER_RESDUMP_LIBS)
-
-tracker_resdump_SOURCES = tracker-resdump.vala
-tracker_resdump_CFLAGS = $(AM_CPPFLAGS)
-tracker_resdump_VALAFLAGS = $(AM_VALAFLAGS)
-tracker_resdump_LDADD = $(LDADD)
-
-EXTRA_DIST = meson.build