ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] [PATCH] gtk+-1.2.10-mdk-argb.patch
@ 2007-02-22 11:59 Alexey Tourbin
  2007-02-22 14:23 ` Sergey Pinaev
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexey Tourbin @ 2007-02-22 11:59 UTC (permalink / raw)
  To: devel

Господа, что можно сказать о нижеследующем?
Я понимаю, что это плохо, но можно ли сказать, что это плохо-плохо?


* Tue Jul 25 2006 Frederic Crozat <fcrozat@mandriva> 1.2.10-45mdv2007.0
- Patch28: prevent crash when composite is enabled

https://bugzilla.altlinux.org/show_bug.cgi?id=8225
https://bugzilla.altlinux.org/show_bug.cgi?id=8354
---
 gtk+-1.2.10-mdk-argb.patch |   11 +++++++++++
 gtk+.spec                  |    3 +++
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 gtk+-1.2.10-mdk-argb.patch

diff --git a/gtk+-1.2.10-mdk-argb.patch b/gtk+-1.2.10-mdk-argb.patch
new file mode 100644
index 0000000..de4a3cf
--- /dev/null
+++ b/gtk+-1.2.10-mdk-argb.patch
@@ -0,0 +1,11 @@
+--- gtk+-1.2.10/gdk/gdk.c.argb	2006-07-25 18:30:47.000000000 +0200
++++ gtk+-1.2.10/gdk/gdk.c	2006-07-25 18:32:24.000000000 +0200
+@@ -408,6 +408,8 @@
+     }
+   
+   GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ()));
++
++  putenv("XLIB_SKIP_ARGB_VISUALS=1");
+   
+   gdk_display = XOpenDisplay (gdk_display_name);
+   if (!gdk_display)
diff --git a/gtk+.spec b/gtk+.spec
index 454605b..9bad944 100644
--- a/gtk+.spec
+++ b/gtk+.spec
@@ -68,6 +68,8 @@ Patch124: gtk+-1.2.10-rh-localecrash.patch
 Patch125: gtk+-1.2.10-mdk-fileselectorfallback.patch
 # (fc) 1.2.10-30mdk change default colors to match GTK2 2.2 colors
 Patch126: gtk+-1.2.10-mdk-defaultcolor.patch
+# (fc) 1.2.10-45mdv ugly hack to skip argb visuals
+Patch128: gtk+-1.2.10-mdk-argb.patch
 
 BuildPreReq: libtool_1.5 >= 3:1.5-alt10
 
@@ -145,6 +147,7 @@ subst -p 's/az /az be /g' configure*
 %patch124 -p1 -b .localecrash
 %patch125 -p1 -b .fileselectorfallback
 %patch126 -p1 -b .defaultcolor
+%patch128 -p1 -b .argb
 
 %build
 %def_disable static
-- 
1.5.0.1.GIT


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-22 15:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-22 11:59 [devel] [PATCH] gtk+-1.2.10-mdk-argb.patch Alexey Tourbin
2007-02-22 14:23 ` Sergey Pinaev
2007-02-22 15:34   ` Alexey Tourbin
2007-02-22 14:52 ` Andrey Rahmatullin
2007-02-22 15:10   ` Igor Zubkov
2007-02-22 15:40 ` Konstantin A. Lepikhov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git