diff options
| -rw-r--r-- | meta-oe/recipes-graphics/fontforge/fontforge/0001-cmake-Use-alternate-way-to-detect-libm.patch | 24 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb (renamed from meta-oe/recipes-graphics/fontforge/fontforge_20220308.bb) | 2 |
2 files changed, 18 insertions, 8 deletions
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge/0001-cmake-Use-alternate-way-to-detect-libm.patch b/meta-oe/recipes-graphics/fontforge/fontforge/0001-cmake-Use-alternate-way-to-detect-libm.patch index dd799e7485..573866eb15 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge/0001-cmake-Use-alternate-way-to-detect-libm.patch +++ b/meta-oe/recipes-graphics/fontforge/fontforge/0001-cmake-Use-alternate-way-to-detect-libm.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 6d3c48d1b01943a467928235c3affbab463c25ab Mon Sep 17 00:00:00 2001 | 1 | From 644c3380f75b20a11755e7052aa632887f3eee2b Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 7 Jul 2022 12:32:47 -0700 | 3 | Date: Thu, 7 Jul 2022 12:32:47 -0700 |
| 4 | Subject: [PATCH] cmake: Use alternate way to detect libm | 4 | Subject: [PATCH] cmake: Use alternate way to detect libm |
| @@ -8,17 +8,20 @@ when libm is folded into libc starting glibc 2.35+ | |||
| 8 | 8 | ||
| 9 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | |||
| 11 | --- | 12 | --- |
| 12 | CMakeLists.txt | 7 ++++++- | 13 | CMakeLists.txt | 7 ++++++- |
| 13 | contrib/fonttools/CMakeLists.txt | 2 +- | 14 | contrib/fonttools/CMakeLists.txt | 2 +- |
| 14 | fontforge/CMakeLists.txt | 2 +- | 15 | fontforge/CMakeLists.txt | 2 +- |
| 15 | fontforgeexe/CMakeLists.txt | 4 ++-- | 16 | fontforgeexe/CMakeLists.txt | 2 +- |
| 16 | 4 files changed, 10 insertions(+), 5 deletions(-) | 17 | 4 files changed, 9 insertions(+), 4 deletions(-) |
| 17 | 18 | ||
| 19 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 20 | index e234cb6e9..284ba2d20 100644 | ||
| 18 | --- a/CMakeLists.txt | 21 | --- a/CMakeLists.txt |
| 19 | +++ b/CMakeLists.txt | 22 | +++ b/CMakeLists.txt |
| 20 | @@ -111,9 +111,14 @@ find_package_with_target(Intl REQUIRED) | 23 | @@ -115,9 +115,14 @@ else() |
| 21 | find_package(GLIB 2.6 REQUIRED COMPONENTS gio gobject) | 24 | endif() |
| 22 | find_package(Iconv REQUIRED) | 25 | find_package(Iconv REQUIRED) |
| 23 | find_package(LibXml2 REQUIRED) | 26 | find_package(LibXml2 REQUIRED) |
| 24 | -find_package(MathLib REQUIRED) | 27 | -find_package(MathLib REQUIRED) |
| @@ -33,9 +36,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 33 | check_include_file(pthread.h HAVE_PTHREAD_H) | 36 | check_include_file(pthread.h HAVE_PTHREAD_H) |
| 34 | if(HAVE_PTHREAD_H) | 37 | if(HAVE_PTHREAD_H) |
| 35 | find_package(Threads) | 38 | find_package(Threads) |
| 39 | diff --git a/contrib/fonttools/CMakeLists.txt b/contrib/fonttools/CMakeLists.txt | ||
| 40 | index d6c698877..1608af152 100644 | ||
| 36 | --- a/contrib/fonttools/CMakeLists.txt | 41 | --- a/contrib/fonttools/CMakeLists.txt |
| 37 | +++ b/contrib/fonttools/CMakeLists.txt | 42 | +++ b/contrib/fonttools/CMakeLists.txt |
| 38 | @@ -15,6 +15,6 @@ add_executable(woff woff.c) | 43 | @@ -15,7 +15,7 @@ add_executable(woff woff.c) |
| 39 | 44 | ||
| 40 | target_link_libraries(acorn2sfd PRIVATE fontforge) | 45 | target_link_libraries(acorn2sfd PRIVATE fontforge) |
| 41 | target_link_libraries(dewoff PRIVATE ZLIB::ZLIB) | 46 | target_link_libraries(dewoff PRIVATE ZLIB::ZLIB) |
| @@ -43,6 +48,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 43 | +target_link_libraries(pcl2ttf PRIVATE ${EXTRA_LIBS}) | 48 | +target_link_libraries(pcl2ttf PRIVATE ${EXTRA_LIBS}) |
| 44 | target_link_libraries(ttf2eps PRIVATE fontforge) | 49 | target_link_libraries(ttf2eps PRIVATE fontforge) |
| 45 | target_link_libraries(woff PRIVATE ZLIB::ZLIB) | 50 | target_link_libraries(woff PRIVATE ZLIB::ZLIB) |
| 51 | |||
| 52 | diff --git a/fontforge/CMakeLists.txt b/fontforge/CMakeLists.txt | ||
| 53 | index 9a052f360..067ef40df 100644 | ||
| 46 | --- a/fontforge/CMakeLists.txt | 54 | --- a/fontforge/CMakeLists.txt |
| 47 | +++ b/fontforge/CMakeLists.txt | 55 | +++ b/fontforge/CMakeLists.txt |
| 48 | @@ -237,7 +237,7 @@ target_link_libraries(fontforge | 56 | @@ -237,7 +237,7 @@ target_link_libraries(fontforge |
| @@ -54,9 +62,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 54 | Iconv::Iconv | 62 | Iconv::Iconv |
| 55 | ZLIB::ZLIB | 63 | ZLIB::ZLIB |
| 56 | ) | 64 | ) |
| 65 | diff --git a/fontforgeexe/CMakeLists.txt b/fontforgeexe/CMakeLists.txt | ||
| 66 | index e2982c39d..8829993ea 100644 | ||
| 57 | --- a/fontforgeexe/CMakeLists.txt | 67 | --- a/fontforgeexe/CMakeLists.txt |
| 58 | +++ b/fontforgeexe/CMakeLists.txt | 68 | +++ b/fontforgeexe/CMakeLists.txt |
| 59 | @@ -110,7 +110,7 @@ if(ENABLE_PYTHON_SCRIPTING_RESULT) | 69 | @@ -121,7 +121,7 @@ if(ENABLE_PYTHON_SCRIPTING_RESULT) |
| 60 | target_link_libraries(fontforgeexe PRIVATE Python3::Python) | 70 | target_link_libraries(fontforgeexe PRIVATE Python3::Python) |
| 61 | endif() | 71 | endif() |
| 62 | 72 | ||
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20220308.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb index ddb4443baa..2b425c583d 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge_20220308.bb +++ b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb | |||
| @@ -14,7 +14,7 @@ inherit cmake pkgconfig python3native python3targetconfig features_check gettext | |||
| 14 | REQUIRED_DISTRO_FEATURES:append:class-target = " x11" | 14 | REQUIRED_DISTRO_FEATURES:append:class-target = " x11" |
| 15 | 15 | ||
| 16 | # tag 20220308 | 16 | # tag 20220308 |
| 17 | SRCREV = "582bd41a9bf04326300fc02a677fe3610d6d3ccd" | 17 | SRCREV = "a1dad3e81da03d5d5f3c4c1c1b9b5ca5ebcfcecf" |
| 18 | SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ | 18 | SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ |
| 19 | file://0001-include-sys-select-on-non-glibc-platforms.patch \ | 19 | file://0001-include-sys-select-on-non-glibc-platforms.patch \ |
| 20 | file://0001-fontforgeexe-Use-env-to-find-fontforge.patch \ | 20 | file://0001-fontforgeexe-Use-env-to-find-fontforge.patch \ |
