Hello community,
here is the log from the commit of package mate-control-center for
openSUSE:Factory checked in at 2018-03-20 21:58:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-control-center (Old)
and /work/SRC/openSUSE:Factory/.mate-control-center.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-control-center"
Tue Mar 20 21:58:27 2018 rev:19 rq:587062 version:1.20.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-control-center/mate-control-center.changes
2017-06-18 13:51:30.209420843 +0200
+++
/work/SRC/openSUSE:Factory/.mate-control-center.new/mate-control-center.changes
2018-03-20 21:58:55.500782092 +0100
@@ -1,0 +2,81 @@
+Wed Mar 14 19:42:23 UTC 2018 - [email protected]
+
+- remove xorg-x11-devel, adjusting buildrequires to what
+ configure checks for and what libraries are linked in
+ the final executable.
+
+-------------------------------------------------------------------
+Fri Mar 9 19:10:07 UTC 2018 - [email protected]
+
+- Update to version 1.20.0:
+ * Require GTK+ 3.22 and GLib 2.50.
+ * Add support for HiDPI displays.
+ * libslab nameplate-tile, shellwindow: Replace GtkAlignment with
+ a GtkBox.
+ * libslab tile.c: Replace deprecated gtk_widget_set_state().
+ * libslab slab-section, app-shell, searchbar: Avoid deprecated
+ GtkAlignment.
+ * app-resizer: Fix a build warning
+ * libslab nameplate-tile: Avoid deprecated
+ gtk_button_set_focus_on_click().
+ * libslab nameplate-tile: Remove one deprecated usage of
+ GtkAlignment.
+ * libslab: Don't use deprecated gdk_app_launch_context_new().
+ * eel-alert-dialog: Replace some GtkStock items.
+ * keybindings: Fix a couple of build warnings.
+ * libslab bookmark-agent: Fix some xdg paths.
+ * Use g_object_unref() instead of deprecated rsvg_handle_free().
+ * keybindings: Fix and add mnemonics in the custom command
+ dialogue.
+ * keybindings: Allow to select an installed application through a
+ dialogue.
+ * libslab: Avoid deprecated gdk_screen_width/height().
+ * appearance-font.c: Avoid deprecated
+ gdk_screen_get_width/height_mm().
+ * Avoid deprecated gdk_screen_get_width/height().
+ * libslab: Drop an unneeded libslab_mate_desktop_item_open_help()
+ function.
+ * libslab: Drop uneeded support for gnome-main-menu.
+ * typing-break: Avoid deprecated GDK pointer and keyboard types.
+ * libslab: Don't use deprecated gtk_show_uri().
+ * display scrollarea: Avoid deprecated gtk_adjustment_changed.
+ * keybindings eggcellrendererkey: Avoid deprecated GDK pointer
+ and keyboard types.
+ * display scrollarea: Fix a -Wuninitialized build warning.
+ * display scrollarea: Avoid deprecated gdk_window_get_pointer().
+ * Avoid deprecated gdk_screen_get_monitor_,
+ gdk_screen_make_display_name(), gdk_display_get_screen() and
+ gdk_display_get_n_screens() functions.
+ * capplet-util: Don't use deprecated gtk_show_uri().
+ * typing-break: Avoid deprecated GtkMisc, gtk_alignment_new().
+ * mouse: Fix a build warning.
+ * mouse: Warn about enabling multi-finger emulation.
+ * Enable default broswer setting support for text/html.
+ * libslab: Restore missing variable initialisation.
+ * An implementation of WidthOfScreen and HeightOfScreen.
+ * Fix support for external localisations in .desktop files.
+ * Add the support for cursor sizes of 96 and 128.
+ * man: Fix the title of the mate-window-properties page.
+ * man: Fix titles of the mate-typing-monitor and
+ mate-thumbnail-font pages.
+ * Fix font dpi with "org.mate.desktop.font-rendering.dpi" by
+ default.
+ * theme-installer.c: Add missing g_object_unref in
+ mate_theme_install_real.
+ * theme-util.c: Fix reinstalling the deleted theme can cause
+ failure.
+ * Support the theme compression package for installing XZ format.
+ * eggcellrendererkeys.c: Fix build warnings.
+ * theme-thumbnail.c: Fix build warnings with 'write' and 'pipe'.
+ * libslab: Store the search entry widget as GtkEntry.
+ * libslab: Fix the search icon being misaligned.
+ * libslab: search-entry.c: Fix a build warning.
+ * Remove a useless duplication in mate_theme_install_real.
+ * Fix Window Border theme cannot be deleted.
+ * Update the windows tiling gsettings key.
+ * shell: Add a Comment field to the .desktop file.
+ * Update translations.
+- Add mate-control-center-gtk-3.20.patch: Restore GLib 2.48 and
+ GTK+ 3.20 support.
+
+-------------------------------------------------------------------
Old:
----
mate-control-center-1.18.2.tar.xz
New:
----
mate-control-center-1.20.0.tar.xz
mate-control-center-gtk-3.20.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mate-control-center.spec ++++++
--- /var/tmp/diff_new_pack.94Xf1H/_old 2018-03-20 21:58:56.556744071 +0100
+++ /var/tmp/diff_new_pack.94Xf1H/_new 2018-03-20 21:58:56.560743927 +0100
@@ -1,7 +1,7 @@
#
# spec file for package mate-control-center
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,47 +20,57 @@
%define sover 1
%define soname_slab libmate-slab
%define sover_slab 0
-%define _version 1.18
+%define _version 1.20
Name: mate-control-center
-Version: 1.18.2
+Version: 1.20.0
Release: 0
Summary: MATE Desktop control center
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: System/GUI/Other
Url: https://mate-desktop.org/
Source:
http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
+# PATCH-FEATURE-OPENSUSE mate-control-center-gtk-3.20.patch -- Restore GLib
2.48 and GTK+ 3.20 support.
+Patch0: mate-control-center-gtk-3.20.patch
BuildRequires: fdupes
BuildRequires: libxml2-python
BuildRequires: mate-common
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
-BuildRequires: xorg-x11-devel
BuildRequires: yelp-tools
+BuildRequires: pkgconfig(atk)
+BuildRequires: pkgconfig(cairo)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(dconf) >= 0.11.0
-BuildRequires: pkgconfig(gio-2.0)
-BuildRequires: pkgconfig(glib-2.0)
-BuildRequires: pkgconfig(gtk+-3.0) >= 3.14
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(gio-2.0) >= 2.48
+BuildRequires: pkgconfig(glib-2.0) >= 2.48
+BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libmarco-private) >= %{_version}
BuildRequires: pkgconfig(libmate-menu) >= %{_version}
BuildRequires: pkgconfig(libmatekbd)
+BuildRequires: pkgconfig(libmatekbdui)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libxklavier)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mate-desktop-2.0) >= %{_version}
BuildRequires: pkgconfig(mate-settings-daemon) >= %{_version}
BuildRequires: pkgconfig(pango)
-BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xext)
-BuildRequires: pkgconfig(xft)
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xscrnsaver)
+BuildRequires: pkgconfig(xxf86misc)
+
Requires: %{name}-branding
Requires: gsettings-backend-dconf
Requires: gsettings-desktop-schemas
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
-%if 0%{?suse_version} >= 1320 || (0%{?sle_version} >= 120100 &&
0%{?is_opensuse})
+%if 0%{?is_opensuse}
BuildRequires: pkgconfig(appindicator3-0.1)
%endif
@@ -128,6 +138,7 @@
%prep
%setup -q
+%patch0 -p1
%build
NOCONFIGURE=1 mate-autogen
@@ -152,6 +163,7 @@
%fdupes -s %{buildroot}%{_datadir}/help/
+%if 0%{?suse_version} < 1500
%post
%desktop_database_post
%mime_database_post
@@ -163,6 +175,7 @@
%mime_database_postun
%icon_theme_cache_postun
%glib2_gsettings_schema_postun
+%endif
%post -n %{soname}%{sover} -p /sbin/ldconfig
@@ -173,8 +186,12 @@
%postun -n %{soname_slab}%{sover_slab} -p /sbin/ldconfig
%files
-%defattr(-,root,root)
-%doc ChangeLog README COPYING
+%if 0%{?suse_version} >= 1500
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc ChangeLog README
%{_sbindir}/mate-display-properties-install-systemwide
%{_bindir}/mate-*
%{_datadir}/applications/*.desktop
@@ -195,16 +212,13 @@
%{_mandir}/man?/mate-*.?%{?ext_man}
%files branding-upstream
-%defattr (-,root,root)
%dir %{_sysconfdir}/xdg/menus
%config %{_sysconfdir}/xdg/menus/matecc.menu
%files -n %{soname}%{sover}
-%defattr(-,root,root)
%{_libdir}/%{soname}.so.%{sover}*
%files devel
-%defattr(-,root,root)
%{_includedir}/mate-window-settings-2.0/
%{_libdir}/libmate-window-settings.so
%{_libdir}/pkgconfig/mate-default-applications.pc
@@ -212,16 +226,13 @@
%{_libdir}/pkgconfig/mate-window-settings-2.0.pc
%files -n %{soname_slab}%{sover_slab}
-%defattr(-,root,root)
%{_libdir}/%{soname_slab}.so.%{sover_slab}*
%files -n %{soname_slab}-devel
-%defattr(-,root,root)
%{_libdir}/pkgconfig/mate-slab.pc
%{_includedir}/%{soname_slab}/
%{_libdir}/%{soname_slab}.so
%files lang -f %{name}.lang
-%defattr(-,root,root)
%changelog
++++++ mate-control-center-1.18.2.tar.xz -> mate-control-center-1.20.0.tar.xz
++++++
++++ 78506 lines of diff (skipped)
++++++ mate-control-center-gtk-3.20.patch ++++++
--- a/capplets/appearance/appearance-desktop.c
+++ b/capplets/appearance/appearance-desktop.c
@@ -883,11 +883,20 @@ static gdouble
get_monitor_aspect_ratio_for_widget (GtkWidget *widget)
{
gdouble aspect;
+#if GTK_CHECK_VERSION (3, 22, 0)
GdkMonitor *monitor;
+#else
+ int monitor;
+#endif
GdkRectangle rect;
+#if GTK_CHECK_VERSION (3, 22, 0)
monitor = gdk_display_get_monitor_at_window (gtk_widget_get_display
(widget), gtk_widget_get_window (widget));
gdk_monitor_get_geometry (monitor, &rect);
+#else
+ monitor = gdk_screen_get_monitor_at_window (gtk_widget_get_screen (widget),
gtk_widget_get_window (widget));
+ gdk_screen_get_monitor_geometry (gtk_widget_get_screen (widget), monitor,
&rect);
+#endif
aspect = rect.height / (gdouble)rect.width;
--- a/capplets/common/capplet-util.c
+++ b/capplets/common/capplet-util.c
@@ -76,7 +76,11 @@ capplet_help (GtkWindow *parent, char co
uri = g_strdup_printf ("help:mate-user-guide/%s", section);
+#if GTK_CHECK_VERSION (3, 22, 0)
if (!gtk_show_uri_on_window (parent , uri, gtk_get_current_event_time
(), &error)) {
+#else
+ if (!gtk_show_uri (gtk_window_get_screen (parent), uri,
gtk_get_current_event_time (), &error)) {
+#endif
capplet_error_dialog (
parent,
_("There was an error displaying help: %s"),
--- a/configure.ac
+++ b/configure.ac
@@ -59,8 +59,8 @@ AC_CHECK_FUNC(XScreenSaverQueryInfo, [
AC_SUBST(TYPING_BREAK)
AC_SUBST(SCREENSAVER_LIBS)
-GLIB_REQUIRED=2.50.0
-GTK_REQUIRED=3.22.0
+GLIB_REQUIRED=2.48.0
+GTK_REQUIRED=3.20.0
MARCO_REQUIRED=1.17.0
MSD_REQUIRED=1.17.0
MATEKBD_REQUIRED=1.17.0
--- a/libslab/slab-mate-util.c
+++ b/libslab/slab-mate-util.c
@@ -118,7 +118,11 @@ open_desktop_item_help (MateDesktopItem
help_uri = g_strdup_printf ("help:%s", doc_path);
error = NULL;
+#if GTK_CHECK_VERSION (3, 22, 0)
if (!gtk_show_uri_on_window (NULL, help_uri,
gtk_get_current_event_time (), &error))
+#else
+ if (!gtk_show_uri (libslab_get_current_screen (), help_uri,
gtk_get_current_event_time (), &error))
+#endif
{
g_warning ("error opening %s [%s]\n", help_uri,
error->message);
--- a/typing-break/drw-break-window.c
+++ b/typing-break/drw-break-window.c
@@ -150,7 +150,11 @@ drw_break_window_init (DrwBreakWindow *w
screen = gdk_screen_get_default ();
display = gdk_screen_get_display (screen);
+#if GTK_CHECK_VERSION (3, 22, 0)
gdk_monitor_get_geometry (gdk_display_get_monitor (display,
root_monitor), &monitor);
+#else
+ gdk_screen_get_monitor_geometry (screen, root_monitor, &monitor);
+#endif
gtk_window_set_default_size (GTK_WINDOW (window),
WidthOfScreen (gdk_x11_screen_get_xscreen
(screen)),