From nobody Mon Nov 08 11:49:08 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3F5B6183BBB8; Mon, 8 Nov 2021 11:49:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnqC91CDTz4lqQ; Mon, 8 Nov 2021 11:49:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0AC7911402; Mon, 8 Nov 2021 11:49:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A8Bn82s073688; Mon, 8 Nov 2021 11:49:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A8Bn8FU073687; Mon, 8 Nov 2021 11:49:08 GMT (envelope-from git) Date: Mon, 8 Nov 2021 11:49:08 GMT Message-Id: <202111081149.1A8Bn8FU073687@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: b65fb10162d1 - main - print/miktex: Update to 21.8. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b65fb10162d15286315a1a7e167d26e9db056ac2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=b65fb10162d15286315a1a7e167d26e9db056ac2 commit b65fb10162d15286315a1a7e167d26e9db056ac2 Author: Mikael Urankar AuthorDate: 2021-11-08 11:39:28 +0000 Commit: Mikael Urankar CommitDate: 2021-11-08 11:49:04 +0000 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) --- print/miktex/Makefile | 6 +- print/miktex/distinfo | 6 +- print/miktex/files/patch-CMakeLists.txt | 13 +++++ .../patch-Libraries_MiKTeX_Core_Session_init.cpp | 10 ---- ...ch-Libraries_MiKTeX_Core_Utils_unx_unxUtils.cpp | 37 +++++++++++++ ...tch-Libraries_MiKTeX_Core_shared_CMakeLists.txt | 10 ++++ ...tch-Libraries_MiKTeX_Core_static_CMakeLists.txt | 10 ++++ .../files/patch-cmake_modules_FindInotify.cmake | 64 ++++++++++++++++++++++ print/miktex/pkg-plist | 23 ++++---- 9 files changed, 152 insertions(+), 27 deletions(-) diff --git a/print/miktex/Makefile b/print/miktex/Makefile index 1cc81cb059fd..9f82223b5c31 100644 --- a/print/miktex/Makefile +++ b/print/miktex/Makefile @@ -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 \ diff --git a/print/miktex/distinfo b/print/miktex/distinfo index 3d94b533d800..99bcda3dafab 100644 --- a/print/miktex/distinfo +++ b/print/miktex/distinfo @@ -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 diff --git a/print/miktex/files/patch-CMakeLists.txt b/print/miktex/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..19adf0979a84 --- /dev/null +++ b/print/miktex/files/patch-CMakeLists.txt @@ -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() diff --git a/print/miktex/files/patch-Libraries_MiKTeX_Core_Session_init.cpp b/print/miktex/files/patch-Libraries_MiKTeX_Core_Session_init.cpp deleted file mode 100644 index f7376ac32c55..000000000000 --- a/print/miktex/files/patch-Libraries_MiKTeX_Core_Session_init.cpp +++ /dev/null @@ -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 -+extern char** environ; - #endif - - #if defined(MIKTEX_MACOS_BUNDLE) diff --git a/print/miktex/files/patch-Libraries_MiKTeX_Core_Utils_unx_unxUtils.cpp b/print/miktex/files/patch-Libraries_MiKTeX_Core_Utils_unx_unxUtils.cpp new file mode 100644 index 000000000000..c4bc2a957322 --- /dev/null +++ b/print/miktex/files/patch-Libraries_MiKTeX_Core_Utils_unx_unxUtils.cpp @@ -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 + #endif ++#include ++#include + + #if defined(HAVE_SYS_UTSNAME_H) + # include +@@ -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")); diff --git a/print/miktex/files/patch-Libraries_MiKTeX_Core_shared_CMakeLists.txt b/print/miktex/files/patch-Libraries_MiKTeX_Core_shared_CMakeLists.txt new file mode 100644 index 000000000000..0a696b799a32 --- /dev/null +++ b/print/miktex/files/patch-Libraries_MiKTeX_Core_shared_CMakeLists.txt @@ -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() + diff --git a/print/miktex/files/patch-Libraries_MiKTeX_Core_static_CMakeLists.txt b/print/miktex/files/patch-Libraries_MiKTeX_Core_static_CMakeLists.txt new file mode 100644 index 000000000000..128b6594d3cd --- /dev/null +++ b/print/miktex/files/patch-Libraries_MiKTeX_Core_static_CMakeLists.txt @@ -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() + diff --git a/print/miktex/files/patch-cmake_modules_FindInotify.cmake b/print/miktex/files/patch-cmake_modules_FindInotify.cmake new file mode 100644 index 000000000000..5e97fe64231b --- /dev/null +++ b/print/miktex/files/patch-cmake_modules_FindInotify.cmake @@ -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 ++# SPDX-FileCopyrightText: 2017 Adriaan de Groot ++# ++# 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) diff --git a/print/miktex/pkg-plist b/print/miktex/pkg-plist index 62fc642209fe..34a912e29192 100644 --- a/print/miktex/pkg-plist +++ b/print/miktex/pkg-plist @@ -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