Re: groff 1.24.0.rc2 on other platforms
"G. Branden Robinson" <[email protected]>
| Newsgroups | gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <20260128025346.h2xbxrrjin2pjhjc@illithid> |
At 2026-01-28T00:03:49+0100, Bruno Haible via GNU roff typesetting
system discussion wrote:
> Deri wrote:
> > > - If it contains data that may be deleted and is persisted only
> > > to provide a speedup, it should be $HOME/.cache/<program>/ (or
> > > $XDG_CACHE_HOME/<program>/ if that environment variable is set
> > > [1]).
[...]
> > I think this is the appropriate place, _Inline contains a .so
> > containing the C routine which improves performance with large
> > fonts. If it is deleted it is recreated the next time gropdf is run.
> > I will work out how to make it happen.
>
> Thanks. I agree that the proper location is under $HOME/.cache/gropdf/
> then.
>
> You will probably also need to include the architecture (ABI) in the
> file name, since the user may have the same $HOME directory in
> different machines with different architectures (e.g. x86_64 and
> arm64, or even x86_64 and x86).
I believe it's already structured that way:
$ find ~/_Inline/ -type f
/home/branden/_Inline/config-x86_64-linux-gnu-thread-multi-5.032001
/home/branden/_Inline/lib/auto/gropdf_1c9b/gropdf_1c9b.inl
/home/branden/_Inline/lib/auto/gropdf_1c9b/gropdf_1c9b.so
/home/branden/_Inline/.lock
> Also, if different versions of groff produce shared libraries with
> different APIs, you will need to include the groff version in the file
> name, because the user may be running different groff versions at
> different times (or even at the same time).
This much is not the case. Apart from gnulib, with which many people
are familiar (and which supports no DSO configuration TTBOMK), the groff
build produces up to four libraries--libgroff, libdriver, libbib, and
libxutil--but all are static (".a" files).
Regards,
Branden
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAml5ejMACgkQ0Z6cfXEm bc5Q1BAAnRCZW+GtHoRcjQMSh9tB0bqkuTrl7TpXDDKD+9J6CRyo7i4qFZI2woax 9YpSo48I7O0g3YBI2jKuZMX45Rw1kdEVWwouJe9NxGy2zHSSa2BIpUcQUnSnnk7r GX2RPGujsX5Px+I2IEhX4jl9YgAnmhbY2EDw81MVDomMMvXdC2Y/LTs7To5LHWL4 h8yeX6O+mbp1548IDQsfYcTkG5VogR2dKExEWQS4cZXQBihz5Z7fnRHDga+Ffi2M 5t/6eACPfkIj66+ea8+1tXvkzJCd7wk80i44Na859bvB/T5Rlqw535jVWSzeaYxo ssiiPZJzjCGuj6Z1U10IewBllIb8TpbY76tHA29AkUOtaiRSWFtR7IiXfZ96bzkE OkHuhRLin9h31Z4fHCB4KURwK0Sh0r0vEjJVEeUVfJHIhsnJetdJfltIuVPAHvMI N5DgAatuItQnDv+77m5t+NH4A/j+GiOBrXLxnSYXwB/DyIW4B9rdlwMNW7IWaDC9 UqhOL/w2okVG1d/QZ4dwtERjyPYta6FK3N+WIrnGiMlH99VTOwXcsCrvPtEFKdZo asoJBzi9QJZAju3xQqmj5L668BXpFkwIbnPJtJgH+dAn6w+anZ2ZDmX5hUsmjxXS XHe5qNqGh4KKlCzqC432XlaEgzY463tErUg56INoFY+5AZq0sfE= =6t09 -----END PGP SIGNATURE-----