help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Diffences between x86 and i386 files


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Diffences between x86 and i386 files
Date: Thu, 25 Oct 2007 19:36:26 +0200
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)


- -This is gst-base.info, produced by makeinfo version 4.11 from
/home/s4504kr/cvs/fedora/gnu-smalltalk/devel/smalltalk-2.3.6/doc/gst-base-fixed.texi.
+This is gst-base.info, produced by makeinfo version 4.11 from
/builddir/build/BUILD/smalltalk-2.3.6/doc/gst-base-fixed.texi.

I can't do anything if the build factories use different paths. However, I appreciate that this could cause build paths to appear in installed files, which is a problem.

Anyway, a hack can be to add this line:

          $(SED) -i '/address@hidden/ s/:/_/g' $@

to each of the rules building a .texi file, like this ones:

$(srcdir)/regex.texi: $(top_srcdir)/examples/regex.st
        rm -f $(srcdir)/regex.texi
builddir=`pwd`; gst=$$builddir/../gst; gst_im=$$builddir/../gst.im; \
        cd $(srcdir) && \
          $$gst -I $$gst_im -f ../scripts/GenLibDoc.st \
            Regex Regex regex.texi
        test -f $(srcdir)/regex.texi && touch $(srcdir)/gst-libs.texi

and removing this block entirely:

# In TeX output, having colons in index entries looks pretty, but
# this is impossible in info output!!!  So we hack by replacing
# colons with underscores in the info file.
.texi.info:
        @cd $(srcdir) && rm -f $@ address@hidden address@hidden
        fixed=`pwd`/`echo $< | $(SED) 's/\.texi/-fixed&/' `; \
          cd $(srcdir) && \
          $(MAKEINFO) `echo $< | $(SED) 's,.*/,,'` -E - -o /dev/null | \
          $(SED) '/address@hidden/ s/:/_/g' > $$fixed && \
          $(MAKEINFO) $$fixed > /dev/null 2>&1 && \
          rm -f $$fixed

However, I'm not going to include it upstream. You should maintain it as a local patch.

- -gst-base.info-1: 1034
- -gst-base.info-2: 299911
- -gst-base.info-3: 599343
- -gst-base.info-4: 754103
- -gst-base.info-5: 1191975
+gst-base.info-1: 1011
+gst-base.info-2: 299888
+gst-base.info-3: 599320
+gst-base.info-4: 754080
+gst-base.info-5: 1191952

These are byte offsets because of the different paths above.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]