Skip site navigation (1)Skip section navigation (2)
Date:      19 Apr 2003 18:15:31 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Bram Moolenaar <Bram@moolenaar.net>
Cc:        Daniel Elstner <daniel.elstner@gmx.net>
Subject:   Re: Error installing port
Message-ID:  <1050790531.13770.48.camel@shumai.marcuscom.com>
In-Reply-To: <200304192208.h3JM8aE47643@moolenaar.net>
References:  <200304192208.h3JM8aE47643@moolenaar.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1050790531.13770.48.camel>