ports/171530: x11/yelp: no longer builds with new libxul port

Lawrence K. Chen, P.Eng. lkchen at ksu.edu
Thu Sep 13 00:53:25 UTC 2012



----- Original Message -----
> The following reply was made to PR ports/171530; it has been noted by
> GNATS.
> 
> From: Matthias Andree <mandree at FreeBSD.org>
> To: FreeBSD-gnats-submit at freebsd.org, freebsd-ports-bugs at 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 at ksu.edu
Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library


More information about the freebsd-gnome mailing list