| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The autogenerated version has a more intuitive API on Vala and is more
up-to-date
|
|
|
|
|
| |
This allows distributions that ship both versions to choose which
version of libsoup will be linked.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 8569c99d2926 ("Look for a Python installation with the tap
module") correctly added a dependency on the gi Python module for tests.
Commit 51ca035697a4 ("Make tracker:endpoint test work on macOS")
restructured Python probing by moving it to the top-level meson.build.
These two commits have the side-effect of exposing the fact that the
gi Python module is really only a test dependency, and should not be
required if building without tests.
As such, add a -Dtests=bool option to disable building tests. This
reduces the number of ninja targets from 232 to 188 on my non-test
build.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tracker is an innocent bystander hindering libsoup3 port, since the
libsoup2/3->tracker->gtk3 dependency chain imposes a libsoup version,
graphical applications using libsoup cannot port at their own pace.
Make our remote code (connection & endpoint) be a private module
that is built against both versions of libsoup (if found), then we
pick one at runtime, with a preference on libsoup3 if libsoup2 .so
file is not seen in the already loaded libraries.
This patch should be reverted ASAP, once we can consider libsoup2
deprecated.
Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/320
|
|
|
|
|
|
|
| |
The --disable-introspection was lost during the Meson port
and but can be useful to shave off some build time for
Flatpaks written in non-introspected languages.
Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/37
|
|
|
|
|
| |
Add soup2 build option, enabled by default. When disabled, it builds
against soup3 instead.
|
|
|
|
|
|
|
|
|
| |
Together with our C tests we have our python functional test framework,
which requires the use of TAPTestRunner from tap.py.
Add a config switch, so that we don't need the python library (or behave
strangely in functional tests without it) in developer setups, and can
enable specifically in CI.
|
|
|
|
|
|
|
| |
This fixes a confusing build error when building tracker-miners with
`-Dtracker_core=subproject -Dsystemd_user_services=false` (the fix
would be to set `-Dtracker:systemd_user_services=false`, this commit
makes it unnecessary.)
|
|
|
|
| |
It is not used since https://gitlab.gnome.org/GNOME/tracker/commit/a88e0f23df07308670020926285549b0ed8a55a2.
|
|
|
|
|
|
|
| |
These options were cleaned up but will be good to have again for
the portal service. While at it, split the systemd setting into
a boolean to enable or disable the feature, and a string option
to specify the user units path.
|
|
|
|
|
|
| |
It's primarily developers who will be building Tracker directly from
Git. We want developers to keep the documentation working, so let's
enable docs by default.
|
|
|
|
|
|
|
| |
For historical reasons we have a codepath to build without full-text
search support, mostly useful on systems where the SQLite FTS5 module
is not available. This module is not difficult to build so in Tracker
3.0 we'll require it.
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/tracker-miners/issues/49
|
|
|
|
| |
There should be no reason to disable them anymore.
|
|
|
|
|
|
|
| |
Nobody reads configure script summaries, make it sure they will by
spewing a build error. Make this overridable though, so people and
distributors at least make a conscious choice to shoot themselves
in the foot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit makes the tracker-testutils-2.0 package more reusable.
The idea is that projects using Tracker can use this as a way to
sandbox their test suites from the user's real Tracker data.
In your meson.build file you would do something like this to locate
the script and run your test.
python3 = find_program('python3')
trackertestutils = dependency('tracker-testutils-2.0')
tracker_sandbox_command = find_program(trackertestutils.get_pkgconfig_variable('command'))
test('myapptest', tracker_sandbox_command,
args: ['--index-tmpdir', my_app_test_executable])
This would ensure that XDG_CACHE_HOME and XDG_DATA_HOME point to a
temporary directory, separate from any real Tracker index data that the
current user might have inside their XDG cache & data directories.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit 8ae99192 we provide tracker test utils python modules.
These are installed by default in tracker internal libdir, and as per meson
default this is an arch-dependent path, while the test utils aren't.
So in some distributions, not to provide such files in multiple packages for
each architecture, we'd need to install those files somewhere else that is
not arch-dependent.
Unfortunately meson doesn't provide such path by default (which ideally
would be /usr/lib/tracker-${abi-version}), and I think isn't correct either
to install such files into the datadir, so in order to make this path
customizable and at the same time to make it possible to locate, provide
meson options and build a pkg config file for it, providing the python path
variable that should be used.
|
|
|
|
|
| |
They are irrelevant to most people and on most situations. Toggling docs
off might save a few cycles globally.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The main use case for the docs option seems to be to not spend time on
gtk-doc generation. It is rather unexpected this also disables the
installation of manpages, which are just installed as-is with no work
involved.
|
|/ |
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=791433
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
|
|
|
|
|
|
| |
Based on a patch by Jeremy Bicha <jbicha@ubuntu.com>.
https://bugzilla.gnome.org/show_bug.cgi?id=790373
|
|
|
|
| |
The tracker-miners now live in a separate repo.
|
|
|
|
| |
The correct keyword is 'value'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes various code paths that we believe to be unused.
* The userguides miner has been removed altogether.
* The application miner no longer parses MeeGo-style .desktop files
* The TRACKER_DISABLE_MEEGOTOUCH_LOCALE environment flag is gone
(it already did nothing)
* Character set detection with libmeegotouch is removed, only enca
or libicu are supported
* Meego-specific flags are gone from .desktop files
* Functional tests have lost their vestigal Scratchbox and Aegis support
There are 5 ontologies referencing Maemo, 4 of which are largely unused.
These have been kept around in case anyone is using them outside
Tracker.
https://bugzilla.gnome.org/show_bug.cgi?id=783555
|
|
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!!)
|