diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /app-text/evince | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'app-text/evince')
-rw-r--r-- | app-text/evince/Manifest | 12 | ||||
-rw-r--r-- | app-text/evince/evince-3.36.10.ebuild | 2 | ||||
-rw-r--r-- | app-text/evince/evince-3.36.7.ebuild | 107 | ||||
-rw-r--r-- | app-text/evince/evince-40.0.ebuild | 131 | ||||
-rw-r--r-- | app-text/evince/evince-40.1.ebuild (renamed from app-text/evince/evince-3.36.9.ebuild) | 100 | ||||
-rw-r--r-- | app-text/evince/files/40.0-avoid-changing-soname.patch | 66 | ||||
-rw-r--r-- | app-text/evince/files/40.0-internal-synctex.patch | 28 |
7 files changed, 295 insertions, 151 deletions
diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest index ab9774360567..cd6afebae4c5 100644 --- a/app-text/evince/Manifest +++ b/app-text/evince/Manifest @@ -1,8 +1,10 @@ AUX 3.30.2-internal-synctex.patch 964 BLAKE2B cce1d02b40b18a23773985e2d9f39b1782e56ee9e032d625e51796723a2ad43e3cb9083055bcbc10438cb70b15e7c7c6737db3d7276db1e02b19127c5d75e527 SHA512 f1a98d09a0fee6add7a5a44d756ceaa003cbb3840e74a513c1f01ad6826ee4136cc5b862b675401371951468f1cdb2e5137158c44801a0c9ebe79c60951b8fbd +AUX 40.0-avoid-changing-soname.patch 2136 BLAKE2B 3e9c25711ab9e5e83f3e9407fb03f8259c6bc035e384d1394319df987584cbd71dfe2970a503d0d7939ec4f7744bae498466a34512a35e1b4c1f2e783f621eaf SHA512 c723fce354f0a034f2ad4846d4b9f637f4985a03bdb7caef348328c74ab9488ef3d2f2204583248e35e0d8a27456b7327ac2e8e0ca14e0ab92e8db25e0197dda +AUX 40.0-internal-synctex.patch 921 BLAKE2B d970afe7dd3ac16d7f285baeb157bba0271a6816326a17527d91b68d481d23ed3ad982211c07c412a61157d17cecafa591cc80482ec22abad3ce29101068bbd5 SHA512 703d9b5ca4e718660fe5af2d59a60b3187beda965e3a7b6eeaf1f7bf61013f3acde54b0ba89c8b493b1f0b1950cd52893ff1fb00a74c6d97645df29a1829902c DIST evince-3.36.10.tar.xz 2430584 BLAKE2B 7c8b5e3dec7168f4ab6976022bb85041fd8cc9f55b8c032bbf03cf492d243dc49f00d6913c1f2f09498c1b4091b4be126a9367dd3ed235635e9d08e6a9ae5a0d SHA512 2a17fc1fbd18e2685c254194d0e195ec0c6126f37212ae64297fb06f30f2e07f926cb768affb4d5c9c407c4dfc43db3578ffd244c9a6e121d1d3c9b5e653b4d2 -DIST evince-3.36.7.tar.xz 2580208 BLAKE2B 76ba6d206289f9981af24e5d82c9567c05984ad71efe83391aa1f8fdd94d31c284e600cf81eab9868e01f120f71cde1ae9b6ee6b7a4b1da47458d17b95b78d87 SHA512 dacc26d2d75c3dcadceb0a35c995ae3501bd91e84632cdf87decd359350e74032444707ea152e24c01fb57fe0ef2a426813a33919833cefdeb8699f8c642d910 -DIST evince-3.36.9.tar.xz 2429740 BLAKE2B 7154d473561955df9be545bbda520034e7de1556ea241dd30833ac014af2bb20fc3ef1d7fe6777cdcfab90553eb3f0562e1452df62c1c1eeb6b47b5bb64298bf SHA512 54f2dfc287fa627e1474c4bb23e6127bc5daa7044c2158805e5af487b7d65e776da9b86adbb83ec63fad3ce4c339f57483a3a2d7b95ad14de2dc76e29a29a8fb -EBUILD evince-3.36.10.ebuild 3084 BLAKE2B e6e11a3ac3b73977fa9c0f1b8dff67a9009a596520004ec77c1553bedf473a4db2e138a6f5694057ea935180d6c4f54c4c717af39e774eadfb791ac42bb8a087 SHA512 945e1e90ac2a93bdb7d4e8556429c0a5810be6e50a5f3d437daf6c62057e0d1224b455c851db6b258876e10f48c85f652524f2a4edc6f4c50051a61b3dd8d1f6 -EBUILD evince-3.36.7.ebuild 3133 BLAKE2B d178be50e5460d9d834cbb0b940c19541570fc4b2de8439b06c44db95685ef7e66a95e88c8e42b30b05461586bfbec3188053a7a98fe781d4c514e7aca8cdd0d SHA512 74a824eddcd0caf3c5a87432535bdc779fe1f328baa10f6d3ad3483d4b8e38eaff561785e1920413ee8e4955b259c2755b17ae15b6e2ab0a077d779dd84b7740 -EBUILD evince-3.36.9.ebuild 3085 BLAKE2B 2a03f08a70a2601cf8d7bfec6407467e894c5e90abb44f95bf85c8153cdb08ab15035f4e092329cb381b18724002fcfcde179ce98fc28e9f7a9b5dd95a966998 SHA512 f47f5d5ce87b54ac71d319186b8de8092dad584d8035e98488e63ba62f8c18f9a566e46f777c8dd559a24f6f887340814d529927e3c4b87a94e7a4baeb7246da +DIST evince-40.0.tar.xz 2928668 BLAKE2B 852c532b595f50e849893670b536b5b8c25f0407a719cbe659faa3f72b51f43a0471c3df9197fa5bd11735c14e0779d8cf28a88cd79aabec4dffa797443b9819 SHA512 995693e4a6e1a3bb31e1d4f3538dc53519102a5a6afa58ba61454a1e2ca582df26bd368876210fce6fab8ff4e218305644fa7a7a88c99e1a1ca5bda8d8f1ece2 +DIST evince-40.1.tar.xz 2928924 BLAKE2B e9376c186da9fed132b820b2e9a1ef6bb0997f22abca3d7b271691291ea4870132b48075ada5a992e056193e6af51bdf95e6bbdac79c789475fb985d692f9ccc SHA512 c688ee962cfff8b024b572161bae689d25b5b566ac623abeff38b4b8e6e541ce343023ed2c1ba0df1f65d6ec9a631aac3a748c940db556dbb89ab45ac565147d +EBUILD evince-3.36.10.ebuild 3083 BLAKE2B ff940dcedd304464ba5cb06451aa14a1c8943d45f616532e93eeca3b5f6399ff9f6949c676473646f9c4f5d863086dc1388800077022afde3497feb5bd09027e SHA512 58b7f5b0013c9fb6af17e9782dc5b9738412c5bb6c63e744ec66018e4a25dc5b997d5bd75b9e165b4df0f1eed781ea310a8005c1116e11b23f5abca5d92e01a9 +EBUILD evince-40.0.ebuild 3281 BLAKE2B 5fee649a184d6340a05f80503d4737f5a4b58f6aed88b805324a988c4bba0177a909a42fcc0d6f8cc8f6f488edbd2f75f43909968a343de60e6b2f02158ec2ef SHA512 9d2a0a6eba4cfb68a07d5ccfcac21dceb42799fc3b921f67358685d5d86b1281d68615ca820993b5d9567c4111e9befd55d03e06007f4b09e59ffcd65dd292fa +EBUILD evince-40.1.ebuild 3237 BLAKE2B 7d9d95e411fadc2e13e198e70570ebad650ab1d8de08de3845cb733398a47d95235b6ef0b0fd237e0358e3b253565f6bd239917134e5e047120a2edb4ac4bd61 SHA512 cfd61d25977419401c8599b1fbefab1f233e7cebc06e990053fedcd93884f2151385598b8e29676884c35d1b5314a052700389d1c120e843e904934a91354fab MISC metadata.xml 881 BLAKE2B 180e93316fad8f1bf7b80028a86c18964e695c93292b724e864ed50f3fbd951f810fd490b91944f30e42f632ce090dbe34aadf9679b2e62c118aa75b7b0ea834 SHA512 ece377a284a548444c185a7c1fa4c36546709ec00754d066eb4186fba0f079de60b02dcb75f3fd101d50c8ea8f4d4d654d7efd0d8ff8db7b2b85c097c18b43c5 diff --git a/app-text/evince/evince-3.36.10.ebuild b/app-text/evince/evince-3.36.10.ebuild index 64014ae0e5a1..8a39036dc003 100644 --- a/app-text/evince/evince-3.36.10.ebuild +++ b/app-text/evince/evince-3.36.10.ebuild @@ -13,7 +13,7 @@ LICENSE="GPL-2+ CC-BY-SA-3.0" # subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) SLOT="0/evd3.4-evv3.3" IUSE="djvu dvi gstreamer gnome gnome-keyring +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" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" # atk used in libview # bundles unarr diff --git a/app-text/evince/evince-3.36.7.ebuild b/app-text/evince/evince-3.36.7.ebuild deleted file mode 100644 index c58451165d69..000000000000 --- a/app-text/evince/evince-3.36.7.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GNOME2_LA_PUNT="yes" -GNOME2_EAUTORECONF="yes" - -inherit gnome2 systemd - -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="djvu dvi gstreamer gnome gnome-keyring +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 -COMMON_DEPEND=" - dev-libs/atk - >=dev-libs/glib-2.38.0:2 - >=dev-libs/libxml2-2.5:2 - sys-libs/zlib:= - >=x11-libs/gdk-pixbuf-2.36.5:2 - >=x11-libs/gtk+-3.22.0:3[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? ( - virtual/tex-base - 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="${COMMON_DEPEND} - gnome-base/gvfs - gnome-base/librsvg - || ( - >=x11-themes/adwaita-icon-theme-2.17.1 - >=x11-themes/hicolor-icon-theme-0.10 ) -" -DEPEND="${COMMON_DEPEND} - app-text/docbook-xml-dtd:4.3 - dev-libs/appstream-glib - dev-util/gdbus-codegen - dev-util/glib-utils - >=dev-util/gtk-doc-am-1.13 - dev-util/itstool - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig - app-text/yelp-tools -" -# eautoreconf needs: -# app-text/yelp-tools - -PATCHES=( - "${FILESDIR}"/3.30.2-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf -) - -src_prepare() { - gnome2_src_prepare - - # Do not depend on adwaita-icon-theme, bug #326855, #391859 - # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7 - sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \ - -i configure || die "sed failed" -} - -src_configure() { - gnome2_src_configure \ - --disable-static \ - --enable-pdf \ - --enable-comics \ - --enable-thumbnailer \ - --with-platform=gnome \ - --enable-dbus \ - $(use_enable djvu) \ - $(use_enable dvi) \ - $(use_enable gstreamer multimedia) \ - $(use_enable gnome libgnome-desktop) \ - $(use_with gnome-keyring keyring) \ - $(use_enable introspection) \ - $(use_enable nautilus) \ - $(use_enable nsplugin browser-plugin) \ - $(use_enable postscript ps) \ - $(use_with spell gspell) \ - $(use_enable t1lib) \ - $(use_enable tiff) \ - $(use_enable xps) \ - BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \ - --with-systemduserunitdir="$(systemd_get_userunitdir)" -} diff --git a/app-text/evince/evince-40.0.ebuild b/app-text/evince/evince-40.0.ebuild new file mode 100644 index 000000000000..6236265c87f2 --- /dev/null +++ b/app-text/evince/evince-40.0.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome.org meson systemd + +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} + gnome-base/gvfs + gnome-base/librsvg + || ( + >=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 + "${FILESDIR}"/40.0-avoid-changing-soname.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 + + # https://gitlab.gnome.org/GNOME/evince/-/merge_requests/336 + sed -i -e 's:T1_initLib:T1_InitLib:' meson.build || die +} + +src_configure() { + local emesonargs=( + -Dplatform=gnome + + -Dviewer=true + -Dpreviewer=false + -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-3.36.9.ebuild b/app-text/evince/evince-40.1.ebuild index 55eb01fe8865..05e5b8fd667b 100644 --- a/app-text/evince/evince-3.36.9.ebuild +++ b/app-text/evince/evince-40.1.ebuild @@ -2,9 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -GNOME2_EAUTORECONF="yes" -inherit gnome2 systemd +inherit gnome.org meson systemd xdg DESCRIPTION="Simple document viewer for GNOME" HOMEPAGE="https://wiki.gnome.org/Apps/Evince" @@ -12,25 +11,26 @@ 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="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin postscript spell t1lib tiff xps" +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.38.0:2 + >=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.36.5:2 - >=x11-libs/gtk+-3.22.0:3[introspection?] + >=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? ( - virtual/tex-base + >=app-text/libspectre-0.2:= dev-libs/kpathsea:= t1lib? ( >=media-libs/t1lib-5:= ) ) gstreamer? ( @@ -51,56 +51,80 @@ RDEPEND="${DEPEND} gnome-base/librsvg || ( >=x11-themes/adwaita-icon-theme-2.17.1 - >=x11-themes/hicolor-icon-theme-0.10 ) + >=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/gtk-doc-am-1.13 dev-util/itstool >=sys-devel/gettext-0.19.8 virtual/pkgconfig - app-text/yelp-tools " -# eautoreconf needs: -# app-text/yelp-tools PATCHES=( - "${FILESDIR}"/3.30.2-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf + "${FILESDIR}"/40.0-internal-synctex.patch ) src_prepare() { - gnome2_src_prepare + default # Do not depend on adwaita-icon-theme, bug #326855, #391859 # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7 - sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \ - -i configure || die "sed failed" + sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die + + # https://gitlab.gnome.org/GNOME/evince/-/merge_requests/336 + sed -i -e 's:T1_initLib:T1_InitLib:' meson.build || die } src_configure() { - gnome2_src_configure \ - --disable-static \ - --enable-pdf \ - --enable-comics \ - --enable-thumbnailer \ - --with-platform=gnome \ - --enable-dbus \ - $(use_enable djvu) \ - $(use_enable dvi) \ - $(use_enable gstreamer multimedia) \ - $(use_enable gnome libgnome-desktop) \ - $(use_with gnome-keyring keyring) \ - $(use_enable introspection) \ - $(use_enable nautilus) \ - $(use_enable nsplugin browser-plugin) \ - $(use_enable postscript ps) \ - $(use_with spell gspell) \ - $(use_enable t1lib) \ - $(use_enable tiff) \ - $(use_enable xps) \ - BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \ - --with-systemduserunitdir="$(systemd_get_userunitdir)" + local emesonargs=( + -Dplatform=gnome + + -Dviewer=true + -Dpreviewer=false + -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/40.0-avoid-changing-soname.patch b/app-text/evince/files/40.0-avoid-changing-soname.patch new file mode 100644 index 000000000000..6742d967b10c --- /dev/null +++ b/app-text/evince/files/40.0-avoid-changing-soname.patch @@ -0,0 +1,66 @@ +From ca4b7aaff690095971de96370317fdf1bcd3af8f Mon Sep 17 00:00:00 2001 +From: Kalev Lember <klember@redhat.com> +Date: Fri, 26 Mar 2021 14:48:51 +0100 +Subject: [PATCH] Avoid changing soname + +Bumping the major version to 40 in commit +288be740b5bbb59757db5038ab435ceb7a334dcf inadvertently changed the +soname for shared libevdocument and libevview. + +Fix this by making the soname calculation independent from the project +version as the library ABI hasn't actually changed. +--- + libdocument/meson.build | 2 +- + libview/meson.build | 2 +- + meson.build | 4 ++-- + 3 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/libdocument/meson.build b/libdocument/meson.build +index 74fe2fb1..e09de7fc 100644 +--- a/libdocument/meson.build ++++ b/libdocument/meson.build +@@ -138,7 +138,7 @@ cflags = [ + ] + + libevdocument = shared_library( +- 'evdocument' + ev_major_version.to_string(), ++ 'evdocument3', + version: ev_document_version, + sources: sources + enum_sources + [version_header], + include_directories: top_inc, +diff --git a/libview/meson.build b/libview/meson.build +index 20179aff..74c86d51 100644 +--- a/libview/meson.build ++++ b/libview/meson.build +@@ -82,7 +82,7 @@ if enable_multimedia + endif + + libevview = shared_library( +- 'evview' + ev_major_version.to_string(), ++ 'evview3', + version: ev_view_version, + sources: sources + marshal_sources + enum_sources, + include_directories: top_inc, +diff --git a/meson.build b/meson.build +index 1ed37e96..cafb9023 100644 +--- a/meson.build ++++ b/meson.build +@@ -43,13 +43,13 @@ ev_document_version = '@0@.@1@.@2@'.format(ev_document_current, ev_document_revi + ev_document_current_minus_age = ev_document_current - ev_document_age + + # Libtool version of the view library +-ev_view_current = ev_major_version ++ev_view_current = 3 + ev_view_revision = 0 + ev_view_age = 0 + ev_view_version = '@0@.@1@.@2@'.format(ev_view_current, ev_view_revision, ev_view_age) + ev_view_current_minus_age = ev_view_current - ev_view_age + +-ev_api_version = '@0@.0'.format(ev_major_version) ++ev_api_version = '3.0' + + ev_include_subdir = join_paths(ev_name, ev_api_version) + +-- +GitLab + 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 000000000000..8c45548c639a --- /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 <mattst88@gmail.com> +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 + |