Hello community,
here is the log from the commit of package oxygen-gtk2 for openSUSE:Factory checked in at 2013-06-05 13:06:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oxygen-gtk2 (Old)
and /work/SRC/openSUSE:Factory/.oxygen-gtk2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "oxygen-gtk2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/oxygen-gtk2/oxygen-gtk2.changes 2013-04-24 16:07:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.oxygen-gtk2.new/oxygen-gtk2.changes 2013-06-05 13:06:29.000000000 +0200
@@ -1,0 +2,12 @@
+Fri May 31 17:13:01 UTC 2013 - hrvoje.senjan@gmail.com
+
+- Update to version 1.3.4
+ * Use popen instead of g_spawn_command_line_sync() (kde#318891)
+ * Make sure that 'runCommand' reads the full output of the command
+ (kde#318891)
+ * Fix command output reading for multi-read case
+ * Re-added x2 size increment in case of overflow
+ * Check event mask for all GtkWindow and GtkViewport before
+ enabling window drag
+
+-------------------------------------------------------------------
Old:
----
oxygen-gtk2-1.3.3.tar.bz2
New:
----
oxygen-gtk2-1.3.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ oxygen-gtk2.spec ++++++
--- /var/tmp/diff_new_pack.gWtHHy/_old 2013-06-05 13:06:29.000000000 +0200
+++ /var/tmp/diff_new_pack.gWtHHy/_new 2013-06-05 13:06:29.000000000 +0200
@@ -17,7 +17,7 @@
Name: oxygen-gtk2
-Version: 1.3.3
+Version: 1.3.4
Release: 0
Summary: A Port of the default KDE Widget Theme (Oxygen), to GTK 2.x
License: LGPL-2.1+
++++++ oxygen-gtk2-1.3.3.tar.bz2 -> oxygen-gtk2-1.3.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.3.3/CMakeLists.txt new/oxygen-gtk2-1.3.4/CMakeLists.txt
--- old/oxygen-gtk2-1.3.3/CMakeLists.txt 2013-04-22 20:26:21.000000000 +0200
+++ new/oxygen-gtk2-1.3.4/CMakeLists.txt 2013-05-31 12:57:39.000000000 +0200
@@ -13,7 +13,7 @@
set( CPACK_PACKAGE_VENDOR "hugo@oxygen-icons.org" )
set( CPACK_PACKAGE_VERSION_MAJOR "1" )
set( CPACK_PACKAGE_VERSION_MINOR "3" )
-set( CPACK_PACKAGE_VERSION_PATCH "3" )
+set( CPACK_PACKAGE_VERSION_PATCH "4" )
set( CPACK_SOURCE_IGNORE_FILES "build" "^${PROJECT_SOURCE_DIR}.*/.git/" )
##################################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.3.3/empty_areas.patch new/oxygen-gtk2-1.3.4/empty_areas.patch
--- old/oxygen-gtk2-1.3.3/empty_areas.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/oxygen-gtk2-1.3.4/empty_areas.patch 2013-05-02 16:34:22.000000000 +0200
@@ -0,0 +1,17 @@
+diff --git a/src/oxygenwindowmanager.cpp b/src/oxygenwindowmanager.cpp
+index 3c669b7..a3764f2 100644
+--- a/src/oxygenwindowmanager.cpp
++++ b/src/oxygenwindowmanager.cpp
+@@ -124,9 +124,9 @@ namespace Oxygen
+ in which case we should not use them for grabbing
+ */
+ if(
+- std::string( G_OBJECT_TYPE_NAME( widget ) ) == "GtkWindow" &&
+- (gtk_widget_get_events ( widget ) &
+- (GDK_BUTTON_PRESS_MASK|GDK_BUTTON_RELEASE_MASK) ) )
++ ( GTK_IS_WINDOW( widget ) || GTK_IS_VIEWPORT( widget ) ) &&
++ ( gtk_widget_get_events ( widget ) &
++ ( GDK_BUTTON_PRESS_MASK|GDK_BUTTON_RELEASE_MASK ) ) )
+ {
+ registerBlackListWidget( widget );
+ return false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.3.3/src/oxygenqtsettings.cpp new/oxygen-gtk2-1.3.4/src/oxygenqtsettings.cpp
--- old/oxygen-gtk2-1.3.3/src/oxygenqtsettings.cpp 2013-04-22 20:26:21.000000000 +0200
+++ new/oxygen-gtk2-1.3.4/src/oxygenqtsettings.cpp 2013-05-31 12:53:29.000000000 +0200
@@ -209,6 +209,33 @@
}
//_________________________________________________________
+ bool QtSettings::runCommand( const std::string& command, char*& result ) const
+ {
+
+ if( FILE* fp = popen( command.c_str(), "r" ) )
+ {
+
+ // read command output. Make sure that the buffer is large enough to read the entire
+ // output, by multiplying its initial size by two as long as the last character is not '\n'
+ // note that the allocated string must be freed by the calling method
+ gulong bufSize=512;
+ size_t currentOffset=0;
+ result= static_cast