OBS User unknown 2008-08-13 22:39:23 +00:00 committed by Git OBS Bridge
parent c7d498b78b
commit 14ab9c6eb8
7 changed files with 243 additions and 370 deletions

View File

@ -63,7 +63,7 @@ fi
for DIR in ${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/} ; do
for SUBDIR in $DIR/icons/* ; do
if test ! -L "$SUBDIR" -a -d "$SUBDIR" ; then
/usr/bin/gtk-update-icon-cache --quiet --ignore-theme-index --remove-empty-cache "$SUBDIR"
/usr/bin/gtk-update-icon-cache --quiet --ignore-theme-index "$SUBDIR"
if test -f $SUBDIR/icon-theme.cache ; then
echo $SUBDIR >>$r/var/cache/gtk-2.0/icon-theme.cache-list
fi

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5edc7a60e069bfbdeec7b9f101d5c6934ed702ceec3e21b1e02a2c14fca72cb6
size 16711986

3
gtk+-2.13.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fac6bee01478ca6e691dc667906328626d41ba762046b8eb1bd239463579b546
size 16985874

View File

@ -1,7 +1,25 @@
Index: gtk+-2.13.2/demos/gtk-demo/changedisplay.c
From 9e474aed8bedead6b2a962a9ee3c6559fd412676 Mon Sep 17 00:00:00 2001
From: Michael Wolf <maw@novell.com>
Date: Tue, 22 Jul 2008 16:35:51 -0500
Subject: [PATCH] gtk+-strict-aliasing.patch
---
demos/gtk-demo/changedisplay.c | 2 +-
demos/gtk-demo/textview.c | 5 +++++
gdk/x11/gdkdnd-x11.c | 5 +++++
gdk/x11/gdkevents-x11.c | 2 ++
gdk/x11/gdkim-x11.c | 1 +
gdk/x11/gdkwindow-x11.c | 1 +
gtk/gtkmodules.c | 4 ++--
gtk/gtktipsquery.c | 4 ++--
gtk/queryimmodules.c | 11 +++++------
tests/testgtk.c | 6 +++---
10 files changed, 27 insertions(+), 14 deletions(-)
Index: gtk+-2.13.5/demos/gtk-demo/changedisplay.c
===================================================================
--- gtk+-2.13.2.orig/demos/gtk-demo/changedisplay.c
+++ gtk+-2.13.2/demos/gtk-demo/changedisplay.c
--- gtk+-2.13.5.orig/demos/gtk-demo/changedisplay.c
+++ gtk+-2.13.5/demos/gtk-demo/changedisplay.c
@@ -73,7 +73,7 @@ static GtkWidget *
find_toplevel_at_pointer (GdkDisplay *display)
{
@ -11,74 +29,10 @@ Index: gtk+-2.13.2/demos/gtk-demo/changedisplay.c
pointer_window = gdk_display_get_window_at_pointer (display, NULL, NULL);
@@ -81,7 +81,7 @@ find_toplevel_at_pointer (GdkDisplay *di
* to the widget that created it.
*/
if (pointer_window)
- gdk_window_get_user_data (pointer_window, (gpointer*) &widget);
+ gdk_window_get_user_data (pointer_window, &widget);
return widget ? gtk_widget_get_toplevel (widget) : NULL;
}
Index: gtk+-2.13.2/demos/gtk-demo/textview.c
Index: gtk+-2.13.5/gdk/x11/gdkdnd-x11.c
===================================================================
--- gtk+-2.13.2.orig/demos/gtk-demo/textview.c
+++ gtk+-2.13.2/demos/gtk-demo/textview.c
@@ -548,7 +548,7 @@ static void
easter_egg_callback (GtkWidget *button,
gpointer data)
{
- static GtkWidget *window = NULL;
+ static gpointer window = NULL;
GtkTextBuffer *buffer;
GtkWidget *view;
GtkTextIter iter;
@@ -587,7 +587,7 @@ easter_egg_callback (GtkWidget *button,
gtk_container_add (GTK_CONTAINER (sw), view);
g_object_add_weak_pointer (G_OBJECT (window),
- (gpointer *) &window);
+ &window);
gtk_window_set_default_size (GTK_WINDOW (window), 300, 400);
Index: gtk+-2.13.2/gdk-pixbuf/queryloaders.c
===================================================================
--- gtk+-2.13.2.orig/gdk-pixbuf/queryloaders.c
+++ gtk+-2.13.2/gdk-pixbuf/queryloaders.c
@@ -153,6 +153,7 @@ query_module (const char *dir, const cha
GModule *module;
void (*fill_info) (GdkPixbufFormat *info);
void (*fill_vtable) (GdkPixbufModule *module);
+ gpointer pfi, pfv;
if (g_path_is_absolute (file))
path = g_strdup (file);
@@ -161,8 +162,8 @@ query_module (const char *dir, const cha
module = g_module_open (path, 0);
if (module &&
- g_module_symbol (module, "fill_info", (gpointer *) &fill_info) &&
- g_module_symbol (module, "fill_vtable", (gpointer *) &fill_vtable)) {
+ g_module_symbol (module, "fill_info", &pfi) &&
+ g_module_symbol (module, "fill_vtable", &pfv)) {
GdkPixbufFormat *info;
GdkPixbufModule *vtable;
@@ -184,6 +185,9 @@ query_module (const char *dir, const cha
vtable->module = module;
+ fill_info = pfi;
+ fill_vtable = pfv;
+
(*fill_info) (info);
(*fill_vtable) (vtable);
Index: gtk+-2.13.2/gdk/x11/gdkdnd-x11.c
===================================================================
--- gtk+-2.13.2.orig/gdk/x11/gdkdnd-x11.c
+++ gtk+-2.13.2/gdk/x11/gdkdnd-x11.c
--- gtk+-2.13.5.orig/gdk/x11/gdkdnd-x11.c
+++ gtk+-2.13.5/gdk/x11/gdkdnd-x11.c
@@ -905,6 +905,7 @@ motif_read_target_table (GdkDisplay *dis
{
guchar *data;
@ -113,10 +67,10 @@ Index: gtk+-2.13.2/gdk/x11/gdkdnd-x11.c
Window proxy;
Atom xdnd_proxy_atom = gdk_x11_get_xatom_by_name_for_display (display, "XdndProxy");
Atom xdnd_aware_atom = gdk_x11_get_xatom_by_name_for_display (display, "XdndAware");
Index: gtk+-2.13.2/gdk/x11/gdkevents-x11.c
Index: gtk+-2.13.5/gdk/x11/gdkevents-x11.c
===================================================================
--- gtk+-2.13.2.orig/gdk/x11/gdkevents-x11.c
+++ gtk+-2.13.2/gdk/x11/gdkevents-x11.c
--- gtk+-2.13.5.orig/gdk/x11/gdkevents-x11.c
+++ gtk+-2.13.5/gdk/x11/gdkevents-x11.c
@@ -519,6 +519,7 @@ gdk_check_wm_state_changed (GdkWindow *w
gulong bytes_after;
guchar *data;
@ -133,10 +87,10 @@ Index: gtk+-2.13.2/gdk/x11/gdkevents-x11.c
/* This function is very slow on every call if you are not running a
* spec-supporting WM. For now not optimized, because it isn't in
Index: gtk+-2.13.2/gdk/x11/gdkim-x11.c
Index: gtk+-2.13.5/gdk/x11/gdkim-x11.c
===================================================================
--- gtk+-2.13.2.orig/gdk/x11/gdkim-x11.c
+++ gtk+-2.13.2/gdk/x11/gdkim-x11.c
--- gtk+-2.13.5.orig/gdk/x11/gdkim-x11.c
+++ gtk+-2.13.5/gdk/x11/gdkim-x11.c
@@ -130,6 +130,7 @@ find_a_display (void)
gchar *
gdk_wcstombs (const GdkWChar *src)
@ -145,11 +99,11 @@ Index: gtk+-2.13.2/gdk/x11/gdkim-x11.c
gchar *mbstr;
if (gdk_use_mb)
Index: gtk+-2.13.2/gdk/x11/gdkwindow-x11.c
Index: gtk+-2.13.5/gdk/x11/gdkwindow-x11.c
===================================================================
--- gtk+-2.13.2.orig/gdk/x11/gdkwindow-x11.c
+++ gtk+-2.13.2/gdk/x11/gdkwindow-x11.c
@@ -5064,6 +5064,7 @@ gdk_window_set_mwm_hints (GdkWindow *win
--- gtk+-2.13.5.orig/gdk/x11/gdkwindow-x11.c
+++ gtk+-2.13.5/gdk/x11/gdkwindow-x11.c
@@ -4732,6 +4732,7 @@ gdk_window_set_mwm_hints (GdkWindow *win
Atom hints_atom = None;
guchar *data;
MotifWmHints *hints;
@ -157,84 +111,27 @@ Index: gtk+-2.13.2/gdk/x11/gdkwindow-x11.c
Atom type;
gint format;
gulong nitems;
Index: gtk+-2.13.2/gtk/gtkmain.c
Index: gtk+-2.13.5/gtk/gtkmodules.c
===================================================================
--- gtk+-2.13.2.orig/gtk/gtkmain.c
+++ gtk+-2.13.2/gtk/gtkmain.c
@@ -1346,7 +1346,8 @@ static GdkEvent *
rewrite_event_for_grabs (GdkEvent *event)
{
GdkWindow *grab_window;
- GtkWidget *event_widget, *grab_widget;
+ GtkWidget *event_widget;
+ gpointer grab_widget;
gboolean owner_events;
GdkDisplay *display;
@@ -2215,12 +2216,12 @@ gtk_get_current_event_state (GdkModifier
GtkWidget*
gtk_get_event_widget (GdkEvent *event)
{
- GtkWidget *widget;
+ gpointer widget;
widget = NULL;
if (event && event->any.window &&
(event->type == GDK_DESTROY || !GDK_WINDOW_DESTROYED (event->any.window)))
- gdk_window_get_user_data (event->any.window, (void**) &widget);
+ gdk_window_get_user_data (event->any.window, &widget);
return widget;
}
Index: gtk+-2.13.2/gtk/gtkmodules.c
===================================================================
--- gtk+-2.13.2.orig/gtk/gtkmodules.c
+++ gtk+-2.13.2/gtk/gtkmodules.c
@@ -253,7 +253,7 @@ static GSList *
load_module (GSList *module_list,
const gchar *name)
{
- GtkModuleInitFunc modinit_func;
+ gpointer modinit_func;
GtkModuleInfo *info = NULL;
GModule *module = NULL;
GSList *l;
@@ -279,7 +279,7 @@ load_module (GSList *module_list,
--- gtk+-2.13.5.orig/gtk/gtkmodules.c
+++ gtk+-2.13.5/gtk/gtkmodules.c
@@ -281,9 +281,9 @@ load_module (GSList *module_list,
if (module)
{
- if (!g_module_symbol (module, "gtk_module_init", (gpointer *) &modinit_func) ||
+ if (!g_module_symbol (module, "gtk_module_init", &modinit_func) ||
!modinit_func)
g_module_close (module);
if (g_module_symbol (module, "gtk_module_init", &modinit_func_ptr))
- modinit_func = modinit_func_ptr;
+ modinit_func = modinit_func_ptr;
else
Index: gtk+-2.13.2/gtk/gtkselection.c
- modinit_func = NULL;
+ modinit_func = NULL;
if (!modinit_func)
g_module_close (module);
Index: gtk+-2.13.5/gtk/gtktipsquery.c
===================================================================
--- gtk+-2.13.2.orig/gtk/gtkselection.c
+++ gtk+-2.13.2/gtk/gtkselection.c
@@ -1066,7 +1066,7 @@ gtk_selection_convert (GtkWidget *widget
if (owner_window != NULL)
{
- GtkWidget *owner_widget;
+ void *owner_widget;
GtkSelectionData selection_data;
selection_data.selection = selection;
@@ -1075,7 +1075,7 @@ gtk_selection_convert (GtkWidget *widget
selection_data.length = -1;
selection_data.display = display;
- gdk_window_get_user_data (owner_window, (gpointer *)&owner_widget);
+ gdk_window_get_user_data (owner_window, &owner_widget);
if (owner_widget != NULL)
{
Index: gtk+-2.13.2/gtk/gtktipsquery.c
===================================================================
--- gtk+-2.13.2.orig/gtk/gtktipsquery.c
+++ gtk+-2.13.2/gtk/gtktipsquery.c
@@ -441,7 +441,7 @@ gtk_tips_query_event (GtkWidget *
--- gtk+-2.13.5.orig/gtk/gtktipsquery.c
+++ gtk+-2.13.5/gtk/gtktipsquery.c
@@ -442,7 +442,7 @@ gtk_tips_query_event (GtkWidget *
GdkEvent *event)
{
GtkTipsQuery *tips_query;
@ -243,7 +140,7 @@ Index: gtk+-2.13.2/gtk/gtktipsquery.c
gboolean event_handled;
g_return_val_if_fail (GTK_IS_TIPS_QUERY (widget), FALSE);
@@ -464,12 +464,12 @@ gtk_tips_query_event (GtkWidget *
@@ -465,7 +465,7 @@ gtk_tips_query_event (GtkWidget *
case GDK_LEAVE_NOTIFY:
if (event_widget)
@ -252,16 +149,10 @@ Index: gtk+-2.13.2/gtk/gtktipsquery.c
else
pointer_window = NULL;
event_widget = NULL;
if (pointer_window)
- gdk_window_get_user_data (pointer_window, (gpointer*) &event_widget);
+ gdk_window_get_user_data (pointer_window, &event_widget);
gtk_tips_query_emit_widget_entered (tips_query, event_widget);
event_handled = TRUE;
break;
Index: gtk+-2.13.2/gtk/queryimmodules.c
Index: gtk+-2.13.5/gtk/queryimmodules.c
===================================================================
--- gtk+-2.13.2.orig/gtk/queryimmodules.c
+++ gtk+-2.13.2/gtk/queryimmodules.c
--- gtk+-2.13.5.orig/gtk/queryimmodules.c
+++ gtk+-2.13.5/gtk/queryimmodules.c
@@ -88,11 +88,10 @@ print_escaped (const char *str)
static gboolean
query_module (const char *dir, const char *name)
@ -276,24 +167,9 @@ Index: gtk+-2.13.2/gtk/queryimmodules.c
+ gpointer exit;
+ gpointer create;
GModule *module;
gchar *path;
@@ -112,10 +111,10 @@ query_module (const char *dir, const cha
}
if (module &&
- g_module_symbol (module, "im_module_list", (gpointer *) &list) &&
- g_module_symbol (module, "im_module_init", (gpointer *) &init) &&
- g_module_symbol (module, "im_module_exit", (gpointer *) &exit) &&
- g_module_symbol (module, "im_module_create", (gpointer *) &create))
+ g_module_symbol (module, "im_module_list", &list) &&
+ g_module_symbol (module, "im_module_init", &init) &&
+ g_module_symbol (module, "im_module_exit", &exit) &&
+ g_module_symbol (module, "im_module_create", &create))
{
const GtkIMContextInfo **contexts;
guint n_contexts;
@@ -124,7 +123,7 @@ query_module (const char *dir, const cha
gpointer list_ptr;
gpointer init_ptr;
@@ -134,7 +133,7 @@ query_module (const char *dir, const cha
print_escaped (path);
fputs ("\n", stdout);
@ -302,42 +178,11 @@ Index: gtk+-2.13.2/gtk/queryimmodules.c
for (i=0; i<n_contexts; i++)
{
Index: gtk+-2.13.2/tests/testcalendar.c
Index: gtk+-2.13.5/tests/testgtk.c
===================================================================
--- gtk+-2.13.2.orig/tests/testcalendar.c
+++ gtk+-2.13.2/tests/testcalendar.c
@@ -18,6 +18,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+/* gtk_calendar_display_options is deprecated */
+#undef GTK_DISABLE_DEPRECATED
#include <config.h>
#include <stdio.h>
#include <string.h>
Index: gtk+-2.13.2/tests/testgtk.c
===================================================================
--- gtk+-2.13.2.orig/tests/testgtk.c
+++ gtk+-2.13.2/tests/testgtk.c
@@ -2400,7 +2400,7 @@ gridded_geometry_response (GtkDialog *di
static void
create_gridded_geometry (GtkWidget *widget)
{
- static GtkWidget *window = NULL;
+ static gpointer window = NULL;
GtkWidget *entry;
GtkWidget *label;
@@ -4778,7 +4778,7 @@ accel_button_new (GtkAccelGroup *accel_g
static void
create_key_lookup (GtkWidget *widget)
{
- static GtkWidget *window = NULL;
+ static gpointer window = NULL;
if (!window)
{
@@ -12020,7 +12020,7 @@ find_widget (GtkWidget *widget, FindWidg
--- gtk+-2.13.5.orig/tests/testgtk.c
+++ gtk+-2.13.5/tests/testgtk.c
@@ -12026,7 +12026,7 @@ find_widget (GtkWidget *widget, FindWidg
static GtkWidget *
find_widget_at_pointer (GdkDisplay *display)
{
@ -346,12 +191,7 @@ Index: gtk+-2.13.2/tests/testgtk.c
GdkWindow *pointer_window;
gint x, y;
FindWidgetData data;
@@ -12028,12 +12028,12 @@ find_widget_at_pointer (GdkDisplay *disp
pointer_window = gdk_display_get_window_at_pointer (display, NULL, NULL);
if (pointer_window)
- gdk_window_get_user_data (pointer_window, (gpointer) &widget);
+ gdk_window_get_user_data (pointer_window, &widget);
@@ -12043,8 +12043,8 @@ find_widget_at_pointer (GdkDisplay *disp
if (widget)
{

View File

@ -1,93 +0,0 @@
Index: gtk/updateiconcache.c
===================================================================
--- gtk/updateiconcache.c.orig
+++ gtk/updateiconcache.c
@@ -49,6 +49,7 @@ static gboolean quiet = FALSE;
static gboolean index_only = FALSE;
static gboolean validate = FALSE;
static gchar *var_name = "-";
+static gboolean remove_empty_cache = FALSE;
/* Quite ugly - if we just add the c file to the
* list of sources in Makefile.am, libtool complains.
@@ -1470,6 +1471,8 @@ build_cache (const gchar *path)
directories = scan_directory (path, NULL, files, NULL, 0);
+ cache_path = g_build_filename (path, CACHE_NAME, NULL);
+
if (g_hash_table_size (files) == 0)
{
/* Empty table, just close and remove the file */
@@ -1477,6 +1480,9 @@ build_cache (const gchar *path)
fclose (cache);
close (fd);
g_unlink (tmp_cache_path);
+ if (remove_empty_cache)
+ g_unlink (cache_path);
+ g_free (cache_path);
exit (0);
}
@@ -1491,6 +1497,7 @@ build_cache (const gchar *path)
if (!retval)
{
g_unlink (tmp_cache_path);
+ g_free (cache_path);
exit (1);
}
@@ -1501,8 +1508,6 @@ build_cache (const gchar *path)
exit (1);
}
- cache_path = g_build_filename (path, CACHE_NAME, NULL);
-
#ifdef G_OS_WIN32
if (g_file_test (cache_path, G_FILE_TEST_EXISTS))
{
@@ -1515,6 +1520,7 @@ build_cache (const gchar *path)
g_strerror (errno),
cache_path);
g_unlink (cache_path);
+ g_free (cache_path);
bak_cache_path = NULL;
}
}
@@ -1526,6 +1532,7 @@ build_cache (const gchar *path)
tmp_cache_path, cache_path,
g_strerror (errno));
g_unlink (tmp_cache_path);
+ g_free (cache_path);
#ifdef G_OS_WIN32
if (bak_cache_path != NULL)
if (g_rename (bak_cache_path, cache_path) == -1)
@@ -1544,7 +1551,10 @@ build_cache (const gchar *path)
/* FIXME: What do do if an error occurs here? */
if (g_stat (path, &path_stat) < 0 ||
g_stat (cache_path, &cache_stat))
- exit (1);
+ {
+ g_free (cache_path);
+ exit (1);
+ }
utime_buf.actime = path_stat.st_atime;
utime_buf.modtime = cache_stat.st_mtime;
@@ -1554,6 +1564,8 @@ build_cache (const gchar *path)
utime (path, &utime_buf);
#endif
+ g_free (cache_path);
+
if (!quiet)
g_printerr (_("Cache file created successfully.\n"));
}
@@ -1597,6 +1609,7 @@ static GOptionEntry args[] = {
{ "force", 'f', 0, G_OPTION_ARG_NONE, &force_update, N_("Overwrite an existing cache, even if up to date"), NULL },
{ "ignore-theme-index", 't', 0, G_OPTION_ARG_NONE, &ignore_theme_index, N_("Don't check for the existence of index.theme"), NULL },
{ "index-only", 'i', 0, G_OPTION_ARG_NONE, &index_only, N_("Don't include image data in the cache"), NULL },
+ { "remove-empty-cache", 'r', 0, G_OPTION_ARG_NONE, &remove_empty_cache, "Remove the cache file if there is nothing to cache", NULL },
{ "source", 'c', 0, G_OPTION_ARG_STRING, &var_name, N_("Output a C header file"), "NAME" },
{ "quiet", 'q', 0, G_OPTION_ARG_NONE, &quiet, N_("Turn off verbose output"), NULL },
{ "validate", 'v', 0, G_OPTION_ARG_NONE, &validate, N_("Validate existing icon cache"), NULL },

View File

@ -1,3 +1,67 @@
-------------------------------------------------------------------
Wed Aug 6 13:07:41 CDT 2008 - maw@suse.de
- Update to version 2.13.6:
+ Fix a long-standing, well-known problem with the handling
of insensitive buttons, bgo#56070
+ Fallback to Xinerama if the Xrandr implementation
is just a stub
+ gdk_threads_add_timeout_seconds[_full]: New functions with
second-granularity to complete the set of gdk_threads_ timeout
functions
+ Support rendering icons with emblems specified as
GEmblemedIcon
+ GtkFileChooser has a GFile-oriented API now, and functions
for creating filechoosers with specific backends have been
deprecated because GIO is used directly
+ GtkAdjustment has been sealed, with getters and setters added
for all struct fields
+ Bugs fixed: bgo#544265, bgo#543915, bgo#544510, bgo#544390,
bgo#361561, bgo#368234, bgo#545976, bgo#545978, bgo#544863,
bgo#424207, bgo#56070, bgo#545931, bgo#344383, bgo#65818,
bgo#539733, bgo#523950, bgo#526575, bgo#429411, bgo#429427,
bgo#544302, bgo#339699, bgo#538686, bgo#540379, bgo#544684,
bgo#540834, bgo#515596, bgo#534979, bgo#382291, bgo#545982,
and bgo#544858
+ Updated translations.
-------------------------------------------------------------------
Thu Jul 31 18:04:14 CDT 2008 - maw@suse.de
- Update to version 2.13.5:
+ Merge the GSEAL branch (see http://live.gnome.org/GTK+/3.0/Tasks);
as a result, members of structures can be conditionally be
made "inaccessible"
+ GtkScaleButton now has an orientation property
+ gdk-pixbuf:
* Use GIO for mime type sniffing when possible
+ Printing:
* Handle paused printers and printers that don't accept jobs
+ GtkBuilder:
* Support building parts of the XML tree with the new
functions gtk_builder_add_objects_from_file and
gtk_builder_add_objects_from_string
+ Bugs fixed: bgo#538519, bgo#538362, bgo#538182, bgo#508751,
bgo#419737, bgo#538784, bgo#538395, bgo#539363, bgo#539466,
bgo#442042, bgo#540318, bgo#530255, bgo#540310, bgo#434535,
bgo#539790, bgo#539164, bgo#541162, bgo#455268, bgo#537591,
bgo#541249, bgo#541305, bgo#540529, bgo#538547, bgo#535498,
bgo#539944, bgo#540915, bgo#538863, bgo#540861, bgo#540612,
bgo#540618, bgo#539944, bgo#536966, bgo#378158, bgo#516092,
bgo#536430, bgo#538378, bgo#539095, bgo#539470, bgo#539732,
bgo#540235, bgo#537639, bgo#540917, bgo#541645, bgo#493008,
bgo#539248, bgo#327582, bgo#343663, bgo#541811, bgo#541540,
bgo#513580, bgo#531129, bgo#510225, bgo#507953, bgo#469068,
bgo#528845, bgo#540994, bgo#541964, bgo#541950, bgo#542234,
bgo#541399, bgo#334418, bgo#321896, bgo#316087, bgo#542853,
bgo#507394, bgo#488766, bgo#479780, bgo#542523, bgo#384940,
bgo#339591, bgo#543244, bgo#447998, bgo#543217, bgo#543545,
bgo#401985, bgo#543085, bgo#488019, bgo#528822, bgo#540967,
bgo#537430, bgo#543989, and bgo#535223
+ Updated translations
- Respin gtk+-strict-aliasing.patch
- Drop gtk2-remove-empty-cache.patch and update SuSEconfig.gtk2.
-------------------------------------------------------------------
Wed Jul 23 07:27:02 CEST 2008 - coolo@suse.de

164
gtk2.spec
View File

@ -1,10 +1,17 @@
#
# spec file for package gtk2 (Version 2.13.3)
# spec file for package gtk2 (Version 2.13.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -27,8 +34,8 @@ License: LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
PreReq: /usr/bin/touch /bin/rm /bin/rmdir
Version: 2.13.3
Release: 12
Version: 2.13.6
Release: 1
Summary: Library for Creation of Graphical User Interfaces (version 2)
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.12/%{_name}-%{version}.tar.bz2
Source1: SuSEconfig.gtk2
@ -46,8 +53,6 @@ Patch6: gtk+-mac_ctree.patch
Patch8: gtk64.patch
# PATCH-FIX-OPENSUSE gdk-modules-information.diff hhetter@suse.de - Info on how to manually regenerate modules information
Patch12: gdk-modules-information.diff
# PATCH-FIX-OPENSUSE gtk2-remove-empty-cache.patch sbrabec@novell.com - The behavior upstream as of 2008/07/18 is now to remove the old icon cache if updating it would cause it to be empty. When we update to the newest tarball, be sure to remove the "--remove-empty-cache" flag from SuSEconfig.gtk2, and remove this patch.
Patch17: gtk2-remove-empty-cache.patch
# PATCH-FEATURE-UPSTREAM bugzilla-129753-gtk+-2.8.9-localize-font-style-name.diff bnc129753 bgo319484 mfabian@novell.com - Translate the font styles in the GUI
Patch22: bugzilla-129753-gtk+-2.8.9-localize-font-style-name.diff
# PATCH-FIX-OPENSUSE bugzilla-131498-allow-xim-for-all-languages.patch bnc131498 mfabian@novell.com - Allow all languages to be run with the X Input Method
@ -281,7 +286,6 @@ cp -a %{S:2} .
%patch8 -p1
%endif
%patch12 -p1
%patch17 -p0
%patch22 -p1
%patch23 -p1
%patch24 -p1
@ -425,6 +429,64 @@ fi
%{_datadir}/gtk-doc/html/*
%changelog
* Wed Aug 06 2008 maw@suse.de
- Update to version 2.13.6:
+ Fix a long-standing, well-known problem with the handling
of insensitive buttons, bgo#56070
+ Fallback to Xinerama if the Xrandr implementation
is just a stub
+ gdk_threads_add_timeout_seconds[_full]: New functions with
second-granularity to complete the set of gdk_threads_ timeout
functions
+ Support rendering icons with emblems specified as
GEmblemedIcon
+ GtkFileChooser has a GFile-oriented API now, and functions
for creating filechoosers with specific backends have been
deprecated because GIO is used directly
+ GtkAdjustment has been sealed, with getters and setters added
for all struct fields
+ Bugs fixed: bgo#544265, bgo#543915, bgo#544510, bgo#544390,
bgo#361561, bgo#368234, bgo#545976, bgo#545978, bgo#544863,
bgo#424207, bgo#56070, bgo#545931, bgo#344383, bgo#65818,
bgo#539733, bgo#523950, bgo#526575, bgo#429411, bgo#429427,
bgo#544302, bgo#339699, bgo#538686, bgo#540379, bgo#544684,
bgo#540834, bgo#515596, bgo#534979, bgo#382291, bgo#545982,
and bgo#544858
+ Updated translations.
* Thu Jul 31 2008 maw@suse.de
- Update to version 2.13.5:
+ Merge the GSEAL branch (see http://live.gnome.org/GTK+/3.0/Tasks);
as a result, members of structures can be conditionally be
made "inaccessible"
+ GtkScaleButton now has an orientation property
+ gdk-pixbuf:
* Use GIO for mime type sniffing when possible
+ Printing:
* Handle paused printers and printers that don't accept jobs
+ GtkBuilder:
* Support building parts of the XML tree with the new
functions gtk_builder_add_objects_from_file and
gtk_builder_add_objects_from_string
+ Bugs fixed: bgo#538519, bgo#538362, bgo#538182, bgo#508751,
bgo#419737, bgo#538784, bgo#538395, bgo#539363, bgo#539466,
bgo#442042, bgo#540318, bgo#530255, bgo#540310, bgo#434535,
bgo#539790, bgo#539164, bgo#541162, bgo#455268, bgo#537591,
bgo#541249, bgo#541305, bgo#540529, bgo#538547, bgo#535498,
bgo#539944, bgo#540915, bgo#538863, bgo#540861, bgo#540612,
bgo#540618, bgo#539944, bgo#536966, bgo#378158, bgo#516092,
bgo#536430, bgo#538378, bgo#539095, bgo#539470, bgo#539732,
bgo#540235, bgo#537639, bgo#540917, bgo#541645, bgo#493008,
bgo#539248, bgo#327582, bgo#343663, bgo#541811, bgo#541540,
bgo#513580, bgo#531129, bgo#510225, bgo#507953, bgo#469068,
bgo#528845, bgo#540994, bgo#541964, bgo#541950, bgo#542234,
bgo#541399, bgo#334418, bgo#321896, bgo#316087, bgo#542853,
bgo#507394, bgo#488766, bgo#479780, bgo#542523, bgo#384940,
bgo#339591, bgo#543244, bgo#447998, bgo#543217, bgo#543545,
bgo#401985, bgo#543085, bgo#488019, bgo#528822, bgo#540967,
bgo#537430, bgo#543989, and bgo#535223
+ Updated translations
- Respin gtk+-strict-aliasing.patch
- Drop gtk2-remove-empty-cache.patch and update SuSEconfig.gtk2.
* Wed Jul 23 2008 coolo@suse.de
- obsolete gail-<targettype>
* Mon Jul 21 2008 federico@novell.com
@ -443,7 +505,7 @@ fi
- Move gtk-builder-convert to the -devel subpackage
- So that gtk-builder-convert can actually run, make the -devel
subpackage require pyxml.
* Thu Jun 19 2008 maw@suse.de
* Wed Jun 18 2008 maw@suse.de
- Update to version 2.13.3:
+ Support runtime font configuration changes
+ Use GIO for mime information
@ -457,7 +519,7 @@ fi
bgo#537985, bgo#531960, bgo#408154, bgo#506853, bgo#536430, and
bgo#537685
+ Updated translations.
* Tue Jun 17 2008 maw@suse.de
* Mon Jun 16 2008 maw@suse.de
- Provide and obsolete gail-devel in gtk2-devel.
* Fri Jun 06 2008 maw@suse.de
- Update to version 2.13.2:
@ -495,14 +557,14 @@ fi
gtk2-bnc171077-bgo314873-filechooser-tab-in-the-middle-of-entry.diff
and gtk2-bnc355225-filechooser-tab-completion-crash.diff
- Provide and obsolete gail.
* Wed Jun 04 2008 federico@novell.com
* Tue Jun 03 2008 federico@novell.com
- Added gtk2-bnc355225-filechooser-tab-completion-crash.diff to fix
the crash in https://bugzilla.novell.com/show_bug.cgi?id=355225 -
The file chooser could crash when pressing Tab repeatedly to do
completion.
* Tue May 06 2008 schwab@suse.de
- Don't use libtool before it is created.
* Tue May 06 2008 federico@novell.com
* Mon May 05 2008 federico@novell.com
- Added gtk2-bnc310710-bgo524166-underallocated-gtklabel-position.diff
to fix https://bugzilla.novell.com/show_bug.cgi?id=310710 - Labels
with too-small allocations should still pay attention to their
@ -513,7 +575,7 @@ fi
doing nearly the same (bnc#369696).
* Mon Apr 14 2008 sbrabec@suse.cz
- Use packageand form of branding supplement.
* Sat Apr 12 2008 maw@suse.de
* Fri Apr 11 2008 maw@suse.de
- Tag gtk2-libtool.patch, which was added in the previous
submission.
* Fri Apr 11 2008 schwab@suse.de
@ -621,7 +683,7 @@ fi
click -> Create Document fails.
* Thu Sep 13 2007 stbinner@suse.de
- tag strange uz@cyrillic directories with %%lang(uz@cyrillic)
* Thu Sep 13 2007 federico@novell.com
* Wed Sep 12 2007 federico@novell.com
- Added gtk2-303869-disable-icon-cache-validation.diff to fix the
critical part of https://bugzillanovell.com/show_bug.cgi?id=303869
- icon caches now only get validated if GTK_DEBUG=icontheme is set.
@ -632,14 +694,14 @@ fi
* Fri Aug 31 2007 stbinner@suse.de
- add gtk2-flash-player-busyloop.patch to fix busy loop of flash
player plugin within Opera and Konqueror (#294385)
* Wed Aug 15 2007 jpr@suse.de
* Tue Aug 14 2007 jpr@suse.de
- Enable xinput for wacom tablets, it needs a configure flag
* Tue Aug 14 2007 jpr@suse.de
- Backport tooltip fixes from upstream svn (#298343, #297149)
* Mon Aug 13 2007 federico@novell.com
- Removed references to obsolete patches from the SPEC file. Fixes
https://bugzilla.novell.com/show_bug.cgi?id=299262
* Tue Aug 07 2007 maw@suse.de
* Mon Aug 06 2007 maw@suse.de
- Split out a -lang subpackage
- Use %%fdupes.
* Thu Jul 26 2007 maw@suse.de
@ -714,7 +776,7 @@ fi
- adding hicolor-icon-theme to Requires [#249043]
* Thu Apr 19 2007 sbrabec@suse.cz
- Correctly initialize XDG_DATA_DIRS in SuSEconfig (#240603).
* Thu Apr 12 2007 maw@suse.de
* Wed Apr 11 2007 maw@suse.de
- Remove some extraneous comments that were inadvertently left
in the .spec.
* Tue Apr 10 2007 sbrabec@suse.cz
@ -743,7 +805,7 @@ fi
https://bugzilla.novell.com/show_bug.cgi?id=216883. The "Home" and
"Desktop" items in the shortcuts pane of the file chooser would not
show sometimes in SAVE mode.
* Thu Jan 18 2007 maw@suse.de
* Wed Jan 17 2007 maw@suse.de
- Add gtk2-235661-pixbuf-loader-error-checking.diff (#235661).
* Tue Jan 16 2007 sbrabec@suse.cz
- Build with correct CFLAGS.
@ -756,11 +818,11 @@ fi
* Mon Dec 11 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sat Nov 11 2006 danw@suse.de
* Fri Nov 10 2006 danw@suse.de
- Update gtk64.patch to fix stock icon cache on x86_64 (213922)
* Wed Nov 08 2006 jhargadon@suse.de
* Tue Nov 07 2006 jhargadon@suse.de
- removed the execute bit from /etc/opt/gnome/gtk-2.0/gtkrc
* Wed Oct 18 2006 jhargadon@suse.de
* Tue Oct 17 2006 jhargadon@suse.de
- update to version 2.10.6
- Bugs fixed:
- 358931 2.10.5 build issue due to a typo
@ -768,7 +830,7 @@ fi
- 359053 Reduce relocations
- 359052 gtk_print_settings_get_duplex() return wrong
value for one of vertical setting
* Sun Oct 15 2006 danw@suse.de
* Sat Oct 14 2006 danw@suse.de
- Remove dead patches
- Remove gtk2-179040-file-chooser-location-entry-folder.diff, which
never actually worked, but was effectively reverted in CODE10 by
@ -818,7 +880,7 @@ fi
* Wed Aug 09 2006 aj@suse.de
- Fix lib64 patch to apply.
- Fix po files to pass new gettext checks.
* Sat Jul 29 2006 gekker@suse.de
* Fri Jul 28 2006 gekker@suse.de
- Update to version 2.10.1
- Remove upstream patchesa
- lots of updates in the printing area
@ -830,7 +892,7 @@ fi
location entry in the file chooser preserve the filename from
gtk_file_chooser_set_filename() and set_uri(). It was incorrectly
using just the directory name instead of the file name.
* Wed Jun 07 2006 federico@novell.com
* Tue Jun 06 2006 federico@novell.com
- Added gtk2-179040-file-chooser-location-entry-folder.diff to fix
https://bugzilla.novell.com/show_bug.cgi?id=179040. This makes the
location entry in GtkFileChooser update correctly when you switch
@ -841,17 +903,17 @@ fi
months or years.
* Thu Jun 01 2006 sbrabec@suse.cz
- Fixed I18N of file selector navigation buttons (#180696).
* Sun May 28 2006 joeshaw@suse.de
* Sat May 27 2006 joeshaw@suse.de
- Add gtk2-filechooserbutton-signal-disconnect-fix.patch to fix
a crash when a GtkFileChooserButton is destroyed but not
finalized and bookmarks or volumes change. (bnc #178122)
* Wed May 24 2006 federico@novell.com
* Tue May 23 2006 federico@novell.com
- Updated gtk+-2.8.6-fontsel-fix.patch to fix bug
https://bugzilla.novell.com/show_bug.cgi?id=177997. The previous
patch caused crashes in all font selectors.
* Wed May 17 2006 bk@suse.de
- GtkFontSelection: Fix deadlock when used by GtkFontButton (153099)
* Fri May 05 2006 dobey@suse.de
* Thu May 04 2006 dobey@suse.de
- Add in default gtkrc file to set theme/icon theme under KDE/etc
Fixes https://bugzilla.novell.com/show_bug.cgi?id=172779
* Mon Apr 17 2006 federico@novell.com
@ -863,7 +925,7 @@ fi
just switched folders.
* Mon Apr 03 2006 sbrabec@suse.cz
- Fixed context translation bugs (GNOME#336645).
* Thu Mar 30 2006 federico@novell.com
* Wed Mar 29 2006 federico@novell.com
- Removed gtk2-151580-filechooser-beagle.diff.
- Added gtk2-filechooser-new-features.diff. This fixes bug #160605,
so the file chooser now has an optional text entry for the file
@ -871,13 +933,13 @@ fi
into the same patch.
* Fri Mar 24 2006 rml@suse.de
- Set default invisible char to something stetic (bug #160688)
* Fri Mar 24 2006 federico@novell.com
* Thu Mar 23 2006 federico@novell.com
- Updated gtk2-151580-filechooser-beagle.diff to fix bug #156843.
With this, the file chooser will no longer show a "Search" item in
the "Save in folder" combo box.
* Mon Mar 13 2006 sbrabec@suse.cz
- Do not believe glibc first weekday (#130787, #104417).
* Tue Mar 07 2006 zsu@suse.de
* Mon Mar 06 2006 zsu@suse.de
- Fixed gtkvts crash bug introduced by gtk+-2.8.6-fontsel.patch [#153099].
* Thu Feb 23 2006 federico@novell.com
- Updated gtk2-151580-filechooser-beagle.diff; now we hide the search
@ -889,7 +951,7 @@ fi
https://bugzilla.novell.com/show_bug.cgi?id=151580 (about Beagle
support) and https://bugzilla.novell.com/show_bug.cgi?id=148896
(about not having a highlighted shortcut at startup).
* Sat Feb 04 2006 federico@novell.com
* Fri Feb 03 2006 federico@novell.com
- Added gtk2-117163-cairo-repeat-pattern-workaround.diff as a fix for bug #117163.
In this bug, the desktop gets repainted very slowly due to bugs in Cairo and XRENDER.
The workaround uses a faster code path in GTK+.
@ -900,7 +962,7 @@ fi
to translation compendium gnome-patch-translation.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 gekker@suse.de
* Tue Jan 17 2006 gekker@suse.de
- Add patch to improve scrolling speed in font selection (#130159)
* Mon Jan 16 2006 meissner@suse.de
- use -fstack-protector.
@ -936,10 +998,10 @@ fi
* Fri Oct 28 2005 federico@novell.com
- Added gtk2-127646-dnd-cursor-offset.diff to fix the position of the default
cursor for drag and drop.
* Wed Oct 12 2005 gekker@suse.de
* Tue Oct 11 2005 gekker@suse.de
- Update to version 2.8.6
- Fix return of random data
* Wed Oct 05 2005 federico@novell.com
* Tue Oct 04 2005 federico@novell.com
- Added gtk2-file-chooser-consistent-home-folder-name.diff so that
$HOME will not appear as "Home", but rather as its actual name.
This avoids having [/][home][Home] on the path bar.
@ -948,11 +1010,11 @@ fi
* Mon Oct 03 2005 gekker@suse.de
- Update to version 2.8.4
- Remove upstream patches
* Fri Sep 30 2005 federico@novell.com
* Thu Sep 29 2005 federico@novell.com
- Added gtk2-file-chooser-create-save-widgets-only-if-needed.diff and
gtk2-file-chooser-no-reload.diff as optimizations for the file
chooser's startup time.
* Fri Sep 16 2005 gekker@suse.de
* Thu Sep 15 2005 gekker@suse.de
- Fix quoting in SuSEconfig.gtk2 (113511)
* Thu Sep 08 2005 sbrabec@suse.cz
- Fixed outdated cache files heuristics in SuSEconfig (#113261).
@ -964,7 +1026,7 @@ fi
* Fri Aug 26 2005 jpr@suse.de
- Patch gtk-update-icon-cache to be a little smarter and alter the
SuSEconfig.gtk2 script to be smarter about removing dead cache files.
* Thu Aug 25 2005 gekker@suse.de
* Wed Aug 24 2005 gekker@suse.de
- Update to version 2.8.2
* Wed Aug 24 2005 rodrigo@suse.de
- Update to version 2.8.1
@ -973,10 +1035,10 @@ fi
- Update version to 2.8.0 (GNOME2.12)
* Fri Aug 12 2005 gekker@suse.de
- Fix crash in file chooser b.g.o (310270).
* Thu Aug 11 2005 gekker@suse.de
* Wed Aug 10 2005 gekker@suse.de
- Update to version 2.7.5
- Remove upstreamed patch
* Thu Aug 11 2005 clahey@suse.de
* Wed Aug 10 2005 clahey@suse.de
- Patch to check for updated icon theme (especially cache) every
30 seconds.
* Fri Aug 05 2005 sbrabec@suse.cz
@ -998,19 +1060,19 @@ fi
- Create icon-cache files by SuSEconfig (#88599).
* Fri Jun 17 2005 gekker@suse.de
- Fix gtk64.patch and build on x86_64.
* Fri Jun 17 2005 gekker@suse.de
* Thu Jun 16 2005 gekker@suse.de
- Update to version 2.6.8.
- Fix sentinel patch to work with new version of glib2.
* Wed Jun 01 2005 sbrabec@suse.cz
- Use current name for XFree86-devel in Requires (#54136).
* Tue May 03 2005 gekker@suse.de
* Mon May 02 2005 gekker@suse.de
- Fix crasher in gtktextview (380).
* Mon Apr 04 2005 aj@suse.de
- Disable visibility to build with GCC4. This should be
enabled again once gtk is fixed.
* Sat Mar 19 2005 gekker@suse.de
* Fri Mar 18 2005 gekker@suse.de
- Add gtk-esc-closes.diff
* Thu Mar 03 2005 gekker@suse.de
* Wed Mar 02 2005 gekker@suse.de
- Updated to version 2.6.4
* Mon Feb 07 2005 sbrabec@suse.cz
- Updated to version 2.6.2.
@ -1037,7 +1099,7 @@ fi
- updated gtk64 patch
* Wed Nov 17 2004 gekker@suse.de
- Update version to 2.5.5.
* Wed Oct 27 2004 mmj@suse.de
* Tue Oct 26 2004 mmj@suse.de
- locale rename no to nb
* Wed Oct 20 2004 ro@suse.de
- make specfile rpm3-save
@ -1045,7 +1107,7 @@ fi
- Added work-around for GTK_PATH bi-arch problems (#45386).
* Mon Sep 06 2004 meissner@suse.de
- Added ico overflow security patch, CAN-2004-0788.
* Wed Sep 01 2004 dave@suse.de
* Tue Aug 31 2004 dave@suse.de
- Added gtk2-cancel-rename.patch, ximian #59669
* Fri Aug 27 2004 federico@ximian.com
- Removed stray g_print() from gtk-xpm-secfix.dif; normalized the patch
@ -1055,9 +1117,9 @@ fi
* Tue Aug 24 2004 hhetter@suse.de
- added security patch for XPM decoder (#44100)
CAN-2004-0782, CAN-2004-0783.
* Thu Aug 05 2004 clahey@suse.de
* Wed Aug 04 2004 clahey@suse.de
- Added gtk2-esc-closes.patch from Federico.
* Sat Jun 05 2004 clahey@suse.de
* Fri Jun 04 2004 clahey@suse.de
- Fixed filesel patch to just go directly to Desktop.
* Tue Apr 27 2004 sbrabec@suse.cz
- Fixed gtk64.patch.
@ -1102,7 +1164,7 @@ fi
- Updated to version 2.2.4.
* Thu Aug 28 2003 sbrabec@suse.cz
- Updated to version 2.2.3.
* Thu Jul 24 2003 hhetter@suse.de
* Wed Jul 23 2003 hhetter@suse.de
- fix SuSEconfig.gtk2 query paths
* Wed Jul 16 2003 sbrabec@suse.cz
- SuSEconfig.gtk2: Fixed paths to query binaries.
@ -1118,7 +1180,7 @@ fi
- Fixed directory packaging.
* Wed May 28 2003 sbrabec@suse.cz
- Include manpage to devel package.
* Wed May 28 2003 ro@suse.de
* Tue May 27 2003 ro@suse.de
- remove unpackaged files from buildroot
* Thu May 22 2003 sbrabec@suse.cz
- Fixed typo in Requires for -devel package (#27025).
@ -1131,7 +1193,7 @@ fi
theme problems for all session types).
* Wed Mar 12 2003 sbrabec@suse.cz
- Fixed prefix clash for keyboard themes (fixes bug 25086).
* Mon Feb 10 2003 ro@suse.de
* Sun Feb 09 2003 ro@suse.de
- create /etc/gtk-2.0 in SuSEconfig.gtk2 if needed
* Thu Feb 06 2003 sbrabec@suse.cz
- Updated to version 2.2.1.
@ -1233,7 +1295,7 @@ fi
* Memory leak and UMR fixes
* Misc bug fixes
* Updated translations
* Thu Jun 13 2002 ro@suse.de
* Wed Jun 12 2002 ro@suse.de
- use libpng-devel-packages in nededforbuild
* Mon Jun 10 2002 meissner@suse.de
- Need to use -mminimal-toc for ppc64.