1. 09 Sep, 2018 2 commits
  2. 29 Jun, 2017 3 commits
    • Carlos Garnacho's avatar
      libtracker-miner: Remove TrackerMinerFS API to add/remove directories · 603b14d6
      Carlos Garnacho authored
      The whole set of tracker_miner_fs_add_directory_without_parent(),
      tracker_miner_fs_directory_add(), directory_remove() and
      directory_remove_full() are all covered by TrackerIndexingTree and
      basically unused, except for code in examples/.
      603b14d6
    • Carlos Garnacho's avatar
      libtracker-miner: Change API of ::process-file[-attributes] · 7e3f1f32
      Carlos Garnacho authored
      There's a few changes here:
      - The 2 vmethods are now given a GTask, its cancellable is to be
        used if the handling goes async.
      - tracker_miner_fs_file_notify() has changed into a more generic
        tracker_miner_fs_notify_finish() method, that takes such GTask
        and completes it.
      - The vmethods are no longer given a TrackerSparqlBuilder, instead
        they are expected to create the SPARQL through whatever mean is
        most fit. The sparql is given in the tracker_miner_fs_notify_finish()
        func. This opens the door to TrackerMinerFS implementations using
        TrackerResource.
      
      The intent is 1) Pass something to these vmethods that the user
      can't forge or mess with, as matching on GFile relies that it's the
      same pointer that it was given in the vmethods. And 2) Make the finish()
      function more generic to be fit to other methods going async.
      7e3f1f32
    • Carlos Garnacho's avatar
      Remove ignore_next_update() API · e15c330a
      Carlos Garnacho authored
      It's been deprecated for a long time, it stands in the middle of
      detaching TrackerMiner from DBus, and it's one less piece of
      ontology-dependent libtracker-miner code. Enough reasons to
      finally remove this.
      e15c330a
  3. 22 May, 2017 2 commits
    • Sam Thursfield's avatar
      Distribute meson.build files in tarballs generated by Autotools · 49847c5a
      Sam Thursfield authored
      This is useful for people who are not building from Git but still want
      to avoid Autotools.
      
      See: https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00091.html
      49847c5a
    • Sam Thursfield's avatar
      Meson build instructions for Tracker · 68b41e39
      Sam Thursfield authored
      See <http://mesonbuild.com/> for information about Meson.
      
      Remaining issues:
      
        * There's no `make dist` equivalent. We currently produce release
          tarballs containing the output files of the Vala compiler. We need
          to think through whether we can stop doing that. Shipping the
          generated .c files does make the Vala preprocessor useless so
          it would be good if we can stop.
      
        * The Firefox, Thunderbird, Evolution and Nautilus plugins are not
          built
      
        * https://github.com/mesonbuild/meson/issues/671 -- means we can't
          depend on tracker_common_dep in most places and have to manually
          set link_with, include_directories and sources instead.
      
        * https://github.com/mesonbuild/meson/issues/1469 -- without this we
          have to install generated Vala headers using a script
      
        * https://github.com/mesonbuild/meson/issues/1229 -- means adding
          the #include guard to libtracker-sparql/tracker-generated-no-checks.h
          is a pain
      
        * The test suite has some spurious failures.
      
      Here's a rough speed comparison.
      
      Meson:
              time sh -c 'meson .. --prefix=/opt/tracker-meson -D bash_completion=/opt/tracker-meson/share/bash-completion -Dsystemd_user_services=/opt/tracker-meson/lib/systemd/user -Ddbus_services=/opt/tracker-meson/share/dbus-1/services && ninja-build -j 4 && ninja-build install'
      
              real  1m8.194s
              user  2m16.962s
              sys   0m20.532s
      
      Autotools:
              time sh -c './configure --prefix=/opt/tracker-autotools --with-bash-completion-dir=/opt/tracker-autotools/share/bash-completion --with-session-bus-services-dir=/opt/tracker-autotools/share/dbus-1/services --disable-nautilus-extension && make -j 4 && make install'
      
              real  2m37.750s
              user  4m37.214s
              sys   0m54.806s
      
              Plus 30+ seconds of ./autogen.sh first.
      
      Note that Meson builds may fail if your source tree has generated files
      from an Autotools build in there. If you see errors about duplicate
      definitions, first try cleaning your source tree (use `git clean -dfx`,
      but make sure you commit any work first!!)
      68b41e39
  4. 30 Jan, 2017 2 commits
  5. 28 Jan, 2017 2 commits
  6. 21 Nov, 2016 1 commit
  7. 21 Jul, 2014 1 commit
  8. 20 Mar, 2014 1 commit
  9. 17 Mar, 2014 1 commit
  10. 25 Feb, 2014 2 commits
  11. 24 Feb, 2014 1 commit
  12. 20 Feb, 2014 1 commit
    • Martyn Russell's avatar
      tests: Updated gtester scripts to improve testing system · 73c0decd
      Martyn Russell authored
      We imported Makefile.decl from glib when it was using Subversion, a long time
      ago. The script had a few issues (like running all unit tests twice on make
      distcheck) and needed to be updated.
      
      I've stolen a latest version from GLib's glib.mk and also their m4 macros
      which are required to make this all work too.
      
      This gives us the advantage of defining installable and uninstallable test
      cases as well as test data, scripts and other useful stuff.
      
      The debug output also looks quite good.
      And distcheck passes :)
      73c0decd
  13. 10 Oct, 2013 2 commits
  14. 08 Mar, 2013 1 commit
  15. 28 Nov, 2012 1 commit
  16. 15 Dec, 2011 1 commit
  17. 27 Nov, 2011 1 commit
    • Jürg Billeter's avatar
      Remove g_thread_init calls · 9295f595
      Jürg Billeter authored
      Calling g_thread_init with GLib 2.31 requires explicit dependency on
      gthread-2.0. However, g_type_init initializes threads since GLib 2.24,
      so it is no longer needed.
      9295f595
  18. 06 Sep, 2011 1 commit
  19. 16 Aug, 2011 1 commit
  20. 03 Aug, 2011 1 commit
  21. 05 Apr, 2011 1 commit
  22. 04 Apr, 2011 1 commit
    • Jürg Billeter's avatar
      libtracker-sparql: Use static linking instead of plugins · 0ec98786
      Jürg Billeter authored
      Plugin loading in threads may be problematic in certain environments.
      As we do not currently support external plugins anyway, this changes
      libtracker-bus and libtracker-direct to be part of libtracker-sparql.
      This will also slightly improve initialization performance.
      
      Fixes NB#241659.
      0ec98786
  23. 28 Mar, 2011 1 commit
  24. 18 Mar, 2011 1 commit
  25. 15 Mar, 2011 1 commit
  26. 14 Mar, 2011 1 commit
  27. 02 Mar, 2011 5 commits
  28. 22 Feb, 2011 1 commit