From 30470a1bab6c3024b574e5251d3a3eaeef70598c Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Fri, 10 Jul 2020 20:16:06 +0200 Subject: [PATCH] Fix some other issues Resolves: #1673727 --- poppler-0.90.0-qt4-update.patch | 12 ++++++++++++ poppler.spec | 8 ++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/poppler-0.90.0-qt4-update.patch b/poppler-0.90.0-qt4-update.patch index 56e208b..725a016 100644 --- a/poppler-0.90.0-qt4-update.patch +++ b/poppler-0.90.0-qt4-update.patch @@ -369,3 +369,15 @@ if (d->opts & StrictMargins) { +--- poppler-0.90.0/qt4/src/poppler-sound.cc ++++ poppler-0.90.0/qt4/src/poppler-sound.cc +@@ -75,8 +75,7 @@ QString SoundObject::url() const + if ( m_soundData->m_type != SoundObject::External ) + return QString(); + +- const GooString * goo = m_soundData->m_soundObj->getFileName(); +- return goo ? QString( goo->c_str() ) : QString(); ++ return QString( m_soundData->m_soundObj->getFileName().c_str() ); + } + + QByteArray SoundObject::data() const diff --git a/poppler.spec b/poppler.spec index 70f055b..6cc9a3e 100644 --- a/poppler.spec +++ b/poppler.spec @@ -4,7 +4,7 @@ Summary: PDF rendering library Name: poppler Version: 0.90.0 -Release: 2%{?dist} +Release: 3%{?dist} License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT URL: http://poppler.freedesktop.org/ Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz @@ -198,7 +198,7 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}" %files %doc README.md %license COPYING -%{_libdir}/libpoppler.so.94* +%{_libdir}/libpoppler.so.101* %files devel %{_libdir}/pkgconfig/poppler.pc @@ -255,6 +255,10 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}" %{_mandir}/man1/* %changelog +* Fri Jul 10 2020 Marek Kasik - 0.90.0-3 +- Fix some other issues. +- Resolves: #1673727 + * Fri Jul 10 2020 Marek Kasik - 0.90.0-2 - Compile poppler with position independent code turned on. - Otherwise it doesn't build on Fedora 33.