Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Marek Kasik
5a2c4b9e3a Rebuild for poppler 26.08.0 2026-08-06 17:56:23 +02:00
Fedora Release Engineering
76755ffb82 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-15 17:51:10 +00:00
Sandro Mani
6bee808282 Rebuild (quazip) 2026-05-27 22:27:49 +02:00
Dominik 'Rathann' Mierzejewski
37077bfb3e clarify that GETypoLibre is under CC0 (still not allowed)
Provide source of that info.

[skip changelog]
2026-04-26 11:59:35 +02:00
3 changed files with 17 additions and 1 deletions

View file

@ -19,7 +19,8 @@ pushd "$tmp"
curl -L ${url} | tar xzf -
pushd ${name}-${version}/resources
# EcritureA+B fonts are non-free (CC-BY-ND-3.0 is allowed for content only, not fonts)
# GETypo Libre has unknown license
# GETypo Libre is under CC0, not allowed for fonts
# https://github.com/gelibredu/GETypoLibre
# allow using system fonts
rm -rv customizations/fonts/*
# Papier.wgt is non-free (CC-BY-NC)

View file

@ -0,0 +1,13 @@
--- OpenBoard-1.7.7/src/pdf/XPDFRenderer.cpp
+++ OpenBoard-1.7.7/src/pdf/XPDFRenderer.cpp
@@ -178,7 +178,9 @@ QString XPDFRenderer::title() const
#endif
if (title.isString())
{
-#if POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 72
+#if POPPLER_VERSION_MAJOR > 26 || (POPPLER_VERSION_MAJOR == 26 && POPPLER_VERSION_MINOR >= 4)
+ return QString(title.getString().c_str());
+#elif POPPLER_VERSION_MAJOR > 0 || POPPLER_VERSION_MINOR >= 72
return QString(title.getString()->c_str());
#else
return QString(title.getString()->getCString());

View file

@ -35,6 +35,8 @@ Patch: %{name}-use-system-fonts.patch
# Disable software update check and hide the checkbox in Preferences, based on OpenSUSE patch:
# https://build.opensuse.org/projects/home:letsfindaway:experimental/packages/OpenBoard-Qt6/files/9117-disable-software-update.patch
Patch: %{name}-disable-software-update.patch
# A patch to fix build with poppler 26.04.0 and newer
Patch: %{name}-poppler-26.04.0.patch
BuildRequires: cmake
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Concurrent)