Blame SPECS/gnome-control-center.spec

45708b
%define gnome_online_accounts_version 3.25.3
45708b
%define glib2_version 2.53.0
45708b
%define gnome_desktop_version 3.27.90
8230d6
%define gsd_version 3.32.0-13
8230d6
45708b
%define gsettings_desktop_schemas_version 3.27.2
45708b
%define gtk3_version 3.22.20
45708b
%define upower_version 0.99.6
45708b
%define cheese_version 3.28.0
45708b
%define gnome_bluetooth_version 3.18.2
45708b
45708b
Name:           gnome-control-center
45708b
Version:        3.28.2
967527
Release:        37%{?dist}
45708b
Summary:        Utilities to configure the GNOME desktop
45708b
45708b
License:        GPLv2+ and CC-BY-SA
45708b
URL:            http://www.gnome.org
45708b
Source0:        https://download.gnome.org/sources/gnome-control-center/3.28/gnome-control-center-%{version}.tar.xz
45708b
45708b
# https://bugzilla.gnome.org/show_bug.cgi?id=695691
45708b
Patch0:         distro-logo.patch
8230d6
45708b
# thunderbolt panel backported to 3.28.x
45708b
# https://gitlab.gnome.org/gicmo/gnome-control-center/commits/thunderbolt_3_28_1
45708b
Patch1:         0001-shell-Don-t-set-per-panel-icon.patch
45708b
Patch2:         0002-shell-Icon-name-helper-returns-symbolic-name.patch
45708b
Patch3:         0003-thunderbolt-new-panel-for-device-management.patch
45708b
Patch4:         0004-thunderbolt-move-to-the-Devices-page.patch
45708b
45708b
# Backport of F29 screen sharing UI
45708b
Patch5:         0001-sharing-Enable-settings-widget-for-gnome-remote-desk.patch
45708b
45708b
Patch6:         0001-wacom-Update-Test-your-settings-button-sensitivity-o.patch
cee2d4
Patch7:         0001-wacom-Update-to-newer-output-setting.patch
cee2d4
cee2d4
# Subscription management
8230d6
Patch80001:     0001-info-Add-subscription-manager-integration.patch
8230d6
Patch80002:     0002-info-Move-helper-for-getting-subscription-status-to-.patch
8230d6
Patch80003:     0003-info-Update-registration-state-in-panel-when-it-happ.patch
8230d6
Patch80004:     0004-info-Better-support-registered-but-no-subscriptions-.patch
cee2d4
cee2d4
Patch9:         0001-sharing-Fix-warning-when-disabling-sharing.patch
cee2d4
Patch10:        0001-network-Use-g_signal_connect_object-when-dealing-wit.patch
cee2d4
cee2d4
Patch11:        0001-common-fix-udev-based-device-removal.patch
cee2d4
Patch12:        0001-network-Keep-a-ref-on-NetDeviceEthernet-while-a-edit.patch
cee2d4
Patch13:        0001-network-Make-list-in-new-VPN-dialog-fill-up-space.patch
cee2d4
Patch14:        0001-network-Make-IPv4-v6-pages-drive-the-scrolledwindow-.patch
cee2d4
Patch15:        0001-network-Update-VPN-empty-label-status-after-removing.patch
cee2d4
Patch16:        0001-network-Use-connect-object-on-signals.patch
b28b5c
Patch17:        0001-sharing-Remember-the-password-on-remote-desktop-shar.patch
b28b5c
Patch18:        0001-wacom-Pick-libwacom-s-Generic-Pen-stylus-if-tool-ID-.patch
b28b5c
b28b5c
Patch20:        0001-user-Support-devices-with-more-than-5-enroll-steps.patch
b28b5c
Patch21:        backport-wacom-tool-id-fixes.patch
b28b5c
Patch22:        0001-power-correct-the-value-of-90-minutes-to-5400.patch
b28b5c
Patch23:        0001-sound-Ensure-to-preserve-sound-theme-when-changing-f.patch
45708b
8230d6
Patch24:        categorize-infiniband.patch
8230d6
8230d6
Patch25:        printers-Update-entries.patch
8230d6
be08a1
# https://bugzilla.redhat.com/show_bug.cgi?id=1876291
be08a1
Patch26:        Update-translations.patch
be08a1
a11c41
# https://bugzilla.redhat.com/show_bug.cgi?id=1938323
a11c41
Patch31:        0001-network-Populate-AP-list-from-idle-handler.patch
a11c41
# https://bugzilla.redhat.com/show_bug.cgi?id=1915411
a11c41
Patch32:        0002-ce-page-security-add-SAE-support.patch
a11c41
Patch33:        0003-ce-page-details-add-SAE-support.patch
a11c41
Patch34:        0004-net-device-wifi-Decode-SAE-AP-security.patch
a11c41
Patch35:        0005-network-complete-SAE-support.patch
a11c41
Patch36:        0006-Add-support-for-Enhanced-Open-WiFi-security.patch
a11c41
Patch37:        0007-network-Fix-connection-selection-and-SSID-display-fo.patch
a11c41
# https://bugzilla.redhat.com/show_bug.cgi?id=1938944
a11c41
Patch38:        0008-network-Fix-saving-passwords-for-non-wifi-connection.patch
a11c41
a11c41
# Backport monitor config policy (#2001655)
a11c41
Patch39:        0001-display-Only-display-configuration-options-if-apply-.patch
a11c41
a11c41
Patch40:        0001-displays-Don-t-enlarge-display-panel-artificially.patch
a11c41
a11c41
# Workaround for libnma not handling OWE https://gitlab.gnome.org/GNOME/libnma/-/issues/9
a11c41
Patch41:        0001-network-Fix-OWE-settings.patch
a11c41
5d71f8
# https://bugzilla.redhat.com/show_bug.cgi?id=2097839
5d71f8
Patch42:        0001-timezone-use-blank-map.patch
5d71f8
5d71f8
# https://bugzilla.redhat.com/show_bug.cgi?id=2079139
5d71f8
Patch43:        0001-wifi-Move-airplane-mode-widget-above-the-main-stack.patch
5d71f8
967527
# https://bugzilla.redhat.com/show_bug.cgi?id=1926995
967527
Patch44:        0001-shell-Avoid-handling-map-events-from-other-windows.patch
967527
45708b
BuildRequires:  chrpath
45708b
BuildRequires:  cups-devel
45708b
BuildRequires:  desktop-file-utils
45708b
BuildRequires:  docbook-style-xsl libxslt
45708b
BuildRequires:  gettext
5d71f8
BuildRequires:  git
45708b
BuildRequires:  libXxf86misc-devel
45708b
BuildRequires:  meson
45708b
BuildRequires:  pkgconfig(accountsservice)
45708b
BuildRequires:  pkgconfig(cheese) >= %{cheese_version}
45708b
BuildRequires:  pkgconfig(cheese-gtk)
45708b
BuildRequires:  pkgconfig(clutter-gtk-1.0)
45708b
BuildRequires:  pkgconfig(colord)
45708b
BuildRequires:  pkgconfig(colord-gtk)
45708b
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
45708b
BuildRequires:  pkgconfig(gdk-wayland-3.0)
45708b
BuildRequires:  pkgconfig(gio-2.0) >= %{glib2_version}
45708b
BuildRequires:  pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
45708b
BuildRequires:  pkgconfig(gnome-settings-daemon) >= %{gsd_version}
45708b
BuildRequires:  pkgconfig(goa-1.0) >= %{gnome_online_accounts_version}
45708b
BuildRequires:  pkgconfig(goa-backend-1.0)
45708b
BuildRequires:  pkgconfig(grilo-0.3)
45708b
BuildRequires:  pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
45708b
BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
45708b
BuildRequires:  pkgconfig(gudev-1.0)
45708b
BuildRequires:  pkgconfig(ibus-1.0)
45708b
BuildRequires:  pkgconfig(libcanberra-gtk3)
45708b
BuildRequires:  pkgconfig(libgtop-2.0)
45708b
BuildRequires:  pkgconfig(libnm)
45708b
BuildRequires:  pkgconfig(libnma)
45708b
BuildRequires:  pkgconfig(libpulse)
45708b
BuildRequires:  pkgconfig(libpulse-mainloop-glib)
45708b
BuildRequires:  pkgconfig(libsecret-1)
45708b
BuildRequires:  pkgconfig(libsoup-2.4)
45708b
BuildRequires:  pkgconfig(libxml-2.0)
45708b
BuildRequires:  pkgconfig(mm-glib)
45708b
BuildRequires:  pkgconfig(polkit-gobject-1)
45708b
BuildRequires:  pkgconfig(pwquality)
45708b
BuildRequires:  pkgconfig(smbclient)
45708b
BuildRequires:  pkgconfig(upower-glib) >= %{upower_version}
45708b
BuildRequires:  pkgconfig(x11)
45708b
BuildRequires:  pkgconfig(xi)
45708b
%ifnarch s390 s390x
45708b
BuildRequires:  pkgconfig(gnome-bluetooth-1.0) >= %{gnome_bluetooth_version}
45708b
BuildRequires:  pkgconfig(libwacom)
45708b
%endif
45708b
45708b
# Versioned library deps
45708b
Requires: cheese-libs%{?_isa} >= %{cheese_version}
45708b
Requires: glib2%{?_isa} >= %{glib2_version}
45708b
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
45708b
Requires: gnome-online-accounts%{?_isa} >= %{gnome_online_accounts_version}
45708b
Requires: gnome-settings-daemon%{?_isa} >= %{gsd_version}
cee2d4
# For g-s-d subscription manager patches
cee2d4
Requires: gnome-settings-daemon%{?_isa} >= 3.32.0-7
45708b
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
45708b
Requires: gtk3%{?_isa} >= %{gtk3_version}
45708b
Requires: upower%{?_isa} >= %{upower_version}
45708b
%ifnarch s390 s390x
45708b
Requires: gnome-bluetooth%{?_isa} >= 1:%{gnome_bluetooth_version}
45708b
%endif
45708b
45708b
Requires: %{name}-filesystem = %{version}-%{release}
45708b
# For user accounts
45708b
Requires: accountsservice
45708b
Requires: alsa-lib
45708b
# For the thunderbolt panel
45708b
Requires: bolt
45708b
# For the color panel
45708b
Requires: colord
45708b
# For the printers panel
45708b
Requires: cups-pk-helper
45708b
Requires: dbus-x11
45708b
# For the info/details panel
45708b
Requires: glx-utils
45708b
# For the user languages
45708b
Requires: iso-codes
45708b
# For the network panel
45708b
Requires: nm-connection-editor
45708b
Recommends: NetworkManager-wifi
45708b
%if 0%{?fedora}
45708b
# For the sharing panel
45708b
Requires: rygel
45708b
%endif
45708b
# For the info/details panel
45708b
Requires: switcheroo-control
45708b
# For the keyboard panel
45708b
Requires: /usr/bin/gkbd-keyboard-display
45708b
45708b
Recommends: vino
45708b
Recommends: system-config-printer-libs
45708b
45708b
# Renamed in F28
45708b
Provides: control-center = 1:%{version}-%{release}
45708b
Provides: control-center%{?_isa} = 1:%{version}-%{release}
45708b
Obsoletes: control-center < 1:%{version}-%{release}
45708b
45708b
%description
45708b
This package contains configuration utilities for the GNOME desktop, which
45708b
allow to configure accessibility options, desktop fonts, keyboard and mouse
45708b
properties, sound setup, desktop theme and background, user interface
45708b
properties, screen resolution, and other settings.
45708b
45708b
%package filesystem
45708b
Summary: GNOME Control Center directories
45708b
# NOTE: this is an "inverse dep" subpackage. It gets pulled in
45708b
# NOTE: by the main package and MUST not depend on the main package
45708b
BuildArch: noarch
45708b
# Renamed in F28
45708b
Provides: control-center-filesystem = 1:%{version}-%{release}
45708b
Obsoletes: control-center-filesystem < 1:%{version}-%{release}
45708b
45708b
%description filesystem
45708b
The GNOME control-center provides a number of extension points
45708b
for applications. This package contains directories where applications
45708b
can install configuration files that are picked up by the control-center
45708b
utilities.
45708b
45708b
%prep
5d71f8
%autosetup -p1 -Sgit
45708b
45708b
%build
45708b
%meson -Ddocumentation=true
45708b
%meson_build
45708b
45708b
%install
45708b
%meson_install
45708b
45708b
# We do want this
45708b
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
45708b
45708b
# We don't want these
45708b
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
45708b
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts
45708b
45708b
# Remove rpath
45708b
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
45708b
45708b
%find_lang %{name} --all-name --with-gnome
45708b
45708b
%files -f %{name}.lang
45708b
%license COPYING
45708b
%doc AUTHORS NEWS README
45708b
%{_bindir}/gnome-control-center
45708b
%{_datadir}/applications/*.desktop
45708b
%{_datadir}/bash-completion/completions/gnome-control-center
45708b
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service
45708b
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.service
45708b
%{_datadir}/gettext/
45708b
%{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml
45708b
%{_datadir}/gnome-control-center/icons/
45708b
%{_datadir}/gnome-control-center/keybindings/*.xml
45708b
%{_datadir}/gnome-control-center/pixmaps
45708b
%{_datadir}/gnome-control-center/sounds/gnome-sounds-default.xml
45708b
%{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini
45708b
%{_datadir}/icons/hicolor/*/*/*
45708b
%{_datadir}/man/man1/gnome-control-center.1*
45708b
%{_datadir}/metainfo/gnome-control-center.appdata.xml
45708b
%{_datadir}/pixmaps/faces
45708b
%{_datadir}/pkgconfig/gnome-keybindings.pc
45708b
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.*.policy
45708b
%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
45708b
%{_datadir}/sounds/gnome/default/*/*.ogg
45708b
%{_libexecdir}/cc-remote-login-helper
45708b
%{_libexecdir}/gnome-control-center-search-provider
45708b
45708b
%files filesystem
45708b
%dir %{_datadir}/gnome-control-center
45708b
%dir %{_datadir}/gnome-control-center/keybindings
45708b
%dir %{_datadir}/gnome-control-center/sounds
45708b
%dir %{_datadir}/gnome/wm-properties
45708b
45708b
%changelog
967527
* Mon Jan 02 2023 Felipe Borges <feborges@redhat.com> - 4.28.2-37
967527
- Fix keyboard accessibility of screen resolution list
967527
  Resolves: #1926995
