Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-afdko for openSUSE:Factory 
checked in at 2022-09-27 20:13:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-afdko (Old)
 and      /work/SRC/openSUSE:Factory/.python-afdko.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-afdko"

Tue Sep 27 20:13:58 2022 rev:8 rq:1006297 version:3.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-afdko/python-afdko.changes        
2022-04-17 23:51:42.470460618 +0200
+++ /work/SRC/openSUSE:Factory/.python-afdko.new.2275/python-afdko.changes      
2022-09-27 20:14:02.041840691 +0200
@@ -1,0 +2,30 @@
+Mon Sep 26 14:09:08 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Disable more tests that fails for i586, test_dump_option
+
+-------------------------------------------------------------------
+Mon Sep 26 13:14:11 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Avoid test_type1mm_inputs tests because it still fails for i586
+  gh#adobe-type-tools/afdko#1163
+
+-------------------------------------------------------------------
+Mon Sep 26 11:40:00 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Update to v3. Update to v3.9.1 
+  * [CMake] Link LibXML2 statically for Linux for bug fix (#1527)
+  * [makeotf][tx] Fix some linux compile problems with "bool" (#1524)
+  * [tx] Replace UFO lib.plist parsing with libxml2 (#1523)
+- 3.9.0 (released 2022-06-23)
+  * [tx] Replace UFO fontinfo.plist parsing with libxml2 (#1515, #1517, #1518, 
#1519)
+  * [makeotf] Copy va_list for second use (and add va_end's to avoid leaking) 
(#1512)
+  * [requirements] updated dependencies
+- 3.8.3 (released 2022-05-09)
+  * [requirements] updated dependencies
+  * [docs] Add links to previously opened Windows build issues (#1505)
+  * [docs] Fix line wrap in feature file spec (#1509)
+  * [ci] Enable Codecov informational checks (#1501)
+- Add patch to use-system-libxml2.patch to build with system installed libxml2
+- Remove some tests that are failing
+
+-------------------------------------------------------------------

Old:
----
  afdko-3.8.2.tar.gz

New:
----
  afdko-3.9.1.tar.gz
  use-system-libxml2.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-afdko.spec ++++++
--- /var/tmp/diff_new_pack.cHVJvR/_old  2022-09-27 20:14:02.861842499 +0200
+++ /var/tmp/diff_new_pack.cHVJvR/_new  2022-09-27 20:14:02.869842517 +0200
@@ -40,7 +40,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-afdko%{psuffix}
-Version:        3.8.2
+Version:        3.9.1
 Release:        0
 Summary:        Adobe Font Development Kit for OpenType
 License:        Apache-2.0 AND MIT
@@ -50,6 +50,8 @@
 Source1:        
https://www.antlr.org/download/antlr4-cpp-runtime-%{antlr4version}-source.zip
 # PATCH-FIX-OPENSUSE afdko-opensuse-custom-build.patch -- make sure we can 
build offline, c...@bnavigator.de
 Patch0:         afdko-opensuse-custom-build.patch
+# PATCH-FIX-OPENSUSE use-system-libxml2.patch -- make sure we can build offline
+Patch1:         use-system-libxml2.patch
 BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module scikit-build}
 BuildRequires:  %{python_module setuptools_scm}
@@ -60,17 +62,18 @@
 BuildRequires:  fdupes
 BuildRequires:  git
 BuildRequires:  libuuid-devel
+BuildRequires:  libxml2-devel
 BuildRequires:  ninja
 BuildRequires:  python-rpm-macros
 BuildRequires:  utfcpp-devel
 Requires:       python-Brotli >= 1.0.1
-Requires:       python-FontTools >= 4.32.0
+Requires:       python-FontTools >= 4.33.3
 Requires:       python-booleanOperations >= 0.9.0
-Requires:       python-defcon >= 0.10.0
-Requires:       python-fontMath >= 0.9.1
+Requires:       python-defcon >= 0.10.1
+Requires:       python-fontMath >= 0.9.2
 Requires:       python-fontPens >= 0.1.0
 Requires:       python-fs >= 2.2.0
-Requires:       python-lxml >= 4.8.0
+Requires:       python-lxml >= 4.9.0
 Requires:       python-mutatorMath >= 3.0.1
 Requires:       python-psautohint >= 2.4.0
 Requires:       python-tqdm >= 4.64.0
@@ -133,10 +136,13 @@
 export PATH=$PWD/build/bin:$PATH
 mkdir tmp
 export TMPDIR=tmp
+
+# broken tests in latest build
+donttest+=" or test_sparse_cjk_vf or 
test_ufo_fontinfo_parsing[empty-key-name-fdarray--0] or 
test_ufo_fontinfo_parsing[bluesarray-string--0] or 
test_ufo_fontinfo_parsing[switched-string-and-array--0]"
 %ifarch %{ix86}
 # Precision issues
 # https://github.com/adobe-type-tools/afdko/issues/1163
-donttest+=" or test_type1mm_inputs"
+donttest+=" or test_type1mm_inputs or test_dump_option"
 %endif
 %ifarch %{power64} %{arm} aarch64
 # command does not return error on these platforms

++++++ afdko-3.8.2.tar.gz -> afdko-3.9.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-afdko/afdko-3.8.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-afdko.new.2275/afdko-3.9.1.tar.gz differ: 
char 5, line 1


++++++ use-system-libxml2.patch ++++++
>From e3858c140eb2ed0d86b0cf00c94099252f047e41 Mon Sep 17 00:00:00 2001
From: Daniel Garcia Moreno <daniel.gar...@suse.com>
Date: Mon, 26 Sep 2022 12:25:20 +0200
Subject: [PATCH] Revert "[CMake] Statically link libxml2 for Linux"

This reverts commit 257a83214b3951588c1e7f3977b950517e23cbf5.
---
 CMakeLists.txt                        | 11 ++++-------
 c/makeotf/lib/cffread/CMakeLists.txt  |  2 +-
 c/makeotf/lib/hotconv/CMakeLists.txt  |  2 +-
 c/makeotf/lib/pstoken/CMakeLists.txt  |  2 +-
 c/makeotf/lib/typecomp/CMakeLists.txt |  2 +-
 c/makeotf/source/CMakeLists.txt       |  2 +-
 c/mergefonts/source/CMakeLists.txt    |  2 +-
 c/rotatefont/source/CMakeLists.txt    |  2 +-
 c/shared/source/CMakeLists.txt        |  6 +++---
 c/tx/source/CMakeLists.txt            |  2 +-
 cmake/ExternalLibXML2.cmake           |  2 +-
 12 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2423022..9ce80598 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,16 +42,13 @@ set(ANTLR4_WITH_STATIC_CRT OFF)
 set(ANTLR4_TAG tags/4.9.3)
 include(ExternalAntlr4Cpp)
 
-
 FIND_PACKAGE(LibXml2)
-IF ((NOT ${LibXml2_FOUND}) OR "${CMAKE_SYSTEM}" MATCHES "Linux")
-   MESSAGE(STATUS "Could not locate LibXml2 or system is Linux, will install 
externally & statically link")
+IF (NOT ${LibXml2_FOUND})
+   MESSAGE(STATUS "Could not locate LibXml2, will install externally.")
    set(LIBXML2_TAG tags/v2.9.13)
    include(ExternalLibXML2)
-   include_directories(${LIBXML2_STATIC_INCLUDE_DIR})
-ELSE ((NOT ${LibXml2_FOUND}) OR "${CMAKE_SYSTEM}" MATCHES "Linux")
-   include_directories(${LIBXML2_INCLUDE_DIR})
-ENDIF((NOT ${LibXml2_FOUND}) OR "${CMAKE_SYSTEM}" MATCHES "Linux")
+ENDIF(NOT ${LibXml2_FOUND})
+include_directories(${LIBXML2_INCLUDE_DIR})
 
 # sanitizer support
 # work around https://github.com/pypa/setuptools/issues/1928 with environment
diff --git a/c/makeotf/lib/cffread/CMakeLists.txt 
b/c/makeotf/lib/cffread/CMakeLists.txt
index 7d74e512..9a400fde 100644
--- a/c/makeotf/lib/cffread/CMakeLists.txt
+++ b/c/makeotf/lib/cffread/CMakeLists.txt
@@ -2,7 +2,7 @@ add_library(makeotf_cffread STATIC cffread.c)
 
 target_include_directories(makeotf_cffread PRIVATE AFTER 
$<$<COMPILE_LANGUAGE:CXX>:${ANTLR4_INCLUDE_DIRS}>)
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if (${LibXml2_FOUND})
     target_link_libraries(makeotf_cffread PUBLIC ${LIBXML2_LIBRARY})
 else ()
     add_dependencies(makeotf_cffread ${LIBXML2_TARGET})
diff --git a/c/makeotf/lib/hotconv/CMakeLists.txt 
b/c/makeotf/lib/hotconv/CMakeLists.txt
index 14e5c3cd..3cceceea 100644
--- a/c/makeotf/lib/hotconv/CMakeLists.txt
+++ b/c/makeotf/lib/hotconv/CMakeLists.txt
@@ -71,7 +71,7 @@ set_property(TARGET hotconv PROPERTY C_STANDARD 99)
 target_include_directories(hotconv PRIVATE AFTER 
$<$<COMPILE_LANGUAGE:CXX>:${ANTLR4_INCLUDE_DIRS}>)
 target_link_libraries(hotconv PUBLIC antlr4_static)
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if (${LibXml2_FOUND})
     target_link_libraries(hotconv PUBLIC ${LIBXML2_LIBRARY})
 else ()
     add_dependencies(hotconv ${LIBXML2_TARGET})
diff --git a/c/makeotf/lib/pstoken/CMakeLists.txt 
b/c/makeotf/lib/pstoken/CMakeLists.txt
index a0fd67d3..1f928976 100644
--- a/c/makeotf/lib/pstoken/CMakeLists.txt
+++ b/c/makeotf/lib/pstoken/CMakeLists.txt
@@ -1,6 +1,6 @@
 add_library(makeotf_pstoken STATIC pstoken.c)
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if (${LibXml2_FOUND})
     target_link_libraries(makeotf_pstoken PUBLIC ${LIBXML2_LIBRARY})
 else ()
     add_dependencies(makeotf_pstoken ${LIBXML2_TARGET})
diff --git a/c/makeotf/lib/typecomp/CMakeLists.txt 
b/c/makeotf/lib/typecomp/CMakeLists.txt
index ce6e3592..39cbd8a5 100644
--- a/c/makeotf/lib/typecomp/CMakeLists.txt
+++ b/c/makeotf/lib/typecomp/CMakeLists.txt
@@ -45,7 +45,7 @@ add_library(typecomp STATIC
     tc.c
 )
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if (${LibXml2_FOUND})
     target_link_libraries(typecomp PUBLIC ${LIBXML2_LIBRARY})
 else ()
     add_dependencies(typecomp ${LIBXML2_TARGET})
diff --git a/c/makeotf/source/CMakeLists.txt b/c/makeotf/source/CMakeLists.txt
index 625c4b0b..5f15b3a0 100644
--- a/c/makeotf/source/CMakeLists.txt
+++ b/c/makeotf/source/CMakeLists.txt
@@ -27,7 +27,7 @@ if (HAVE_M_LIB)
     target_link_libraries(makeotfexe PRIVATE m)
 endif ()
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if (${LibXml2_FOUND})
     target_link_libraries(makeotfexe PUBLIC ${LIBXML2_LIBRARY})
 else ()
     if (WIN32)
diff --git a/c/mergefonts/source/CMakeLists.txt 
b/c/mergefonts/source/CMakeLists.txt
index 4c87283b..b77d1ef4 100644
--- a/c/mergefonts/source/CMakeLists.txt
+++ b/c/mergefonts/source/CMakeLists.txt
@@ -9,7 +9,7 @@ target_include_directories(mergefonts PRIVATE 
../../shared/include ../../shared/
 
 target_link_libraries(mergefonts PUBLIC tx_shared)
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if (${LibXml2_FOUND})
     target_link_libraries(mergefonts PUBLIC ${LIBXML2_LIBRARY})
 else ()
     add_dependencies(mergefonts ${LIBXML2_TARGET})
diff --git a/c/rotatefont/source/CMakeLists.txt 
b/c/rotatefont/source/CMakeLists.txt
index 69bfcebf..6d3660d3 100644
--- a/c/rotatefont/source/CMakeLists.txt
+++ b/c/rotatefont/source/CMakeLists.txt
@@ -9,7 +9,7 @@ target_include_directories(rotatefont PRIVATE 
../../shared/include ../../shared/
 
 target_link_libraries(rotatefont PUBLIC tx_shared)
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if(${LibXml2_FOUND})
     target_link_libraries(rotatefont PUBLIC ${LIBXML2_LIBRARY})
 else()
     add_dependencies(rotatefont ${LIBXML2_TARGET})
diff --git a/c/shared/source/CMakeLists.txt b/c/shared/source/CMakeLists.txt
index 08ad93b1..f6a4ca04 100644
--- a/c/shared/source/CMakeLists.txt
+++ b/c/shared/source/CMakeLists.txt
@@ -3,9 +3,9 @@ include_directories(../include ../resource)
 MACRO(ADD_AFDKOLIB lm)
     file(GLOB sl_sources "${lm}/*")
     add_library(${lm} STATIC ${sl_sources})
-    if((NOT ${LibXml2_FOUND}) OR "${CMAKE_SYSTEM}" MATCHES "Linux")
+    if(NOT ${LibXml2_FOUND})
         add_dependencies(${lm} ${LIBXML2_TARGET})
-    endif((NOT ${LibXml2_FOUND}) OR "${CMAKE_SYSTEM}" MATCHES "Linux")
+    endif(NOT ${LibXml2_FOUND})
 ENDMACRO(ADD_AFDKOLIB)
 
 ADD_AFDKOLIB(absfont)
@@ -47,7 +47,7 @@ target_compile_definitions(t1write PRIVATE 
$<$<CONFIG:Debug>:T1W_DEBUG=1>)
 target_compile_definitions(ttread PRIVATE $<$<CONFIG:Debug>:TTR_DEBUG=1>)
 target_compile_definitions(tx_shared PRIVATE $<$<CONFIG:Debug>:CFW_DEBUG=1>)
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if(${LibXml2_FOUND})
     target_link_libraries(tx_shared PUBLIC ${LIBXML2_LIBRARY})
 else()
     target_compile_definitions(tx_shared PUBLIC -DLIBXML_STATIC)
diff --git a/c/tx/source/CMakeLists.txt b/c/tx/source/CMakeLists.txt
index dad21cc6..684cb7ed 100644
--- a/c/tx/source/CMakeLists.txt
+++ b/c/tx/source/CMakeLists.txt
@@ -8,7 +8,7 @@ add_executable(tx
 target_include_directories(tx PRIVATE ../../shared/include 
../../shared/resource ../../shared/source/tx_shared)
 target_link_libraries(tx PUBLIC tx_shared)
 
-if ((${LibXml2_FOUND}) AND (NOT "${CMAKE_SYSTEM}" MATCHES "Linux"))
+if(${LibXml2_FOUND})
     target_link_libraries(tx PUBLIC ${LIBXML2_LIBRARY})
 else()
     add_dependencies(tx ${LIBXML2_TARGET})
diff --git a/cmake/ExternalLibXML2.cmake b/cmake/ExternalLibXML2.cmake
index a26252c0..df4233b9 100644
--- a/cmake/ExternalLibXML2.cmake
+++ b/cmake/ExternalLibXML2.cmake
@@ -43,7 +43,7 @@ set_target_properties(libxml2 PROPERTIES
   INTERFACE_INCLUDE_DIRECTORIES ${SOURCE_DIR}/include)
 target_include_directories(libxml2 INTERFACE ${SOURCE_DIR}/include INTERFACE 
${BINARY_DIR})
 
-set(LIBXML2_STATIC_INCLUDE_DIR ${SOURCE_DIR}/include ${BINARY_DIR})
+set(LIBXML2_INCLUDE_DIR ${SOURCE_DIR}/include ${BINARY_DIR})
 
 set(LIBXML2_WIN_LIBRARIES wsock32 ws2_32 libxml2)
 
-- 
2.37.3

Reply via email to