Date: Fri, 10 Feb 2006 08:29:50 GMT From: Hiroto Kagotani <hiroto.kagotani@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/93123: [PATCH] graphics/djvulibre: browser plugin not working Message-ID: <200602100829.k1A8ToV2056310@www.freebsd.org> Resent-Message-ID: <200602100830.k1A8UAlP059748@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93123 >Category: ports >Synopsis: [PATCH] graphics/djvulibre: browser plugin not working >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 10 08:30:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Hiroto Kagotani >Release: FreeBSD 6.0-STABLE >Organization: Okayama Univ. >Environment: FreeBSD myhost.mydomain 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Jan 26 04:11:57 JST 2006 myname@myhost.mydomain:/usr/obj/usr/src/sys/MYHOST i386 >Description: Browser plugin included in graphics/djvulibre does not working because appropriate X11 libraries are not linked to nsdejavu.so plugin module. >How-To-Repeat: Install graphics/djvulibre and run "firefox about:plugins". Then you see: LoadPlugin: failed to initialize shared library /usr/local/lib/djvulibre/plugins/nsdejavu.so [/usr/local/lib/djvulibre/plugins/nsdejavu.so: Undefined symbol "XtShellStrings"] >Fix: Adding a patch file for configure: diff -ruN djvulibre.orig/files/patch-configure djvulibre/files/patch-configure --- djvulibre.orig/files/patch-configure Thu Jan 1 09:00:00 1970 +++ djvulibre/files/patch-configure Fri Feb 10 16:26:19 2006 @@ -0,0 +1,11 @@ +--- configure.orig Tue Nov 1 02:34:47 2005 ++++ configure Fri Feb 10 16:26:00 2006 +@@ -26327,7 +26327,7 @@ + then + NSDEJAVU_CFLAGS=${X_CFLAGS} + case "$host" in +- *-cygwin* | *-mingw*) ++ *-cygwin* | *-mingw* | *-freebsd*) + NSDEJAVU_LIBS="`echo ${X_LIBS} | sed -e 's/-lXext/-lXt -lXext/'`" + NSDEJAVU_LIBS="-no-undefined $NSDEJAVU_LIBS" + ;; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602100829.k1A8ToV2056310>