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