summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2012-12-16 13:02:34 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2012-12-16 13:02:34 +0000
commit2e136106dcbb5fc480211bc644ab37a867ca3386 (patch)
treed8dbfc34e7ec782059ea85a6fa27237bf5ce9ad3 /app-text
parentVersion bump for Gnome 3.6. Add longdescription/upstream to metadata.xml. (diff)
downloadgentoo-2-2e136106dcbb5fc480211bc644ab37a867ca3386.tar.gz
gentoo-2-2e136106dcbb5fc480211bc644ab37a867ca3386.tar.bz2
gentoo-2-2e136106dcbb5fc480211bc644ab37a867ca3386.zip
Version bump for Gnome 3.6.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/evince/ChangeLog8
-rw-r--r--app-text/evince/evince-3.6.1.ebuild113
-rw-r--r--app-text/evince/files/evince-3.6.0-evince.desktop.patch26
-rw-r--r--app-text/evince/metadata.xml2
4 files changed, 146 insertions, 3 deletions
diff --git a/app-text/evince/ChangeLog b/app-text/evince/ChangeLog
index a68fe0e8cf72..14fa11801f27 100644
--- a/app-text/evince/ChangeLog
+++ b/app-text/evince/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/evince
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/evince/ChangeLog,v 1.252 2012/11/03 06:48:20 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/evince/ChangeLog,v 1.253 2012/12/16 13:02:34 eva Exp $
+
+*evince-3.6.1 (16 Dec 2012)
+
+ 16 Dec 2012; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/evince-3.6.0-evince.desktop.patch, +evince-3.6.1.ebuild, metadata.xml:
+ Version bump for Gnome 3.6.
03 Nov 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
evince-2.32.0-r4.ebuild, files/evince-2.32.0-gold.patch:
diff --git a/app-text/evince/evince-3.6.1.ebuild b/app-text/evince/evince-3.6.1.ebuild
new file mode 100644
index 000000000000..52c00569e8ec
--- /dev/null
+++ b/app-text/evince/evince-3.6.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-3.6.1.ebuild,v 1.1 2012/12/16 13:02:34 eva Exp $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit eutils gnome2
+if [[ ${PV} = 9999 ]]; then
+ inherit gnome2-live
+fi
+
+DESCRIPTION="Simple document viewer for GNOME"
+HOMEPAGE="http://www.gnome.org/projects/evince/"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="dbus debug djvu dvi gnome-keyring +introspection nautilus +postscript t1lib tiff xps"
+if [[ ${PV} = 9999 ]]; then
+ IUSE="${IUSE} doc"
+ KEYWORDS=""
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+# Since 2.26.2, can handle poppler without cairo support. Make it optional ?
+# not mature enough
+# atk used in libview
+# gdk-pixbuf used all over the place
+# libX11 used for totem-screensaver
+RDEPEND="
+ dev-libs/atk
+ >=dev-libs/glib-2.33:2
+ >=dev-libs/libxml2-2.5:2
+ sys-libs/zlib
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.0.2:3[introspection?]
+ x11-libs/libX11
+ >=x11-libs/libSM-1
+ x11-libs/libICE
+ gnome-base/gsettings-desktop-schemas
+ || (
+ >=x11-themes/gnome-icon-theme-2.17.1
+ >=x11-themes/hicolor-icon-theme-0.10 )
+ >=x11-libs/cairo-1.10
+ >=app-text/poppler-0.20[cairo]
+ djvu? ( >=app-text/djvu-3.5.17 )
+ dvi? (
+ virtual/tex-base
+ dev-libs/kpathsea
+ t1lib? ( >=media-libs/t1lib-5 ) )
+ gnome-keyring? ( >=gnome-base/gnome-keyring-2.22 )
+ introspection? ( >=dev-libs/gobject-introspection-1 )
+ nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
+ postscript? ( >=app-text/libspectre-0.2.0 )
+ tiff? ( >=media-libs/tiff-3.6:0 )
+ xps? ( >=app-text/libgxps-0.2.1 )
+"
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.3
+ sys-devel/gettext
+ >=dev-util/gtk-doc-am-1.13
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig"
+
+if [[ ${PV} = 9999 ]]; then
+ DEPEND="${DEPEND}
+ app-text/yelp-tools
+ doc? ( >=dev-util/gtk-doc-1.13 )"
+fi
+
+ELTCONF="--portage"
+
+# Needs dogtail and pyspi from http://fedorahosted.org/dogtail/
+# Releases: http://people.redhat.com/zcerza/dogtail/releases/
+RESTRICT="test"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-static
+ --disable-tests
+ --enable-pdf
+ --enable-comics
+ --enable-thumbnailer
+ --with-smclient=xsmp
+ --with-platform=gnome
+ $(use_enable dbus)
+ $(use_enable djvu)
+ $(use_enable dvi)
+ $(use_with gnome-keyring keyring)
+ $(use_enable introspection)
+ $(use_enable nautilus)
+ $(use_enable postscript ps)
+ $(use_enable t1lib)
+ $(use_enable tiff)
+ $(use_enable xps)"
+ [[ ${PV} != 9999 ]] && G2CONF="${G2CONF} ITSTOOL=$(type -P true)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_prepare() {
+ # Fix .desktop file so menu item shows up
+ epatch "${FILESDIR}"/${PN}-0.7.1-display-menu.patch
+
+ # Fix .desktop file categories, in 3.7
+ epatch "${FILESDIR}/${PN}-3.6.0-evince.desktop.patch"
+
+ gnome2_src_prepare
+ # Do not depend on gnome-icon-theme, bug #326855, #391859
+ sed -e 's/gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED//g' \
+ -i configure || die "sed failed"
+}
diff --git a/app-text/evince/files/evince-3.6.0-evince.desktop.patch b/app-text/evince/files/evince-3.6.0-evince.desktop.patch
new file mode 100644
index 000000000000..8fb729571385
--- /dev/null
+++ b/app-text/evince/files/evince-3.6.0-evince.desktop.patch
@@ -0,0 +1,26 @@
+From a9f7ae46f2ea3d78cb53db4f0aad69bc7d0d163a Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Fri, 12 Oct 2012 19:15:18 -0400
+Subject: [PATCH] evince.desktop: add 2DGraphics category
+
+Needed to pass validation with desktop-file-utils-0.20
+
+https://bugzilla.gnome.org/show_bug.cgi?id=686062
+---
+ data/evince.desktop.in.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/evince.desktop.in.in b/data/evince.desktop.in.in
+index 7106d97..e38497e 100644
+--- a/data/evince.desktop.in.in
++++ b/data/evince.desktop.in.in
+@@ -13,5 +13,5 @@ X-GNOME-Bugzilla-Bugzilla=GNOME
+ X-GNOME-Bugzilla-Product=evince
+ X-GNOME-Bugzilla-Component=BugBuddyBugs
+ X-GNOME-Bugzilla-Version=@VERSION@
+-Categories=GNOME;GTK;Office;Viewer;Graphics;VectorGraphics;
++Categories=GNOME;GTK;Office;Viewer;Graphics;2DGraphics;VectorGraphics;
+ MimeType=@EVINCE_MIME_TYPES@
+--
+1.7.12.3
+
diff --git a/app-text/evince/metadata.xml b/app-text/evince/metadata.xml
index 091a7f382ea4..de2706b6d4bc 100644
--- a/app-text/evince/metadata.xml
+++ b/app-text/evince/metadata.xml
@@ -6,8 +6,6 @@
<flag name="gnome">Enable the use of <pkg>gnome-base/gconf</pkg> to honour
lockdown settings</flag>
<flag name="dvi">Enable the built-in DVI viewer</flag>
- <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
- for introspection</flag>
<flag name="nautilus">Enable property page extension in <pkg>gnome-base/nautilus</pkg></flag>
<flag name="t1lib">Enable the Type-1 fonts for the built-in DVI viewer
(<pkg>media-libs/t1lib</pkg>)</flag>