From: | "Kevin McCarthy (signals)" <signals@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/pornview: ChangeLog pornview-0.2.0_pre1-r2.ebuild |
Date: | Fri, 25 Feb 2011 19:53:55 |
Message-Id: | 20110225195346.2CD5820054@flycatcher.gentoo.org |
1 | signals 11/02/25 19:53:46 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pornview-0.2.0_pre1-r2.ebuild |
5 | Log: |
6 | Fix 325879. Drop mplayer use flag. Revbump |
7 | |
8 | (Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.39 media-gfx/pornview/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/pornview/ChangeLog?rev=1.39&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/pornview/ChangeLog?rev=1.39&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/pornview/ChangeLog?r1=1.38&r2=1.39 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-gfx/pornview/ChangeLog,v |
20 | retrieving revision 1.38 |
21 | retrieving revision 1.39 |
22 | diff -u -r1.38 -r1.39 |
23 | --- ChangeLog 25 Feb 2011 19:16:17 -0000 1.38 |
24 | +++ ChangeLog 25 Feb 2011 19:53:46 -0000 1.39 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for media-gfx/pornview |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/ChangeLog,v 1.38 2011/02/25 19:16:17 scarabeus Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/ChangeLog,v 1.39 2011/02/25 19:53:46 signals Exp $ |
30 | + |
31 | +*pornview-0.2.0_pre1-r2 (25 Feb 2011) |
32 | + |
33 | + 25 Feb 2011; Kevin McCarthy <signals@g.o> |
34 | + +pornview-0.2.0_pre1-r2.ebuild: |
35 | + Disable gcc optimization in comment.c to fix #325879. Revbump for |
36 | + runtime fix. Drop mplayer use flag. |
37 | |
38 | 25 Feb 2011; Tomáš Chvátal <scarabeus@g.o> |
39 | pornview-0.2.0_pre1-r1.ebuild: |
40 | |
41 | |
42 | |
43 | 1.1 media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: pornview-0.2.0_pre1-r2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/pornview-0.2.0_pre1-r2.ebuild,v 1.1 2011/02/25 19:53:46 signals Exp $ |
53 | |
54 | EAPI=3 |
55 | |
56 | inherit eutils toolchain-funcs |
57 | |
58 | DESCRIPTION="Image viewer/manager with optional support for MPEG movies." |
59 | HOMEPAGE="http://pornview.sourceforge.net" |
60 | SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.gz" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 -hppa ~ppc ~x86" |
65 | IUSE="exif nls" |
66 | |
67 | RDEPEND="media-libs/libpng |
68 | virtual/jpeg |
69 | exif? ( media-gfx/exiv2 ) |
70 | >=x11-libs/gtk+-2" |
71 | DEPEND="${RDEPEND} |
72 | dev-util/pkgconfig |
73 | nls? ( sys-devel/gettext )" |
74 | |
75 | S=${WORKDIR}/${P/_/} |
76 | |
77 | src_prepare() { |
78 | epatch "${FILESDIR}"/${P}-4.diff \ |
79 | "${FILESDIR}"/traypatch.diff \ |
80 | "${FILESDIR}"/${P}-desktop-entry.patch \ |
81 | "${FILESDIR}"/${P}-new-gtk-object-system.diff \ |
82 | "${FILESDIR}"/${P}-fix-array-boundaries.patch \ |
83 | "${FILESDIR}"/${P}-fix-segfault-comment.patch |
84 | #Bug 325879 |
85 | sed -i -e '1i #pragma GCC optimize ("O0")' src/comment.c || die |
86 | } |
87 | |
88 | src_configure() { |
89 | tc-export CC |
90 | econf \ |
91 | --with-gtk2 \ |
92 | $(use_enable exif) \ |
93 | $(use_enable nls) |
94 | } |
95 | |
96 | src_install() { |
97 | emake DESTDIR="${D}" desktopdir="/usr/share/applications" \ |
98 | install || die "emake install failed." |
99 | dodoc AUTHORS NEWS README |
100 | } |