| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Up til now only the Tracker.SparqlConnection and Tracker.SparqlBuilder
resources were introspectable. This is because we only used the
introspection output from `valac`, but other bits of libtracker-sparql
have since been added that are written in C.
There seems to be no way to generate a single .gir for a combined C and
Vala codebase, so instead I have written a simple `g-ir-merge` script
which can combine two different namespaces into a single .gir.
This is currently tested and working with the Meson build instructions.
It would be possible to implement this for the Autotools build
instructions as well.
https://bugzilla.gnome.org/show_bug.cgi?id=782091
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This was my fault, just over a year ago in commit b6c1b5cb638051155
... sorry!
|
| |
|
|
|
|
|
| |
The decoder is bcmdec, not bmcdec. I managed to mistype it all over the
place.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove these from the registry after initialization, the vaapi
one could just cause undesired output/warnings after seccomp forbid
it to do something. The bmcdec element is dumber and would just
crash after shmget() despite trying to refuse it politely with an
appropriate errno.
Fixes SIGSYS on shmget() from gstreamer1-plugin-crystalhd if it
happens to be installed and a video file is indexed. The blacklisting
code has been lifted from totem-video-thumbnailer.
|
|
|
|
| |
(cherry picked from commit bdba71e0313b91ca7d5eea275bd1d559527302c8)
|
| |
|
|
|
|
| |
Hopefully among the last ones!
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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!!)
|
|
|
|
|
|
| |
With the same caveats than open().
https://bugzilla.gnome.org/show_bug.cgi?id=782514
|
| |
|
|
|
|
|
| |
The gir-scanner doesn't actually run for these files at the moment
(see bug#782091) which is why the mistakes didn't get caught until now.
|
|
|
|
|
|
|
|
|
| |
The file might or might not be inserted to the queue, which meant that
the extra ref created outside the call might never dropped if the file
didn't end up inserted again. Fix this by doing the refcount increase
when actually inserting the file back in the queue.
Reported by Jose M. Arroyo <jose.m.arroyo.se@gmail.com>.
|
|
|
|
|
| |
The gir-scanner doesn't actually run for these files at the moment, so
the mistakes didn't get caught until now.
|
|
|
|
| |
(cherry picked from commit 267eec992f033b9e7c71a2ab6370828a8c9afe4c)
|
|
|
|
|
|
| |
Otherwise namespace lookups will come out NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=780968
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 922c213a52859c6ee0a2b9f3f4dee6f5104bfaa7)
|
| |
|
|
|
|
|
| |
Sadly the correct format is different on 32bit and 64bit systems so we
have to use the unweildy G_GINT64_FORMAT macro.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This uses code from libtracker-common, so it needs to include the
header.
|
|
|
|
|
|
| |
../src/tracker-preferences/tracker-preferences.vala:27.1-27.33: warning: the modifier `static' is not applicable to constants
extern static const string UIDIR;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
| |
Commit 53007652ce1ed3cf350ec042b310606e0115377a breaks the build with
versions of Vala older than 0.35.6. It's more convenient for people
building Tracker if we use a #if block instead to allow building with
older stable versions Vala.
|
| |
|
|
|
|
|
| |
It clutters the build output when using Meson, and doesn't really
add much of use in any case.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the only setting read from extractor modules. It turns out
that under the right circumstances a g_settings_get_value() call
can trigger open() calls with readwrite permissions from the caller
thread. This is forbidden in extractor threads and triggers warnings
like:
dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user':
Permission denied. dconf will not work properly.
Also, since this setting is meaningless to update during tracker-extract
lifetime, just drop the g_settings_bind() call, this means the setting
is only read once on startup.
https://bugzilla.gnome.org/show_bug.cgi?id=779342
|
|
|
|
| |
The GtkListStore remove method now takes a ref TreeIter.
|
|
|
|
| |
The GtkListStore remove method now takes a ref TreeIter.
|
|
|
|
|
|
|
| |
Just read it line by line reusing the same buffer, it will still
let us to fetch metadata at the end of the file.
https://bugzilla.gnome.org/show_bug.cgi?id=778090
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
It seems a bit harsh that fts queries on readonly interfaces fail
if / is full because a tmp file for the fts view couldn't be created.
Let readonly clients fully operate on memory for these cases.
|
|
|
|
|
|
|
|
| |
No functional change, but fixes coverity warning about
g_cancellable_set_error_if_cancelled() return value being unchecked,
as vala would just check the returned error pointer.
Coverity ID: 1298211
|