Subject: pkg/28524: dependencies update guile14->guile required for gnucash stability
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas Hallmann <hallmann@hallhard.darktech.org>
List: pkgsrc-bugs
Date: 12/03/2004 09:15:01
>Number: 28524
>Category: pkg
>Synopsis: dependencies update guile14->guile required for gnucash stability
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Dec 03 09:15:00 +0000 2004
>Originator: Andreas Hallmann
>Release: NetBSD 1.6.2_STABLE
>Organization:
NetBSD: [AHA]<devel/guile-slib> dependencies update guile14->guile required for gnucash stability
>Environment:
System: NetBSD nda 1.6.2_STABLE NetBSD 1.6.2_STABLE (AHAv8#2) #8: Mon Jun 21 15:16:26 CEST 2004 toor@nda:/amd/nda/mounts/netbsd/src/sys/arch/sparc/compile/AHAv8#2 sparc
Architecture: sparc
Machine: sparc
>Description:
At least on sparc, gnucash is not in a working condition for a long time now.
It compiles, can be started, but crashes after every new line checked into an account.
Moreover, it throws a lot gtk-related error-messages and warnings.
Im not picking on the maintainer. He is doinging a great job. Pulling up any new revision.
Due to my analysis, guppi, guile-slib, guile-gtk and g-wrap needs to be modernised and all dependencies
to guile14 should be replaced by guile.
>How-To-Repeat:
compile and try to enter a few lines of data into an account
>Fix:
It was a lot of work, to build a set of patches to fix this.
Applying them results in a rock stable gnucash (again at least on sparc)
Please, apply them before the freeze.
A series of patches follow. Marked by [AHA] and i.e. <math/guppi> for your convinience.
All should be applied from your pkgsrc root. (again for your convinience.)
OK, first fix is trivial.
Here it goes:
cd /usr/pkgsrc
rm devel/guile-slib/patches/patch-aa
rmdir devel/guile-slib/patches
Patch to devel/guile-slib
###################
Index: devel/guile-slib/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/guile-slib/Makefile,v
retrieving revision 1.21
diff -r1.21 Makefile
4c4
< PKGREVISION= 5
---
> PKGREVISION= 6
20,21d19
< PLIST_SUBST+= GUILE14_SUBDIR=${GUILE14_SUBDIR:Q}
<
23,26c21,25
< ${LN} -sf ${PREFIX}/share/slib ${PREFIX}/${GUILE14_SUBDIR}/share/guile/slib
< cd ${PREFIX}/${GUILE14_SUBDIR}/share/guile/slib; \
< ${PREFIX}/${GUILE14_SUBDIR}/bin/guile -q -s \
< ${FILESDIR}/gencat.scm
---
> ${LN} -sf ${PREFIX}/share/slib ${PREFIX}/share/guile/1.6/slib
> cd ${PREFIX}/share/guile/1.6/slib; \
> guile -q -s ${FILESDIR}/gencat.scm
>
> .include "../../lang/guile/buildlink3.mk"
28d26
< .include "../../lang/guile14/buildlink3.mk"
Index: devel/guile-slib/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/guile-slib/PLIST,v
retrieving revision 1.3
diff -r1.3 PLIST
2,4c2,4
< ${GUILE14_SUBDIR}/share/guile/slibcat
< @exec ln -sf %D/share/slib %D/${GUILE14_SUBDIR}/share/guile/slib
< @unexec rm -f %D/${GUILE14_SUBDIR}/share/guile/slib
---
> share/guile/1.6/slibcat
> @exec ln -sf %D/share/slib %D/share/guile/1.6/slib
> @unexec rm -f %D/share/guile/1.6/slib