Hello community,

here is the log from the commit of package qtcurve-gtk2 for openSUSE:Factory
checked in at Fri May 6 16:11:19 CEST 2011.



--------
--- KDE/qtcurve-gtk2/qtcurve-gtk2.changes       2011-03-04 10:29:42.000000000 
+0100
+++ /mounts/work_src_done/STABLE/qtcurve-gtk2/qtcurve-gtk2.changes      
2011-05-05 09:23:47.000000000 +0200
@@ -1,0 +2,12 @@
+Thu May  5 09:22:34 CEST 2011 - [email protected]
+
+- Update to version 1.8.8:
+  + Make timer callbacks threadsafe. Fixes rh#669155.
+  + Allow scrollbar sliders to be as thin as 5 pixels. At this
+    setting, sliders will be squared.
+- Changes from version 1.8.7:
+  + Fix some segfaults with evolution under Fedora 14.
+  + Don't force windows style scrollbars for Firefox4: this
+    workaround is no longer required.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  QtCurve-Gtk2-1.8.6.tar.bz2

New:
----
  QtCurve-Gtk2-1.8.8.tar.bz2

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

Other differences:
------------------
++++++ qtcurve-gtk2.spec ++++++
--- /var/tmp/diff_new_pack.9KLcHi/_old  2011-05-06 16:10:53.000000000 +0200
+++ /var/tmp/diff_new_pack.9KLcHi/_new  2011-05-06 16:10:53.000000000 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           qtcurve-gtk2
-Version:        1.8.6
+Version:        1.8.8
 Release:        1
 License:        GPLv2+
 Summary:        QtCurve style for GTK+ 2

++++++ QtCurve-Gtk2-1.8.6.tar.bz2 -> QtCurve-Gtk2-1.8.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/CMakeLists.txt 
new/QtCurve-Gtk2-1.8.8/CMakeLists.txt
--- old/QtCurve-Gtk2-1.8.6/CMakeLists.txt       2011-02-15 20:39:15.000000000 
+0100
+++ new/QtCurve-Gtk2-1.8.8/CMakeLists.txt       2011-04-06 21:22:52.000000000 
+0200
@@ -8,7 +8,7 @@
 set(CPACK_SOURCE_GENERATOR "TBZ2")
 set(CPACK_PACKAGE_VERSION_MAJOR "1")
 set(CPACK_PACKAGE_VERSION_MINOR "8")
-set(CPACK_PACKAGE_VERSION_PATCH "6")
+set(CPACK_PACKAGE_VERSION_PATCH "8")
 set(CPACK_PACKAGE_CONTACT "Craig Drummond <[email protected]>")
 set(QTCURVE_VERSION 
"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
 set(QTCURVE_VERSION_FULL "${QTCURVE_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/ChangeLog 
new/QtCurve-Gtk2-1.8.8/ChangeLog
--- old/QtCurve-Gtk2-1.8.6/ChangeLog    2011-02-15 20:39:15.000000000 +0100
+++ new/QtCurve-Gtk2-1.8.8/ChangeLog    2011-04-06 21:22:52.000000000 +0200
@@ -1,3 +1,16 @@
+1.8.8
+-----
+1. Make timer callbacks threadsafe. Fixes
+   https://bugzilla.redhat.com/show_bug.cgi?id=669155
+2. Allow scrollbar sliders to be as thin as 5 pixels. At this setting, sliders
+   will be squared.
+
+1.8.7
+-----
+1. Fix some segfaults with evolution under Fedora 14.
+2. Don't force widnows style scrollbars for Firefox4 - this workaround
+   is no longer required.
+
 1.8.6
 -----
 1. Fix compilation against Gtk2 older than 2.20 - yet again!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/common/common.h 
new/QtCurve-Gtk2-1.8.8/common/common.h
--- old/QtCurve-Gtk2-1.8.6/common/common.h      2011-02-15 20:39:15.000000000 
+0100
+++ new/QtCurve-Gtk2-1.8.8/common/common.h      2011-04-06 21:22:52.000000000 
+0200
@@ -257,9 +257,11 @@
 #define MIN_MENU_DELAY       0
 #define MAX_MENU_DELAY     500
 
-#define DEFAULT_SLIDER_WIDTH 15
-#define MIN_SLIDER_WIDTH     11
-#define MAX_SLIDER_WIDTH     31
+#define DEFAULT_SLIDER_WIDTH  15
+#define MIN_SLIDER_WIDTH_ROUND 7
+#define MIN_SLIDER_WIDTH_THIN_GROOVE 9
+#define MIN_SLIDER_WIDTH       5
+#define MAX_SLIDER_WIDTH      31
 
 #define SIZE_GRIP_SIZE 12
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/common/config_file.c 
new/QtCurve-Gtk2-1.8.8/common/config_file.c
--- old/QtCurve-Gtk2-1.8.6/common/config_file.c 2011-02-15 20:39:15.000000000 
+0100
+++ new/QtCurve-Gtk2-1.8.8/common/config_file.c 2011-04-06 21:22:52.000000000 
+0200
@@ -1555,6 +1555,12 @@
     if(opts->sliderWidth<MIN_SLIDER_WIDTH || 
opts->sliderWidth>MAX_SLIDER_WIDTH)
         opts->sliderWidth=DEFAULT_SLIDER_WIDTH;
 
+    if(opts->sliderWidth<MIN_SLIDER_WIDTH_ROUND)
+        opts->square|=SQUARE_SB_SLIDER;
+
+    if(opts->sliderWidth<MIN_SLIDER_WIDTH_THIN_GROOVE)
+        opts->thinSbarGroove=false;
+
     if(opts->sliderWidth<DEFAULT_SLIDER_WIDTH)
         opts->sliderThumbs=LINE_NONE;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/style/CMakeLists.txt 
new/QtCurve-Gtk2-1.8.8/style/CMakeLists.txt
--- old/QtCurve-Gtk2-1.8.6/style/CMakeLists.txt 2011-02-15 20:39:15.000000000 
+0100
+++ new/QtCurve-Gtk2-1.8.8/style/CMakeLists.txt 2011-04-06 21:22:52.000000000 
+0200
@@ -4,10 +4,15 @@
         ${CMAKE_CURRENT_SOURCE_DIR}/../common/colorutils.c )
         
 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} 
${CMAKE_SOURCE_DIR}/common ${CMAKE_BINARY_DIR} )
-set(CMAKE_C_FLAGS "${GTK_CFLAGS}")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GTK_CFLAGS}")
 set(qtcurve_SRCS qtcurve.c qt_settings.c drawing.c helpers.c pixcache.c 
animation.c combobox.c entry.c menu.c scrollbar.c scrolledwindow.c tab.c 
treeview.c widgetmap.c window.c wmmove.c ${qtcurve_style_common_SRCS})
 add_library(qtcurve MODULE ${qtcurve_SRCS})
 add_definitions(-DQTC_MOZILLA_DIR=\\\"${GTK_THEME_DIR}/mozilla\\\")
+
+# The following fixes odd segfaults with evolution under Fedora 14.
+# See https://bugzilla.redhat.com/show_bug.cgi?id=676837
+add_definitions(-Dopts=qtcurve_gtk2_opts)
+
 target_link_libraries(qtcurve ${GTK_LINK_FLAGS} -lm -lX11)
 
 if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/style/qt_settings.c 
new/QtCurve-Gtk2-1.8.8/style/qt_settings.c
--- old/QtCurve-Gtk2-1.8.6/style/qt_settings.c  2011-02-15 20:39:15.000000000 
+0100
+++ new/QtCurve-Gtk2-1.8.8/style/qt_settings.c  2011-04-06 21:22:52.000000000 
+0200
@@ -2515,8 +2515,7 @@
                 gtk_rc_parse_string("style \""RC_SETTING"Cmbf\" { xthickness=5 
} widget_class \"*.GtkComboBox.GtkFrame\" style \""RC_SETTING"Cmbf\"");
             }
 
-            if(GTK_APP_MOZILLA==qtSettings.app || GTK_APP_JAVA==qtSettings.app 
|| (SCROLLBAR_NONE==opts.scrollbarType && isMozilla()) ||
-               (GTK_APP_NEW_MOZILLA==qtSettings.app && 
mozVersion>=MAKE_VERSION(4, 0)))
+            if(GTK_APP_MOZILLA==qtSettings.app || GTK_APP_JAVA==qtSettings.app 
|| (SCROLLBAR_NONE==opts.scrollbarType && isMozilla()))
                 opts.scrollbarType=SCROLLBAR_WINDOWS;
             else
             {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/style/window.c 
new/QtCurve-Gtk2-1.8.8/style/window.c
--- old/QtCurve-Gtk2-1.8.6/style/window.c       2011-02-15 20:39:15.000000000 
+0100
+++ new/QtCurve-Gtk2-1.8.8/style/window.c       2011-04-06 21:22:52.000000000 
+0200
@@ -235,7 +235,9 @@
             g_source_remove(window->timer);
             window->timer=0;
             // otherwise, trigger update
+            gdk_threads_enter();
             qtcWindowSizeRequest(window->widget);
+            gdk_threads_leave();
             return FALSE;
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QtCurve-Gtk2-1.8.6/style/wmmove.c 
new/QtCurve-Gtk2-1.8.8/style/wmmove.c
--- old/QtCurve-Gtk2-1.8.6/style/wmmove.c       2011-02-15 20:39:15.000000000 
+0100
+++ new/QtCurve-Gtk2-1.8.8/style/wmmove.c       2011-04-06 21:22:52.000000000 
+0200
@@ -241,7 +241,11 @@
 static gboolean qtcWWMoveStartDelayedDrag(gpointer data)
 {
     if(qtcWMMoveDragWidget)
+    {
+        gdk_threads_enter();
         qtcWMMoveTrigger(qtcWMMoveDragWidget, qtcWMMoveLastX, qtcWMMoveLastY);
+        gdk_threads_leave();
+    }
 }
 
 static gboolean qtcWMMoveIsWindowDragWidget(GtkWidget *widget, GdkEventButton 
*event)


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



Remember to have fun...

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

Reply via email to