| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Mention compat_libversion.
In practice, we don't update libversion if source code has not changed.
Mention this.
We should bump the version more aggressively after branching, to avoid
identical versions on different branches.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit e7006be27b4a5048470a20079a6762ad4a0d2e18.
Passing the filename to an untrusted thumbnailer is a potential
information leak, or a possible method to get that thumbnailer
to crash.
The Flatpak sandboxing codepaths unfortunately cannot remap files, so
that's the reason why the original filename is passed.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Otherwise, only the symlink target is sent into the sandbox, so the symlink
itself is not found, and thumbnailing fails.
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This MR adds async versions for the following methods:
gnome_desktop_thumbnail_factory_generate_thumbnail
gnome_desktop_thumbnail_factory_save_thumbnail
gnome_desktop_thumbnail_factory_create_failed_thumbnail
This is useful to avoid blocking the main loop while creating
the thumbnails (which is an operation that can last too much
time), and allows to do it in Javascript, where is not possible
to create a thread in a GTask.
Fix https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/205
|
|
|
|
| |
See also: https://fedoraproject.org/wiki/Changes/Ibus_table_cangjie_default_for_zh_hk
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Previously, we used fedora:rawhide for gnome-desktop CI, but stopped
because gitlab.gnome.org's docker version was incompatible with F35
containers for a long time, so we pinned to F34 instead. Now we have
fixed that and updated to F35, but we'll be stuck here for a while
because we won't remember to update again in the future. fedora:latest
seems like a nice compromise between pinning to a particular stable
release vs. using rawhide for CI.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
If the project is configured to build without systemd support, this
function is unused.
If one is foolish enough to also build with -Werror, as I am, then this
the resulting unused-function warning is fatal and one is sad.
|
| |
|
|
|
|
| |
The `Makevars` file is only meant to be used by `make`.
|
|
|
|
|
|
| |
Otherwise xgettext won't recognise the translatable language string.
Fixes: #202
|
|
|
|
|
|
|
| |
- Do not include "config.h"
- Leave conditionally including xlocale.h to source files
- Add an error for missing GETTEXT_PACKAGE
- Rename non-idiomatic `_l` macro to `L_`
|
| |
|
| |
|
| |
|
|
|
|
|
| |
At some point, we're going to build only the 4.0 libraries except on
older versions of GNOME.
|
|
|
|
| |
We want to allow building libgnome-desktop without the GUI libraries.
|
|
|
|
|
|
|
|
| |
In order to port the GnomeBG and GnomeRR APIs to GTK4 we need to copy
the files into their own subdirectories, as we want to keep the older
GTK3-based implementations available for the legacy
libgnome-desktop-3.0. It also makes it easier for us to spin off these
libraries into their own projects, if we decide to do so.
|
|
|
|
|
|
|
|
|
|
| |
We don't really need a "GUI" library, especially since neither GnomeBG
nor GnomeRR really deal with user interfaces.
The end goal is to move GnomeBG and GnomeRR out of libgnome-desktop,
given that they are system component dependencies. For the time being,
though, we can safely keep them in tree, with each part of their own
shared library.
|
|
|
|
| |
We don't use the root GdkWindow anywhere.
|
|
|
|
|
|
|
| |
Now that we split the non-GUI bits of libgnome-desktop into their own
library, we can provide a library for GUI ones.
For the time being, this is all still using GTK 3.
|
|
|
|
|
| |
The introspection scanner is perfectly capable of using the C type,
instead of the fully qualified type name.
|
|
|
|
| |
So we'll be able to add a dependency object on GTK4 later on.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For GNOME components using GTK 4, we provide a base library that does
not depend on GTK, libgnome-desktop-4, with the bits that do not use GDK
or GTK.
This library has a new soname and version, as well as a new pkg-config
file and introspection data files.
We want to keep libgnome-desktop-3 as a legacy library for GNOME
components (and some applications) that still use GTK 3; for this
reason, libgnome-desktop-3 will not change.
|
| |
|
|
|
|
| |
The test will have to be rewritten for GTK4 anyway.
|
|
|
|
| |
Something that doesn't look like it was written 3 years ago.
|
|
|
|
| |
The IdleMonitor class does not need GDK at all.
|
|
|
|
|
| |
When building against GLib ≥ 2.70, use g_spawn_check_wait_status(); when
building against older versions of GLib, use a compatibility shim.
|
|
|
|
| |
GTimeVal is not Y2038-safe, and has been deprecated in GLib.
|
|
|
|
|
| |
The get_pkgconfig_variable() method on the Dependency object was
replaced by a generic get_variable() method.
|
|
|
|
|
|
| |
Version 0.49 is ancient.
Debian stable ships with 0.56.2, so let's go with that.
|
|
|
|
| |
We only need the warnings.
|
|
|
|
| |
GTimeVal is not year 2038 safe, and it has been deprecated in GLib.
|
|
|
|
| |
GnomeBGSlideShow does not need GDK, it only needs GIO.
|
| |
|
|
|
|
|
|
|
| |
Language codes in ISO 639-1 consist of two letters, those in ISO 639-3
of three letters. Use the appropriate domain for translations.
Fixes: #197
|
| |
|
| |
|