Subject: pkg/10454: gnumeric's plugins don't. (patch included)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jasper@pointless.net>
List: netbsd-bugs
Date: 06/26/2000 13:01:13
>Number:         10454
>Category:       pkg
>Synopsis:       The gnumeric spreadsheet's plugins don't work when compiled from pkgsrc.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 26 13:02:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jasper Wallace
>Release:        
>Organization:
-- 
http://pointless.net/     : Another Great waste of bandwidth!
http://advogato.com/      : nothing to do with me, but worth a look.
http://www.ivision.co.uk/ : I pretend to work for these people.
2ECA0975     ::     45 52 65 E9 33 C7 72 4B  96 F4 44 2D 79 27 BF 08
>Environment:
	grep \$NetBSD Makefile patches/*                 [8:32PM]
Makefile:# $NetBSD: Makefile,v 1.19 2000/06/01 12:07:58 rh Exp $
patches/patch-aa:$NetBSD: patch-aa,v 1.7 2000/05/30 09:16:10 rh Exp $
patches/patch-ab:$NetBSD: patch-ab,v 1.3 2000/06/01 12:08:00 rh Exp $
	
System: NetBSD jellycat 1.4ZD NetBSD 1.4ZD (JELLYCAT.pnpbios) #2: Tue Jun 20 18:31:08 BST 2000 jasper@jellycat:/usr/src/sys/arch/i386/compile/JELLYCAT.pnpbios i386


>Description:
	gnumeric thinks it's plugins are installed with names that match
gnum_*.so, but pkgsrc installs them as libgnum_*.so .
>How-To-Repeat:
	cd /usr/pkgsrc/math/gnumeric && make install
	run gnumeric, click on 'Tools', then on 'Plug-ins...', and notice
	the lack of plugins...
>Fix:


--- gnumeric-0.54/src/plugin.c.prejgw	Fri Apr 28 04:08:50 2000
+++ gnumeric-0.54/src/plugin.c	Mon Jun 26 19:57:45 2000
@@ -210,7 +210,7 @@
 		 * gnum_*.so
 		 */
 		if (len > 8 &&
-		    strncmp (e->d_name, "gnum_", 3) == 0 &&
+		    strncmp (e->d_name, "libgnum_", 3) == 0 &&
 		    strncmp (e->d_name + len - 3, ".so", 3) == 0){
 			char *plugin_name;
 



>Release-Note:
>Audit-Trail:
>Unformatted: