Error installing port
Bram at moolenaar.net
Sat Apr 19 15:23:41 PDT 2003
> > gui_beval.c: In function `drawBalloon':
> > gui_beval.c:951: `PANGO_WRAP_WORD_CHAR' undeclared (first use in this fun=
> > 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.
This is in the GTK 2 patch from Daniel Elstner:
> > 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.
I suppose a solution would be:
# ifdef PANGO_WRAP_WORD_CHAR
The fallback may be important for very long words.
Anyway, this problem shows that we can anticipate various problems with
various versions of GTK and Pango... I'll bring out an alpha release
soon, so that these things can be tested.
How To Keep A Healthy Level Of Insanity:
15. Five days in advance, tell your friends you can't attend their
party because you're not in the mood.
/// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
More information about the freebsd-gnome