pkgsrc-WIP-changes archive

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

tex-miktex: Import as wip/tex-miktex version 2.9.7250



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%NetBSD.org@localhost>
Pushed By:	ng0
Date:		Wed Jan 8 00:53:37 2020 +0000
Changeset:	5560f661ae20bf1d3cca4a0996cd9c143cdc610c

Added Files:
	tex-miktex/DESCR
	tex-miktex/Makefile
	tex-miktex/PLIST
	tex-miktex/TODO
	tex-miktex/distinfo
	tex-miktex/options.mk

Log Message:
tex-miktex: Import as wip/tex-miktex version 2.9.7250

MiKTeX is both a modern C/C++ implementation of TeX & Friends and a
TeX distribution.

- MiKTeX is a scalable TeX distribution (["Just enough
  TeX"](https://miktex.org/kb/just-enough-tex)):
  * you can start with MiKTeX executables and man pages
  * in the course of authoring your documents: only necessary packages
    will be downloaded and installed

The MiKTeX source code is documented here:
https://docs.miktex.org/hacking/index.html

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5560f661ae20bf1d3cca4a0996cd9c143cdc610c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tex-miktex/DESCR      | 11 +++++++++++
 tex-miktex/Makefile   | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 tex-miktex/PLIST      |  4 ++++
 tex-miktex/TODO       | 41 +++++++++++++++++++++++++++++++++++++++++
 tex-miktex/distinfo   |  6 ++++++
 tex-miktex/options.mk | 14 ++++++++++++++
 6 files changed, 125 insertions(+)

diffs:
diff --git a/tex-miktex/DESCR b/tex-miktex/DESCR
new file mode 100644
index 0000000000..25e3ec83a4
--- /dev/null
+++ b/tex-miktex/DESCR
@@ -0,0 +1,11 @@
+MiKTeX is both a modern C/C++ implementation of TeX & Friends and a
+TeX distribution.
+
+- MiKTeX is a scalable TeX distribution (["Just enough
+  TeX"](https://miktex.org/kb/just-enough-tex)):
+  * you can start with MiKTeX executables and man pages
+  * in the course of authoring your documents: only necessary packages
+    will be downloaded and installed
+
+The MiKTeX source code is documented here:
+https://docs.miktex.org/hacking/index.html
diff --git a/tex-miktex/Makefile b/tex-miktex/Makefile
new file mode 100644
index 0000000000..e816c8b8d4
--- /dev/null
+++ b/tex-miktex/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD$
+
+DISTNAME=	miktex-2.9.7250
+CATEGORIES=	# TODO: add primary category
+MASTER_SITES=	https://miktex.org/download/ctan/systems/win32/miktex/source/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://miktex.org/download/ctan/systems/win32/miktex/source/
+COMMENT=	TODO: Short description of the package
+#LICENSE=	# TODO: (see mk/license.mk)
+
+USE_TOOLS+=	pkg-config
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++
+
+BUILD_DEPENDS+=	log4cxx-[0-9]*:../../devel/log4cxx
+# or lzmalib?
+BUILD_DEPENDS+=	lzma-[0-9]*:../../archivers/lzma
+
+.include "options.mk"
+
+.include "../../devel/apr/buildlink3.mk"
+.include "../../devel/apr-util/buildlink3.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../converters/fribidi/buildlink3.mk"
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../graphics/graphite2/buildlink3.mk"
+# \todo? harfbuzz-icu
+.include "../../textproc/hunspell/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../math/mpfr/buildlink3.mk"
+.include "../../archivers/libmspack/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/pixman/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+# and poppler-cpp?
+.include "../../print/poppler/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../graphics/potrace/buildlink3.mk"
+.include "../../textproc/uriparser/buildlink3.mk"
+.include "../../archivers/zziplib/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tex-miktex/PLIST b/tex-miktex/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/tex-miktex/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/tex-miktex/TODO b/tex-miktex/TODO
new file mode 100644
index 0000000000..97ab6a2492
--- /dev/null
+++ b/tex-miktex/TODO
@@ -0,0 +1,41 @@
+Useful: https://miktex.org/howto/build-unx
+
+Build Fails:
+Scanning dependencies of target fmt-static
+[  0%] Generating miktex-zzdb1-2.9.tar.lzma
+[  0%] Building CXX object Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/__/StringUtil.cpp.o
+[  0%] Building CXX object Libraries/3rd/fmt/static/CMakeFiles/fmt-static.dir/__/source/src/format.cc.o
+[  0%] Building CXX object Libraries/3rd/fmt/shared/CMakeFiles/MiKTeX209-fmt.dir/__/source/src/format.cc.o
+[  0%] Generating miktex-zzdb3-2.9.tar.lzma
+[  1%] Building CXX object Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/__/Tokenizer.cpp.o
+In file included from /usr/work/wip/tex-miktex/work/miktex-2.9.7250/Libraries/MiKTeX/Util/include/miktex/Util/CharBuffer.h:34,
+                 from /usr/work/wip/tex-miktex/work/miktex-2.9.7250/Libraries/MiKTeX/Util/Tokenizer.cpp:33:
+/usr/work/wip/tex-miktex/work/miktex-2.9.7250/Libraries/MiKTeX/Util/include/miktex/Util/StringUtil.h:127:75: error: 'va_list' has not been declared
+   static MIKTEXUTILCEEAPI(std::string) FormatStringVA(const char* format, va_list arglist);
+                                                                           ^~~~~~~
+--- Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/__/Tokenizer.cpp.o ---
+*** [Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/__/Tokenizer.cpp.o] Error code 1
+
+make[2]: stopped in /usr/work/wip/tex-miktex/work/miktex-2.9.7250
+1 error
+
+make[2]: stopped in /usr/work/wip/tex-miktex/work/miktex-2.9.7250
+--- Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/all ---
+*** [Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/all] Error code 2
+
+make[1]: stopped in /usr/work/wip/tex-miktex/work/miktex-2.9.7250
+A failure has been detected in another branch of the parallel make
+
+make[2]: stopped in /usr/work/wip/tex-miktex/work/miktex-2.9.7250
+--- CMakeFiles/gen-bootstrapping-files.dir/all ---
+*** [CMakeFiles/gen-bootstrapping-files.dir/all] Error code 2
+
+make[1]: stopped in /usr/work/wip/tex-miktex/work/miktex-2.9.7250
+A failure has been detected in another branch of the parallel make
+
+make[2]: stopped in /usr/work/wip/tex-miktex/work/miktex-2.9.7250
+--- Libraries/3rd/fmt/shared/CMakeFiles/MiKTeX209-fmt.dir/all ---
+*** [Libraries/3rd/fmt/shared/CMakeFiles/MiKTeX209-fmt.dir/all] Error code 2
+
+make[1]: stopped in /usr/work/wip/tex-miktex/work/miktex-2.9.7250
+A failure has been detected in another branch of the parallel make
diff --git a/tex-miktex/distinfo b/tex-miktex/distinfo
new file mode 100644
index 0000000000..fd5b93cf70
--- /dev/null
+++ b/tex-miktex/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (miktex-2.9.7250.tar.xz) = 556e61189c6a9ce2c5dfd7a27f150fb14c9caa73
+RMD160 (miktex-2.9.7250.tar.xz) = 89f886c818b409e429b01944f08d9758abf8f16f
+SHA512 (miktex-2.9.7250.tar.xz) = 151917fa2c658ce588a7d18769e4664d108e0e4087ec198b5b75b6831e4b4e90da7783e69a125873665e192323e059d26e332baeed8e8c778087b62bf783869d
+Size (miktex-2.9.7250.tar.xz) = 25680464 bytes
diff --git a/tex-miktex/options.mk b/tex-miktex/options.mk
new file mode 100644
index 0000000000..13de24d818
--- /dev/null
+++ b/tex-miktex/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.tex-miktex
+
+PKG_SUPPORTED_OPTIONS+=		qt5
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mqt5)
+CMAKE_ARGS+=	-DWITH_UI_QT=ON
+.include "../../print/poppler-qt5/buildlink3.mk"
+.else
+CMAKE_ARGS+=	-DWITH_UI_QT=OFF
+.endif


Home | Main Index | Thread Index | Old Index