ports/93123: [PATCH] graphics/djvulibre: browser plugin not working
Hiroto Kagotani
hiroto.kagotani at gmail.com
Fri Feb 10 08:30:13 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list