Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/evince: evince-3.2.1-r1.ebuild ChangeLog
Date: Wed, 23 Nov 2011 20:35:37
Message-Id: 20111123203527.DFC6E2004B@flycatcher.gentoo.org
1 tetromino 11/11/23 20:35:27
2
3 Modified: ChangeLog
4 Added: evince-3.2.1-r1.ebuild
5 Log:
6 Add patches to fix libgxps-0.2 and texlive-2011 support.
7
8 (Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.233 app-text/evince/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/evince/ChangeLog?rev=1.233&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/evince/ChangeLog?rev=1.233&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/evince/ChangeLog?r1=1.232&r2=1.233
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/evince/ChangeLog,v
20 retrieving revision 1.232
21 retrieving revision 1.233
22 diff -u -r1.232 -r1.233
23 --- ChangeLog 16 Nov 2011 10:56:14 -0000 1.232
24 +++ ChangeLog 23 Nov 2011 20:35:27 -0000 1.233
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/evince
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/evince/ChangeLog,v 1.232 2011/11/16 10:56:14 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/evince/ChangeLog,v 1.233 2011/11/23 20:35:27 tetromino Exp $
30 +
31 +*evince-3.2.1-r1 (23 Nov 2011)
32 +
33 + 23 Nov 2011; Alexandre Rostovtsev <tetromino@g.o>
34 + +evince-3.2.1-r1.ebuild, +files/evince-3.2.1-libgxps-0.2.patch:
35 + Add patches to fix libgxps-0.2 and texlive-2011 support.
36
37 16 Nov 2011; Justin Lecher <jlec@g.o> evince-2.32.0-r2.ebuild,
38 evince-2.32.0-r3.ebuild, evince-3.2.1.ebuild:
39
40
41
42 1.1 app-text/evince/evince-3.2.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/evince/evince-3.2.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/evince/evince-3.2.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: evince-3.2.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-3.2.1-r1.ebuild,v 1.1 2011/11/23 20:35:27 tetromino Exp $
52
53 EAPI="4"
54 GCONF_DEBUG="yes"
55 GNOME2_LA_PUNT="yes"
56
57 inherit eutils gnome2
58
59 DESCRIPTION="Simple document viewer for GNOME"
60 HOMEPAGE="http://www.gnome.org/projects/evince/"
61
62 SRC_URI="${SRC_URI}
63 http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}-synctex-1.17.patch.bz2"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 IUSE="dbus debug djvu doc dvi gnome-keyring +introspection nautilus t1lib tiff xps"
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
69
70 # Since 2.26.2, can handle poppler without cairo support. Make it optional ?
71 # not mature enough
72 # atk used in libview
73 # gdk-pixbuf used all over the place
74 # libX11 used for totem-screensaver
75 RDEPEND="
76 >=app-text/libspectre-0.2.0
77 dev-libs/atk
78 >=dev-libs/glib-2.25.11:2
79 >=dev-libs/libxml2-2.5:2
80 sys-libs/zlib
81 x11-libs/gdk-pixbuf:2
82 >=x11-libs/gtk+-3.0.2:3[introspection?]
83 x11-libs/libX11
84 >=x11-libs/libSM-1
85 x11-libs/libICE
86 gnome-base/gsettings-desktop-schemas
87 || (
88 >=x11-themes/gnome-icon-theme-2.17.1
89 >=x11-themes/hicolor-icon-theme-0.10 )
90 >=x11-libs/cairo-1.10.0
91 >=app-text/poppler-0.16[cairo]
92 djvu? ( >=app-text/djvu-3.5.17 )
93 dvi? (
94 virtual/tex-base
95 dev-libs/kpathsea
96 t1lib? ( >=media-libs/t1lib-5.0.0 ) )
97 gnome-keyring? ( >=gnome-base/gnome-keyring-2.22.0 )
98 introspection? ( >=dev-libs/gobject-introspection-0.6 )
99 nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
100 tiff? ( >=media-libs/tiff-3.6:0 )
101 xps? ( >=app-text/libgxps-0.2.0 )
102 "
103 DEPEND="${RDEPEND}
104 app-text/scrollkeeper
105 >=app-text/gnome-doc-utils-0.3.2
106 ~app-text/docbook-xml-dtd-4.1.2
107 >=dev-util/pkgconfig-0.9
108 sys-devel/gettext
109 >=dev-util/intltool-0.35
110 >=dev-util/gtk-doc-am-1.13
111 doc? ( >=dev-util/gtk-doc-1.13 )"
112
113 ELTCONF="--portage"
114
115 # Needs dogtail and pyspi from http://fedorahosted.org/dogtail/
116 # Releases: http://people.redhat.com/zcerza/dogtail/releases/
117 RESTRICT="test"
118
119 pkg_setup() {
120 # Passing --disable-help would drop offline help, that would be inconsistent
121 # with helps of the most of Gnome apps that doesn't require network for that.
122 G2CONF="${G2CONF}
123 --disable-schemas-compile
124 --disable-scrollkeeper
125 --disable-static
126 --disable-tests
127 --enable-pdf
128 --enable-comics
129 --enable-thumbnailer
130 --with-smclient=xsmp
131 --with-platform=gnome
132 --enable-help
133 $(use_enable dbus)
134 $(use_enable djvu)
135 $(use_enable dvi)
136 $(use_with gnome-keyring keyring)
137 $(use_enable introspection)
138 $(use_enable nautilus)
139 $(use_enable t1lib)
140 $(use_enable tiff)
141 $(use_enable xps)"
142 DOCS="AUTHORS ChangeLog NEWS README TODO"
143 }
144
145 src_prepare() {
146 # Do not depend on gnome-icon-theme, bug #326855
147 sed 's/gnome-icon-theme//' -i configure.ac || die "sed failed"
148
149 # Fix .desktop file so menu item shows up
150 epatch "${FILESDIR}"/${PN}-0.7.1-display-menu.patch
151
152 # Upstream patch to fix texlive-2011 compatibility, will be in next release
153 epatch "../${P}-synctex-1.17.patch"
154
155 # Patch from upstream git master branch to fix libgxps-0.2 compatibility
156 epatch "${FILESDIR}/${PN}-3.2.1-libgxps-0.2.patch"
157
158 gnome2_src_prepare
159 }