[packages/adobe-afdko] Up to 4.0.3
arekm
arekm at pld-linux.org
Thu Jul 23 18:53:29 CEST 2026
commit 070ebf463dbd9b6958f20d4f333c9cc5f589c574
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jul 23 18:53:13 2026 +0200
Up to 4.0.3
adobe-afdko.spec | 10 +++++-----
antlr4-cpp-runtime-4.13.2.patch | 11 +++++++++++
antlr4-cpp-runtime-4.9.3.patch | 21 ---------------------
3 files changed, 16 insertions(+), 26 deletions(-)
---
diff --git a/adobe-afdko.spec b/adobe-afdko.spec
index 2b89fab..92ec8c7 100644
--- a/adobe-afdko.spec
+++ b/adobe-afdko.spec
@@ -1,9 +1,9 @@
-%define antl4_ver 4.9.3
+%define antl4_ver 4.13.2
Summary: Adobe Font Development Kit for OpenType
Name: adobe-afdko
-Version: 4.0.1
-Release: 2
+Version: 4.0.3
+Release: 1
Group: Applications/Publishing
# ExternalAntlr4Cpp.cmake is BSD-3-clause
# c/makeotf/makeotf_lib/build/hotpccts/pccts/* is ANTLR-PD
@@ -12,9 +12,9 @@ Group: Applications/Publishing
License: Apache-2.0 AND BSD-3-Clause AND ANTLR-PD AND Python-2.0.1
URL: https://github.com/adobe-type-tools/afdko
Source0: https://github.com/adobe-type-tools/afdko/releases/download/%{version}/afdko-%{version}.tar.gz
-# Source0-md5: 2a3ba9bb2583be0d744220411a8f24f1
+# Source0-md5: 7b630fc40748bbe6470d68502bad3f80
Source1: https://www.antlr.org/download/antlr4-cpp-runtime-%{antl4_ver}-source.zip
-# Source1-md5: eafa4fef583e12e963062882773461be
+# Source1-md5: bac8aef215ffd7b23a1dde2fcfe3c842
Patch0: antlr4-cpp-runtime-%{antl4_ver}.patch
BuildRequires: cmake
BuildRequires: libuuid-devel
diff --git a/antlr4-cpp-runtime-4.13.2.patch b/antlr4-cpp-runtime-4.13.2.patch
new file mode 100644
index 0000000..294b32e
--- /dev/null
+++ b/antlr4-cpp-runtime-4.13.2.patch
@@ -0,0 +1,11 @@
+--- afdko-4.0.3/CMakeLists.txt.orig 2025-12-05 01:36:39.000000000 +0100
++++ afdko-4.0.3/CMakeLists.txt 2026-07-23 18:45:00.000000000 +0200
+@@ -34,7 +34,7 @@
+ # encounter compiler problems and need to make small edits to compensate. Start
+ # with the Antlr project's sources, e.g.
+ # https://www.antlr.org/download/antlr4-cpp-runtime-4.9.3-source.zip
+-# set(ANTLR4_ZIP_REPOSITORY "/path_to_antlr4_archive/a4.zip")
++set(ANTLR4_ZIP_REPOSITORY "${CMAKE_CURRENT_SOURCE_DIR}/antlr4-cpp-runtime-4.13.2-source.zip")
+
+ add_definitions(-DANTLR4CPP_STATIC)
+ set(ANTLR4_WITH_STATIC_CRT OFF)
diff --git a/antlr4-cpp-runtime-4.9.3.patch b/antlr4-cpp-runtime-4.9.3.patch
deleted file mode 100644
index 49064c3..0000000
--- a/antlr4-cpp-runtime-4.9.3.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur afdko-4.0.1.orig/CMakeLists.txt afdko-4.0.1/CMakeLists.txt
---- afdko-4.0.1.orig/CMakeLists.txt 2024-01-17 05:55:45.000000000 +0530
-+++ afdko-4.0.1/CMakeLists.txt 2024-06-19 22:56:00.654124920 +0530
-@@ -18,7 +18,7 @@
- endif()
- message(STATUS "Build type is ${CMAKE_BUILD_TYPE}")
-
--set(CMAKE_CXX_STANDARD 11)
-+set(CMAKE_CXX_STANDARD 17)
-
- # scikit-build
- if(SKBUILD)
-@@ -34,7 +34,7 @@
- # encounter compiler problems and need to make small edits to compensate. Start
- # with the Antlr project's sources, e.g.
- # https://www.antlr.org/download/antlr4-cpp-runtime-4.9.3-source.zip
--# set(ANTLR4_ZIP_REPOSITORY "/path_to_antlr4_archive/a4.zip")
-+ set(ANTLR4_ZIP_REPOSITORY "${CMAKE_CURRENT_SOURCE_DIR}/antlr4-cpp-runtime-4.9.3-source.zip")
-
- add_definitions(-DANTLR4CPP_STATIC)
- set(ANTLR4_WITH_STATIC_CRT OFF)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adobe-afdko.git/commitdiff/070ebf463dbd9b6958f20d4f333c9cc5f589c574
More information about the pld-cvs-commit
mailing list