Commit graph

17 commits

Author SHA1 Message Date
Felipe Borges
ae71408680 build: Enable "Location Services" by default
The decision to disable was a reaction to the announcement of the
Mozilla Location Service shutdown. The goal was to give distros an
option to decide based on their own release schedule and support
lifetime.

Given that the issue of low accuracy in location might not turn out to
be a big issue for most of our users, let's turn "Location Services" ON
by default and instead let distros disable the feature if they desire.

Fixes #2959
2024-05-02 09:27:38 +00:00
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
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
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
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
Michael Catanzaro
69f51bdab0 info-overview: add build option to control distributor logo
Currently, we display a 256x256 version of the OS icon from
/etc/os-release. This is too big for my taste, and it's also not
sufficient for distros that want to display a logo that is not an icon.
For instance, because we no longer display the operating system name
immediately beneath the logo, it may be desirable to use a logo variant
that includes text. This patch adds a meson build option that
distributions can use to override the logo, and a second build option to
specify a different logo for use in dark mode.
2022-05-10 23:16:40 +00:00
Georges Basile Stavracas Neto
5ca53a0a78 Drop Cheese dependency
Cheese is not ready for GTK4, and probably won't ever be, so just
drop the dependency. We'll reimplement webcam support using PipeWire
later.
2021-12-14 22:34:21 -03:00
Umang Jain
dbf1b0dafb applications: Integrate with malcontent's restrictions
malcontent[1] is  parental(or admin) controlled interface which
can restrict a application's visibility and interactivity for a
standard user. Hence, if the current uid has any restrictions
on its installed applications, filter them out from the applications
panel.

Make the malcontent support enable or disable by setting it up as
a build-time meson option.

[1]: https://gitlab.freedesktop.org/pwithnall/malcontent/
2020-06-17 12:56:43 +01:00
Robert Ancell
aa471faa4a applications: Show snap app sizes 2019-12-18 12:29:19 +13:00
Bastien Nocera
2007a5b240 info: Use new helper to fetch GL/GLES renderers 2019-11-06 09:27:10 +13:00
Robert Ancell
4376140183 common: Make the privileged group configurable (i.e. wheel vs sudo)
Fixes #559
2019-10-31 03:34:28 +00:00
Felipe Borges
a1c48ce477 flatpak: Use the Nightly variant of the application icon
For the "development" profile, lets use the Nightly variant, to
visually indicate to users that they are running an unstable
version of the application.
2019-10-14 20:25:39 +00:00
Mohammed Sadiq
c884b19b46 build: Allow disabling tests 2019-09-23 14:12:21 +00:00
Georges Basile Stavracas Neto
50094b45a6 window: Warn about development builds
With this commit, a message dialog pops up whenever a
development build runs. This is meant to actually annoy,
so that we're always reminded that things may not work
as expected.

Since the dialog can be dismissed with a single button
press, it is not the end of the world. But people still
should be aware that Settings is ~not~ meant to run with
Flatpak, and that this is a development tool only.
2018-05-14 18:24:03 -03:00
Georges Basile Stavracas Neto
1187f147af log: Reimplement logging and debugging
This commit replaces the old rudimentary log handler
by a shinier version of it. It also introduces the
debugging macros that I usually add to the apps,
including the CC_TRACE_MSG() macro for tracing.
2018-04-06 23:18:26 -03:00
Iñigo Martínez
a2b20a65cb build: Make bluetooth, network and wacom mandatory on linux
The bluetooh, network and wacom panels should not be optional
on linux, except on s390 systems which lack USB support. It
should also not be built at all on other systems.

This patch makes these panels mandatory on linux.

https://bugzilla.gnome.org/show_bug.cgi?id=792641
2018-01-22 23:06:45 -02:00
Iñigo Martínez
32edd6789e build: Port to meson build system
Meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:35 -02:00