From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: GTK patch - only for GTK >= version 2? (and hence GNOME 2) Date: Wed, 15 Jan 2003 17:40:23 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <0B128470-28A8-11D7-9C30-00039363E640@swipnet.se> References: <7ur8bf2k8k.fsf@allele2.biol.berkeley.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042650288 22173 80.91.224.249 (15 Jan 2003 17:04:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 17:04:48 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Yqy5-0005lL-00 for ; Wed, 15 Jan 2003 18:04:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Yr6c-00053O-00 for ; Wed, 15 Jan 2003 18:13:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YqsF-0000Nt-07 for emacs-devel@quimby.gnus.org; Wed, 15 Jan 2003 11:58:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18YqmK-00064E-00 for emacs-devel@gnu.org; Wed, 15 Jan 2003 11:52:36 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Yqli-0005p7-00 for emacs-devel@gnu.org; Wed, 15 Jan 2003 11:51:59 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Yqb3-0002Co-00 for emacs-devel@gnu.org; Wed, 15 Jan 2003 11:40:58 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h0FHZwDU008579; Wed, 15 Jan 2003 18:35:59 +0100 Original-To: Alex Lancaster In-Reply-To: <7ur8bf2k8k.fsf@allele2.biol.berkeley.edu> X-Mailer: Apple Mail (2.482) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10753 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10753 onsdagen den 15 januari 2003 kl 03.57 skrev Alex Lancaster: > It seems that the GTK patch by Jan only works with for GTK+ version 2 > (and hence GNOME 2) and later. I was wondering whether this was by > design or accident (I presuming that it is by design, because I > noticed that the autoconf tests look for a version of GLIB and GTK >= > 2.0.1, but I wanted to be sure). > > I have successfully built a version of Emacs CVS w/ GTK patch under > Red Hat 8.0 (which ships with GTK+/GNOME 2 as standard), but was > trying to build the same version under Slackware 8.1 which ships with > GTK+ 1.2.10 and it fails (presumably due to the GTK+ version). Yes, this is by design. The main reason is that the event strategy used for Emacs and GTK won't work with GTK 1.2 (or rather Glib 1.2). Other reasons are that a lot of stuff that are in 1.2 has been replaced with new things in 2.0 (like moving all event-signals to glib) and the old 1.2 things are depreceated in 2.0. So in order to be more "future proof", I started with for 2.0. Note that no Gnome stuff are used, so just compiling GTK 2.0 is enough to get Emacs to compile. Jan D.