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.87.3.ebuild ChangeLog
Date: Tue, 05 Jul 2011 09:00:31
Message-Id: 20110705090019.D388A2004B@flycatcher.gentoo.org
1 hwoarang 11/07/05 09:00:19
2
3 Modified: ChangeLog
4 Added: shutter-0.87.3.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 x11-misc/shutter/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/shutter/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 20 Jun 2011 12:38:19 -0000 1.22
24 +++ ChangeLog 5 Jul 2011 09:00:19 -0000 1.23
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.22 2011/06/20 12:38:19 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/shutter/ChangeLog,v 1.23 2011/07/05 09:00:19 hwoarang Exp $
30 +
31 +*shutter-0.87.3 (05 Jul 2011)
32 +
33 + 05 Jul 2011; Markos Chandras <hwoarang@g.o> +shutter-0.87.3.ebuild:
34 + version bump
35
36 20 Jun 2011; Markos Chandras <hwoarang@g.o> -shutter-0.86.4-r1.ebuild,
37 -shutter-0.87.1.ebuild:
38
39
40
41 1.1 x11-misc/shutter/shutter-0.87.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/shutter-0.87.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shutter/shutter-0.87.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: shutter-0.87.3.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.87.3.ebuild,v 1.1 2011/07/05 09:00:19 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 }