From 068454d309201201e8ad87ac8538690156d91643 Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Tue, 4 Feb 2020 14:01:27 -0800 Subject: [PATCH] Update to 1.0.17 Drop unneeded texlive dependencies Fix build with translations parameter --- xournalpp.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/xournalpp.spec b/xournalpp.spec index 3596160..5c6483e 100644 --- a/xournalpp.spec +++ b/xournalpp.spec @@ -1,8 +1,8 @@ %global _with_cppunit 1 Name: xournalpp -Version: 1.0.16 -Release: 10%{?dist} +Version: 1.0.17 +Release: 1%{?dist} Summary: Handwriting note-taking software with PDF annotation support License: GPLv2+ @@ -26,10 +26,6 @@ BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(portaudiocpp) >= 12 BuildRequires: pkgconfig(sndfile) Requires: hicolor-icon-theme -Requires: kde-filesystem -Requires: texlive-scheme-basic -Requires: texlive-dvipng -Requires: texlive-standalone Requires: %{name}-plugins = %{version}-%{release} Requires: %{name}-ui = %{version}-%{release} @@ -63,7 +59,10 @@ sed -i 's|tlh-AA|tlh|g' po/tlh.po %cmake3 \ %{_with_cppunit: -DENABLE_CPPUNIT=ON} \ . -%make_build + +# Add translations parameter +# https://github.com/xournalpp/xournalpp/issues/1596 +%make_build translations %install %make_install @@ -75,8 +74,8 @@ desktop-file-install \ %find_lang %{name} #Remove scripts from icons interface -rm -r %{buildroot}%{_datadir}/%{name}/ui/icons/hicolor/update-icon-cache.sh -rm -r %{buildroot}%{_datadir}/%{name}/ui/iconsDark/hicolor/update-icon-cache.sh +#rm -r %%{buildroot}%%{_datadir}/%%{name}/ui/icons/hicolor/update-icon-cache.sh +#rm -r %%{buildroot}%%{_datadir}/%%{name}/ui/iconsDark/hicolor/update-icon-cache.sh %check desktop-file-validate %{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop @@ -103,6 +102,11 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n %{_datadir}/%{name}/ui %changelog +* Tue Feb 04 2020 Luya Tshimbalanga - 1.0.17-1 +- Update to 1.0.17 +- Drop unneeded texlive dependencies +- Fix build with translations parameter + * Fri Jan 31 2020 Fedora Release Engineering - 1.0.16-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild