Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a2c4b9e3a | ||
|
|
76755ffb82 | ||
|
|
6bee808282 | ||
|
|
37077bfb3e |
3 changed files with 17 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
13
OpenBoard-poppler-26.04.0.patch
Normal file
13
OpenBoard-poppler-26.04.0.patch
Normal 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());
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue