diff options
Diffstat (limited to 'app-text/atril')
-rw-r--r-- | app-text/atril/Manifest | 10 | ||||
-rw-r--r-- | app-text/atril/atril-1.12.2-r5.ebuild | 96 | ||||
-rw-r--r-- | app-text/atril/atril-1.14.2-r2.ebuild | 98 | ||||
-rw-r--r-- | app-text/atril/atril-1.16.1-r2.ebuild | 96 | ||||
-rw-r--r-- | app-text/atril/atril-1.18.3.ebuild | 89 | ||||
-rw-r--r-- | app-text/atril/files/atril-cve-2017-1000083.patch | 28 | ||||
-rw-r--r-- | app-text/atril/metadata.xml | 23 |
7 files changed, 440 insertions, 0 deletions
diff --git a/app-text/atril/Manifest b/app-text/atril/Manifest new file mode 100644 index 000000000000..7a8f585db2dd --- /dev/null +++ b/app-text/atril/Manifest @@ -0,0 +1,10 @@ +AUX atril-cve-2017-1000083.patch 902 BLAKE2B d2840c3cd00f7961262c9b9256a594be77b598cd44fd27064336721f422f5ab315382d9917981a6a5b33b08d100fd32edb19cb54bea1f70f074064dd72af036e SHA512 b34d4cd356b6b0466e77bd837ea03aa5ff9d922f61b0f317fcd02b6d0b0c3efd87fa07ec442a9ee5d71f767751e4ebaa8bbcf6c1a3b0b5905a7610872fbb7d06 +DIST atril-1.12.2.tar.xz 1663920 BLAKE2B 7fa615a3d19fe33b086676d2326d690b5d6c694679a7e934ecf8922ad73aa83eb2ffb6c16aaf776e1d3798c3fa93fa844f52382b9eb9aa813cc6686395a4114e SHA512 2ceeda42adeb284a25caff3a69d15a231129988fb410e4d502a281ccf5819307b9963722a2e330307a1c3b15d3c82405b708d983ed1c266e091a35264766e6ec +DIST atril-1.14.2.tar.xz 1703272 BLAKE2B e02fee02ad8644be9ea2c388f24c9f9e3480a68ae86bba41939e4fa195626189f9e6d93b97ea4b9d4a256f72ffc3d604f69fe4222c00a385f9d4ad9ac3a8e337 SHA512 9f77abe43848a3a35df1484edef4a6bbc6339f82b0d8e9f3c149c44fd632f2720acf24bcc1354b944c5c364fc4ce1d70b733c1ec5bc40b1a17041e59acf7bd9b +DIST atril-1.16.1.tar.xz 1691456 BLAKE2B 5fccac614c64e7241ce0369842e97379c98df00f12d61524291afea22eebf18777ec2550592d734ff38aa64b92cbfa6350d11823a043337c6a7ee4b52757989f SHA512 69128171f13f50079b0b40bfada868967c289b5970e3cda3454f10e7cf723000ab29290c7c9ada67648c370472fd51eeb0a8dbbfa0af05babfc85cb28e3570fe +DIST atril-1.18.3.tar.xz 1695960 BLAKE2B 2479ddd46104153631d34070054e9ba72956468c7b720aa5dc3c4a458a00cc00484cdfefb01981f2e8beeb7a13f1fc3db940dcc9a728863a1378b5b896e71e57 SHA512 d57cf4386651cb871455b003482e896a2735fb023e0b11f192ed1d169e364306f9ba55ef163df02ffd236b5f86d6afe2c1068d00d3fbc309807ded729ce2355a +EBUILD atril-1.12.2-r5.ebuild 2382 BLAKE2B ec25ced8e7a2cd8a016a610f25934f6a7d3d51331837b9080698290a2a5d1efcc121c5bc4b5c250e497e6c445801ad83b8acfdadf05b0446bc46745a7682c9da SHA512 c5ba364d84fc7eaca092b67abeba1ba7b1fba69c2eba9b25c222d2bd90eb340e45013186ff7d1049fc80d0b073ed17cc7a28a019112cbdb82b5eaade6f2281eb +EBUILD atril-1.14.2-r2.ebuild 2424 BLAKE2B 08574d5d036b9d82b488eb2eb22b51c45589966b66a1ea098ddbe6549f9aff4502b54e9fa16ed286409ba36a7d06a7db5c5bdce3a6cafb2f309e59dd1cd1eda5 SHA512 08a36e6834962d26061983ec642e1ef6b2ed5ef6b2acf581d760cd3bc7d4ef1b77e6b04242c030bf5c0431b48abaad0ae252f41996d1bbe6c418354bbdf545bd +EBUILD atril-1.16.1-r2.ebuild 2361 BLAKE2B 976f440938df2ccbc05556b1ff48113467c6e37cd9ffe807b5c57d63bf9fe89de764862516856a08b040667fdbb1239961bea0cc343644e283919846e915d171 SHA512 b12c4cd1992f30ce6a33df8e0bb063afa3ebdc292ff9226fa63adae17642beb1a7f7ce1437238c745c0faab79d0b761d29251df4a022c68854d39962c321df0c +EBUILD atril-1.18.3.ebuild 2166 BLAKE2B 317b5a70b879cef4660947239602677c1667140775381b94e16b76074cd675cd29e7f4af3ecd3521083f3d3163fd18dddac3863275b1252e8983d5d82ba29e27 SHA512 6c49d6f01717382a81807ad5b2bbb5c56a0b162492166c3a781051efaeb6ee1205fa448daaddc6ac71744d65c95d25e143ee972c177883c3fef39fdfa54dcee9 +MISC metadata.xml 843 BLAKE2B 85c02a872255c9b51727285c86f1f5df7c8b841576557ba7bbc240cc3e549ddf1f681e1c9f416785650d7d9e3168e4db06ca52ce61e50a47fe6660a73e97dc92 SHA512 9248d2446621337488268f0c7f839821383bba8d170620376cb95b96868448fc3bc411e336104f59db0d8bb5d304dc1c0b76ef818686b930c93a04764e9f4fdc diff --git a/app-text/atril/atril-1.12.2-r5.ebuild b/app-text/atril/atril-1.12.2-r5.ebuild new file mode 100644 index 000000000000..582095d7761e --- /dev/null +++ b/app-text/atril/atril-1.12.2-r5.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" + +inherit mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="amd64 ~arm x86" +fi + +DESCRIPTION="Atril document viewer for MATE" +LICENSE="GPL-2" +SLOT="0" + +IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring gtk3 +postscript t1lib tiff xps" + +REQUIRED_USE="t1lib? ( dvi ) + !gtk3? ( !epub )" #608604 + +RDEPEND=">=app-text/poppler-0.16[cairo] + app-text/rarian:0 + dev-libs/atk:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libxml2-2.5:2 + >=mate-base/mate-desktop-1.9[gtk3(-)=] + sys-libs/zlib:0 + x11-libs/gdk-pixbuf:2 + x11-libs/libICE:0 + >=x11-libs/libSM-1:0 + x11-libs/libX11:0 + >=x11-libs/cairo-1.9.10:0 + x11-libs/pango:0 + caja? ( >=mate-base/caja-1.8[gtk3(-)=,introspection?] ) + djvu? ( >=app-text/djvu-3.5.17:0 ) + dvi? ( + virtual/tex-base:0 + t1lib? ( >=media-libs/t1lib-5:5 ) + ) + epub? ( dev-libs/mathjax ) + gnome-keyring? ( >=app-crypt/libsecret-0.5:0 ) + !gtk3? ( + >=x11-libs/gtk+-2.24.0:2[introspection?] + ) + gtk3? ( + >=x11-libs/gtk+-3.0:3[introspection?] + epub? ( >=net-libs/webkit-gtk-2.4.3:4 ) + ) + introspection? ( >=dev-libs/gobject-introspection-0.6:= ) + postscript? ( >=app-text/libspectre-0.2:0 ) + tiff? ( >=media-libs/tiff-3.6:0 ) + xps? ( >=app-text/libgxps-0.2.0:0 ) + !!app-text/mate-document-viewer" + +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/yelp-tools:0 + >=app-text/scrollkeeper-dtd-1:1.0 + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + virtual/pkgconfig:* + sys-devel/gettext:*" + +# Tests use dogtail which is not available on Gentoo. +RESTRICT="test" + +FILES=( "${FILESDIR}/${PN}-cve-2017-1000083.patch" ) + +src_configure() { + # Passing --disable-help would drop offline help, that would be inconsistent + # with helps of the most of GNOME apps that doesn't require network for that. + mate_src_configure \ + --disable-tests \ + --enable-comics \ + --enable-pdf \ + --enable-pixbuf \ + --enable-previewer \ + --enable-thumbnailer \ + --with-matedesktop \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with gnome-keyring keyring) \ + $(use_enable caja) \ + $(use_enable dbus) \ + $(use_enable debug) \ + $(use_enable djvu) \ + $(use_enable dvi) \ + $(use_enable epub) \ + $(use_enable introspection) \ + $(use_enable postscript ps) \ + $(use_enable t1lib) \ + $(use_enable tiff) \ + $(use_enable xps) +} diff --git a/app-text/atril/atril-1.14.2-r2.ebuild b/app-text/atril/atril-1.14.2-r2.ebuild new file mode 100644 index 000000000000..d3ef2efb7e21 --- /dev/null +++ b/app-text/atril/atril-1.14.2-r2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" + +inherit mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Atril document viewer for MATE" +LICENSE="GPL-2" +SLOT="0" + +IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring gtk3 +postscript t1lib tiff xps" + +REQUIRED_USE="t1lib? ( dvi ) + !gtk3? ( !epub )" #608604 + +COMMON_DEPEND=">=app-text/poppler-0.16[cairo] + dev-libs/atk:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libxml2-2.5:2 + >=mate-base/mate-desktop-1.9[gtk3(-)=] + sys-libs/zlib:0 + x11-libs/gdk-pixbuf:2 + x11-libs/libICE:0 + >=x11-libs/libSM-1:0 + x11-libs/libX11:0 + >=x11-libs/cairo-1.9.10:0 + x11-libs/pango:0 + caja? ( >=mate-base/caja-1.8[gtk3(-)=,introspection?] ) + djvu? ( >=app-text/djvu-3.5.17:0 ) + dvi? ( + virtual/tex-base:0 + t1lib? ( >=media-libs/t1lib-5:5 ) + ) + epub? ( dev-libs/mathjax ) + gnome-keyring? ( >=app-crypt/libsecret-0.5:0 ) + !gtk3? ( + >=x11-libs/gtk+-2.24.0:2[introspection?] + ) + gtk3? ( + >=x11-libs/gtk+-3.0:3[introspection?] + epub? ( >=net-libs/webkit-gtk-2.4.3:4 ) + ) + introspection? ( >=dev-libs/gobject-introspection-0.6:= ) + postscript? ( >=app-text/libspectre-0.2:0 ) + tiff? ( >=media-libs/tiff-3.6:0 ) + xps? ( >=app-text/libgxps-0.2.0:0 ) + !!app-text/mate-document-viewer" + +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/rarian:0 + app-text/yelp-tools:0 + >=app-text/scrollkeeper-dtd-1:1.0 + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + virtual/pkgconfig:* + sys-devel/gettext:*" + +# Tests use dogtail which is not available on Gentoo. +RESTRICT="test" + +FILES=( "${FILESDIR}/${PN}-cve-2017-1000083.patch" ) + +src_configure() { + # Passing --disable-help would drop offline help, that would be inconsistent + # with helps of the most of GNOME apps that doesn't require network for that. + mate_src_configure \ + --disable-tests \ + --enable-comics \ + --enable-pdf \ + --enable-pixbuf \ + --enable-previewer \ + --enable-thumbnailer \ + --with-matedesktop \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with gnome-keyring keyring) \ + $(use_enable caja) \ + $(use_enable dbus) \ + $(use_enable debug) \ + $(use_enable djvu) \ + $(use_enable dvi) \ + $(use_enable epub) \ + $(use_enable introspection) \ + $(use_enable postscript ps) \ + $(use_enable t1lib) \ + $(use_enable tiff) \ + $(use_enable xps) +} diff --git a/app-text/atril/atril-1.16.1-r2.ebuild b/app-text/atril/atril-1.16.1-r2.ebuild new file mode 100644 index 000000000000..41128c94216b --- /dev/null +++ b/app-text/atril/atril-1.16.1-r2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" + +inherit mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Atril document viewer for MATE" +LICENSE="GPL-2" +SLOT="0" + +IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring gtk3 +postscript t1lib tiff xps" + +REQUIRED_USE="t1lib? ( dvi ) + !gtk3? ( !epub )" #608604 + +COMMON_DEPEND=">=app-text/poppler-0.22[cairo] + dev-libs/atk:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libxml2-2.5:2 + sys-libs/zlib:0 + x11-libs/gdk-pixbuf:2 + x11-libs/libICE:0 + >=x11-libs/libSM-1:0 + x11-libs/libX11:0 + >=x11-libs/cairo-1.9.10:0 + x11-libs/pango:0 + caja? ( >=mate-base/caja-1.8[gtk3(-)=,introspection?] ) + djvu? ( >=app-text/djvu-3.5.17:0 ) + dvi? ( + virtual/tex-base:0 + t1lib? ( >=media-libs/t1lib-5:5 ) + ) + epub? ( dev-libs/mathjax ) + gnome-keyring? ( >=app-crypt/libsecret-0.5:0 ) + !gtk3? ( + >=x11-libs/gtk+-2.24.0:2[introspection?] + ) + gtk3? ( + >=x11-libs/gtk+-3.0:3[introspection?] + epub? ( >=net-libs/webkit-gtk-2.4.3:4 ) + ) + introspection? ( >=dev-libs/gobject-introspection-0.6:= ) + postscript? ( >=app-text/libspectre-0.2:0 ) + tiff? ( >=media-libs/tiff-3.6:0 ) + xps? ( >=app-text/libgxps-0.2.1:0 ) + !!app-text/mate-document-viewer" + +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/rarian:0 + app-text/yelp-tools:0 + >=app-text/scrollkeeper-dtd-1:1.0 + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + virtual/pkgconfig:* + sys-devel/gettext:*" + +# Tests use dogtail which is not available on Gentoo. +RESTRICT="test" + +FILES=( "${FILESDIR}/${PN}-cve-2017-1000083.patch" ) + +src_configure() { + # Passing --disable-help would drop offline help, that would be inconsistent + # with helps of the most of GNOME apps that doesn't require network for that. + mate_src_configure \ + --disable-tests \ + --enable-comics \ + --enable-pdf \ + --enable-pixbuf \ + --enable-previewer \ + --enable-thumbnailer \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with gnome-keyring keyring) \ + $(use_enable caja) \ + $(use_enable dbus) \ + $(use_enable debug) \ + $(use_enable djvu) \ + $(use_enable dvi) \ + $(use_enable epub) \ + $(use_enable introspection) \ + $(use_enable postscript ps) \ + $(use_enable t1lib) \ + $(use_enable tiff) \ + $(use_enable xps) +} diff --git a/app-text/atril/atril-1.18.3.ebuild b/app-text/atril/atril-1.18.3.ebuild new file mode 100644 index 000000000000..e4db37226f49 --- /dev/null +++ b/app-text/atril/atril-1.18.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MATE_LA_PUNT="yes" + +inherit mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="Atril document viewer for MATE" +LICENSE="GPL-2" +SLOT="0" + +IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring +postscript t1lib tiff xps" + +REQUIRED_USE="t1lib? ( dvi )" + +COMMON_DEPEND=">=app-text/poppler-0.22[cairo] + dev-libs/atk:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libxml2-2.5:2 + sys-libs/zlib:0 + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.14:3[introspection?] + x11-libs/libICE:0 + >=x11-libs/libSM-1:0 + x11-libs/libX11:0 + >=x11-libs/cairo-1.9.10:0 + x11-libs/pango:0 + caja? ( >=mate-base/caja-1.17.1[introspection?] ) + djvu? ( >=app-text/djvu-3.5.17:0 ) + dvi? ( + virtual/tex-base:0 + t1lib? ( >=media-libs/t1lib-5:5 ) + ) + epub? ( + dev-libs/mathjax + >=net-libs/webkit-gtk-2.4.3:4 + ) + gnome-keyring? ( >=app-crypt/libsecret-0.5:0 ) + introspection? ( >=dev-libs/gobject-introspection-0.6:= ) + postscript? ( >=app-text/libspectre-0.2:0 ) + tiff? ( >=media-libs/tiff-3.6:0 ) + xps? ( >=app-text/libgxps-0.2.1:0 ) + !!app-text/mate-document-viewer" + +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/rarian:0 + app-text/yelp-tools:0 + >=app-text/scrollkeeper-dtd-1:1.0 + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.50.1:* + virtual/pkgconfig:* + sys-devel/gettext:*" + +# Tests use dogtail which is not available on Gentoo. +RESTRICT="test" + +src_configure() { + # Passing --disable-help would drop offline help, that would be inconsistent + # with helps of the most of GNOME apps that doesn't require network for that. + mate_src_configure \ + --disable-tests \ + --enable-comics \ + --enable-pdf \ + --enable-pixbuf \ + --enable-previewer \ + --enable-thumbnailer \ + $(use_with gnome-keyring keyring) \ + $(use_enable caja) \ + $(use_enable dbus) \ + $(use_enable debug) \ + $(use_enable djvu) \ + $(use_enable dvi) \ + $(use_enable epub) \ + $(use_enable introspection) \ + $(use_enable postscript ps) \ + $(use_enable t1lib) \ + $(use_enable tiff) \ + $(use_enable xps) +} diff --git a/app-text/atril/files/atril-cve-2017-1000083.patch b/app-text/atril/files/atril-cve-2017-1000083.patch new file mode 100644 index 000000000000..29c81f7e5424 --- /dev/null +++ b/app-text/atril/files/atril-cve-2017-1000083.patch @@ -0,0 +1,28 @@ +From f4291fd62f7dfe6460d2406a979ccfac0c68dd59 Mon Sep 17 00:00:00 2001 +From: ZenWalker <scow@riseup.net> +Date: Wed, 19 Jul 2017 11:00:09 +0200 +Subject: [PATCH] comics: make the files containing "--checkpoint-action=" + unsupported + +Fixes #257 +--- + backend/comics/comics-document.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c +index 9f945c6..4d4d293 100644 +--- a/backend/comics/comics-document.c ++++ b/backend/comics/comics-document.c +@@ -983,6 +983,12 @@ extract_argv (EvDocument *document, gint page) + char *command_line, *quoted_archive, *quoted_filename; + GError *err = NULL; + ++ if (g_strrstr (comics_document->page_names->pdata[page], "--checkpoint-action=")) ++ { ++ g_warning ("File unsupported\n"); ++ gtk_main_quit (); ++ } ++ + if (page >= comics_document->page_names->len) + return NULL; + diff --git a/app-text/atril/metadata.xml b/app-text/atril/metadata.xml new file mode 100644 index 000000000000..8c1303cd8bc9 --- /dev/null +++ b/app-text/atril/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>mate@gentoo.org</email> + <name>Gentoo MATE Desktop</name> + </maintainer> + <use> + <flag name="caja">Enable property page extension in + <pkg>mate-base/caja</pkg></flag> + <flag name="dvi">Enable build-in DVI viewer</flag> + <flag name="epub">Enable build-in DVI viewer using + <pkg>net-libs/webkit-gtk</pkg></flag> + <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag> + <flag name="t1lib">Enable the Type-1 fonts for the build-in DVI viewer + (<pkg>media-libs/t1lib</pkg>)</flag> + <flag name="xps">Enable XPS viewer using + <pkg>app-text/libgxps</pkg></flag> + </use> + <upstream> + <remote-id type="github">mate-desktop/atril</remote-id> + </upstream> +</pkgmetadata> |