967527
5d71f8
* Mon Aug 15 2022 Felipe Borges <feborges@redhat.com> - 3.28.2-36
5d71f8
- Update airplane mode fix to synchronize with system changes
5d71f8
  Resolves: #2079139
5d71f8
5d71f8
* Fri Jul 15 2022 Felipe Borges <feborges@redhat.com> - 3.28.2-35
5d71f8
- Fix issue with the airplane mode toggle visibility on Wifi panel
5d71f8
  Resolves: #2079139
5d71f8
5d71f8
* Wed Jun 22 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 3.28.2-34
5d71f8
- Remove timezone boundaries
5d71f8
  Resolves: #2097839
5d71f8
a11c41
* Thu Feb 24 2022 Benjamin Berg <bberg@redhat.com> - 3.28.2-33
a11c41
- Work around libnma not handling OWE
a11c41
  Related: #2023156
a11c41
a11c41
* Thu Feb 10 2022 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-32
a11c41
- Make displays panel able to fit in 800x600 resolution
a11c41
  Resolves: #1893650
a11c41
a11c41
* Fri Feb 04 2022 Jonas Ã…dahl <jadahl@redhat.com> - 3.28.3-31
a11c41
- Backport monitor config policy
a11c41
  Resolves: #2001655
a11c41
a11c41
* Tue Jan 04 2022 Benjamin Berg <bberg@redhat.com> - 3.28.2-30
a11c41
- Fix connection list AP selection and SSID display for OWE
a11c41
  Resolves: #2023156
