Date: Wed, 12 Sep 2012 20:45:08 -0400 (EDT) From: "Lawrence K. Chen, P.Eng." <lkchen@ksu.edu> To: Matthias Andree <mandree@FreeBSD.org> Cc: gnome@FreeBSD.org Subject: Re: ports/171530: x11/yelp: no longer builds with new libxul port Message-ID: <1011939477.5658923.1347497108412.JavaMail.root@k-state.edu> In-Reply-To: <201209110030.q8B0UAhg052783@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- > The following reply was made to PR ports/171530; it has been noted by > GNATS. > > From: Matthias Andree <mandree@FreeBSD.org> > To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org > Cc: > Subject: Re: ports/171530: x11/yelp: no longer builds with new libxul > port > Date: Tue, 11 Sep 2012 02:22:51 +0200 > > Perhaps this helps with devising a fix: > > $ egrep -ni '(toolkit|gtk)' > /usr/local/include/libxul/mozilla-config.h > 113:#define MOZ_WIDGET_GTK2 1 So, I quickly made a patch like this: --- configure.orig 2012-09-12 19:05:56.368926652 -0500 +++ configure 2012-09-12 19:07:48.283929553 -0500 @@ -19705,9 +19705,9 @@ #include <string.h> #include <stdlib.h> int main(void) { - if (strcmp (MOZ_DEFAULT_TOOLKIT, "gtk2") == 0 || - strcmp (MOZ_DEFAULT_TOOLKIT, "cairo-gtk2") == 0) + #if defined(MOZ_WIDGET_GTK2) return EXIT_SUCCESS; + #endif return EXIT_FAILURE; } And, it made configure finish. But, it wouldn't compile. Seems they've made API changes relating to gtkmozembed. The old yelp build won't run, it fails with: /usr/local/bin/yelp: Undefined symbol "gtk_moz_embed_set_path" Perhaps what's needed is libxul19 be changed so that it can be installed along side libxul? Perhaps have it install to /usr/local/include/libxul19, /usr/local/lib/libxul19, etc. Guess I need to switch back to libxul19. -- Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator For: Enterprise Server Technologies (EST) -- & SafeZone Ally Snail: Computing and Telecommunications Services (CTS) Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102 Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: lkchen@ksu.edu Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1011939477.5658923.1347497108412.JavaMail.root>