commit oxygen-gtk3 for openSUSE:Factory
Hello community,
here is the log from the commit of package oxygen-gtk3 for openSUSE:Factory checked in at 2013-06-05 13:06:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oxygen-gtk3 (Old)
and /work/SRC/openSUSE:Factory/.oxygen-gtk3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "oxygen-gtk3"
Changes:
--------
--- /work/SRC/openSUSE:Factory/oxygen-gtk3/oxygen-gtk3.changes 2013-04-24 16:07:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.oxygen-gtk3.new/oxygen-gtk3.changes 2013-06-05 13:06:44.000000000 +0200
@@ -1,0 +2,12 @@
+Fri May 31 17:16:52 UTC 2013 - hrvoje.senjan@gmail.com
+
+- Update to version 1.1.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-gtk3-1.1.3.tar.bz2
New:
----
oxygen-gtk3-1.1.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ oxygen-gtk3.spec ++++++
--- /var/tmp/diff_new_pack.LBPMGH/_old 2013-06-05 13:06:45.000000000 +0200
+++ /var/tmp/diff_new_pack.LBPMGH/_new 2013-06-05 13:06:45.000000000 +0200
@@ -17,7 +17,7 @@
Name: oxygen-gtk3
-Version: 1.1.3
+Version: 1.1.4
Release: 0
Summary: A Port of the default KDE Widget Theme (Oxygen), to GTK 3.x
License: LGPL-2.1+
++++++ oxygen-gtk3-1.1.3.tar.bz2 -> oxygen-gtk3-1.1.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk3-1.1.3/CMakeLists.txt new/oxygen-gtk3-1.1.4/CMakeLists.txt
--- old/oxygen-gtk3-1.1.3/CMakeLists.txt 2013-04-22 20:26:36.000000000 +0200
+++ new/oxygen-gtk3-1.1.4/CMakeLists.txt 2013-05-31 13:17:03.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 "1" )
-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-gtk3-1.1.3/empty_areas.patch new/oxygen-gtk3-1.1.4/empty_areas.patch
--- old/oxygen-gtk3-1.1.3/empty_areas.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/oxygen-gtk3-1.1.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-gtk3-1.1.3/src/oxygenqtsettings.cpp new/oxygen-gtk3-1.1.4/src/oxygenqtsettings.cpp
--- old/oxygen-gtk3-1.1.3/src/oxygenqtsettings.cpp 2013-04-22 20:26:36.000000000 +0200
+++ new/oxygen-gtk3-1.1.4/src/oxygenqtsettings.cpp 2013-05-31 13:16:20.000000000 +0200
@@ -207,6 +207,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
participants (1)
-
root@hilbert.suse.de