From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 19 15:15:37 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC6B637B401 for ; Sat, 19 Apr 2003 15:15:37 -0700 (PDT) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B3A043FE3 for ; Sat, 19 Apr 2003 15:15:36 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail4.nc.rr.com (fe4 [24.93.67.51])h3JMDXgs009085; Sat, 19 Apr 2003 18:13:33 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Sat, 19 Apr 2003 18:17:28 -0400 Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) h3JMDuaa010087; Sat, 19 Apr 2003 18:13:56 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Bram Moolenaar In-Reply-To: <200304192208.h3JM8aE47643@moolenaar.net> References: <200304192208.h3JM8aE47643@moolenaar.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-CvFdN7WQ9oV0IZ5aOOhZ" Organization: MarcusCom, Inc. Message-Id: <1050790531.13770.48.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.2 (Preview Release) Date: 19 Apr 2003 18:15:31 -0400 X-Spam-Status: No, hits=-39.4 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: FreeBSD GNOME Users cc: Daniel Elstner Subject: Re: Error installing port X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 22:15:38 -0000 --=-CvFdN7WQ9oV0IZ5aOOhZ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2003-04-19 at 18:08, Bram Moolenaar wrote: > Joe - >=20 > OK, I finally managed to build GTK 2.0.9. Thanks to your port files. >=20 > Now that I build Vim with it, I get an error that I can't explain: >=20 > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/local/include/a= tk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/u= sr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/incl= ude/pango-1.0 -I/usr/X11R6/include -I/usr/local/include -g -O2 -fno-stre= ngth-reduce -Wall -Wmissing-prototypes -I/usr/X11R6/include -o objec= ts/gui_beval.o gui_beval.c > gui_beval.c: In function `drawBalloon': > gui_beval.c:951: `PANGO_WRAP_WORD_CHAR' undeclared (first use in this fun= ction) > gui_beval.c:951: (Each undeclared identifier is reported only once > gui_beval.c:951: for each function it appears in.) > gmake: *** [objects/gui_beval.o] Error 1 >=20 > The strange thing is that previously (with GTK 2.0.0) it did work. Can you send me this source? Most things today are being written for pango-1.2.x. PANGO_WRAP_WORD_CHAR is defined in that version. Looks like this source assumes pango-1.1.x or higher. It may be made to use the older stuff. >=20 > Hmm, when I change PANGO_WRAP_WORD_CHAR into PANGO_WRAP_WORD it works! The difference between PANGO_WRAP_WORD_CHAR and PANGO_WRAP_WORD is that the former wraps words at word boundaries, but falls back to wrapping at character boundaries if there is not enough space for a word. The latter doesn't have the fallback. This substitution might be okay, but it should be conditionalized so that newer pango users can take advantage of the newer functionality. Joe >=20 > - Bram --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-CvFdN7WQ9oV0IZ5aOOhZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+ocqDb2iPiv4Uz4cRAhU+AKCZLg+gJmvfgD8UC8Q0e/uDgvzy/ACffQuF vLyOrXE/a/GwVto1Dk5Nlzw= =8+N0 -----END PGP SIGNATURE----- --=-CvFdN7WQ9oV0IZ5aOOhZ--