More g-wrap problems with GnuCash

Derek Atkins warlord@MIT.EDU
18 Jan 2001 12:30:22 -0500


Rob Browning <rlb@cs.utexas.edu> writes:

> Normally, in Debian at least, I'd add cmds to the debian/rules file to
> create symlinks like that before building the package, if the "make
> install" step didn't do that.  Can we do that in the spec.in?
> 
> Also, for whatever reason, "make install" here does create all the
> symlinks:

[snip]

> Glad to at least have the functional problems fixed...

Yea, the SPEC just didn't include the symlinks.  Apply this patch and
it will fix that problem.  This patch will also remove the
/usr/share/guile/g-wrap and /usr/share/guile/g-wrapped directories
when the g-wrap package(s) are removed.  After you apply this patch,
we should be done and have a working g-wrap on RH 6.2/guile 1.3.  Then
I'll build you some RPMs are we can distribute them for RH 6.2 :)

-derek

--- rpm/Makefile.am~	Tue Jan 16 10:22:35 2001
+++ rpm/Makefile.am	Thu Jan 18 12:08:58 2001
@@ -15,6 +15,7 @@
 	rm -f $@.tmp
 	sed < $@.in > $@.tmp \
             -e 's:@-GW_RTLIB_VER-@:${GW_MAJ}.${GW_REV}.${GW_AGE}:' \
+            -e 's:@-GW_RTLIB_MAJ-@:${GW_MAJ}:' \
             -e 's:@-VERSION-@:${VERSION}:'
 	mv $@.tmp $@
 
--- rpm/spec.in-1.1.8	Tue Jan 16 10:22:46 2001
+++ rpm/spec.in		Thu Jan 18 12:23:00 2001
@@ -58,11 +58,17 @@
 %files
 %defattr(-,root,root)
 /usr/lib/libg-wrap-runtime-guile.so.@-GW_RTLIB_VER-@
+/usr/lib/libg-wrap-runtime-guile.so.@-GW_RTLIB_MAJ-@
+/usr/lib/libg-wrap-runtime-guile.so
+%dir /usr/share/guile/g-wrap
 /usr/share/guile/g-wrap/guile-types.scm
 /usr/share/guile/g-wrap/output-file.scm
 /usr/share/guile/g-wrap/g-translate.scm
 /usr/share/guile/g-wrap/sorting.scm
+%dir /usr/share/guile/g-wrapped
 /usr/share/guile/g-wrapped/libgw-runtime.so.0.0.0
+/usr/share/guile/g-wrapped/libgw-runtime.so.0
+/usr/share/guile/g-wrapped/libgw-runtime.so
 /usr/share/guile/g-wrapped/gw-runtime-spec.scm
 /usr/share/guile/g-wrap.scm
 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS
@@ -73,12 +79,16 @@
 /usr/lib/libg-wrap-runtime-guile.la
 /usr/lib/libg-wrap-runtime-guile.a
 /usr/include/g-wrap-runtime-guile.h
+%dir /usr/share/guile/g-wrapped
 /usr/share/guile/g-wrapped/libgw-runtime.la
 /usr/share/guile/g-wrapped/libgw-runtime.a
 /usr/share/aclocal/g-wrap.m4
 %doc /usr/info/g-wrap.info
 
 %changelog
+* Thu Jan 18 2001 Derek Atkins <warlord@MIT.EDU>
+- Update for g-wrap 1.1.9:  make sure to include the shared obj symlinks
+
 * Fri Jan 12 2001 Derek Atkins <warlord@MIT.EDU>
 - Update for g-wrap 1.1.4:  new file layout
 

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available