Commit graph

193 commits

Author SHA1 Message Date
Felipe Borges
5bdb890675 build, privacy: Make Location settings build conditional
Considering the retirement of Mozilla Location Service, most
laptop/desktop users will rely on weaker network based location
sources.

Let's make the Location settings a build option, disabled by default.
-Dlocation-services=enabled

See #2959
2024-04-04 13:52:10 +02:00
Felipe Borges
d5bd2d1029 build: Bump libadwaita version to 1.5 2024-03-27 12:32:39 +00:00
Hari Rana
d9970d4f27 flatpak: Suffix app ID with .Devel
This commit changes the app ID from `org.gnome.SettingsDevel` to `org.gnome.Settings.Devel`, as recommended by the GNOME Developer Documentation - https://developer.gnome.org/documentation/tutorials/application-id.html#application-id-for-flatpak-development.

Additionally, some changes have been made in the buildsystem, to properly substitute the app ID depending on the profile in use.
2024-03-21 16:14:31 +00:00
Felipe Borges
a76f19bc4b Post-release version bump 2024-03-18 13:10:06 +01:00
Peter Hutterer
f1cfc55a63 wacom: Add AES styli as separate stylus SVG
These are styli like the Dell Active Pen and most of the styli supplied
with laptops with built-in tablets. We don't always know how many
buttons these have so the SVG has just one large button. They're
typicall slimmer and less rounded than the Wacom pens so let's reflect
this here too.

This requires libwacom 1.4 released June 2020
2024-03-11 16:53:12 +00:00
Peter Hutterer
d8cb742c6d wacom: Remove an outdated ifdef
libwacom 0.27 was released in 2017, I think we can rely on having that
version now.
2024-03-06 09:11:10 +00:00
Felipe Borges
f177229551 46.rc 2024-03-03 18:35:24 +04:00
Jeremy Bícha
36602784c2 meson: Require gsettings-desktop-schemas >= 46.beta
for show-status-shapes
2024-02-26 13:21:09 +01:00
Felipe Borges
9d5371fdd5 46.beta.2 2024-02-13 16:05:35 +01:00
Felipe Borges
1313831488 46.beta.1 2024-02-12 20:06:56 +01:00
Felipe Borges
178c7522f6 Post-release version bump 2024-02-12 14:37:34 +01:00
Felipe Borges
12697ae430 46.beta 2024-02-12 14:32:10 +01:00
Felipe Borges
484866e27e system, wwan: Depend on gcr4 2024-01-31 10:38:07 +01:00
Felipe Borges
8d994f3b32 system, about: Report our own GNOME Settings version as GNOME Version
Fixes #2072
2024-01-23 10:41:44 +00:00
Felipe Borges
8fe3688c6f Post-release version bump 2023-10-27 17:22:02 +02:00
Felipe Borges
952ce58079 meson: Bump meson dependency to >= 0.58
Since we are about to use meson.get_variable to replace now deprecated
meson.get_pkgconfig_variable
2023-10-25 15:49:13 +02:00
Felipe Borges
7e7f6cf5c5 build, meson: Bump GLib dep version to 2.76.6 2023-10-25 12:42:13 +02:00
Felipe Borges
baf00809b7 meson: Introduce -Ddeprecated-declarations=enabled build option
Per discussion in https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1940
we agreed that the number of deprecated warnings is cluttering
significantly our build logs and making it hard for new contributors to
spot new warnings that their code changes introduce.

For now we decided that the default value for deprecated-declarations is
DISABLED.
2023-10-12 10:09:44 +02:00
Marco Melorio
633425f5db meson: Disable deprecation warnings
We have so many deprecation warnings that it becomes impossible to
notice any other useful warning, thus making the compiler output
completely useless.

Ideally, we should fix all of those but, until then, it's better to add
this flag so that we avoid adding even more warnings by accident.
2023-10-12 10:09:44 +02:00
Robert Ancell
058c9b3d6f applications: Replace snapd-glib with a native implementation
This has some advantages:
- Removes the conditional compilation requirement, which makes testing easier.
- Allows all distributed versions of Settings to have snap support without them supporting snapd-glib.
- Makes it faster to update Settings for Snap features without waiting on snapd-glib releases.

Note that the snap support is only invoked if you have snaps installed.

Downsides:
- Some additional code in Settings. This is manageable as Settings doesn't need much snap information.
  libsoup2 didn't support HTTP over Unix domain sockets and would have been too much to support in Settings.
  libsoup3 does support this which makes this possible.
- We no longer share code with snapd-glib, so any future changes will have to be made in multiple places.
  snapd has a stable API and multiple active clients so this is not likely to be a major concern.
2023-10-04 01:35:56 +00:00
Felipe Borges
36fc5f2d97 Post-release version bump 2023-09-15 12:51:17 +02:00
Carlos Garnacho
59ee519e6b build: Build tecla as a subproject if not found
Keep this as a temporary measure until the new dependency finds
its way across all distributions.
2023-09-08 10:58:59 +02:00
Felipe Borges
9a116acfd7 Post-release version bump 2023-08-25 11:47:03 +02:00
Felipe Borges
5558af12f3 Post-release version bump 2023-08-07 13:36:16 +02:00
Robert Ancell
5d7e4b79e6 Post-release version bump 2023-06-30 11:38:22 +12:00
Christopher Davis
5180092f4a build: Fix libadwaita subproject options
When implementing the workaround to allow us to use libadwaita
as a subproject, we forgot to move the default options to our
subproject declaration. This caused libadwaita's tests to be
built and subsequently fail our test stage.

This commit puts the options in the right place.
2023-06-07 18:21:55 -04:00
Felipe Borges
fc4703423d meson, tests: Disable interactive-tests when libadwaita is subproject
This is a workaround the issue where our interactive tests don't work
when libadwaita is a subproject.

