head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.24 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.22 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.20 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.18 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.16 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2026.11.09.10.45.17; author nros; state Exp; branches; next 1.1; commitid HSjedQAy7QoO4M2H; 1.1 date 2023.11.02.21.34.26; author nros; state Exp; branches; next ; commitid at4gBnMfyz4G75LE; desc @@ 1.2 log @Update texmacs to version 2.1.5 One thing about version 2.1.5 is that it builds with Qt6. Default is still set to Qt5 since the Qt6 build depends on qt5compat that will build qtdeclarative in pkgsrc and it is heavy. Also added xdg-open as a dependency since it is used by the menus to open a webbrowser. Changes from changelog: Qt6 based version on all supported platforms (GNU Linux, MacOS, Windows). Experimental support for collaborative editing. Jupyter plugin and new R interface based on Jupyter. Possibility to embed the TeXmacs source document inside its PDF export. Experimental interface for various AI tools (ChatGPT, Mistral AI, etc.). Experimental support for language tools. New GnuTLS support with x509 certificates for collaborative editing. Document based server preference editor for collaborative editing. Improved DPR (device pixel ratio) support when using multiple screens. Horizontally scrollable toolbars. Various bug fixes. Headless option for running TeXmacs as a window-less script. Improved subtables. Progress towards side tools, experimental. Progress towards markup driven graphical user interface, experimental. @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2023/11/02 21:34:26 nros Exp $ Set GS_* vars to pkgsrc values Make sure snprintf is used on systems that have it Pass -L and rpath linking arguments when linking Guile Fixes: "-lguile not found" when linking TeXmacs Don't look for homebrew libs on mac Don't install files directly under PREFIX on mac Don't install pkgsrc patch files --- CMakeLists.txt.orig 2026-03-09 21:55:56.000000000 +0000 +++ CMakeLists.txt @@@@ -159,6 +159,7 @@@@ check_include_file (X11/Xutil.h HAVE_X11 check_include_file (pty.h HAVE_PTY_H) check_include_file (util.h HAVE_UTIL_H) check_function_exists (gettimeofday HAVE_GETTIMEOFDAY) +check_function_exists (snprintf HAVE_SNPRINTF) ### -------------------------------------------------------------------- @@@@ -350,13 +351,14 @@@@ endif (_guile_dots_test) set (DEBUG_ASSERT 1) set (USE_GS 1) -if (WIN32) - set (GS_EXE bin/gs.exe) -else (WIN32) - set (GS_EXE /usr/bin/gs) -endif (WIN32) -set (GS_FONTS ../share/ghostscript/fonts:/usr/share/fonts:) -set (GS_LIB ../share/ghostscript/9.06/lib:) +set (GS_EXE ${CMAKE_INSTALL_PREFIX}/bin/gs) +execute_process(COMMAND "${GS_EXE}" "--version" + OUTPUT_VARIABLE GS_VERSION + ERROR_VARIABLE GS_VERSION + OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_STRIP_TRAILING_WHITESPACE) +set (GS_FONTS ${CMAKE_INSTALL_PREFIX}/share/ghostscript/fonts:/usr/share/fonts:) +set (GS_LIB ${CMAKE_INSTALL_PREFIX}/share/ghostscript/${GS_VERSION}/lib:) set (GUILE_NUM 1) set (PDF_RENDERER 1) @@@@ -555,12 +557,9 @@@@ set (TeXmacs_MacOS_SRCS ### Determine TeXmacs_Libraries ### -------------------------------------------------------------------- -if (APPLE AND EXISTS /opt/homebrew/lib) - link_directories (/opt/homebrew/lib) -endif () set (TeXmacs_Libraries - ${Guile_LIBRARIES} + ${Guile_LDFLAGS} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} @@@@ -619,14 +618,6 @@@@ if (TEXMACS_GUI MATCHES "Qt.*") add_definitions ("-DQ_WS_MAC") endif (APPLE) else (TEXMACS_GUI STREQUAL "Qt4") - # Homebrew installs Qt5 in /usr/local/opt/qt5 - if (APPLE AND EXISTS /usr/local/opt/qt5) - list (APPEND CMAKE_PREFIX_PATH "/usr/local/opt/qt5") - endif () - - if (APPLE AND EXISTS /opt/homebrew/opt/qt5/) - list (APPEND CMAKE_PREFIX_PATH "/opt/homebrew/opt/qt5/") - endif () if (WIN32 AND EXISTS ${QT_CMAKE_DIR}) set (Qt5Core_DIR "${QT_CMAKE_DIR}/Qt5Core") @@@@ -807,7 +798,7 @@@@ add_subdirectory (TeXmacs) ### Installation ### -------------------------------------------------------------------- -if (APPLE) +if (FALSE) install (FILES packages/macos/TeXmacs.icns DESTINATION ${CMAKE_INSTALL_PREFIX}) install (FILES packages/macos/TeXmacs-document.icns DESTINATION ${CMAKE_INSTALL_PREFIX}) install (DIRECTORY src/Plugins/Cocoa/English.lproj DESTINATION ${CMAKE_INSTALL_PREFIX}) @@@@ -839,6 +830,7 @@@@ else (WIN32) FILE_PERMISSIONS OWNER_READ GROUP_READ WORLD_READ PATTERN "bin" EXCLUDE PATTERN "CMakeLists.txt" EXCLUDE + PATTERN "*.orig" EXCLUDE PATTERN ".gitignore" EXCLUDE) endif (WIN32) @ 1.1 log @Update texmacs to version 2.1.2 Changes: * Creation of various interface themes for TeXmacs, such as dark and bright (2.1.1). * Improved high resolution support under Linux and Windows (2.1.1). * Progress on (not yet default) Qt5 version of TeXmacs (2.1.1). * Updated font database for recent pre-installed Linux/Mac/Window fonts (2.1.1). * Minor bug fixes (2.1). * Updated plug-in for Giac (1.99.21). * Better support for the most common LaTeX style files (1.99.20). * Many corrections for the LaTeX export when using common LaTeX styles (1.99.20). * Added Slovak language support (1.99.20). * Improved Octave plugin with tab completion and multi-line input (1.99.19). * Enhanced structured search & replace: added preferences and wildcards (1.99.19). * Minor progress on the remote editing tools (1.99.18). * Improved remote editing tools (1.99.17). * Lightweight facility for managing user-defined keyboard shortcuts (1.99.17). * Improved customizability of item lists and enumerations (1.99.17). * Further improvements for preview and help balloons (1.99.16). * Possibility to find labels from their numeric value (1.99.16). * Incorporation of a smart-ref package for smart references (1.99.16). * Fix spell checking under Windows (1.99.16). * Rudimentary support for Wacom-style pen tablets, Qt5 only (1.99.16). * Improved help balloons and preview facility for references and citations (1.99.15). * Improved navigation and search tools for labels, references, and citations (1.99.15). * Indicate the current cursor position by shaking the mouse (1.99.15). * Improved Html export with better CSS stylability (1.99.14). * Improved Octave plugin (1.99.14). @ text @d1 1 a1 1 $NetBSD$ d5 2 d15 1 a15 1 --- CMakeLists.txt.orig 2022-05-05 15:27:04.522996359 +0000 d17 9 a25 1 @@@@ -345,13 +345,14 @@@@ endif (_guile_dots_test) d47 2 a48 1 @@@@ -549,7 +550,7 @@@@ set (TeXmacs_MacOS_SRCS d51 4 d61 3 a63 3 @@@@ -585,10 +586,6 @@@@ if (TEXMACS_GUI MATCHES "Qt.*") ) include (${QT_USE_FILE}) d69 4 d76 1 a76 1 @@@@ -769,7 +766,7 @@@@ add_subdirectory (TeXmacs) d85 1 a85 1 @@@@ -801,6 +798,7 @@@@ else (WIN32) @