a11c41
- Fix saving passwords for non-wifi connections
a11c41
  Resolves: #1938944
a11c41
a11c41
* Wed Nov 10 2021 Benjamin Berg <bberg@redhat.com> - 3.28.2-29
a11c41
- Backport SAE/WPA3/OWE support
a11c41
  Resolves: #1915411
a11c41
  Resolves: #2023156
a11c41
- Add patch to fix wifi performance issue
a11c41
  Resolves: #1938323
a11c41
a11c41
* Fri Sep 10 2021 Kalev Lember <klember@redhat.com> - 3.28.2-28
a11c41
- Update pt_BR translations
a11c41
- Resolves: #2003069
a11c41
a11c41
* Fri Jul 02 2021 Tomas Popela <tpopela@redhat.com> - 3.28.2-27
be08a1
- Update fr, ja, zh_CN translations
a11c41
- Resolves: #1933962
be08a1
8230d6
* Sun Jan 24 2021 Ray Strode <rstrode@redhat.com> - 3.28.2-26
8230d6
- Support Simple Content Access from subscription manager
8230d6
  Related: #1870837
8230d6
8230d6
* Thu Dec 03 2020 Marek Kasik <mkasik@redhat.com> - 3.28.2-25
8230d6
- Fix a leak found by Coverity
8230d6
- Related: #1700002
8230d6
8230d6
* Wed Dec 02 2020 Marek Kasik <mkasik@redhat.com> - 3.28.2-24
8230d6
- Fix crashes when updating printer entries
8230d6
- Related: #1700002
8230d6
- Resolves: #1903043
8230d6
8230d6
* Tue Nov 24 2020 Marek Kasik <mkasik@redhat.com> - 3.28.2-23
8230d6
- Update list of printers instead of regenerating it
8230d6
- Resolves: #1700002
8230d6
8230d6
* Wed Sep 02 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-22
8230d6
- Categorize Infiniband devices correctly
8230d6
  Resolves: #1826379
