diff options
| author | Rodion Goritskov <rodion@goritskov.com> | 2026-08-25 22:09:37 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-28 17:20:46 +0200 |
| commit | 73c287df469f1a60ee3513d30e0d9ca0e02e3e35 (patch) | |
| tree | 94f36f3d9cd491617cd7543ebb0e999714d8d20e | |
| parent | eb65a5f09a0d27e8fef2b931515d49e4e9fec09f (diff) | |
gnu: calligra: Update to 26.04.3.
Latest releases of Calligra are not available as tar.xz,
but git tags are present.
* gnu/packages/kde-office.scm (calligra): Update to 26.04.3.
[source]: Change method to git-fetch. Drop patch.
* gnu/packages/patches/calligra-qt-6.9.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/kde-office.scm | 14 | ||||
| -rw-r--r-- | gnu/packages/patches/calligra-qt-6.9.patch | 46 |
3 files changed, 7 insertions, 54 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 1f146ac0304..241fd8fcaf4 100644 --- a/gnu/local.mk +++ b/gnu/local.mk | |||
| @@ -1098,7 +1098,6 @@ dist_patch_DATA = \ | |||
| 1098 | %D%/packages/patches/calibre-remove-test-sqlite.patch \ | 1098 | %D%/packages/patches/calibre-remove-test-sqlite.patch \ |
| 1099 | %D%/packages/patches/calibre-remove-test-unrar.patch \ | 1099 | %D%/packages/patches/calibre-remove-test-unrar.patch \ |
| 1100 | %D%/packages/patches/calibre-remove-test-import-modules.patch \ | 1100 | %D%/packages/patches/calibre-remove-test-import-modules.patch \ |
| 1101 | %D%/packages/patches/calligra-qt-6.9.patch \ | ||
| 1102 | %D%/packages/patches/calls-disable-sip-test.patch \ | 1101 | %D%/packages/patches/calls-disable-sip-test.patch \ |
| 1103 | %D%/packages/patches/camlboot-dynamically-allocate-stack-signal.patch \ | 1102 | %D%/packages/patches/camlboot-dynamically-allocate-stack-signal.patch \ |
| 1104 | %D%/packages/patches/cartridges-fix-non-parallel-build.patch \ | 1103 | %D%/packages/patches/cartridges-fix-non-parallel-build.patch \ |
diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm index bb2a25dabb0..38892cc2d2e 100644 --- a/gnu/packages/kde-office.scm +++ b/gnu/packages/kde-office.scm | |||
| @@ -64,15 +64,15 @@ | |||
| 64 | (define-public calligra | 64 | (define-public calligra |
| 65 | (package | 65 | (package |
| 66 | (name "calligra") | 66 | (name "calligra") |
| 67 | (version "4.0.1") | 67 | (version "26.04.3") |
| 68 | (source (origin | 68 | (source (origin |
| 69 | (method url-fetch) | 69 | (method git-fetch) |
| 70 | (uri (string-append "mirror://kde/stable/calligra/" | 70 | (uri (git-reference |
| 71 | "calligra-" version ".tar.xz")) | 71 | (url "https://invent.kde.org/office/calligra.git") |
| 72 | (commit (string-append "v" version)))) | ||
| 73 | (file-name (git-file-name name version)) | ||
| 72 | (sha256 | 74 | (sha256 |
| 73 | (base32 | 75 | (base32 "1b9yyrq307y129aaa6k4myi8xwz0pd7kzhvn2svgjcswm945w1i6")))) |
| 74 | "0pyri2ypzva4b4rnl2p3xp0ph5xcn181msj86l5xq6sg7zkza0fl")) | ||
| 75 | (patches (search-patches "calligra-qt-6.9.patch")))) | ||
| 76 | (build-system qt-build-system) | 76 | (build-system qt-build-system) |
| 77 | (arguments | 77 | (arguments |
| 78 | (list #:qtbase qtbase | 78 | (list #:qtbase qtbase |
diff --git a/gnu/packages/patches/calligra-qt-6.9.patch b/gnu/packages/patches/calligra-qt-6.9.patch deleted file mode 100644 index 04b17cddf20..00000000000 --- a/gnu/packages/patches/calligra-qt-6.9.patch +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | From 659c88eec87160d908faf9b78b7b1006eb7e5bf3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Nicolas Fella <nicolas.fella@gmx.de> | ||
| 3 | Date: Fri, 10 Jan 2025 15:44:09 +0100 | ||
| 4 | Subject: [PATCH] Fix build with Qt 6.9 | ||
| 5 | |||
| 6 | Converting Qt::Key to QChar doesn't work any more | ||
| 7 | --- | ||
| 8 | libs/basicflakes/tools/KoCreatePathTool.cpp | 2 +- | ||
| 9 | plugins/textshape/TextTool.cpp | 4 ++-- | ||
| 10 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
| 11 | |||
| 12 | diff --git a/libs/basicflakes/tools/KoCreatePathTool.cpp b/libs/basicflakes/tools/KoCreatePathTool.cpp | ||
| 13 | index 699f3b0e772..6cb7f11b4a4 100644 | ||
| 14 | --- a/libs/basicflakes/tools/KoCreatePathTool.cpp | ||
| 15 | +++ b/libs/basicflakes/tools/KoCreatePathTool.cpp | ||
| 16 | @@ -444,7 +444,7 @@ QList<QPointer<QWidget>> KoCreatePathTool::createOptionWidgets() | ||
| 17 | angleEdit->setValue(d->angleSnappingDelta); | ||
| 18 | angleEdit->setRange(1, 360); | ||
| 19 | angleEdit->setSingleStep(1); | ||
| 20 | - angleEdit->setSuffix(QChar(Qt::Key_degree)); | ||
| 21 | + angleEdit->setSuffix(QStringLiteral("°")); | ||
| 22 | layout->addWidget(angleEdit, 0, 1); | ||
| 23 | layout->addWidget(new QLabel(i18n("Activate angle snap:"), angleWidget), 1, 0); | ||
| 24 | QCheckBox *angleSnap = new QCheckBox(angleWidget); | ||
| 25 | diff --git a/plugins/textshape/TextTool.cpp b/plugins/textshape/TextTool.cpp | ||
| 26 | index 79e88353408..bb82e7b90c5 100644 | ||
| 27 | --- a/plugins/textshape/TextTool.cpp | ||
| 28 | +++ b/plugins/textshape/TextTool.cpp | ||
| 29 | @@ -2360,7 +2360,7 @@ void TextTool::nonbreakingSpace() | ||
| 30 | { | ||
| 31 | if (!m_allowActions || !m_textEditor.data()) | ||
| 32 | return; | ||
| 33 | - m_textEditor.data()->insertText(QString(QChar(Qt::Key_nobreakspace))); | ||
| 34 | + m_textEditor.data()->insertText(QString(QChar(QChar::Nbsp))); | ||
| 35 | } | ||
| 36 | |||
| 37 | void TextTool::nonbreakingHyphen() | ||
| 38 | @@ -2374,7 +2374,7 @@ void TextTool::softHyphen() | ||
| 39 | { | ||
| 40 | if (!m_allowActions || !m_textEditor.data()) | ||
| 41 | return; | ||
| 42 | - m_textEditor.data()->insertText(QString(QChar(Qt::Key_hyphen))); | ||
| 43 | + m_textEditor.data()->insertText(QString(QChar(QChar::SoftHyphen))); | ||
| 44 | } | ||
| 45 | |||
| 46 | void TextTool::lineBreak() | ||
