ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] [PATCH] gtk+-1.2.10-mdk-argb.patch
Date: Thu, 22 Feb 2007 14:59:21 +0300
Message-ID: <20070222115921.GA25508@localhost.localdomain> (raw)

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


* 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


             reply	other threads:[~2007-02-22 11:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 11:59 Alexey Tourbin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070222115921.GA25508@localhost.localdomain \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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