8230d6
b28b5c
* Mon Jun 29 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-21
b28b5c
- Honor sound theme changes when changing from the default theme
b28b5c
- Resolves: #1706008
b28b5c
b28b5c
* Mon Jun 29 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-20
b28b5c
- Fix 90min automatic sleep option to not last 80min
b28b5c
- Resolves: #1706076
b28b5c
b28b5c
* Fri Feb 21 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-19
b28b5c
- Backport tool serial/ID detection fixes
b28b5c
- Resolves: #1782517
b28b5c
b28b5c
* Thu Feb 13 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-18
b28b5c
- Pick "Generic Pen" correctly on unknown tool IDs
b28b5c
- Resolves: #1782517
b28b5c
b28b5c
* Thu Feb 13 2020 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-17
b28b5c
- Restore remote desktop password on wayland
b28b5c
- Resolves: #1763207
b28b5c
b28b5c
* Mon Jan 20 2020 Benjamin Berg <bberg@redhat.com> - 3.28.2-16
b28b5c
- Add patch to support more than 5 enroll steps
b28b5c
- Resolves: #1789474
b28b5c
cee2d4
* Mon Dec 16 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-15
cee2d4
- Fix another crash changing panel with Ethernet dialog opened
cee2d4
- Resolves: #1692299
cee2d4
cee2d4
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-14
cee2d4
- Restore placeholder label after removing last VPN connection
cee2d4
- Resolves: #1782425
cee2d4
cee2d4
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-13
cee2d4
- Make IPv4/v6 configuration pages scroll to focus
cee2d4
- Resolves: #1671709
cee2d4
cee2d4
* Fri Dec 13 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-12
cee2d4
- Fix spacing in "new VPN" dialog
cee2d4
- Resolves: #1656988
cee2d4
cee2d4
* Wed Dec 04 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-11
cee2d4
- Fix crash when changing panel with Ethernet dialog opened
cee2d4
- Resolves: #1692299
cee2d4
cee2d4
* Wed Dec 04 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-10
cee2d4
- Fix Wacom tablet removal on wayland session
cee2d4
- Resolves: #1658001
cee2d4
cee2d4
* Tue Dec 03 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-9
cee2d4
- Fix possible crash when closing the wifi panel
cee2d4
- Resolves: #1778668
cee2d4
cee2d4
* Mon Dec 01 2019 Tomas Pelka <tpelka@redhat.com> - 3.28.2-8
cee2d4
- Need rebuild in correct build target
cee2d4
- Resolves: #1749372
cee2d4
cee2d4
* Fri Nov 29 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-7
cee2d4
- Fix warning when disabling sharing
cee2d4
- Resolves: #1749372
cee2d4
cee2d4
* Mon Nov 18 2019 Kalev Lember <klember@redhat.com> - 3.28.2-6
cee2d4
- Add subscription manager integration
cee2d4
- Resolves: #1720251
cee2d4
cee2d4
* Tue Jul 23 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-5
cee2d4
- Update wacom panel to newer "output" setting
cee2d4
- Resolves: #1718133
cee2d4
45708b
* Mon Feb 11 2019 Carlos Garnacho <cgarnach@redhat.com> - 3.28.2-4
45708b
- Update "Test your settings" wacom button sensitivity on device availability
45708b
- Resolves: #1656995
45708b
45708b
* Thu Dec 13 2018 Marek Kasik <mkasik@redhat.com> - 3.28.2-3
45708b
- Recommend system-config-printer-libs as a dependency
45708b
- Resolves: #1637370
45708b
45708b
* Tue Aug 14 2018 Jonas Ã…dahl <jadahl@redhat.com> - 3.28.2-1
45708b
- Backport screen sharing UI (rhbz#1615810)
45708b
45708b
* Tue May 29 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
45708b
- Update to 3.28.2
45708b
45708b
* Wed May 23 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-4
45708b
- Change NetworkManager-wifi requires to recommends (#1478661)
45708b
45708b
* Tue May 22 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-3
45708b
- Change vino requires to a vino recommends
45708b
45708b
* Fri Apr 13 2018 Kalev Lember <klember@redhat.com> - 3.28.1-2
45708b
- Backport new thunderbolt panel
45708b
45708b
* Tue Apr 10 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-1
45708b
- Rename control-center to gnome-control-center