[tlbuild] building for distribution with shared breaks in dvisvgm
Norbert Preining
preining at logic.at
Sun Sep 9 15:08:05 CEST 2018
Hi Karl, hi all,
> I do nothing with --enable-bundled-libs. If you specify it, I thought it
> would get passed down everywhere. The AC_ARG_ENABLE in
Yes it is, that would fix it. But see below.
> Meanwhile, I had another idea: what if, as a Debian patch, you
> reverted dvisvgm/configure.ac to dvisvgm-src/configure.ac,
No, not revert. Much better idea is to hard-code the libs, see the
following patch:
--- texlive-bin-2018.20180907.48586.orig/texk/dvisvgm/dvisvgm-src/src/Makefile.am
+++ texlive-bin-2018.20180907.48586/texk/dvisvgm/dvisvgm-src/src/Makefile.am
@@ -20,8 +20,8 @@ dvisvgm_LDADD += \
../libs/xxHash/libxxhash.a
else
dvisvgm_LDADD += \
- $(POTRACE_LIBS) \
- $(XXHASH_LIBS)
+ -lpotrace \
+ -lxxhash
endif
if ENABLE_WOFF
@@ -33,8 +33,8 @@ dvisvgm_LDADD += \
else
dvisvgm_LDADD += \
../libs/ff-woff/libfontforge.a \
- $(WOFF2_LIBS) \
- $(BROTLI_LIBS)
+ -lwoff2enc -lwoff2dec -lwoff2common \
+ -lbrotlienc -lbrotlidec -lbrotlicommon
endif
endif
@@ -43,7 +43,7 @@ dvisvgm_LDADD += \
$(FREETYPE2_LIBS) \
$(FONTFORGE_LIBS) \
$(ZLIB_LIBS) \
- $(LIBGS_LIBS)
+ -lgs
dvisvgm_DEPENDENCIES = $(noinst_LIBRARIES)
dvisvgm_DEPENDENCIES += $(KPATHSEA_DEPEND) $(ZLIB_DEPEND) $(FREETYPE2_DEPEND)
I added also -lgs because also GSLIB are not set when compiled without
--enable-bundled-libs.
I am not sure whether both the enc and dec libs are necessary, but I
didn't care. With this compilation (after reautoconf) did work.
Thanks
Norbert
--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
More information about the tlbuild
mailing list