From b3ee1bea524db8bffab9de7f2ae20193fc093c80 Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Mon, 19 Dec 2022 09:44:49 +0100 Subject: [PATCH] finance/gnucash-docs: Update to 4.13 - Partly revert upstream commit 513747413e which causes build to fail. --- finance/gnucash-docs/Makefile | 2 +- finance/gnucash-docs/distinfo | 6 ++--- .../files/patch-cmake_AddXdgHelpTarget.cmake | 26 +++++++++++++++++++ 3 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 finance/gnucash-docs/files/patch-cmake_AddXdgHelpTarget.cmake diff --git a/finance/gnucash-docs/Makefile b/finance/gnucash-docs/Makefile index 4463cc9b14e5..56aa79d07304 100644 --- a/finance/gnucash-docs/Makefile +++ b/finance/gnucash-docs/Makefile @@ -1,5 +1,5 @@ PORTNAME= gnucash-docs -PORTVERSION= 4.12 +PORTVERSION= 4.13 CATEGORIES= finance gnome MASTER_SITES= SF/gnucash/gnucash%20%28stable%29/${PORTVERSION} diff --git a/finance/gnucash-docs/distinfo b/finance/gnucash-docs/distinfo index 8e9a13241bb3..428fa422cb03 100644 --- a/finance/gnucash-docs/distinfo +++ b/finance/gnucash-docs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1664126002 -SHA256 (gnucash-docs-4.12.tar.gz) = 004ca6976c7b7c4a946ac1d723d2e758e6e07a288d76c2719026a5e8b68b63ab -SIZE (gnucash-docs-4.12.tar.gz) = 60999939 +TIMESTAMP = 1671374716 +SHA256 (gnucash-docs-4.13.tar.gz) = e9416486e4bcc4a5823ab2c4a0c2af4b4c6d1f6ebfdd95fa1db763dcba49d6dc +SIZE (gnucash-docs-4.13.tar.gz) = 60996313 diff --git a/finance/gnucash-docs/files/patch-cmake_AddXdgHelpTarget.cmake b/finance/gnucash-docs/files/patch-cmake_AddXdgHelpTarget.cmake new file mode 100644 index 000000000000..d94cbad08cc2 --- /dev/null +++ b/finance/gnucash-docs/files/patch-cmake_AddXdgHelpTarget.cmake @@ -0,0 +1,26 @@ +--- cmake/AddXdgHelpTarget.cmake.orig 2022-12-17 21:04:07 UTC ++++ cmake/AddXdgHelpTarget.cmake +@@ -44,8 +44,8 @@ function (add_xdghelp_target docname lang entities fig + COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}/figures" + + # Add links to make our documentation visible for KDE's help system +- COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR_KDE_BASE}" +- COMMAND ${CMAKE_COMMAND} -E create_symlink "${BUILD_DIR_BASE}" "${BUILD_DIR_KDE_BASE}/${kde_lang}" ++ # COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR_KDE_BASE}" ++ # COMMAND ${CMAKE_COMMAND} -E create_symlink "${BUILD_DIR_BASE}" "${BUILD_DIR_KDE_BASE}/${kde_lang}" + COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger") + + +@@ -90,8 +90,8 @@ function (add_xdghelp_target docname lang entities fig + + # Add links to make our documentation visible for KDE's help system + set(doc_install_dir_kde_base "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/doc/HTML") +- install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")" +- COMPONENT "xdghelp") +- install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")" +- COMPONENT "xdghelp") ++ # install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")" ++ # COMPONENT "xdghelp") ++ # install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")" ++ # COMPONENT "xdghelp") + endfunction()