Hello community,

here is the log from the commit of package gnome-desktop for openSUSE:Factory 
checked in at 2014-05-20 14:24:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-desktop (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-desktop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-desktop"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-desktop/gnome-desktop.changes      
2014-05-05 21:16:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-desktop.new/gnome-desktop.changes 
2014-05-20 14:25:46.000000000 +0200
@@ -1,0 +2,6 @@
+Sat May 17 12:39:41 UTC 2014 - [email protected]
+
+- Update to version 3.12.2:
+  + gnome-rr: Better debug application.
+
+-------------------------------------------------------------------

Old:
----
  gnome-desktop-3.12.1.tar.xz

New:
----
  gnome-desktop-3.12.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-desktop.spec ++++++
--- /var/tmp/diff_new_pack.uQSQ3b/_old  2014-05-20 14:25:47.000000000 +0200
+++ /var/tmp/diff_new_pack.uQSQ3b/_new  2014-05-20 14:25:47.000000000 +0200
@@ -19,7 +19,7 @@
 %define IS_DEFAULT_GNOME_DESKTOP 1
 
 Name:           gnome-desktop
-Version:        3.12.1
+Version:        3.12.2
 Release:        0
 Summary:        The GNOME Desktop API Library
 License:        LGPL-2.1+

++++++ gnome-desktop-3.12.1.tar.xz -> gnome-desktop-3.12.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-desktop-3.12.1/ChangeLog 
new/gnome-desktop-3.12.2/ChangeLog
--- old/gnome-desktop-3.12.1/ChangeLog  2014-04-16 14:06:32.000000000 +0200
+++ new/gnome-desktop-3.12.2/ChangeLog  2014-05-13 17:57:45.000000000 +0200
@@ -1,5 +1,28 @@
 # Generated by Makefile. Do not edit.
 
+commit aec6c6333d87daa9ff7ec80d50427982295af384
+Author: Rui Matos <[email protected]>
+Date:   Tue May 13 17:56:05 2014 +0200
+
+    3.12.2
+
+M      NEWS
+M      configure.ac
+
+commit 41afb698d1477060202f55c1e4731005dffa14e4
+Author: Bastien Nocera <[email protected]>
+Date:   Fri Apr 25 18:22:04 2014 +0200
+
+    gnome-rr: Better debug application
+    
+    This change will make the debug application listen for changes and print
+    them as they occur.
+    
+    Conflicts:
+       libgnome-desktop/gnome-rr-debug.c
+
+M      libgnome-desktop/gnome-rr-debug.c
+
 commit 223dea8d72e27fd6e448c880839dc92e754cd426
 Author: Rui Matos <[email protected]>
 Date:   Wed Apr 16 13:48:37 2014 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-desktop-3.12.1/NEWS 
new/gnome-desktop-3.12.2/NEWS
--- old/gnome-desktop-3.12.1/NEWS       2014-04-16 13:47:53.000000000 +0200
+++ new/gnome-desktop-3.12.2/NEWS       2014-05-13 17:55:16.000000000 +0200
@@ -1,4 +1,11 @@
 ===============
+Version  3.12.2
+===============
+
+- Version bump for the GNOME 3.12.2 stable release
+- gnome-rr: Better debug application
+
+===============
 Version  3.12.1
 ===============
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-desktop-3.12.1/configure 
new/gnome-desktop-3.12.2/configure
--- old/gnome-desktop-3.12.1/configure  2014-04-16 14:04:27.000000000 +0200
+++ new/gnome-desktop-3.12.2/configure  2014-05-13 17:56:44.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gnome-desktop 3.12.1.
+# Generated by GNU Autoconf 2.69 for gnome-desktop 3.12.2.
 #
 # Report bugs to 
<http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-desktop>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='gnome-desktop'
 PACKAGE_TARNAME='gnome-desktop'
-PACKAGE_VERSION='3.12.1'
-PACKAGE_STRING='gnome-desktop 3.12.1'
+PACKAGE_VERSION='3.12.2'
+PACKAGE_STRING='gnome-desktop 3.12.2'
 
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-desktop'
 PACKAGE_URL=''
 
@@ -1458,7 +1458,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 gnome-desktop 3.12.1 to adapt to many kinds of systems.
+\`configure' configures gnome-desktop 3.12.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1532,7 +1532,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gnome-desktop 3.12.1:";;
+     short | recursive ) echo "Configuration of gnome-desktop 3.12.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1677,7 +1677,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gnome-desktop configure 3.12.1
+gnome-desktop configure 3.12.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2046,7 +2046,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gnome-desktop $as_me 3.12.1, which was
+It was created by gnome-desktop $as_me 3.12.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2911,7 +2911,7 @@
 
 # Define the identity of the package.
  PACKAGE='gnome-desktop'
- VERSION='3.12.1'
+ VERSION='3.12.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13391,7 +13391,7 @@
 
 GNOME_PLATFORM=3
 GNOME_MINOR=12
-GNOME_MICRO=1
+GNOME_MICRO=2
 GNOME_DISTRIBUTOR="GNOME.Org"
 GNOME_DATE=`date +"%Y-%m-%d"`
 
@@ -17217,7 +17217,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gnome-desktop $as_me 3.12.1, which was
+This file was extended by gnome-desktop $as_me 3.12.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17283,7 +17283,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gnome-desktop config.status 3.12.1
+gnome-desktop config.status 3.12.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/gnome-desktop-3.12.1/configure.ac 
new/gnome-desktop-3.12.2/configure.ac
--- old/gnome-desktop-3.12.1/configure.ac       2014-04-16 13:46:01.000000000 
+0200
+++ new/gnome-desktop-3.12.2/configure.ac       2014-05-13 17:54:04.000000000 
+0200
@@ -1,6 +1,6 @@
 m4_define(gnome_platform, 3)
 m4_define(gnome_minor, 12)
-m4_define(gnome_micro, 1)
+m4_define(gnome_micro, 2)
 dnl gnome_sub is an optional sub-version which will not be advertised to the 
user
 dnl It allows to release a 2.30.1.1 which is just a better 2.30.1
 dnl Leave empty if not needed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-desktop-3.12.1/libgnome-desktop/gnome-rr-debug.c 
new/gnome-desktop-3.12.2/libgnome-desktop/gnome-rr-debug.c
--- old/gnome-desktop-3.12.1/libgnome-desktop/gnome-rr-debug.c  2014-01-07 
14:28:18.000000000 +0100
+++ new/gnome-desktop-3.12.2/libgnome-desktop/gnome-rr-debug.c  2014-05-13 
17:53:15.000000000 +0200
@@ -25,14 +25,60 @@
 #include <gtk/gtk.h>
 #include <libgnome-desktop/gnome-rr.h>
 
+static void
+print_output (GnomeRROutput *output, const char *message)
+{
+       gsize len = 0;
+       const guint8 *result = NULL;
+       int width_mm, height_mm;
+
+       g_print ("[%s]", gnome_rr_output_get_name (output));
+       if (message)
+               g_print (" (%s)", message);
+       g_print ("\n");
+       g_print ("\tconnected: %i\n", 1);
+       g_print ("\tbuiltin (laptop): %i\n", gnome_rr_output_is_builtin_display 
(output));
+       g_print ("\tprimary: %i\n", gnome_rr_output_get_is_primary (output));
+       g_print ("\tid: %i\n", gnome_rr_output_get_id (output));
+       gnome_rr_output_get_physical_size (output, &width_mm, &height_mm);
+       g_print ("\tdimensions: %ix%i", width_mm, height_mm);
+
+       /* get EDID */
+        result = gnome_rr_output_get_edid_data (output, &len);
+       if (result != NULL) {
+               g_print ("\tedid: %" G_GSIZE_FORMAT " bytes [%i:%i:%i:%i]\n",
+                        len, result[0], result[1],
+                        result[2], result[3]);
+       }
+}
+
+static void
+screen_changed (GnomeRRScreen *screen, gpointer user_data)
+{
+       g_print ("Screen changed\n");
+}
+
+static void
+output_disconnected (GnomeRRScreen *screen, GnomeRROutput *output, gpointer 
user_data)
+{
+       print_output (output, "disconnected");
+}
+
+static void
+output_connected (GnomeRRScreen *screen, GnomeRROutput *output, gpointer 
user_data)
+{
+       print_output (output, "connected");
+}
+
+/**
+ * main:
+ **/
 int
 main (int argc, char *argv[])
 {
        GError *error = NULL;
        GnomeRROutput **outputs;
        GnomeRRScreen *screen;
-       gsize len = 0;
-       const guint8 *result = NULL;
        guint i;
 
        gtk_init (&argc, &argv);
@@ -43,25 +89,15 @@
                goto out;
        }
        outputs = gnome_rr_screen_list_outputs (screen);
-       for (i = 0; outputs[i] != NULL; i++) {
-               int width_mm, height_mm;
+       for (i = 0; outputs[i] != NULL; i++)
+               print_output (outputs[i], NULL);
+
+       g_signal_connect (screen, "changed", G_CALLBACK (screen_changed), NULL);
+       g_signal_connect (screen, "output-disconnected", G_CALLBACK 
(output_disconnected), NULL);
+       g_signal_connect (screen, "output-connected", G_CALLBACK 
(output_connected), NULL);
+
+       gtk_main ();
 
-               g_print ("[%s]\n", gnome_rr_output_get_name (outputs[i]));
-               g_print ("\tconnected: %i\n", 1);
-               g_print ("\tbuilt-in: %i\n", gnome_rr_output_is_builtin_display 
(outputs[i]));
-               g_print ("\tprimary: %i\n", gnome_rr_output_get_is_primary 
(outputs[i]));
-               g_print ("\tid: %i\n", gnome_rr_output_get_id (outputs[i]));
-               gnome_rr_output_get_physical_size (outputs[i], &width_mm, 
&height_mm);
-               g_print ("\tdimensions: %ix%i", width_mm, height_mm);
-
-               /* get EDID (first try) */
-                result = gnome_rr_output_get_edid_data (outputs[i], &len);
-               if (result != NULL) {
-                       g_print ("\tedid: %" G_GSIZE_FORMAT " bytes 
[%i:%i:%i:%i]\n",
-                                len, result[0], result[1],
-                                result[2], result[3]);
-               }
-       }
 out:
        g_object_unref (screen);
        return 0;

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to