Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/shutter: shutter-0.88.ebuild ChangeLog
Date: Sat, 26 Nov 2011 16:52:10
Message-Id: 20111126165201.15C3C2004B@flycatcher.gentoo.org
1 hwoarang 11/11/26 16:52:01
2
3 Modified: ChangeLog
4 Added: shutter-0.88.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.26 x11-misc/shutter/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/shutter/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 25 Oct 2011 16:39:05 -0000 1.25
24 +++ ChangeLog 26 Nov 2011 16:52:00 -0000 1.26
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/shutter
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/shutter/ChangeLog,v 1.25 2011/10/25 16:39:05 phajdan.jr Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/shutter/ChangeLog,v 1.26 2011/11/26 16:52:00 hwoarang Exp $
30 +
31 +*shutter-0.88 (26 Nov 2011)
32 +
33 + 26 Nov 2011; Markos Chandras <hwoarang@g.o> +shutter-0.88.ebuild:
34 + version bump
35
36 25 Oct 2011; Pawel Hajdan jr <phajdan.jr@g.o> shutter-0.87.3.ebuild:
37 x86 stable wrt bug #387743
38
39
40
41 1.1 x11-misc/shutter/shutter-0.88.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/shutter-0.88.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/shutter-0.88.ebuild?rev=1.1&content-type=text/plain
45
46 Index: shutter-0.88.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/shutter/shutter-0.88.ebuild,v 1.1 2011/11/26 16:52:00 hwoarang Exp $
51
52 EAPI="2"
53
54 inherit eutils
55
56 DESCRIPTION="Feature-rich screenshot program"
57 HOMEPAGE="http://shutter-project.org/"
58 SRC_URI="http://shutter-project.org/wp-content/uploads/releases/tars/${P}.tar.gz"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="drawing webphoto"
64
65 RDEPEND="dev-lang/perl
66 dev-perl/gnome2-gconf
67 drawing? ( dev-perl/Goo-Canvas )
68 webphoto? ( gnome-extra/gnome-web-photo )
69 || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
70 dev-perl/libxml-perl
71 dev-perl/gnome2-wnck
72 dev-perl/gnome2-canvas
73 dev-perl/gnome2-perl
74 dev-perl/Gtk2-Unique
75 dev-perl/Gtk2-ImageView
76 dev-perl/File-DesktopEntry
77 dev-perl/File-HomeDir
78 dev-perl/File-Which
79 dev-perl/File-Copy-Recursive
80 dev-perl/File-MimeInfo
81 dev-perl/Locale-gettext
82 dev-perl/Net-DBus
83 dev-perl/Proc-Simple
84 dev-perl/Proc-ProcessTable
85 dev-perl/Sort-Naturally
86 dev-perl/WWW-Mechanize
87 dev-perl/X11-Protocol
88 dev-perl/XML-Simple
89 dev-perl/libwww-perl"
90
91 src_prepare() {
92 use webphoto || epatch "${FILESDIR}"/disable_webphoto-0.87.1.patch
93 use drawing || epatch "${FILESDIR}"/disable-goocanvas-0.87.1.patch
94 #Fix tray icon because it doesn't pick the right icon using various themes
95 sed -i -e "/\$tray->set_from_icon_name/s:set_from_icon_name:set_from_file:" \
96 -e "s:shutter-panel:/usr/share/icons/hicolor/scalable/apps/&.svg:" \
97 bin/shutter || die "failed to fix trayicon"
98 }
99
100 src_install() {
101 dobin bin/${PN} || die "dobin failed"
102 insinto /usr/share/${PN}
103 doins -r share/${PN}/* || die "doins failed"
104 dodoc README || die "dodoc failed"
105 domenu share/applications/${PN}.desktop
106 # mapage is broken. Reconstruct it.
107 mv share/man/man1/${PN}.1.gz share/man/man1/${PN}.1
108 bzip2 share/man/man1/${PN}.1
109 doman share/man/man1/${PN}.1.bz2 || die "doman failed"
110 doicon share/pixmaps/${PN}.png
111 doins -r share/locale || die "doins failed"
112 insinto /usr/share/icons/hicolor
113 doins -r share/icons/hicolor/* || die "doins failed"
114 find "${D}"/usr/share/shutter/resources/system/plugins/ -type f ! -name '*.*' -exec chmod 755 {} \; \
115 || die "failed to make plugins executables"
116 }