diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /app-text/evince | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'app-text/evince')
| -rw-r--r-- | app-text/evince/Manifest | 3 | ||||
| -rw-r--r-- | app-text/evince/evince-48.0-r2.ebuild | 126 | ||||
| -rw-r--r-- | app-text/evince/evince-48.1-r1.ebuild | 130 | ||||
| -rw-r--r-- | app-text/evince/evince-48.1.ebuild | 126 | ||||
| -rw-r--r-- | app-text/evince/evince-48.4.ebuild | 126 | ||||
| -rw-r--r-- | app-text/evince/files/evince-48.1-CVE-2026-46529.patch | 76 | ||||
| -rw-r--r-- | app-text/evince/metadata.xml | 17 |
7 files changed, 604 insertions, 0 deletions
diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest new file mode 100644 index 000000000000..d67ad1254378 --- /dev/null +++ b/app-text/evince/Manifest @@ -0,0 +1,3 @@ +DIST evince-48.0.tar.xz 2942540 BLAKE2B ee3a557b5b9fb5d830961a19822ec02c8c9ec58eea7b6952aeef4aecc7e739387006bfec64f9643463c5960a8c00d8f683f29ad68b3e4925526133164f91b76a SHA512 bae616989f339e4d4204e8bb3eafd2d05d5a16a4fe3e658fbdbb2d92c541b75edc1afe89d624f9d0345ffe181598b6b9315f1902d5c5cc34419fd714eb65dfdf +DIST evince-48.1.tar.xz 2942692 BLAKE2B 1939bc509ab5834d89882bc69c17ae142289b52ccb1f420d15cfb6495f9da99461d9980a8ff85a5a6be49cfa77a301a58450dd1d39f2a561b33a3e2715360e22 SHA512 bb17c2d769180d6bb4008d4110104aebb47f10594c32ccd8e6075ccec12ab43e962e41cba9d4b927c399e4e779766c0822968c46d891beb509817db0bfe2ea08 +DIST evince-48.4.tar.xz 2940896 BLAKE2B 6adf4891e3b5b5d2827a772b74f62d128c5248171682d7afe1ecb924f43f32acd8aa1f0e4584b08e407e985310f090bb1d28b4f285ae5cc42588cc0fe92dd2e3 SHA512 8f9f4928407e7e699b5615066da2d373881cff27fae11adb2f7b86298c7fa745cacf3b10d713c5e43ed678bb26411fca28faaf61ab0fea10dbcfcd40bd71a7e1 diff --git a/app-text/evince/evince-48.0-r2.ebuild b/app-text/evince/evince-48.0-r2.ebuild new file mode 100644 index 000000000000..1dcb405de2c3 --- /dev/null +++ b/app-text/evince/evince-48.0-r2.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gnome.org gnome2-utils meson systemd xdg + +DESCRIPTION="Simple document viewer for GNOME" +HOMEPAGE="https://apps.gnome.org/Evince/" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) +SLOT="0/evd3.4-evv3.3" +KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~x64-solaris" +IUSE="X cups djvu dvi gstreamer gnome keyring gtk-doc +introspection postscript spell tiff wayland xps" +REQUIRED_USE="gtk-doc? ( introspection )" + +# atk used in libview +# bundles unarr +DEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + >=dev-libs/glib-2.44.0:2 + >=gui-libs/libhandy-1.5.0:1 + >=dev-libs/libxml2-2.5:2= + virtual/zlib:= + >=x11-libs/gdk-pixbuf-2.40:2 + >=x11-libs/gtk+-3.22.0:3[X?,cups?,introspection?,wayland?] + gnome-base/gsettings-desktop-schemas + >=x11-libs/cairo-1.10 + >=app-text/poppler-22.05.0:=[cairo] + >=app-arch/libarchive-3.6.0:= + djvu? ( >=app-text/djvu-3.5.22:= ) + dvi? ( + >=app-text/libspectre-0.2:= + dev-libs/kpathsea:= + ) + 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= ) + keyring? ( >=app-crypt/libsecret-0.5 ) + introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) + postscript? ( >=app-text/libspectre-0.2:= ) + spell? ( >=app-text/gspell-1.6.0:= ) + tiff? ( >=media-libs/tiff-4.0:= ) + xps? ( >=app-text/libgxps-0.2.1:= ) +" +RDEPEND="${DEPEND} + gnome-base/gvfs + gnome-base/librsvg +" +BDEPEND=" + gtk-doc? ( + >=dev-util/gi-docgen-2021.1 + app-text/docbook-xml-dtd:4.3 + ) + dev-libs/appstream-glib + >=dev-util/gdbus-codegen-2.80.5-r1 + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + default + xdg_environment_reset +} + +src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND + + local emesonargs=( + -Ddevelopment=false + -Dplatform=gnome + + -Dviewer=true + -Dpreviewer=true + -Dthumbnailer=true + -Dnautilus=false + + -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 keyring) + $(meson_feature cups gtk_unix_print) + $(meson_feature gnome thumbnail_cache) + $(meson_feature gstreamer multimedia) + $(meson_feature spell gspell) + + -Dinternal_synctex=true + + -Dsystemduserunitdir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/{libevdocument,libevview} "${ED}"/usr/share/gtk-doc/html/ || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/app-text/evince/evince-48.1-r1.ebuild b/app-text/evince/evince-48.1-r1.ebuild new file mode 100644 index 000000000000..80a589535f54 --- /dev/null +++ b/app-text/evince/evince-48.1-r1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gnome.org gnome2-utils meson systemd xdg + +DESCRIPTION="Simple document viewer for GNOME" +HOMEPAGE="https://apps.gnome.org/Evince/" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) +SLOT="0/evd3.4-evv3.3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~x64-solaris" +IUSE="X cups djvu dvi gstreamer gnome keyring gtk-doc +introspection postscript spell tiff xps wayland" +REQUIRED_USE="gtk-doc? ( introspection )" + +# atk used in libview +# bundles unarr +DEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + >=dev-libs/glib-2.44.0:2 + >=gui-libs/libhandy-1.5.0:1 + >=dev-libs/libxml2-2.5:2= + virtual/zlib:= + >=x11-libs/gdk-pixbuf-2.40:2 + >=x11-libs/gtk+-3.22.0:3[X?,cups?,introspection?,wayland?] + gnome-base/gsettings-desktop-schemas + >=x11-libs/cairo-1.10 + >=app-text/poppler-22.05.0:=[cairo] + >=app-arch/libarchive-3.6.0:= + djvu? ( >=app-text/djvu-3.5.22:= ) + dvi? ( + >=app-text/libspectre-0.2:= + dev-libs/kpathsea:= + ) + 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= ) + keyring? ( >=app-crypt/libsecret-0.5 ) + introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) + postscript? ( >=app-text/libspectre-0.2:= ) + spell? ( >=app-text/gspell-1.6.0:= ) + tiff? ( >=media-libs/tiff-4.0:= ) + xps? ( >=app-text/libgxps-0.2.1:= ) +" +RDEPEND="${DEPEND} + gnome-base/gvfs + gnome-base/librsvg +" +BDEPEND=" + gtk-doc? ( + >=dev-util/gi-docgen-2021.1 + app-text/docbook-xml-dtd:4.3 + ) + dev-libs/appstream-glib + >=dev-util/gdbus-codegen-2.80.5-r1 + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-48.1-CVE-2026-46529.patch +) + +src_prepare() { + default + xdg_environment_reset +} + +src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND + + local emesonargs=( + -Ddevelopment=false + -Dplatform=gnome + + -Dviewer=true + -Dpreviewer=true + -Dthumbnailer=true + -Dnautilus=false + + -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 keyring) + $(meson_feature cups gtk_unix_print) + $(meson_feature gnome thumbnail_cache) + $(meson_feature gstreamer multimedia) + $(meson_feature spell gspell) + + -Dinternal_synctex=true + + -Dsystemduserunitdir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/{libevdocument,libevview} "${ED}"/usr/share/gtk-doc/html/ || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/app-text/evince/evince-48.1.ebuild b/app-text/evince/evince-48.1.ebuild new file mode 100644 index 000000000000..8d25b9b4b7e9 --- /dev/null +++ b/app-text/evince/evince-48.1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gnome.org gnome2-utils meson systemd xdg + +DESCRIPTION="Simple document viewer for GNOME" +HOMEPAGE="https://apps.gnome.org/Evince/" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) +SLOT="0/evd3.4-evv3.3" +KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~x64-solaris" +IUSE="X cups djvu dvi gstreamer gnome keyring gtk-doc +introspection postscript spell tiff xps wayland" +REQUIRED_USE="gtk-doc? ( introspection )" + +# atk used in libview +# bundles unarr +DEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + >=dev-libs/glib-2.44.0:2 + >=gui-libs/libhandy-1.5.0:1 + >=dev-libs/libxml2-2.5:2= + virtual/zlib:= + >=x11-libs/gdk-pixbuf-2.40:2 + >=x11-libs/gtk+-3.22.0:3[X?,cups?,introspection?,wayland?] + gnome-base/gsettings-desktop-schemas + >=x11-libs/cairo-1.10 + >=app-text/poppler-22.05.0:=[cairo] + >=app-arch/libarchive-3.6.0:= + djvu? ( >=app-text/djvu-3.5.22:= ) + dvi? ( + >=app-text/libspectre-0.2:= + dev-libs/kpathsea:= + ) + 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= ) + keyring? ( >=app-crypt/libsecret-0.5 ) + introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) + postscript? ( >=app-text/libspectre-0.2:= ) + spell? ( >=app-text/gspell-1.6.0:= ) + tiff? ( >=media-libs/tiff-4.0:= ) + xps? ( >=app-text/libgxps-0.2.1:= ) +" +RDEPEND="${DEPEND} + gnome-base/gvfs + gnome-base/librsvg +" +BDEPEND=" + gtk-doc? ( + >=dev-util/gi-docgen-2021.1 + app-text/docbook-xml-dtd:4.3 + ) + dev-libs/appstream-glib + >=dev-util/gdbus-codegen-2.80.5-r1 + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + default + xdg_environment_reset +} + +src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND + + local emesonargs=( + -Ddevelopment=false + -Dplatform=gnome + + -Dviewer=true + -Dpreviewer=true + -Dthumbnailer=true + -Dnautilus=false + + -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 keyring) + $(meson_feature cups gtk_unix_print) + $(meson_feature gnome thumbnail_cache) + $(meson_feature gstreamer multimedia) + $(meson_feature spell gspell) + + -Dinternal_synctex=true + + -Dsystemduserunitdir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/{libevdocument,libevview} "${ED}"/usr/share/gtk-doc/html/ || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/app-text/evince/evince-48.4.ebuild b/app-text/evince/evince-48.4.ebuild new file mode 100644 index 000000000000..ca584055672b --- /dev/null +++ b/app-text/evince/evince-48.4.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gnome.org gnome2-utils meson systemd xdg + +DESCRIPTION="Simple document viewer for GNOME" +HOMEPAGE="https://apps.gnome.org/Evince/" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) +SLOT="0/evd3.4-evv3.3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~x64-solaris" +IUSE="X cups djvu dvi gstreamer gnome keyring gtk-doc +introspection postscript spell tiff xps wayland" +REQUIRED_USE="gtk-doc? ( introspection )" + +# atk used in libview +# bundles unarr +DEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + >=dev-libs/glib-2.44.0:2 + >=gui-libs/libhandy-1.5.0:1 + >=dev-libs/libxml2-2.5:2= + virtual/zlib:= + >=x11-libs/gdk-pixbuf-2.40:2 + >=x11-libs/gtk+-3.22.0:3[X?,cups?,introspection?,wayland?] + gnome-base/gsettings-desktop-schemas + >=x11-libs/cairo-1.10 + >=app-text/poppler-22.05.0:=[cairo] + >=app-arch/libarchive-3.6.0:= + djvu? ( >=app-text/djvu-3.5.29:= ) + dvi? ( + >=app-text/libspectre-0.2:= + dev-libs/kpathsea:= + ) + 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= ) + keyring? ( >=app-crypt/libsecret-0.5 ) + introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) + postscript? ( >=app-text/libspectre-0.2:= ) + spell? ( >=app-text/gspell-1.6.0:= ) + tiff? ( >=media-libs/tiff-4.0:= ) + xps? ( >=app-text/libgxps-0.2.1:= ) +" +RDEPEND="${DEPEND} + gnome-base/gvfs + gnome-base/librsvg +" +BDEPEND=" + gtk-doc? ( + >=dev-util/gi-docgen-2021.1 + app-text/docbook-xml-dtd:4.3 + ) + dev-libs/appstream-glib + >=dev-util/gdbus-codegen-2.80.5-r1 + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + default + xdg_environment_reset +} + +src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND + + local emesonargs=( + -Ddevelopment=false + -Dplatform=gnome + + -Dviewer=true + -Dpreviewer=true + -Dthumbnailer=true + -Dnautilus=false + + -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 keyring) + $(meson_feature cups gtk_unix_print) + $(meson_feature gnome thumbnail_cache) + $(meson_feature gstreamer multimedia) + $(meson_feature spell gspell) + + -Dinternal_synctex=true + + -Dsystemduserunitdir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/{libevdocument,libevview} "${ED}"/usr/share/gtk-doc/html/ || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/app-text/evince/files/evince-48.1-CVE-2026-46529.patch b/app-text/evince/files/evince-48.1-CVE-2026-46529.patch new file mode 100644 index 000000000000..32cdfda16eb5 --- /dev/null +++ b/app-text/evince/files/evince-48.1-CVE-2026-46529.patch @@ -0,0 +1,76 @@ +https://bugs.gentoo.org/975515 +https://gitlab.gnome.org/GNOME/evince/-/commit/970c219e861a5fcc3e7b9e05bedf18cf0de39245 + +From 970c219e861a5fcc3e7b9e05bedf18cf0de39245 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Germ=C3=A1n=20Poo-Caama=C3=B1o?= <gpoo@gnome.org> +Date: Mon, 18 May 2026 16:25:13 -0400 +Subject: [PATCH] shell: quote strings in arguments used when calling ev_spawn + +When spawning a new instance, it is good practice to sanitize the +arguments given to Evince, as those arguments may come from an +untrusted source. We want to avoid those values could become +unintended flags by the child process. + +Fixes #2153 +--- + shell/ev-application.c | 20 ++++++++++++++------ + 1 file changed, 14 insertions(+), 6 deletions(-) + +diff --git a/shell/ev-application.c b/shell/ev-application.c +index 001d21438..e35a5ef5f 100644 +--- a/shell/ev-application.c ++++ b/shell/ev-application.c +@@ -154,7 +154,7 @@ ev_spawn (const char *uri, + guint timestamp) + { + GString *cmd; +- gchar *path, *cmdline; ++ gchar *path, *cmdline, *quoted; + GAppInfo *app; + GError *error = NULL; + +@@ -179,10 +179,13 @@ ev_spawn (const char *uri, + /* Page label */ + if (dest) { + switch (ev_link_dest_get_dest_type (dest)) { +- case EV_LINK_DEST_TYPE_PAGE_LABEL: ++ case EV_LINK_DEST_TYPE_PAGE_LABEL: { ++ quoted = g_shell_quote (ev_link_dest_get_page_label (dest)); + g_string_append_printf (cmd, " --page-label=%s", +- ev_link_dest_get_page_label (dest)); ++ quoted); ++ g_free (quoted); + break; ++ } + case EV_LINK_DEST_TYPE_PAGE: + case EV_LINK_DEST_TYPE_XYZ: + case EV_LINK_DEST_TYPE_FIT: +@@ -192,10 +195,13 @@ ev_spawn (const char *uri, + g_string_append_printf (cmd, " --page-index=%d", + ev_link_dest_get_page (dest) + 1); + break; +- case EV_LINK_DEST_TYPE_NAMED: ++ case EV_LINK_DEST_TYPE_NAMED: { ++ quoted = g_shell_quote (ev_link_dest_get_named_dest (dest)); + g_string_append_printf (cmd, " --named-dest=%s", +- ev_link_dest_get_named_dest (dest)); ++ quoted); ++ g_free (quoted); + break; ++ } + default: + break; + } +@@ -203,7 +209,9 @@ ev_spawn (const char *uri, + + /* Find string */ + if (search_string) { +- g_string_append_printf (cmd, " --find=%s", search_string); ++ quoted = g_shell_quote (search_string); ++ g_string_append_printf (cmd, " --find=%s", quoted); ++ g_free (quoted); + } + + /* Mode */ +-- +GitLab diff --git a/app-text/evince/metadata.xml b/app-text/evince/metadata.xml new file mode 100644 index 000000000000..6000ebc0a0cf --- /dev/null +++ b/app-text/evince/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <use> + <flag name="dvi">Enable the built-in DVI viewer</flag> + <flag name="postscript" restrict=">=app-text/evince-3.26">Enable support for PostScript and Adobe Illustrator documents with <pkg>app-text/libspectre</pkg></flag> + <flag name="spell">Enable inline spell check for annotations via <pkg>app-text/gspell</pkg></flag> + <flag name="xps">Enable XPS viewer using <pkg>app-text/libgxps</pkg></flag> + </use> + <upstream> + <remote-id type="gnome-gitlab">GNOME/evince</remote-id> + </upstream> +</pkgmetadata> |
