diff --git a/docs/packages/liteparse.yaml b/docs/packages/liteparse.yaml index 37bd254598e..e151df8baeb 100644 --- a/docs/packages/liteparse.yaml +++ b/docs/packages/liteparse.yaml @@ -9,3 +9,8 @@ versions: - filename: liteparse-2.14.2-cp310-abi3-manylinux_2_39_riscv64.whl sha256: 678e5fa50419dddcdc43d0eab50684f52dec1456e09850c1d4c183a8d42af7c5 requires-python: '>=3.10' +- version: 2.14.3 +- version: 2.14.4 +- version: 2.14.5 +- version: 2.14.6 +- version: 2.14.7 diff --git a/patches/liteparse/2.14.3/0001-skia-accept-riscv64-target-cpu.patch b/patches/liteparse/2.14.3/0001-skia-accept-riscv64-target-cpu.patch new file mode 100644 index 00000000000..45a29e65d27 --- /dev/null +++ b/patches/liteparse/2.14.3/0001-skia-accept-riscv64-target-cpu.patch @@ -0,0 +1,19 @@ +Upstream-Status: To upstream [not yet submitted; pdfium main's skia/BUILD.gn still lacks the riscv64 branch Chromium's copy has] + +PDFium's skia/BUILD.gn asserts on every target CPU its skia_opts chain does not +name, so `gn gen` fails for target_cpu = "riscv64" even with pdf_use_skia=false: +the root BUILD.gn's gn_check group depends on //skia whenever checkout_skia is set, +which it is for checkout_configuration=small. Chromium's own skia/BUILD.gn already +carries this empty riscv64 branch (Skia's portable code path needs no extra flags). +diff --git a/skia/BUILD.gn b/skia/BUILD.gn +--- a/skia/BUILD.gn ++++ b/skia/BUILD.gn +@@ -577,6 +577,8 @@ skia_source_set("skia_opts") { + # Conditional and empty body needed to avoid assert below + } else if (current_cpu == "mipsel" || current_cpu == "mips64el") { + cflags += [ "-fomit-frame-pointer" ] ++ } else if (current_cpu == "riscv64") { ++ # Conditional and empty body needed to avoid assert() below. + } else { + assert(false, "Unsupported target CPU " + current_cpu) + } diff --git a/patches/liteparse/2.14.4/0001-skia-accept-riscv64-target-cpu.patch b/patches/liteparse/2.14.4/0001-skia-accept-riscv64-target-cpu.patch new file mode 100644 index 00000000000..45a29e65d27 --- /dev/null +++ b/patches/liteparse/2.14.4/0001-skia-accept-riscv64-target-cpu.patch @@ -0,0 +1,19 @@ +Upstream-Status: To upstream [not yet submitted; pdfium main's skia/BUILD.gn still lacks the riscv64 branch Chromium's copy has] + +PDFium's skia/BUILD.gn asserts on every target CPU its skia_opts chain does not +name, so `gn gen` fails for target_cpu = "riscv64" even with pdf_use_skia=false: +the root BUILD.gn's gn_check group depends on //skia whenever checkout_skia is set, +which it is for checkout_configuration=small. Chromium's own skia/BUILD.gn already +carries this empty riscv64 branch (Skia's portable code path needs no extra flags). +diff --git a/skia/BUILD.gn b/skia/BUILD.gn +--- a/skia/BUILD.gn ++++ b/skia/BUILD.gn +@@ -577,6 +577,8 @@ skia_source_set("skia_opts") { + # Conditional and empty body needed to avoid assert below + } else if (current_cpu == "mipsel" || current_cpu == "mips64el") { + cflags += [ "-fomit-frame-pointer" ] ++ } else if (current_cpu == "riscv64") { ++ # Conditional and empty body needed to avoid assert() below. + } else { + assert(false, "Unsupported target CPU " + current_cpu) + } diff --git a/patches/liteparse/2.14.5/0001-skia-accept-riscv64-target-cpu.patch b/patches/liteparse/2.14.5/0001-skia-accept-riscv64-target-cpu.patch new file mode 100644 index 00000000000..aaa74eb2ecd --- /dev/null +++ b/patches/liteparse/2.14.5/0001-skia-accept-riscv64-target-cpu.patch @@ -0,0 +1,19 @@ +Upstream-Status: To upstream [not yet submitted; pdfium main's skia/BUILD.gn still lacks the riscv64 branch Chromium's copy has] + +PDFium's skia/BUILD.gn asserts on every target CPU its skia_opts chain does not +name, so `gn gen` fails for target_cpu = "riscv64" even with pdf_use_skia=false: +the root BUILD.gn's gn_check group depends on //skia whenever checkout_skia is set, +which it is for checkout_configuration=small. Chromium's own skia/BUILD.gn already +carries this empty riscv64 branch (Skia's portable code path needs no extra flags). +diff --git a/skia/BUILD.gn b/skia/BUILD.gn +--- a/skia/BUILD.gn ++++ b/skia/BUILD.gn +@@ -560,6 +560,8 @@ skia_source_set("skia_opts") { + # Conditional and empty body needed to avoid assert below + } else if (current_cpu == "mipsel" || current_cpu == "mips64el") { + cflags += [ "-fomit-frame-pointer" ] ++ } else if (current_cpu == "riscv64") { ++ # Conditional and empty body needed to avoid assert() below. + } else { + assert(false, "Unsupported target CPU " + current_cpu) + } diff --git a/patches/liteparse/2.14.6/0001-skia-accept-riscv64-target-cpu.patch b/patches/liteparse/2.14.6/0001-skia-accept-riscv64-target-cpu.patch new file mode 100644 index 00000000000..aaa74eb2ecd --- /dev/null +++ b/patches/liteparse/2.14.6/0001-skia-accept-riscv64-target-cpu.patch @@ -0,0 +1,19 @@ +Upstream-Status: To upstream [not yet submitted; pdfium main's skia/BUILD.gn still lacks the riscv64 branch Chromium's copy has] + +PDFium's skia/BUILD.gn asserts on every target CPU its skia_opts chain does not +name, so `gn gen` fails for target_cpu = "riscv64" even with pdf_use_skia=false: +the root BUILD.gn's gn_check group depends on //skia whenever checkout_skia is set, +which it is for checkout_configuration=small. Chromium's own skia/BUILD.gn already +carries this empty riscv64 branch (Skia's portable code path needs no extra flags). +diff --git a/skia/BUILD.gn b/skia/BUILD.gn +--- a/skia/BUILD.gn ++++ b/skia/BUILD.gn +@@ -560,6 +560,8 @@ skia_source_set("skia_opts") { + # Conditional and empty body needed to avoid assert below + } else if (current_cpu == "mipsel" || current_cpu == "mips64el") { + cflags += [ "-fomit-frame-pointer" ] ++ } else if (current_cpu == "riscv64") { ++ # Conditional and empty body needed to avoid assert() below. + } else { + assert(false, "Unsupported target CPU " + current_cpu) + } diff --git a/patches/liteparse/2.14.7/0001-skia-accept-riscv64-target-cpu.patch b/patches/liteparse/2.14.7/0001-skia-accept-riscv64-target-cpu.patch new file mode 100644 index 00000000000..aaa74eb2ecd --- /dev/null +++ b/patches/liteparse/2.14.7/0001-skia-accept-riscv64-target-cpu.patch @@ -0,0 +1,19 @@ +Upstream-Status: To upstream [not yet submitted; pdfium main's skia/BUILD.gn still lacks the riscv64 branch Chromium's copy has] + +PDFium's skia/BUILD.gn asserts on every target CPU its skia_opts chain does not +name, so `gn gen` fails for target_cpu = "riscv64" even with pdf_use_skia=false: +the root BUILD.gn's gn_check group depends on //skia whenever checkout_skia is set, +which it is for checkout_configuration=small. Chromium's own skia/BUILD.gn already +carries this empty riscv64 branch (Skia's portable code path needs no extra flags). +diff --git a/skia/BUILD.gn b/skia/BUILD.gn +--- a/skia/BUILD.gn ++++ b/skia/BUILD.gn +@@ -560,6 +560,8 @@ skia_source_set("skia_opts") { + # Conditional and empty body needed to avoid assert below + } else if (current_cpu == "mipsel" || current_cpu == "mips64el") { + cflags += [ "-fomit-frame-pointer" ] ++ } else if (current_cpu == "riscv64") { ++ # Conditional and empty body needed to avoid assert() below. + } else { + assert(false, "Unsupported target CPU " + current_cpu) + }