Hello community, here is the log from the commit of package oxygen-gtk2 for openSUSE:Factory checked in at 2013-12-17 07:27:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-09-02 15:01:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.oxygen-gtk2.new/oxygen-gtk2.changes 2013-12-17 07:27:57.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Dec 16 01:59:35 UTC 2013 - [email protected] + +- Update to version 1.4.1 + * Bugfix release, no changelog provided from upstream +- Adjust Source URL (ftp will soon no longer be used on KDE's mirrors) + +------------------------------------------------------------------- Old: ---- oxygen-gtk2-1.4.0.tar.bz2 New: ---- oxygen-gtk2-1.4.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oxygen-gtk2.spec ++++++ --- /var/tmp/diff_new_pack.DVLVx5/_old 2013-12-17 07:27:59.000000000 +0100 +++ /var/tmp/diff_new_pack.DVLVx5/_new 2013-12-17 07:27:59.000000000 +0100 @@ -17,13 +17,13 @@ Name: oxygen-gtk2 -Version: 1.4.0 +Version: 1.4.1 Release: 0 Summary: A Port of the default KDE Widget Theme (Oxygen), to GTK 2.x License: LGPL-2.1+ Group: System/GUI/KDE Url: https://projects.kde.org/projects/playground/artwork/oxygen-gtk/ -Source0: ftp://ftp.kde.org/pub/kde/stable/oxygen-gtk2/%{version}/src/%{name}-%{version}.tar.bz2 +Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2 Source100: baselibs.conf BuildRequires: cmake BuildRequires: gcc-c++ ++++++ oxygen-gtk2-1.4.0.tar.bz2 -> oxygen-gtk2-1.4.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.4.0/CMakeLists.txt new/oxygen-gtk2-1.4.1/CMakeLists.txt --- old/oxygen-gtk2-1.4.0/CMakeLists.txt 2013-08-28 15:48:28.000000000 +0200 +++ new/oxygen-gtk2-1.4.1/CMakeLists.txt 2013-12-10 16:28:27.000000000 +0100 @@ -13,7 +13,7 @@ set( CPACK_PACKAGE_VENDOR "[email protected]" ) set( CPACK_PACKAGE_VERSION_MAJOR "1" ) set( CPACK_PACKAGE_VERSION_MINOR "4" ) -set( CPACK_PACKAGE_VERSION_PATCH "0" ) +set( CPACK_PACKAGE_VERSION_PATCH "1" ) set( CPACK_SOURCE_IGNORE_FILES "build" "^${PROJECT_SOURCE_DIR}.*/.git/" ) ################################## diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.4.0/drag.patch new/oxygen-gtk2-1.4.1/drag.patch --- old/oxygen-gtk2-1.4.0/drag.patch 2013-06-26 10:13:24.000000000 +0200 +++ new/oxygen-gtk2-1.4.1/drag.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,143 +0,0 @@ -diff --git a/src/oxygenwindowmanager.cpp b/src/oxygenwindowmanager.cpp -index 4986384..c4ecedb 100644 ---- a/src/oxygenwindowmanager.cpp -+++ b/src/oxygenwindowmanager.cpp -@@ -30,10 +30,6 @@ - #include "oxygenstyle.h" - #include "config.h" - --#ifdef GDK_WINDOWING_X11 --#include <gdk/gdkx.h> --#endif -- - namespace Oxygen - { - -@@ -48,7 +44,8 @@ namespace Oxygen - _widget( 0L ), - _lastRejectedEvent( 0L ), - _x(-1), -- _y(-1) -+ _y(-1), -+ _time(0) - { - #if OXYGEN_DEBUG - std::cerr << "Oxygen::WindowManager::WindowManager" << std::endl; -@@ -179,6 +176,7 @@ namespace Oxygen - _widget = 0L; - _x = -1; - _y = -1; -+ _time = 0; - _drag = false; - } - -@@ -390,51 +388,22 @@ namespace Oxygen - if( distance < _dragDistance ) return false; - - // start drag from current position -- return startDrag( widget, int(event->x_root), int(event->y_root) ); -+ return startDrag( widget, int(event->x_root), int(event->y_root), event->time ); - - } - - //_________________________________________________________________ -- bool WindowManager::startDrag( GtkWidget* widget, int x, int y ) -+ bool WindowManager::startDrag( GtkWidget* widget, int x, int y, guint32 time ) - { - -- #ifdef GDK_WINDOWING_X11 - // create xevent and send. -- XEvent xev; - GtkWindow* topLevel = GTK_WINDOW( gtk_widget_get_toplevel( widget ) ); -- GdkWindow* window = gtk_widget_get_window( GTK_WIDGET( topLevel ) ); -- GdkDisplay* display = gtk_widget_get_display( GTK_WIDGET( topLevel ) ); -- GdkWindow* root = gdk_screen_get_root_window( gtk_window_get_screen( topLevel ) ); -- -- xev.xclient.type = ClientMessage; -- xev.xclient.message_type = gdk_x11_get_xatom_by_name_for_display(display, "_NET_WM_MOVERESIZE"); -- xev.xclient.display = GDK_DISPLAY_XDISPLAY(display); -- xev.xclient.window = GDK_WINDOW_XID(window); -- xev.xclient.format = 32; -- xev.xclient.data.l[0] = x; -- xev.xclient.data.l[1] = y; -- xev.xclient.data.l[2] = 8; // NET::Move -- xev.xclient.data.l[3] = Button1; -- xev.xclient.data.l[4] = 0; -- XUngrabPointer(GDK_DISPLAY_XDISPLAY(display), CurrentTime); -- -- XSendEvent( -- GDK_DISPLAY_XDISPLAY(display), -- GDK_WINDOW_XID(root), -- False, -- SubstructureRedirectMask | SubstructureNotifyMask, -- &xev); -+ gtk_window_begin_move_drag( topLevel, 1, x, y, time ); - - // force a release as some widgets miss it... - finishDrag(); - return true; - -- #else -- -- return false; -- -- #endif -- - } - - //_________________________________________________ -@@ -445,6 +414,7 @@ namespace Oxygen - _lastRejectedEvent = 0L; - _x = -1; - _y = -1; -+ _time = 0; - - // stop timer - if( _timer.isRunning() ) _timer.stop(); -@@ -452,10 +422,6 @@ namespace Oxygen - if( _drag ) - { - -- #ifdef GDK_WINDOWING_X11 -- gdk_pointer_ungrab( CurrentTime ); -- #endif -- - _drag = false; - return true; - -@@ -475,6 +441,7 @@ namespace Oxygen - _widget = widget; - _x = int(event->x_root); - _y = int(event->y_root); -+ _time = event->time; - - // start timer - if( _timer.isRunning() ) _timer.stop(); -diff --git a/src/oxygenwindowmanager.h b/src/oxygenwindowmanager.h -index f8a774e..0687646 100644 ---- a/src/oxygenwindowmanager.h -+++ b/src/oxygenwindowmanager.h -@@ -124,11 +124,11 @@ namespace Oxygen - bool startDrag( GtkWidget*, GdkEventMotion* ); - - //! start dragging widget -- bool startDrag( GtkWidget*, int, int ); -+ bool startDrag( GtkWidget*, int, int, guint32 ); - - //! start dragging widget - void startDrag( void ) -- { if( _drag && _widget ) startDrag( _widget, _x, _y ); } -+ { if( _drag && _widget ) startDrag( _widget, _x, _y, _time ); } - - //! finish dragging widget - bool finishDrag( void ); -@@ -249,6 +249,9 @@ namespace Oxygen - int _x; - int _y; - -+ //! drag time -+ guint32 _time; -+ - //! widget typenames black-list - std::vector<std::string> _blackList; - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.4.0/src/oxygenapplicationname.cpp new/oxygen-gtk2-1.4.1/src/oxygenapplicationname.cpp --- old/oxygen-gtk2-1.4.0/src/oxygenapplicationname.cpp 2013-08-28 14:58:01.000000000 +0200 +++ new/oxygen-gtk2-1.4.1/src/oxygenapplicationname.cpp 2013-12-10 16:28:27.000000000 +0100 @@ -93,6 +93,7 @@ "xulrunner", "komodo", "aurora", + "zotero", "" }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.4.0/src/oxygenqtsettings.cpp new/oxygen-gtk2-1.4.1/src/oxygenqtsettings.cpp --- old/oxygen-gtk2-1.4.0/src/oxygenqtsettings.cpp 2013-08-28 14:58:01.000000000 +0200 +++ new/oxygen-gtk2-1.4.1/src/oxygenqtsettings.cpp 2013-12-10 16:28:27.000000000 +0100 @@ -28,6 +28,8 @@ #include "oxygentimeline.h" #include "config.h" +#include <glib.h> +#include <glib/gstdio.h> #include <gtk/gtk.h> #include <algorithm> @@ -38,7 +40,6 @@ #include <fstream> #include <iostream> #include <sstream> -#include <unistd.h> namespace Oxygen { @@ -330,11 +331,12 @@ struct stat st; if( stat( _userConfigDir.c_str(), &st ) != 0 ) { - - #if _POSIX_C_SOURCE - mkdir( _userConfigDir.c_str(), S_IRWXU|S_IRWXG|S_IRWXO ); + #ifdef G_OS_WIN32 + // S_IRWXG and S_IRWXO are undefined on Windows, and g_mkdir() + // ignores its second parameter on Windows anyway. + g_mkdir( _userConfigDir.c_str(), 0 ); #else - mkdir( _userConfigDir.c_str() ); + g_mkdir( _userConfigDir.c_str(), S_IRWXU|S_IRWXG|S_IRWXO ); #endif } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.4.0/src/oxygenstylehelper.cpp new/oxygen-gtk2-1.4.1/src/oxygenstylehelper.cpp --- old/oxygen-gtk2-1.4.0/src/oxygenstylehelper.cpp 2013-08-28 14:58:01.000000000 +0200 +++ new/oxygen-gtk2-1.4.1/src/oxygenstylehelper.cpp 2013-12-10 16:28:27.000000000 +0100 @@ -527,6 +527,7 @@ { Cairo::Context context( surface ); + cairo_set_antialias( context, CAIRO_ANTIALIAS_SUBPIXEL ); cairo_save( context ); cairo_scale( context, 3.0*size/23, 3.0*size/23 ); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
