Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fontforge for openSUSE:Factory checked in at 2024-11-25 23:19:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fontforge (Old) and /work/SRC/openSUSE:Factory/.fontforge.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fontforge" Mon Nov 25 23:19:45 2024 rev:59 rq:1226063 version:20230101 Changes: -------- --- /work/SRC/openSUSE:Factory/fontforge/fontforge.changes 2024-03-06 23:02:57.177879120 +0100 +++ /work/SRC/openSUSE:Factory/.fontforge.new.28523/fontforge.changes 2024-11-25 23:19:52.522609471 +0100 @@ -1,0 +2,5 @@ +Thu Nov 21 20:31:36 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- add use-sysconfig-not-distutils.patch: fix build with python 3.13 + +------------------------------------------------------------------- New: ---- use-sysconfig-not-distutils.patch BETA DEBUG BEGIN: New: - add use-sysconfig-not-distutils.patch: fix build with python 3.13 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fontforge.spec ++++++ --- /var/tmp/diff_new_pack.PmjoE2/_old 2024-11-25 23:19:53.778661834 +0100 +++ /var/tmp/diff_new_pack.PmjoE2/_new 2024-11-25 23:19:53.782662000 +0100 @@ -30,6 +30,8 @@ # PATCH-FIX-UPSTREAM fontforge-CVE-2024-25081-CVE-2024-25082.patch CVE-2024-25081 CVE-2024-25082 bsc#1220404 bsc#1220405 qz...@suse.com -- Fix Splinefont shell invocation. Patch2: fontforge-CVE-2024-25081-CVE-2024-25082.patch Patch3: https://github.com/fontforge/fontforge/commit/642d8a3db6d4bc0e70b429622fdf01ecb09c4c10.patch +# PATCH-FIX-UPSTREAM: taken from https://github.com/fontforge/fontforge/commit/8c75293e924602ed09a9481b0eeb67ba6c623a81 +Patch4: use-sysconfig-not-distutils.patch BuildRequires: cairo-devel BuildRequires: cmake BuildRequires: fdupes ++++++ use-sysconfig-not-distutils.patch ++++++ >From 8c75293e924602ed09a9481b0eeb67ba6c623a81 Mon Sep 17 00:00:00 2001 From: Maxim Iorsh <io...@users.sourceforge.net> Date: Mon, 7 Oct 2024 11:44:00 +0300 Subject: [PATCH] Use sysconfig for Python module locations (#5423) * Use sysconfig for Python module locations * [TEMP] Use iorsh/fontforgebuilds repo * [TEMP] Use iorsh/fontforgebuilds repo in Appveyor * Update * Revert "[TEMP] Use iorsh/fontforgebuilds repo in Appveyor" This reverts commit 6fa80455b8b1e7cf43419c73e4de714f7925d9f8. * test * Cleanup * test * Removed debug prints --------- Co-authored-by: Jeremy Tan <jt...@outlook.com> --- .github/workflows/main.yml | 24 +++++++++---------- .github/workflows/scripts/ffosxbuild.sh | 7 ++++-- .github/workflows/scripts/setup_linux_deps.sh | 2 +- CMakeLists.txt | 6 ----- osx/CMakeLists.txt | 2 +- pyhook/CMakeLists.txt | 5 +++- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/pyhook/CMakeLists.txt b/pyhook/CMakeLists.txt index dd48054aa7..53708f1099 100644 --- a/pyhook/CMakeLists.txt +++ b/pyhook/CMakeLists.txt @@ -20,8 +20,11 @@ target_link_libraries(psMat_pyhook PRIVATE Python3::Module) # FindPython3 provides Python3_SITEARCH, but this is an absolute path # So do it ourselves, getting the prefix-relative path instead if(NOT DEFINED PYHOOK_INSTALL_DIR) + if(APPLE) + set(_PYHOOK_SYSCONFIG_PREFIX " 'posix_prefix',") + endif() execute_process( - COMMAND "${Python3_EXECUTABLE}" -c "import distutils.sysconfig as sc; print(sc.get_python_lib(prefix='', plat_specific=True,standard_lib=False))" + COMMAND "${Python3_EXECUTABLE}" -c "import sysconfig as sc; print(sc.get_path('platlib',${_PYHOOK_SYSCONFIG_PREFIX} vars={'platbase': '.'}))" RESULT_VARIABLE _pyhook_install_dir_result OUTPUT_VARIABLE PYHOOK_INSTALL_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)