void-packages/srcpkgs/enblend-enfuse/patches/no-latex.patch

65 lines
2.6 KiB
Diff

Index: enblend-enfuse-4.2/aclocal.m4
===================================================================
--- enblend-enfuse-4.2.orig/aclocal.m4
+++ enblend-enfuse-4.2/aclocal.m4
@@ -1422,11 +1422,7 @@ AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
-m4_include([m4/_ac_latex_test.m4])
-m4_include([m4/ac_latex_class.m4])
-m4_include([m4/ac_latex_package.m4])
m4_include([m4/ac_prog_ar.m4])
-m4_include([m4/ac_prog_latex.m4])
m4_include([m4/ac_type_sig_atomic_t.m4])
m4_include([m4/ax_boost_base.m4])
m4_include([m4/ax_cxx_as_const.m4])
Index: enblend-enfuse-4.2/configure.ac
===================================================================
--- enblend-enfuse-4.2.orig/configure.ac
+++ enblend-enfuse-4.2/configure.ac
@@ -316,43 +316,6 @@ fi
can_build_doc=yes
-AC_PATH_PROGS(LATEX, [latex elatex lambda],
- [AC_MSG_WARN(missing LaTeX translator)
- can_build_doc=no
- missing_for_doc="$missing_for_doc latex"])
-AC_PATH_PROG(PDFLATEX, pdflatex,
- [AC_MSG_WARN([missing PDFLaTeX translator -- no direct translation of LaTeX to PDF available])
- missing_for_doc="$missing_for_doc pdflatex"])
-
-if test "$latex" != 'no'
-then
- AC_LATEX_CLASS(report,report,[],
- [AC_MSG_WARN(missing document class report.cls)
- can_build_doc=no
- missing_for_doc="$missing_for_doc report.cls"])
- AC_LATEX_CLASS(refrep,refrep,[],
- [AC_MSG_WARN([missing document class refrep.cls -- no Reference Manual Style available])
- missing_for_doc="$missing_for_doc refrep.cls"])
-
-dnl FIXME: We ought to add package `hypcap' to the list, but
-dnl `AC_LATEX_PACKAGE' does not allow for prerequisite pqckages to be
-dnl mentioned while testing and `hypcap' needs `hyperref' to be
-dnl included first.
- m4_foreach([package_name],
- [amsmath, bold-extra, color, enumitem,
- float, footnote, graphicx, hyperref, hyphenat,
- ifpdf, index, latexsym, listings,
- microtype, ragged2e, shorttoc, suffix,
- url, xstring],
- [AC_LATEX_PACKAGE([package_name],
- [report],
- [m4_translit(package_name,[-],[_])],
- [],
- [AC_MSG_WARN(missing LaTeX package package_name)
- can_build_doc=no
- missing_for_doc="$missing_for_doc package_name.sty"])])
-fi
-
if test "$PERL" != false; then
AX_PROG_PERL_MODULES(File::Basename, [],
[AC_MSG_WARN(missing Perl module File::Basename)