[packages/atril] up to 1.26.0
atler
atler at pld-linux.org
Wed Aug 18 22:35:27 CEST 2021
commit dff98352991c3481a2a8102b5e15a20557ea8aac
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Aug 18 22:34:21 2021 +0200
up to 1.26.0
atril-kpathsea_config.patch | 10 ++++++++++
atril.spec | 11 +++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/atril.spec b/atril.spec
index 90f54f7..f0a6679 100644
--- a/atril.spec
+++ b/atril.spec
@@ -15,12 +15,13 @@
Summary: Atril - MATE Desktop document viewer for multiple document formats
Summary(pl.UTF-8): Atril - przeglądarka dokumentów w wielu formatach dla środowiska MATE
Name: atril
-Version: 1.24.1
+Version: 1.26.0
Release: 1
License: GPL v2+
Group: X11/Applications/Graphics
-Source0: https://pub.mate-desktop.org/releases/1.24/%{name}-%{version}.tar.xz
-# Source0-md5: 60f479b76f088ee8283edc2f9e977d1a
+Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
+# Source0-md5: c23e5ba3d4470eb00f31f6f51fe7c519
+Patch0: %{name}-kpathsea_config.patch
URL: http://mate-desktop.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake >= 1:1.10
@@ -51,6 +52,7 @@ BuildRequires: rpmbuild(macros) >= 1.592
BuildRequires: synctex-devel >= 1.21
BuildRequires: t1lib-devel
BuildRequires: tar >= 1:1.22
+BuildRequires: xorg-lib-libICE-devel
BuildRequires: xorg-lib-libSM-devel >= 1.0.0
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xz
@@ -232,6 +234,7 @@ Caja.
%prep
%setup -q
+%patch0 -p1
%build
%{__gtkdocize}
@@ -292,7 +295,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f atril.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS README.md
%attr(755,root,root) %{_bindir}/atril
%attr(755,root,root) %{_bindir}/atril-previewer
%attr(755,root,root) %{_bindir}/atril-thumbnailer
diff --git a/atril-kpathsea_config.patch b/atril-kpathsea_config.patch
new file mode 100644
index 0000000..ba2e4c8
--- /dev/null
+++ b/atril-kpathsea_config.patch
@@ -0,0 +1,10 @@
+--- atril-1.26.0/backend/dvi/mdvi-lib/fontsrch.c.orig 2021-08-06 13:08:05.000000000 +0200
++++ atril-1.26.0/backend/dvi/mdvi-lib/fontsrch.c 2021-08-06 17:31:46.535265648 +0200
+@@ -50,6 +50,7 @@
+ #include <config.h>
+ #include "mdvi.h"
+
++#include <kpathsea/config.h>
+ #include <kpathsea/tex-file.h>
+ #include <kpathsea/tex-glyph.h>
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/atril.git/commitdiff/dff98352991c3481a2a8102b5e15a20557ea8aac
More information about the pld-cvs-commit
mailing list