Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
apostrophe


Commits:
ea9ddd95 by Balló György at 2026-01-28T14:42:47+01:00
upgpkg: 3.4-3: Fix compatibility with Python 3.14

Closes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/apostrophe/-/issues/4

- - - - -


4 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml
- + apostrophe-python3.14.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = apostrophe
        pkgdesc = Distraction free Markdown editor
        pkgver = 3.4
-       pkgrel = 2
+       pkgrel = 3
        url = https://apps.gnome.org/Apostrophe/
        arch = any
        groups = gnome-circle
@@ -31,7 +31,9 @@ pkgbase = apostrophe
        optdepends = texlive-xetex: Export to PDF using XeTeX
        source = git+https://gitlab.gnome.org/World/apostrophe.git#tag=v3.4
        source = apostrophe-weasyprint.patch
+       source = apostrophe-python3.14.patch
        b2sums = 
91d6e6fe1d559adad1f91a518c650c7599f5423c92dac320188bfa921ef8c509dc1ff5397c56ff7940ef26e7d70bc3d14012b2bd7d86ed49d67fc2221bb07f25
        b2sums = 
3dd7601fa9cf45cc0a4088ccdb64c95cf775e8cf236a851ff159320d312cd5c64996fb26ae54ece8f268e71cf28a7454200bc019ffc870853dadb84e5deb65b1
+       b2sums = 
63aa6294a215f0078aa5ab6d79902f9fdf375d9507dbc22cf260e12ecc63aaf5adbafeb4e09dd8056d69c1f6d3ecb0aa984549fb9f5195266b6e759f27c5b1b0
 
 pkgname = apostrophe


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=apostrophe
 pkgver=3.4
-pkgrel=2
+pkgrel=3
 pkgdesc='Distraction free Markdown editor'
 arch=(any)
 url='https://apps.gnome.org/Apostrophe/'
@@ -40,10 +40,12 @@ optdepends=(
 source=(
   "git+https://gitlab.gnome.org/World/apostrophe.git#tag=v$pkgver";
   apostrophe-weasyprint.patch
+  apostrophe-python3.14.patch
 )
 b2sums=(
   
91d6e6fe1d559adad1f91a518c650c7599f5423c92dac320188bfa921ef8c509dc1ff5397c56ff7940ef26e7d70bc3d14012b2bd7d86ed49d67fc2221bb07f25
   
3dd7601fa9cf45cc0a4088ccdb64c95cf775e8cf236a851ff159320d312cd5c64996fb26ae54ece8f268e71cf28a7454200bc019ffc870853dadb84e5deb65b1
+  
63aa6294a215f0078aa5ab6d79902f9fdf375d9507dbc22cf260e12ecc63aaf5adbafeb4e09dd8056d69c1f6d3ecb0aa984549fb9f5195266b6e759f27c5b1b0
 )
 
 prepare() {
@@ -52,6 +54,10 @@ prepare() {
   # Use weasyprint instead of typst for PDF export
   # https://gitlab.gnome.org/World/apostrophe/-/merge_requests/338
   git apply -3 ../apostrophe-weasyprint.patch
+
+  # Fix compatibility with Python 3.14
+  # https://gitlab.gnome.org/World/apostrophe/-/merge_requests/343
+  git apply -3 ../apostrophe-python3.14.patch
 }
 
 build() {


=====================================
REUSE.toml
=====================================
@@ -23,6 +23,7 @@ SPDX-License-Identifier = "0BSD"
 
 [[annotations]]
 path = [
+    "apostrophe-python3.14.patch",
     "apostrophe-weasyprint.patch",
 ]
 SPDX-FileCopyrightText = "apostrophe contributors"


=====================================
apostrophe-python3.14.patch
=====================================
@@ -0,0 +1,36 @@
+From 7a7b1bc46e72cd8c4cd0ca3123919405d20fe2b4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
+Date: Wed, 28 Jan 2026 14:30:27 +0100
+Subject: [PATCH] Fix compatibility with Python 3.14
+
+Python 3.14 changing multiprocessing's start method on Linux from fork to
+forkserver which requires parameters to be pickable.
+
+Closes: https://gitlab.gnome.org/World/apostrophe/-/issues/659
+---
+ apostrophe.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/apostrophe.in b/apostrophe.in
+index b71bcb16..5c5f6838 100755
+--- a/apostrophe.in
++++ b/apostrophe.in
+@@ -19,6 +19,7 @@
+ 
+ import sys
+ import os
++import multiprocessing
+ 
+ import gettext
+ import locale
+@@ -45,6 +46,7 @@ locale.bindtextdomain('apostrophe', localedir)
+ gettext.textdomain('apostrophe')
+ gettext.bindtextdomain('apostrophe', localedir)
+ 
++multiprocessing.set_start_method('fork')
+ 
+ def run_application():
+     from apostrophe.application import Application
+-- 
+GitLab
+



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/apostrophe/-/commit/ea9ddd9536f751959e8568a3ee5cb5ee2ca200e2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/apostrophe/-/commit/ea9ddd9536f751959e8568a3ee5cb5ee2ca200e2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to