[tracker/wip/carlosg/ttl-parser: 2/2] libtracker-data: Drop old parser code



commit 4e05323b33b14f1d4e86f92627508b8ab71ea5dc
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Mar 8 22:40:29 2020 +0100

    libtracker-data: Drop old parser code
    
    This is (at last!) no longer used anywhere.

 src/libtracker-data/meson.build                 |   27 +-
 src/libtracker-data/tracker-sparql-scanner.vala | 1276 -----------------------
 src/libtracker-data/tracker-turtle-reader.vala  |  383 -------
 src/libtracker-data/tracker-vala-namespace.vala |   29 -
 4 files changed, 1 insertion(+), 1714 deletions(-)
---
diff --git a/src/libtracker-data/meson.build b/src/libtracker-data/meson.build
index 4c04f7a31..ad1d3d151 100644
--- a/src/libtracker-data/meson.build
+++ b/src/libtracker-data/meson.build
@@ -1,27 +1,3 @@
-# Vala parts of libtracker-data are split out separately, because we can't link
-# the Vala code to libicu. In the Makefile.am this library is called
-# libtracker-sparql-query.
-libtracker_data_vala = static_library('tracker-sparql-query',
-    'tracker-vala-namespace.vala',
-    'tracker-sparql-scanner.vala',
-    '../libtracker-common/libtracker-common.vapi',
-    'libtracker-data.vapi',
-    tracker_sparql_vapi,
-    tracker_common_enum_header,
-    c_args: tracker_c_args + [
-        '-include', 'libtracker-sparql/tracker-private.h',
-    ],
-    vala_args: [
-        '--debug',
-        '--pkg', 'posix',
-        # FIXME: Meson has code to add --target-glib automatically, but it
-        # doesn't seem to work here.
-        '--target-glib', glib_required,
-    ],
-    dependencies: [tracker_common_dep],
-    include_directories: [commoninc, configinc, srcinc],
-)
-
 tracker_data_enums = gnome.mkenums('tracker-data-enum-types',
     sources: 'tracker-db-interface-sqlite.h',
     c_template: 'tracker-data-enum-types.c.template',
@@ -66,7 +42,6 @@ libtracker_data = library('tracker-data',
     install_dir: tracker_internal_libs_dir,
     # This doesn't depend on tracker_common_dep because of
     # https://github.com/mesonbuild/meson/issues/671
-    link_with: [libtracker_data_vala],
     # We do *not* want --no-undefined here, this library uses
     # symbols from libtracker-sparql, but does not mean it should
     # be linked to it.
@@ -76,7 +51,7 @@ libtracker_data = library('tracker-data',
 )
 
 tracker_data_dep = declare_dependency(
-    link_with: [libtracker_data, libtracker_data_vala],
+    link_with: [libtracker_data],
     dependencies: tracker_data_dependencies,
     include_directories: include_directories('.'),
     sources: enums[1],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]