From bf468147e3cc625e3397db6801504fba23fcd52b Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sun, 18 Jul 2021 22:24:07 -0400 Subject: app-text/evince: bump --- app-text/evince/Manifest | 2 +- app-text/evince/evince-40.3-r1.ebuild | 125 --------------------- app-text/evince/evince-40.4-r1.ebuild | 125 +++++++++++++++++++++ .../evince/files/3.30.2-internal-synctex.patch | 28 ----- app-text/evince/files/40.0-internal-synctex.patch | 28 +++++ 5 files changed, 154 insertions(+), 154 deletions(-) delete mode 100644 app-text/evince/evince-40.3-r1.ebuild create mode 100644 app-text/evince/evince-40.4-r1.ebuild delete mode 100644 app-text/evince/files/3.30.2-internal-synctex.patch create mode 100644 app-text/evince/files/40.0-internal-synctex.patch diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest index ce55adc..57fec11 100644 --- a/app-text/evince/Manifest +++ b/app-text/evince/Manifest @@ -1 +1 @@ -DIST evince-40.3.tar.xz 2928396 BLAKE2B 00129c036a6b01efa44b7a72587e51d2399f4f262a0c38026e0797a44992675ef04861c869b81772774aad63e8ffd1453ab25c382fed6ad4759e899af41dd82f SHA512 cf0c5468121ba952df3e16682a29ec2e46e0796f3c51c347c75a0385ab528af28bdecc907e7a30087efa1d5d1b6a794416fdecdb995b2cc062e657b2368bc4e7 +DIST evince-40.4.tar.xz 2928100 BLAKE2B 491b2333e21093b032ec9c4f24c61cdaa31e4a46ee058b0f109b0998fb7216ada2c933e6202eae1d6193caad0cfa94a77434ef042555bab7cf4aeed959be759b SHA512 dbec3828f1e8f0b9b48dd90ce605ce83312e53cbeb8f8e7358c1318f1701680a69a9bcd26b7cf1da4b53679ae11e334ce514f5df4c5bbcc976581441e0d654cd diff --git a/app-text/evince/evince-40.3-r1.ebuild b/app-text/evince/evince-40.3-r1.ebuild deleted file mode 100644 index daf016b..0000000 --- a/app-text/evince/evince-40.3-r1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit gnome.org meson systemd xdg - -DESCRIPTION="Simple document viewer for GNOME" -HOMEPAGE="https://wiki.gnome.org/Apps/Evince" - -LICENSE="GPL-2+ CC-BY-SA-3.0" -# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) -SLOT="0/evd3.4-evv3.3" -IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus nsplugin postscript spell t1lib tiff xps" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" - -# atk used in libview -# bundles unarr -DEPEND=" - dev-libs/atk - >=dev-libs/glib-2.44.0:2 - >=gui-libs/libhandy-1.0:1= - >=dev-libs/libxml2-2.5:2 - sys-libs/zlib:= - >=x11-libs/gdk-pixbuf-2.40:2 - >=x11-libs/gtk+-3.22.0:3[cups?,introspection?] - gnome-base/gsettings-desktop-schemas - >=x11-libs/cairo-1.10:= - >=app-text/poppler-0.76.0[cairo] - >=app-arch/libarchive-3.2.0 - djvu? ( >=app-text/djvu-3.5.22:= ) - dvi? ( - >=app-text/libspectre-0.2:= - dev-libs/kpathsea:= - t1lib? ( >=media-libs/t1lib-5:= ) ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - media-libs/gst-plugins-good:1.0 ) - gnome? ( gnome-base/gnome-desktop:3= ) - gnome-keyring? ( >=app-crypt/libsecret-0.5 ) - introspection? ( >=dev-libs/gobject-introspection-1:= ) - nautilus? ( >=gnome-base/nautilus-3.28.0 ) - postscript? ( >=app-text/libspectre-0.2:= ) - spell? ( >=app-text/gspell-1.6.0:= ) - tiff? ( >=media-libs/tiff-3.6:0= ) - xps? ( >=app-text/libgxps-0.2.1:= ) -" -RDEPEND="${DEPEND} - || ( - >=x11-themes/adwaita-icon-theme-2.17.1 - >=x11-themes/hicolor-icon-theme-0.10 - ) -" -BDEPEND=" - gtk-doc? ( >=dev-util/gtk-doc-1.33 ) - app-text/docbook-xml-dtd:4.3 - dev-libs/appstream-glib - dev-util/gdbus-codegen - dev-util/glib-utils - dev-util/itstool - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/40.0-internal-synctex.patch -) - -src_prepare() { - default - - # Do not depend on adwaita-icon-theme, bug #326855, #391859 - # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7 - sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die -} - -src_configure() { - local emesonargs=( - -Dplatform=gnome - - -Dviewer=true - -Dpreviewer=true - -Dthumbnailer=true - $(meson_use nsplugin browser_plugin) - $(meson_use nautilus) - - -Dcomics=enabled - $(meson_feature djvu) - $(meson_feature dvi) - -Dpdf=enabled - $(meson_feature postscript ps) - $(meson_feature tiff) - $(meson_feature xps) - - $(meson_use gtk-doc gtk_doc) - -Duser_doc=true - $(meson_use introspection) - -Ddbus=true - $(meson_feature gnome-keyring keyring) - $(meson_feature cups gtk_unix_print) - $(meson_feature gnome thumbnail_cache) - $(meson_feature gstreamer multimedia) - $(meson_feature spell gspell) - - $(meson_feature t1lib) - - -Dbrowser_plugin_dir="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" - -Dsystemduserunitdir="$(systemd_get_userunitdir)" - - ) - meson_src_configure -} - -src_compile() { - meson_src_compile -} - -src_test() { - meson_src_test -} - -src_install() { - meson_src_install -} diff --git a/app-text/evince/evince-40.4-r1.ebuild b/app-text/evince/evince-40.4-r1.ebuild new file mode 100644 index 0000000..daf016b --- /dev/null +++ b/app-text/evince/evince-40.4-r1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome.org meson systemd xdg + +DESCRIPTION="Simple document viewer for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Evince" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) +SLOT="0/evd3.4-evv3.3" +IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus nsplugin postscript spell t1lib tiff xps" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" + +# atk used in libview +# bundles unarr +DEPEND=" + dev-libs/atk + >=dev-libs/glib-2.44.0:2 + >=gui-libs/libhandy-1.0:1= + >=dev-libs/libxml2-2.5:2 + sys-libs/zlib:= + >=x11-libs/gdk-pixbuf-2.40:2 + >=x11-libs/gtk+-3.22.0:3[cups?,introspection?] + gnome-base/gsettings-desktop-schemas + >=x11-libs/cairo-1.10:= + >=app-text/poppler-0.76.0[cairo] + >=app-arch/libarchive-3.2.0 + djvu? ( >=app-text/djvu-3.5.22:= ) + dvi? ( + >=app-text/libspectre-0.2:= + dev-libs/kpathsea:= + t1lib? ( >=media-libs/t1lib-5:= ) ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/gst-plugins-good:1.0 ) + gnome? ( gnome-base/gnome-desktop:3= ) + gnome-keyring? ( >=app-crypt/libsecret-0.5 ) + introspection? ( >=dev-libs/gobject-introspection-1:= ) + nautilus? ( >=gnome-base/nautilus-3.28.0 ) + postscript? ( >=app-text/libspectre-0.2:= ) + spell? ( >=app-text/gspell-1.6.0:= ) + tiff? ( >=media-libs/tiff-3.6:0= ) + xps? ( >=app-text/libgxps-0.2.1:= ) +" +RDEPEND="${DEPEND} + || ( + >=x11-themes/adwaita-icon-theme-2.17.1 + >=x11-themes/hicolor-icon-theme-0.10 + ) +" +BDEPEND=" + gtk-doc? ( >=dev-util/gtk-doc-1.33 ) + app-text/docbook-xml-dtd:4.3 + dev-libs/appstream-glib + dev-util/gdbus-codegen + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/40.0-internal-synctex.patch +) + +src_prepare() { + default + + # Do not depend on adwaita-icon-theme, bug #326855, #391859 + # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7 + sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die +} + +src_configure() { + local emesonargs=( + -Dplatform=gnome + + -Dviewer=true + -Dpreviewer=true + -Dthumbnailer=true + $(meson_use nsplugin browser_plugin) + $(meson_use nautilus) + + -Dcomics=enabled + $(meson_feature djvu) + $(meson_feature dvi) + -Dpdf=enabled + $(meson_feature postscript ps) + $(meson_feature tiff) + $(meson_feature xps) + + $(meson_use gtk-doc gtk_doc) + -Duser_doc=true + $(meson_use introspection) + -Ddbus=true + $(meson_feature gnome-keyring keyring) + $(meson_feature cups gtk_unix_print) + $(meson_feature gnome thumbnail_cache) + $(meson_feature gstreamer multimedia) + $(meson_feature spell gspell) + + $(meson_feature t1lib) + + -Dbrowser_plugin_dir="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" + -Dsystemduserunitdir="$(systemd_get_userunitdir)" + + ) + meson_src_configure +} + +src_compile() { + meson_src_compile +} + +src_test() { + meson_src_test +} + +src_install() { + meson_src_install +} diff --git a/app-text/evince/files/3.30.2-internal-synctex.patch b/app-text/evince/files/3.30.2-internal-synctex.patch deleted file mode 100644 index 16ef50e..0000000 --- a/app-text/evince/files/3.30.2-internal-synctex.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a4a831f998d513c6d01394d9b106aa42faf60dd3 Mon Sep 17 00:00:00 2001 -From: Mart Raudsepp -Date: Sat, 23 Feb 2019 21:05:28 +0200 -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. ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 13bdd600..e5334319 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -539,7 +539,7 @@ GOBJECT_INTROSPECTION_CHECK([1.0]) - - dnl ================== libsynctex =========================================== - --PKG_CHECK_MODULES(SYNCTEX, [synctex >= $SYNCTEX_REQUIRED], has_synctex=system, has_synctex=internal) -+has_synctex=internal - - dnl not found? use internal code copy. - if test "x$has_synctex" = "xinternal"; then --- -2.17.0 - diff --git a/app-text/evince/files/40.0-internal-synctex.patch b/app-text/evince/files/40.0-internal-synctex.patch new file mode 100644 index 0000000..8c45548 --- /dev/null +++ b/app-text/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 + -- cgit v1.2.3