From 0a07df7b7bc0746865834a21a342009a1238844d Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 5 May 2021 22:44:17 +0300 Subject: [PATCH] evince ver. bump --- office/misc/evince/actions.py | 5 +++- .../evince/files/40.0-internal-synctex.patch | 28 +++++++++++++++++++ office/misc/evince/pspec.xml | 22 ++++++++++++++- 3 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 office/misc/evince/files/40.0-internal-synctex.patch diff --git a/office/misc/evince/actions.py b/office/misc/evince/actions.py index 4f730dcc5a..94307f1f95 100644 --- a/office/misc/evince/actions.py +++ b/office/misc/evince/actions.py @@ -6,9 +6,12 @@ from pisi.actionsapi import mesontools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get def setup(): - mesontools.configure("-Dnautilus=false") + shelltools.system("sed -i -e 's:T1_initLib:T1_InitLib:' meson.build || die") + mesontools.configure("-Dnautilus=false -Dps=enabled -Dsystemduserunitdir=no -Dplatform=gnome") def build(): mesontools.build() diff --git a/office/misc/evince/files/40.0-internal-synctex.patch b/office/misc/evince/files/40.0-internal-synctex.patch new file mode 100644 index 0000000000..8c45548c63 --- /dev/null +++ b/office/misc/evince/files/40.0-internal-synctex.patch @@ -0,0 +1,28 @@ +From ce976d98317535d17d8aabd67729918a94b24cea Mon Sep 17 00:00:00 2001 +From: Matt Turner +Date: Mon, 12 Apr 2021 23:07:50 -0400 +Subject: [PATCH] build: always use internal synctex instead of automagically + +We don't have a separate synctex package and would have to pull in +all of texlive-core; so instead of fixing the automagic use of it, +just remove support for external synctex, as that's easier. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index abee124d..63c5040c 100644 +--- a/meson.build ++++ b/meson.build +@@ -251,7 +251,7 @@ config_h.set('HAVE_DESKTOP_SCHEMAS', gsettings_desktop_schemas_dep.found()) + + # *** libsynctex *** + synctex_dep = dependency('synctex', version: '>= 1.19', required: false) +-external_synctex = synctex_dep.found() ++external_synctex = false + + # *** Mime types list *** + mime_types_list = { +-- +2.26.3 + diff --git a/office/misc/evince/pspec.xml b/office/misc/evince/pspec.xml index f180035e12..666bff65af 100644 --- a/office/misc/evince/pspec.xml +++ b/office/misc/evince/pspec.xml @@ -13,7 +13,7 @@ app:gui A document viewer, built without GConf and GNOME keyring support Evince is a document viewer for multiple document formats. The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application. - mirrors://gnome/evince/3.38/evince-3.38.2.tar.xz + https://download.gnome.org/sources/evince/40/evince-40.1.tar.xz meson itstool @@ -29,13 +29,22 @@ libspectre-devel djvu-devel libICE-devel + gnome-desktop-devel gdk-pixbuf-devel poppler-glib-devel intltool + libhandy-devel libxml2-devel python3-devel gobject-introspection-devel + + gstreamer-devel + gst-plugins-base-devel + gsettings-desktop-schemas-devel + + 40.0-internal-synctex.patch + @@ -55,10 +64,14 @@ libarchive libICE libgxps + libhandy libsecret gdk-pixbuf libspectre poppler-glib + + gstreamer + gst-plugins-base /usr/bin @@ -102,6 +115,13 @@ + + 2021-05-05 + 40.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-04-23 3.38.2