print/miktex: Update to 21.8.
Changes: https://github.com/MiKTeX/miktex/releases/tag/21.3 https://github.com/MiKTeX/miktex/releases/tag/21.6.28 https://github.com/MiKTeX/miktex/releases/tag/21.7 https://github.com/MiKTeX/miktex/releases/tag/21.8 PR: 259139 Approved by: arrowd (maintainer)
This commit is contained in:
parent
1f16c57100
commit
b65fb10162
@ -1,6 +1,5 @@
|
||||
PORTNAME= miktex
|
||||
DISTVERSION= 21.2
|
||||
PORTREVISION= 3
|
||||
DISTVERSION= 21.8
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= LOCAL/arrowd/miktex:bootstrap
|
||||
DISTFILES= miktex-zzdb1-2.9.tar.lzma:bootstrap \
|
||||
@ -38,6 +37,7 @@ LIB_DEPENDS= libapr-1.so:devel/apr1 \
|
||||
liblog4cxx.so:devel/log4cxx \
|
||||
libmpfr.so:math/mpfr \
|
||||
libmspack.so:archivers/libmspack \
|
||||
libinotify.so:devel/libinotify \
|
||||
libpng.so:graphics/png \
|
||||
libpopt.so:devel/popt \
|
||||
liburiparser.so:net/uriparser \
|
||||
@ -62,7 +62,7 @@ MANPAGES_CMAKE_BOOL= WITH_MAN_PAGES
|
||||
UIQT_CMAKE_BOOL= WITH_UI_QT
|
||||
|
||||
UIQT_USES= qt:5 gl
|
||||
UIQT_USE= qt=core,concurrent,dbus,gui,linguisttools,printsupport,script,scripttools,uitools,widgets,xml,buildtools_build,qmake_build gl=gl
|
||||
UIQT_USE= qt=core,concurrent,declarative,dbus,gui,linguisttools,network,printsupport,script,scripttools,uitools,widgets,xml,buildtools_build,qmake_build gl=gl
|
||||
|
||||
CMAKE_ARGS= -DMIKTEX_SYSTEM_ETC_FONTS_CONFD_DIR=${LOCALBASE}/etc/fonts/conf.d \
|
||||
-DMIKTEX_SYSTEM_VAR_CACHE_DIR=${DATADIR}/cache \
|
||||
|
@ -1,4 +1,4 @@
|
||||
TIMESTAMP = 1614101307
|
||||
TIMESTAMP = 1634128834
|
||||
SHA256 (miktex/miktex-zzdb1-2.9.tar.lzma) = 3cd30066ddf921a7843e51360b30ee8953f9226adc179339c5ed4b7a7b188753
|
||||
SIZE (miktex/miktex-zzdb1-2.9.tar.lzma) = 204473
|
||||
SHA256 (miktex/miktex-zzdb3-2.9.tar.lzma) = 1e853940b44c10c29c86d1c00ee68fa1c260ca3c376a65524290a8c0619a0d2c
|
||||
@ -13,5 +13,5 @@ SHA256 (miktex/miktex-misc.tar.lzma) = dc31fe9b7cd17cad3eddc3fc4c86650eb0f5c66d9
|
||||
SIZE (miktex/miktex-misc.tar.lzma) = 22719
|
||||
SHA256 (miktex/tetex.tar.lzma) = 0c4d68ebaaf6485c71c6e61e091b859fa2f5b819f6e881678def5bfea79597a4
|
||||
SIZE (miktex/tetex.tar.lzma) = 13084
|
||||
SHA256 (miktex/MiKTeX-miktex-21.2_GH0.tar.gz) = be28b283d7134a1ab658e7861cd0910877bf170a9c9c2c5622601defd7d22656
|
||||
SIZE (miktex/MiKTeX-miktex-21.2_GH0.tar.gz) = 41835415
|
||||
SHA256 (miktex/MiKTeX-miktex-21.8_GH0.tar.gz) = e2755b05cfeb5f7c27cffd9a0befbdbcc1d58863cb2e9a69161c39bb71981656
|
||||
SIZE (miktex/MiKTeX-miktex-21.8_GH0.tar.gz) = 42075522
|
||||
|
13
print/miktex/files/patch-CMakeLists.txt
Normal file
13
print/miktex/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
--- CMakeLists.txt.orig 2021-08-06 15:45:04 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -1228,6 +1228,10 @@ if(USE_SYSTEM_ZZIP)
|
||||
find_package(ZZIP REQUIRED)
|
||||
endif()
|
||||
|
||||
+if(MIKTEX_FREEBSD)
|
||||
+ find_package(Inotify REQUIRED)
|
||||
+endif()
|
||||
+
|
||||
if(MSVC)
|
||||
set(HAVE_PRAGMA_ONCE TRUE)
|
||||
endif()
|
@ -1,10 +0,0 @@
|
||||
--- Libraries/MiKTeX/Core/Session/init.cpp.orig 2021-02-20 10:38:14 UTC
|
||||
+++ Libraries/MiKTeX/Core/Session/init.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#if defined(MIKTEX_UNIX)
|
||||
# include <unistd.h>
|
||||
+extern char** environ;
|
||||
#endif
|
||||
|
||||
#if defined(MIKTEX_MACOS_BUNDLE)
|
@ -0,0 +1,37 @@
|
||||
--- Libraries/MiKTeX/Core/Utils/unx/unxUtils.cpp.orig 2021-08-06 15:45:04 UTC
|
||||
+++ Libraries/MiKTeX/Core/Utils/unx/unxUtils.cpp
|
||||
@@ -26,6 +26,8 @@
|
||||
#if defined(__APPLE__)
|
||||
# include <mach-o/dyld.h>
|
||||
#endif
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/sysctl.h>
|
||||
|
||||
#if defined(HAVE_SYS_UTSNAME_H)
|
||||
# include <sys/utsname.h>
|
||||
@@ -179,6 +181,16 @@ PathName Utils::GetExe()
|
||||
}
|
||||
}
|
||||
return PathName(buf.GetData());
|
||||
+#elif defined(__FreeBSD__)
|
||||
+ int mib[4];
|
||||
+ mib[0] = CTL_KERN;
|
||||
+ mib[1] = KERN_PROC;
|
||||
+ mib[2] = KERN_PROC_PATHNAME;
|
||||
+ mib[3] = -1;
|
||||
+ char buf[1024];
|
||||
+ size_t cb = sizeof(buf);
|
||||
+ sysctl(mib, 4, buf, &cb, NULL, 0);
|
||||
+ return PathName(buf);
|
||||
#else
|
||||
return File::ReadSymbolicLink(PathName("/proc/self/exe"));
|
||||
#endif
|
||||
@@ -186,7 +198,7 @@ PathName Utils::GetExe()
|
||||
|
||||
string Utils::GetExeName()
|
||||
{
|
||||
-#if defined(__APPLE__)
|
||||
+#if defined(__APPLE__) || defined (__FreeBSD__)
|
||||
return GetExe().GetFileNameWithoutExtension().ToString();
|
||||
#else
|
||||
ifstream cmdline = File::CreateInputStream(PathName("/proc/self/comm"));
|
@ -0,0 +1,10 @@
|
||||
--- Libraries/MiKTeX/Core/shared/CMakeLists.txt.orig 2021-08-06 15:45:04 UTC
|
||||
+++ Libraries/MiKTeX/Core/shared/CMakeLists.txt
|
||||
@@ -148,6 +148,7 @@ if(MIKTEX_FREEBSD)
|
||||
PRIVATE
|
||||
kvm
|
||||
procstat
|
||||
+ ${Inotify_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- Libraries/MiKTeX/Core/static/CMakeLists.txt.orig 2021-08-06 15:45:04 UTC
|
||||
+++ Libraries/MiKTeX/Core/static/CMakeLists.txt
|
||||
@@ -114,6 +114,7 @@ if(MIKTEX_FREEBSD)
|
||||
PUBLIC
|
||||
kvm
|
||||
procstat
|
||||
+ ${Inotify_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
64
print/miktex/files/patch-cmake_modules_FindInotify.cmake
Normal file
64
print/miktex/files/patch-cmake_modules_FindInotify.cmake
Normal file
@ -0,0 +1,64 @@
|
||||
--- cmake/modules/FindInotify.cmake.orig 2021-10-13 14:58:23 UTC
|
||||
+++ cmake/modules/FindInotify.cmake
|
||||
@@ -0,0 +1,61 @@
|
||||
+# SPDX-FileCopyrightText: 2016 Tobias C. Berner <tcberner@FreeBSD.org>
|
||||
+# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||
+#
|
||||
+# SPDX-License-Identifier: BSD-2-Clause
|
||||
+
|
||||
+#[=======================================================================[.rst:
|
||||
+FindInotify
|
||||
+--------------
|
||||
+
|
||||
+Try to find inotify on this system. This finds:
|
||||
+ - libinotify on Unix like systems, or
|
||||
+ - the kernel's inotify on Linux systems.
|
||||
+
|
||||
+This will define the following variables:
|
||||
+
|
||||
+``Inotify_FOUND``
|
||||
+ True if inotify is available
|
||||
+``Inotify_LIBRARIES``
|
||||
+ This has to be passed to target_link_libraries()
|
||||
+``Inotify_INCLUDE_DIRS``
|
||||
+ This has to be passed to target_include_directories()
|
||||
+
|
||||
+On Linux, the libraries and include directories are empty,
|
||||
+even though ``Inotify_FOUND`` may be set to TRUE. This is because
|
||||
+no special includes or libraries are needed. On other systems
|
||||
+these may be needed to use inotify.
|
||||
+
|
||||
+Since 5.32.0.
|
||||
+#]=======================================================================]
|
||||
+
|
||||
+find_path(Inotify_INCLUDE_DIRS sys/inotify.h)
|
||||
+
|
||||
+if(Inotify_INCLUDE_DIRS)
|
||||
+# On Linux there is no library to link against, on the BSDs there is.
|
||||
+# On the BSD's, inotify is implemented through a library, libinotify.
|
||||
+ if( CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
+ set(Inotify_FOUND TRUE)
|
||||
+ set(Inotify_LIBRARIES "")
|
||||
+ set(Inotify_INCLUDE_DIRS "")
|
||||
+ else()
|
||||
+ find_library(Inotify_LIBRARIES NAMES inotify)
|
||||
+ include(FindPackageHandleStandardArgs)
|
||||
+ find_package_handle_standard_args(Inotify
|
||||
+ FOUND_VAR
|
||||
+ Inotify_FOUND
|
||||
+ REQUIRED_VARS
|
||||
+ Inotify_LIBRARIES
|
||||
+ Inotify_INCLUDE_DIRS
|
||||
+ )
|
||||
+ mark_as_advanced(Inotify_LIBRARIES Inotify_INCLUDE_DIRS)
|
||||
+ include(FeatureSummary)
|
||||
+ set_package_properties(Inotify PROPERTIES
|
||||
+ URL "https://github.com/libinotify-kqueue/"
|
||||
+ DESCRIPTION "inotify API on the *BSD family of operating systems."
|
||||
+ )
|
||||
+ endif()
|
||||
+else()
|
||||
+ set(Inotify_FOUND FALSE)
|
||||
+endif()
|
||||
+
|
||||
+mark_as_advanced(Inotify_LIBRARIES Inotify_INCLUDE_DIRS)
|
@ -3,6 +3,7 @@ bin/findtexmf
|
||||
bin/gsf2pk
|
||||
bin/initexmf
|
||||
bin/md5walk
|
||||
bin/miktex
|
||||
bin/miktex-afm2tfm
|
||||
bin/miktex-autosp
|
||||
bin/miktex-axohelp
|
||||
@ -131,11 +132,11 @@ lib/libmetapost-core-static.a
|
||||
lib/libmetapost-extramath-static.a
|
||||
lib/libmetapost-util-static.a
|
||||
lib/libmiktex-app.so
|
||||
lib/libmiktex-app.so.4.1.0
|
||||
lib/libmiktex-app.so.4.2.0
|
||||
lib/libmiktex-app.so.6
|
||||
lib/libmiktex-core.so
|
||||
lib/libmiktex-core.so.23
|
||||
lib/libmiktex-core.so.4.4.1
|
||||
lib/libmiktex-core.so.26
|
||||
lib/libmiktex-core.so.4.9.0
|
||||
lib/libmiktex-extractor.so
|
||||
lib/libmiktex-extractor.so.2
|
||||
lib/libmiktex-extractor.so.4.0.0
|
||||
@ -143,21 +144,21 @@ lib/libmiktex-fmt.so
|
||||
lib/libmiktex-fmt.so.2
|
||||
lib/libmiktex-fmt.so.4.0.0
|
||||
lib/libmiktex-kpathsea.so
|
||||
lib/libmiktex-kpathsea.so.4.1.0
|
||||
lib/libmiktex-kpathsea.so.4.2.0
|
||||
lib/libmiktex-kpathsea.so.5
|
||||
lib/libmiktex-loc.so
|
||||
lib/libmiktex-loc.so.1
|
||||
lib/libmiktex-loc.so.1.0.0
|
||||
lib/libmiktex-lua53.so
|
||||
lib/libmiktex-lua53.so.1
|
||||
lib/libmiktex-lua53.so.4.1.0
|
||||
lib/libmiktex-lua53.so.4.1.1
|
||||
lib/libmiktex-md5.so
|
||||
lib/libmiktex-md5.so.1
|
||||
lib/libmiktex-md5.so.1.24.156
|
||||
lib/libmiktex-metapost.so
|
||||
lib/libmiktex-packagemanager.so
|
||||
lib/libmiktex-packagemanager.so.10
|
||||
lib/libmiktex-packagemanager.so.4.2.1
|
||||
lib/libmiktex-packagemanager.so.4.5.0
|
||||
%%UIQT%%lib/libmiktex-poppler-Qt.so
|
||||
%%UIQT%%lib/libmiktex-poppler-Qt.so.3
|
||||
%%UIQT%%lib/libmiktex-poppler-Qt.so.4.0.0
|
||||
@ -168,26 +169,26 @@ lib/libmiktex-res.so
|
||||
lib/libmiktex-res.so.1
|
||||
lib/libmiktex-res.so.1.0.0
|
||||
lib/libmiktex-setup.so
|
||||
lib/libmiktex-setup.so.4.2.0
|
||||
lib/libmiktex-setup.so.4.3.0
|
||||
lib/libmiktex-setup.so.6
|
||||
lib/libmiktex-teckit.so
|
||||
lib/libmiktex-teckit.so.2
|
||||
lib/libmiktex-teckit.so.4.0.0
|
||||
lib/libmiktex-texmf.so
|
||||
lib/libmiktex-texmf.so.4.3.0
|
||||
lib/libmiktex-texmf.so.4.5.1
|
||||
lib/libmiktex-texmf.so.6
|
||||
lib/libmiktex-trace.so
|
||||
lib/libmiktex-trace.so.4.0.0
|
||||
lib/libmiktex-trace.so.5
|
||||
%%UIQT%%lib/libmiktex-ui-Qt.so
|
||||
%%UIQT%%lib/libmiktex-ui-Qt.so.2
|
||||
%%UIQT%%lib/libmiktex-ui-Qt.so.4.1.0
|
||||
%%UIQT%%lib/libmiktex-ui-Qt.so.4.2.0
|
||||
lib/libmiktex-util.so
|
||||
lib/libmiktex-util.so.5
|
||||
lib/libmiktex-util.so.4.1.0
|
||||
lib/libmiktex-util.so.5
|
||||
lib/libmiktex-web2c.so
|
||||
lib/libmiktex-web2c.so.2
|
||||
lib/libmiktex-web2c.so.4.0.0
|
||||
lib/libmiktex-web2c.so.4.1.0
|
||||
libexec/miktex/runexe
|
||||
libexec/miktex/runjava
|
||||
libexec/miktex/runperl
|
||||
|
Loading…
Reference in New Issue
Block a user