From owner-freebsd-gnome@FreeBSD.ORG Thu Sep 13 00:53:25 2012 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AF2E106566B; Thu, 13 Sep 2012 00:53:25 +0000 (UTC) (envelope-from lkchen@k-state.edu) Received: from ksu-sfpop-proxy01.merit.edu (ksu-sfpop-proxy01.merit.edu [207.75.116.217]) by mx1.freebsd.org (Postfix) with ESMTP id 386368FC0A; Thu, 13 Sep 2012 00:53:24 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by ksu-sfpop-proxy01.merit.edu (Postfix) with ESMTP id DD61512811D; Wed, 12 Sep 2012 20:45:08 -0400 (EDT) X-Virus-Scanned: amavisd-new at ksu-sfpop-proxy01.merit.edu Received: from ksu-sfpop-proxy01.merit.edu ([127.0.0.1]) by localhost (ksu-sfpop-proxy01.merit.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jmOty+IfD8ly; Wed, 12 Sep 2012 20:45:08 -0400 (EDT) Received: from ksu-sfpop-mailstore02.merit.edu (ksu-sfpop-mailstore02.merit.edu [10.108.1.211]) by ksu-sfpop-proxy01.merit.edu (Postfix) with ESMTP id 94582128118; Wed, 12 Sep 2012 20:45:08 -0400 (EDT) Date: Wed, 12 Sep 2012 20:45:08 -0400 (EDT) From: "Lawrence K. Chen, P.Eng." To: Matthias Andree Message-ID: <1011939477.5658923.1347497108412.JavaMail.root@k-state.edu> In-Reply-To: <201209110030.q8B0UAhg052783@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [129.130.0.181] X-Mailer: Zimbra 7.2.0_GA_2681 (ZimbraWebClient - GC21 ([unknown])/7.2.0_GA_2681) Cc: gnome@FreeBSD.org Subject: Re: ports/171530: x11/yelp: no longer builds with new libxul port X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 00:53:25 -0000 ----- Original Message ----- > The following reply was made to PR ports/171530; it has been noted by > GNATS. > > From: Matthias Andree > 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 #include 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