Hello community, here is the log from the commit of package mate-power-manager for openSUSE:Factory checked in at 2017-02-19 01:04:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mate-power-manager (Old) and /work/SRC/openSUSE:Factory/.mate-power-manager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-power-manager" Changes: -------- --- /work/SRC/openSUSE:Factory/mate-power-manager/mate-power-manager.changes 2017-02-06 15:23:15.850708683 +0100 +++ /work/SRC/openSUSE:Factory/.mate-power-manager.new/mate-power-manager.changes 2017-02-19 01:04:04.517931048 +0100 @@ -1,0 +2,11 @@ +Sat Feb 18 11:01:24 UTC 2017 - sor.ale...@meowr.ru + +- Update to version 1.16.2: + * Build: Remove strict options, they just get in the way. + * GTK+3: Properly hide brightness applet popup on pressing + Esc/Enter/Space keys (fixes popup becoming wide instead and + random applet crashes). + * GTK+3: Fix mouse scroll over brightness applet icon when + no popup is shown. + +------------------------------------------------------------------- Old: ---- mate-power-manager-1.16.1.tar.xz New: ---- mate-power-manager-1.16.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mate-power-manager.spec ++++++ --- /var/tmp/diff_new_pack.PpRuql/_old 2017-02-19 01:04:04.901877102 +0100 +++ /var/tmp/diff_new_pack.PpRuql/_new 2017-02-19 01:04:04.905876539 +0100 @@ -18,13 +18,13 @@ %define _version 1.16 Name: mate-power-manager -Version: 1.16.1 +Version: 1.16.2 Release: 0 Summary: MATE Desktop UPower policy management License: GPL-2.0 Group: System/GUI/Other -Url: http://mate-desktop.org/ -Source0: http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz +Url: https://mate-desktop.org/ +Source: http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz BuildRequires: docbook-utils BuildRequires: fdupes BuildRequires: libxml2-python @@ -68,7 +68,7 @@ --libexecdir=%{_libexecdir}/%{name} \ --with-gtk=2.0 \ --enable-unique -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install %make_install ++++++ mate-power-manager-1.16.1.tar.xz -> mate-power-manager-1.16.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/ChangeLog new/mate-power-manager-1.16.2/ChangeLog --- old/mate-power-manager-1.16.1/ChangeLog 2017-01-24 11:54:10.000000000 +0100 +++ new/mate-power-manager-1.16.2/ChangeLog 2017-02-16 15:46:21.000000000 +0100 @@ -1,3 +1,42 @@ +commit ff77b8436ee6339b1f7543b9c575a76b4418b40a +Author: monsta <mon...@inbox.ru> +Date: Thu Feb 16 17:29:09 2017 +0300 + + release 1.16.2 + + NEWS | 12 ++++++++++++ + configure.ac | 2 +- + 2 files changed, 13 insertions(+), 1 deletion(-) + +commit be0723d374fb643a3f47144538420ed6f4ed171c +Author: monsta <mon...@inbox.ru> +Date: Fri Feb 10 13:13:01 2017 +0300 + + [GTK+3] brightness applet: fix mouse scroll over icon without popup + + applets/brightness/brightness-applet.c | 3 +++ + 1 file changed, 3 insertions(+) + +commit f84112f2bdb67ccc0a938fafec8228fd4f28ef7b +Author: monsta <mon...@inbox.ru> +Date: Thu Feb 9 12:56:03 2017 +0300 + + build: remove strict options, they just get in the way + + configure.ac | 23 ----------------------- + 1 file changed, 23 deletions(-) + +commit 85bbe26b88df466062698439dcafca1058ee585c +Author: monsta <mon...@inbox.ru> +Date: Thu Feb 2 16:10:28 2017 +0300 + + [GTK+3] brightness applet: properly hide popup on Esc/Enter/Space keys + + port of a25fecfecd752cd4a5966786c617cf1b1a3b9eb0 to mixed GTK+2/3 code + + applets/brightness/brightness-applet.c | 20 +++++++++++++++++--- + 1 file changed, 17 insertions(+), 3 deletions(-) + commit 57987c057b96dfe5c5b29358398f4a08dbd86f24 Author: monsta <mon...@inbox.ru> Date: Tue Jan 24 13:21:25 2017 +0300 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/NEWS new/mate-power-manager-1.16.2/NEWS --- old/mate-power-manager-1.16.1/NEWS 2017-01-24 11:20:12.000000000 +0100 +++ new/mate-power-manager-1.16.2/NEWS 2017-02-16 15:27:19.000000000 +0100 @@ -1,3 +1,15 @@ +Version 1.16.2 +~~~~~~~~~~~~~~ +Released: 2017-02-16 + +* News: + - Build: remove strict options, they just get in the way + - GTK+3: properly hide brightness applet popup on pressing + Esc/Enter/Space keys (fixes popup becoming wide instead + and random applet crashes) + - GTK+3: fix mouse scroll over brightness applet icon when + no popup is shown + Version 1.16.1 ~~~~~~~~~~~~~~ Released: 2017-01-24 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/applets/brightness/brightness-applet.c new/mate-power-manager-1.16.2/applets/brightness/brightness-applet.c --- old/mate-power-manager-1.16.1/applets/brightness/brightness-applet.c 2017-01-24 09:56:40.000000000 +0100 +++ new/mate-power-manager-1.16.2/applets/brightness/brightness-applet.c 2017-02-12 15:29:33.000000000 +0100 @@ -97,7 +97,11 @@ static void gpm_applet_update_popup_level (GpmBrightnessApplet *applet); static gboolean gpm_applet_plus_cb (GtkWidget *w, GpmBrightnessApplet *applet); static gboolean gpm_applet_minus_cb (GtkWidget *w, GpmBrightnessApplet *applet); +#if GTK_CHECK_VERSION (3, 0, 0) +static gboolean gpm_applet_key_press_cb (GtkWidget *popup, GdkEventKey *event, GpmBrightnessApplet *applet); +#else static gboolean gpm_applet_key_press_cb (GpmBrightnessApplet *applet, GdkEventKey *event); +#endif static gboolean gpm_applet_scroll_cb (GpmBrightnessApplet *applet, GdkEventScroll *event); static gboolean gpm_applet_slide_cb (GtkWidget *w, GpmBrightnessApplet *applet); static void gpm_applet_create_popup (GpmBrightnessApplet *applet); @@ -394,9 +398,13 @@ gpm_applet_destroy_popup_cb (GpmBrightnessApplet *applet) { if (applet->popup != NULL) { +#if !GTK_CHECK_VERSION (3, 0, 0) gtk_widget_set_parent (applet->popup, NULL); +#endif gtk_widget_destroy (applet->popup); applet->popup = NULL; + applet->popped = FALSE; + gpm_applet_update_tooltip (applet); } return TRUE; } @@ -510,7 +518,11 @@ * mainly escape to unpop and arrows to change brightness **/ static gboolean +#if GTK_CHECK_VERSION (3, 0, 0) +gpm_applet_key_press_cb (GtkWidget *popup, GdkEventKey *event, GpmBrightnessApplet *applet) +#else gpm_applet_key_press_cb (GpmBrightnessApplet *applet, GdkEventKey *event) +#endif { int i; @@ -524,17 +536,17 @@ case GDK_KEY_Escape: /* if yet popped, release focus and hide then redraw applet unselected */ if (applet->popped) { +#if !GTK_CHECK_VERSION (3, 0, 0) gdk_keyboard_ungrab (GDK_CURRENT_TIME); gdk_pointer_ungrab (GDK_CURRENT_TIME); gtk_grab_remove (GTK_WIDGET(applet)); -#if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_state_flags (GTK_WIDGET(applet), GTK_STATE_FLAG_NORMAL, TRUE); -#else gtk_widget_set_state (GTK_WIDGET(applet), GTK_STATE_NORMAL); #endif gtk_widget_hide (applet->popup); applet->popped = FALSE; +#if !GTK_CHECK_VERSION (3, 0, 0) gpm_applet_draw_cb (applet); +#endif gpm_applet_update_tooltip (applet); return TRUE; } else { @@ -1130,6 +1142,9 @@ /* prepare */ mate_panel_applet_set_flags (MATE_PANEL_APPLET (applet), MATE_PANEL_APPLET_EXPAND_MINOR); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_widget_set_events (GTK_WIDGET (applet), GDK_SCROLL_MASK); +#endif /* show */ gtk_widget_show_all (GTK_WIDGET(applet)); @@ -1144,8 +1159,10 @@ g_signal_connect (G_OBJECT(applet), "scroll-event", G_CALLBACK(gpm_applet_scroll_cb), NULL); +#if !GTK_CHECK_VERSION (3, 0, 0) g_signal_connect (G_OBJECT(applet), "key-press-event", G_CALLBACK(gpm_applet_key_press_cb), NULL); +#endif /* We use g_signal_connect_after because letting the panel draw * the background is the only way to have the correct diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/configure new/mate-power-manager-1.16.2/configure --- old/mate-power-manager-1.16.1/configure 2017-01-24 11:52:10.000000000 +0100 +++ new/mate-power-manager-1.16.2/configure 2017-02-16 15:44:41.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for mate-power-manager 1.16.1. +# Generated by GNU Autoconf 2.69 for mate-power-manager 1.16.2. # # Report bugs to <http://www.mate-desktop.org/>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='mate-power-manager' PACKAGE_TARNAME='mate-power-manager' -PACKAGE_VERSION='1.16.1' -PACKAGE_STRING='mate-power-manager 1.16.1' +PACKAGE_VERSION='1.16.2' +PACKAGE_STRING='mate-power-manager 1.16.2' PACKAGE_BUGREPORT='http://www.mate-desktop.org/' PACKAGE_URL='' @@ -875,7 +875,6 @@ enable_compile_warnings enable_iso_c with_help_dir -enable_strict enable_deprecated enable_extra_warn enable_schemas_compile @@ -1474,7 +1473,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures mate-power-manager 1.16.1 to adapt to many kinds of systems. +\`configure' configures mate-power-manager 1.16.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1546,7 +1545,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of mate-power-manager 1.16.1:";; + short | recursive ) echo "Configuration of mate-power-manager 1.16.2:";; esac cat <<\_ACEOF @@ -1569,7 +1568,6 @@ --enable-compile-warnings=[no/minimum/yes/maximum/error] Turn on compiler warnings --enable-iso-c Try to warn if code is not ISO C - --enable-strict Enable strict compilation options --enable-deprecated Warn about deprecated usages [default=no] --enable-extra-warn Enable extra warnings. gcc only. [default=no] --disable-schemas-compile @@ -1713,7 +1711,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -mate-power-manager configure 1.16.1 +mate-power-manager configure 1.16.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2082,7 +2080,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by mate-power-manager $as_me 1.16.1, which was +It was created by mate-power-manager $as_me 1.16.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2946,7 +2944,7 @@ # Define the identity of the package. PACKAGE='mate-power-manager' - VERSION='1.16.1' + VERSION='1.16.2' cat >>confdefs.h <<_ACEOF @@ -13319,29 +13317,6 @@ -if test -d ".git"; then - default_strict=yes -else - default_strict=no -fi - -# Check whether --enable-strict was given. -if test "${enable_strict+set}" = set; then : - enableval=$enable_strict; enable_strict=$enableval -else - enable_strict=$default_strict -fi - -if test x$enable_strict != xno; then - CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES" - CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED" - CPPFLAGS="$CPPFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE" - CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE" - if test "$GCC" = "yes"; then - WARNINGFLAGS="$WARNINGFLAGS -Werror" - fi -fi - # Check whether --enable-deprecated was given. if test "${enable_deprecated+set}" = set; then : enableval=$enable_deprecated; @@ -16468,7 +16443,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by mate-power-manager $as_me 1.16.1, which was +This file was extended by mate-power-manager $as_me 1.16.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16534,7 +16509,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -mate-power-manager config.status 1.16.1 +mate-power-manager config.status 1.16.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/configure.ac new/mate-power-manager-1.16.2/configure.ac --- old/mate-power-manager-1.16.1/configure.ac 2017-01-24 11:02:47.000000000 +0100 +++ new/mate-power-manager-1.16.2/configure.ac 2017-02-16 15:23:39.000000000 +0100 @@ -1,6 +1,6 @@ AC_PREREQ(2.63) -AC_INIT([mate-power-manager], [1.16.1], [http://www.mate-desktop.org/]) +AC_INIT([mate-power-manager], [1.16.2], [http://www.mate-desktop.org/]) AC_CONFIG_SRCDIR(src) AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-xz check-news tar-ustar]) AC_CONFIG_HEADERS([config.h]) @@ -27,29 +27,6 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) -dnl --------------------------------------------------------------------------- -dnl - Use strict options (default enabled for devs, disabled in releases) -dnl --------------------------------------------------------------------------- -dnl if .git directory is present, considering we are working in the repository -if test -d ".git"; then - default_strict=yes -else - default_strict=no -fi - -AC_ARG_ENABLE(strict, AS_HELP_STRING([--enable-strict], - [Enable strict compilation options]), enable_strict=$enableval, - enable_strict=$default_strict) -if test x$enable_strict != xno; then - CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES" - CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED" - CPPFLAGS="$CPPFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE" - CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE" - if test "$GCC" = "yes"; then - WARNINGFLAGS="$WARNINGFLAGS -Werror" - fi -fi - AC_ARG_ENABLE(deprecated, [AS_HELP_STRING([--enable-deprecated], [Warn about deprecated usages [default=no]])],, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/data/mate-power-manager.desktop.in new/mate-power-manager-1.16.2/data/mate-power-manager.desktop.in --- old/mate-power-manager-1.16.1/data/mate-power-manager.desktop.in 2017-01-24 11:52:41.000000000 +0100 +++ new/mate-power-manager-1.16.2/data/mate-power-manager.desktop.in 2017-02-16 15:45:09.000000000 +0100 @@ -10,7 +10,7 @@ X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-power-manager X-MATE-Bugzilla-Component=mate-power-manager -X-MATE-Bugzilla-Version=1.16.1 +X-MATE-Bugzilla-Version=1.16.2 X-MATE-Bugzilla-ExtraInfoScript=mate-power-bugreport.sh #X-MATE-AutoRestart=true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/data/mate-power-preferences.desktop.in new/mate-power-manager-1.16.2/data/mate-power-preferences.desktop.in --- old/mate-power-manager-1.16.1/data/mate-power-preferences.desktop.in 2017-01-24 11:52:41.000000000 +0100 +++ new/mate-power-manager-1.16.2/data/mate-power-preferences.desktop.in 2017-02-16 15:45:09.000000000 +0100 @@ -12,5 +12,5 @@ X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-power-manager X-MATE-Bugzilla-Component=mate-power-preferences -X-MATE-Bugzilla-Version=1.16.1 +X-MATE-Bugzilla-Version=1.16.2 X-MATE-Bugzilla-ExtraInfoScript=mate-power-bugreport.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mate-power-manager-1.16.1/data/mate-power-statistics.desktop.in new/mate-power-manager-1.16.2/data/mate-power-statistics.desktop.in --- old/mate-power-manager-1.16.1/data/mate-power-statistics.desktop.in 2017-01-24 11:52:41.000000000 +0100 +++ new/mate-power-manager-1.16.2/data/mate-power-statistics.desktop.in 2017-02-16 15:45:09.000000000 +0100 @@ -12,5 +12,5 @@ X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=mate-power-manager X-MATE-Bugzilla-Component=mate-power-statistics -X-MATE-Bugzilla-Version=1.16.1 +X-MATE-Bugzilla-Version=1.16.2 X-Desktop-File-Install-Version=0.10