From: Daniel Dickman Subject: [update] wxmaxima 24.05.0 -> 25.04.0 To: ports@openbsd.org Cc: jherning@nvcc.edu Date: Sat, 2 Aug 2025 14:24:59 -0400 Here's an update to the latest version of wxMaxima. Hopefully this helps slightly with any diagnosis of crashes with upstream (who I assume will want us to have a recent release). oks and tests welcome, otherwise I'll plan to commit this update shortly. Index: Makefile =================================================================== RCS file: /cvs/ports/math/wxMaxima/Makefile,v diff -u -p -u -r1.26 Makefile --- Makefile 23 Jul 2025 21:27:45 -0000 1.26 +++ Makefile 2 Aug 2025 18:19:55 -0000 @@ -1,15 +1,14 @@ COMMENT = wxWidgets GUI for the computer algebra system maxima -V = 24.05.0 +V = 25.04.0 GH_ACCOUNT = wxMaxima-developers GH_PROJECT = wxmaxima GH_TAGNAME = Version-$V PKGNAME = wxMaxima-$V -REVISION = 0 CATEGORIES = math -HOMEPAGE = https://wxmaxima-developers.github.io/ +HOMEPAGE = https://wxmaxima-developers.github.io/wxmaxima/ # GPLv2 PERMIT_PACKAGE = Yes @@ -23,7 +22,8 @@ MODULES = devel/cmake COMPILER = base-clang ports-gcc base-gcc -BUILD_DEPENDS = devel/gettext,-tools +BUILD_DEPENDS = devel/gettext,-tools \ + devel/appstream RUN_DEPENDS = devel/desktop-file-utils \ math/gnuplot \ Index: distinfo =================================================================== RCS file: /cvs/ports/math/wxMaxima/distinfo,v diff -u -p -u -r1.11 distinfo --- distinfo 21 Apr 2025 23:41:57 -0000 1.11 +++ distinfo 2 Aug 2025 18:19:55 -0000 @@ -1,2 +1,2 @@ -SHA256 (wxmaxima-Version-24.05.0.tar.gz) = IdyHFbcTctw1dDSGMHJUpaAoXzWmrLxouJTUMsTxTJg= -SIZE (wxmaxima-Version-24.05.0.tar.gz) = 16824007 +SHA256 (wxmaxima-Version-25.04.0.tar.gz) = 7AswBcNmPxu4awzFAowroSHhVj49W2ca/Ll3SJX0GRs= +SIZE (wxmaxima-Version-25.04.0.tar.gz) = 16017552 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: patches/patch-CMakeLists_txt diff -N patches/patch-CMakeLists_txt --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-CMakeLists_txt 2 Aug 2025 18:19:55 -0000 @@ -0,0 +1,27 @@ +Index: CMakeLists.txt +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -207,23 +207,6 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_di + + add_definitions(-DwxNO_UNSAFE_WXSTRING_CONV) + +-# It is complicated. po4a expects that [po_directory] is a relative path. Don't know why. +-# +-# But just creating a relative path from CMAKE_BINARY_DIR won't work too, one can call CMake from +-# an other directory and specify the build directory using -B +-# See issue https://github.com/wxMaxima-developers/wxmaxima/issues/1917 +-# So for Unix use "$ENV{PWD}" to compute the relative path. +-# For Windows the environment variable PWD does not exist, so - for now - just use the CMAKE_BINARY_DIR +-# (and assume, that cmake is called from the build dir. +-# TODO: This can probably solved using the output of 'cd', better would be a *portable* way to +-# get the working directory from CMake. +-if(WIN32 OR CYGWIN) +- file(RELATIVE_PATH RELPATH_TO_PO4A_PO_DIRECTORY "${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}/locales/manual") +-else() +- file(RELATIVE_PATH RELPATH_TO_PO4A_PO_DIRECTORY "$ENV{PWD}" "${CMAKE_SOURCE_DIR}/locales/manual") +-endif() +-configure_file(${CMAKE_SOURCE_DIR}/locales/manual/po4a.cfg.in po4a.cfg) +- + add_subdirectory(src) + if(MSVC) + # Tell MSVC not to generate its own manifest file. Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/math/wxMaxima/pkg/PLIST,v diff -u -p -u -r1.10 PLIST --- pkg/PLIST 21 Apr 2025 23:41:57 -0000 1.10 +++ pkg/PLIST 2 Aug 2025 18:19:55 -0000 @@ -94,6 +94,7 @@ share/locale/zh_TW/LC_MESSAGES/wxMaxima. share/metainfo/io.github.wxmaxima_developers.wxMaxima.appdata.xml share/mime/packages/x-wxmathml.xml share/mime/packages/x-wxmaxima-batch.xml +share/pixmaps/ share/pixmaps/io.github.wxmaxima_developers.wxMaxima.png share/pixmaps/io.github.wxmaxima_developers.wxMaxima.svg share/pixmaps/text-x-wxmathml.svg