For context, see
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1754
2023-06-06 13:40:33 +00:00
Felipe Borges
b441f40bcc meson: Bump gtk4 dependency 2023-06-06 13:40:33 +00:00
Maksym Hazevych
f13d0edab9 meson & ci: Update libadwaita dependency version 2023-06-06 13:40:33 +00:00
Nelson Benítez León
6fb6ba1dc9 meson: improve comment and fix deprecated functions
- Clarify that 'mm-glib' dep is for ModemManager (not Network
   Manager which is below). The comment also helps people
   which may confuse it with glibmm library.

 - Fix following Meson warning about two deprecated functions:
   WARNING: Deprecated features used:
   * 0.56.0: {'dependency.get_pkgconfig_variable', 'meson.source_root'}
2023-05-02 11:33:31 +00:00
Christopher Davis
d25c0e345d general: Use AdwBanner in CcPermissionInfobar
AdwBanner is a new adaptive widget that replaces GtkInfoBar.
AdwBanner adapts better to mobile sizes and has an API
that fits with how we use infobars.

This commit changes CcPermissionInfobar to use an AdwBanner
internally instead of a GtkInfoBar. It also re-implements
part of GtkLockButton, as AdwBanner does not support adding
arbitrary widgets.
2023-04-11 12:23:16 +00:00
Felipe Borges
980829a168 Post-release version bump 2023-04-11 13:18:13 +02:00
Robert Ancell
6490afd3ca Depend on snapd-glib-2 (soup3 version) 2023-03-29 02:03:49 +00:00
Georges Basile Stavracas Neto
fb1cc35828 Post-release version bump 2023-03-06 12:29:46 -03:00
Georges Basile Stavracas Neto
4df41ab8ea Post-release version bump 2023-02-14 22:12:51 -03:00
Christopher Davis
8ecdeb2805 meson: Add GTK as a subproject
We need a release that contains https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5442.
Currently no distro ships GTK 4.9.3.
2023-02-14 18:15:33 +00:00
Georges Basile Stavracas Neto
9f827ef2e4 build: Bump GLib dependency
We'll use g_set_str() which was introduced in GLib 2.75.0
2023-02-14 13:31:23 -03:00
Nelson Benítez León
8e76abd1f4 shell: fix meson warning
Fixes following Meson warning (given by Meson 0.62.1):

meson.build:33: WARNING: Project targeting '>= 0.57.0' but tried
to use feature deprecated since '0.55.0': ExternalProgram.path.
use ExternalProgram.full_path() instead
2023-01-30 10:04:32 +00:00
Bastien Nocera
727a88a3bd shell: Let libX11 initialise threads itself
Require a version of libX11 new enough that it will initialise threads
support itself.

See afcdb6fb00
2023-01-23 11:04:36 +00:00
Georges Basile Stavracas Neto
49158d2f4c Post-release version bump 2023-01-09 17:10:35 -03:00
Mohammed Sadiq
3b121805ed log: Improve logging
The 'tracing' build option is no longer needed.  And the verbosity
of logs can be set by providing '-v' multiple times.
2022-12-01 11:44:17 +00:00
Lubomir Rintel
6c26647154 network: replace wireless-security with libnma's NMAWs
panels/network/wireless-security is essentially an old fork of the part
of nm-connection-editor that is now part of libnma.

The UI elements provided by libnma adhere to the same look as the rest
of gnome-control-center for quite some time now. The functinality they
implement the same functionality and more. In particular, libnma uses
Gcr to provide Smart Card access for keys and certificates.

https://bugzilla.redhat.com/show_bug.cgi?id=1992836
2022-11-30 13:40:09 +01:00
Felipe Borges
142318eede flatpak, shell: Make desktop file honor "Devel" app_id 2022-11-24 14:16:47 +01:00
Michael Catanzaro
bc01d726f5 info-overview: never upscale the system logo
If we scale up, the logo will become blurry. We should only ever be
willing to scale down, not scale up.

Hopefully fixes #1709
2022-10-25 15:08:53 -05:00
Pablo Correa Gómez
ab7d752de9 default-apps: Show SMS and Calls conditional to modem being present
This avoids coggling the UI for those devices for which a modem
is not present, as x-scheme-handler/tel and x-scheme-hanlder/sms
are of no use in such cases
2022-10-21 14:35:40 +02:00
Jake Dane
89443fe550 desktop: Remove obsolete Bugzilla entries
The `X-GNOME-Bugzilla-*` entries were for use by bug-buddy, a GNOME 2
technology that's been gone for over a decade. These entries are
obsolete and can be removed from all desktop files.

The `X-GNOME-Settings-Panel` entry is also obsolete as far as I can
tell and only these panels had it in their desktop file: notifications,
sharing, sound and user-accounts. These entries can also be removed.

After removing the `X-GNOME-Bugzilla-*` entries, the desktop files have
no more variables in them. The meson `configure_file` step is therefor
pointless—there are no variables to configure. As such the
`*.desktop.in.in` files are renamed to `*.desktop.in` to reflect this
and `meson.build` files are modified to remove `configure_file` step.
2022-10-20 13:20:09 +00:00
Georges Basile Stavracas Neto
1b4b6200a5 Post-branching version bump 2022-10-17 23:04:23 -03:00
Georges Basile Stavracas Neto
61d8c33717 Post-release version bump 2022-10-17 23:03:31 -03:00
Georges Basile Stavracas Neto
ad8c39cad7 Post-release version bump 2022-09-15 12:29:28 -03:00
Georges Basile Stavracas Neto
bfe9fd2acf 43.0 2022-09-15 12:24:47 -03:00