OBS User unknown 2008-11-20 14:25:45 +00:00 committed by Git OBS Bridge
parent fc3accc54f
commit 05eb1542c7
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,14 @@
Index: gtk+-2.14.4/gtk/gtkselection.c
===================================================================
--- gtk+-2.14.4.orig/gtk/gtkselection.c
+++ gtk+-2.14.4/gtk/gtkselection.c
@@ -1798,7 +1798,8 @@ gtk_selection_data_get_targets (GtkSelec
if (selection_data->length >= 0 &&
selection_data->format == 32 &&
- selection_data->type == GDK_SELECTION_TYPE_ATOM)
+ (selection_data->type == GDK_SELECTION_TYPE_ATOM ||
+ selection_data->type == gdk_atom_intern_static_string("TARGETS")))
{
if (targets)
*targets = g_memdup (selection_data->data, selection_data->length);

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Nov 19 03:54:57 CET 2008 - pwu@suse.de
- Change gtk_selection_data_get_targets to java X Selection type.
The java X Selection "TARGETS"'s type is "TARGETS" not "ATOM".
Fixes https://bugzilla.novell.com/show_bug.cgi?id=191223.
Add new patch gtk2-191223-java-selection-fix-updated.patch,
updated version for sle11.
-------------------------------------------------------------------
Tue Nov 11 16:54:14 CET 2008 - ro@suse.de

View File

@ -44,7 +44,7 @@ Group: System/Libraries
AutoReqProv: on
PreReq: /usr/bin/touch /bin/rm /bin/rmdir
Version: 2.14.4
Release: 4
Release: 5
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
@ -86,6 +86,7 @@ Patch53: gtk-path-local.patch
Patch54: gtk2-bnc310710-bgo524166-underallocated-gtklabel-position.diff
# PATCH-FEATURE-OPENSUSE gtk2-bnc355503-file-chooser-remember-geometry.diff bnc355503 federico@novell.com - Make the file chooser remember its size across invocations
Patch55: gtk2-bnc355503-file-chooser-remember-geometry.diff
Patch56: gtk2-191223-java-selection-fix-updated.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: cairo >= 0.9.2 hicolor-icon-theme
%if %suse_version > 1020
@ -305,6 +306,7 @@ cp -a %{S:2} .
%patch53
%patch54 -p1
%patch55 -p1
%patch56 -p1
# gnome-patch-translation-update
%build
@ -439,6 +441,12 @@ fi
%{_datadir}/gtk-doc/html/*
%changelog
* Wed Nov 19 2008 pwu@suse.de
- Change gtk_selection_data_get_targets to java X Selection type.
The java X Selection "TARGETS"'s type is "TARGETS" not "ATOM".
Fixes https://bugzilla.novell.com/show_bug.cgi?id=191223.
Add new patch gtk2-191223-java-selection-fix-updated.patch,
updated version for sle11.
* Tue Nov 11 2008 ro@suse.de
- SLE-11 uses PPC64 instead of PPC, adapt baselibs.conf
* Thu Nov 06 2008 federico@novell.com