diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-08-12 09:24:29 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-08-12 09:24:29 +0000 |
commit | 1943762f0e659f8e6b2eab1c4e8a07698188a593 (patch) | |
tree | 7c0eec308795263337873cdd74937a6dcec288f8 /x11-misc/shutter | |
parent | Added patch for removing items from QGraphicsLinearLayout. Fixes bug 280634 (diff) | |
download | historical-1943762f0e659f8e6b2eab1c4e8a07698188a593.tar.gz historical-1943762f0e659f8e6b2eab1c4e8a07698188a593.tar.bz2 historical-1943762f0e659f8e6b2eab1c4e8a07698188a593.zip |
Initial commit of shutter screen capture program. Fixes bug 249058
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/shutter')
-rw-r--r-- | x11-misc/shutter/ChangeLog | 11 | ||||
-rw-r--r-- | x11-misc/shutter/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/shutter/files/disable_goocanvas.patch | 18 | ||||
-rw-r--r-- | x11-misc/shutter/files/disable_webphoto.patch | 17 | ||||
-rw-r--r-- | x11-misc/shutter/metadata.xml | 16 | ||||
-rw-r--r-- | x11-misc/shutter/shutter-0.80.1.ebuild | 57 |
6 files changed, 125 insertions, 0 deletions
diff --git a/x11-misc/shutter/ChangeLog b/x11-misc/shutter/ChangeLog new file mode 100644 index 000000000000..797149ae2af4 --- /dev/null +++ b/x11-misc/shutter/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for x11-misc/shutter +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/shutter/ChangeLog,v 1.1 2009/08/12 09:24:29 hwoarang Exp $ + +*shutter-0.80.1 (12 Aug 2009) + + 12 Aug 2009; Markos Chandras <hwoarang@gentoo.org> +shutter-0.80.1.ebuild, + +files/disable_goocanvas.patch, +files/disable_webphoto.patch, + +metadata.xml: + Initial commit of shutter screen capture program. Fixes bug 249058 + diff --git a/x11-misc/shutter/Manifest b/x11-misc/shutter/Manifest new file mode 100644 index 000000000000..ae0530bd4768 --- /dev/null +++ b/x11-misc/shutter/Manifest @@ -0,0 +1,6 @@ +AUX disable_goocanvas.patch 420 RMD160 907d215bbbed08607068d1aebeb95bd8f567120d SHA1 05c31697fdcffc82cdc932d97a4cf3e4bc1b7295 SHA256 273cf19362843e512ded4e654b82c0587bd8b2f00aad8963e5a5b333e1ee6f49 +AUX disable_webphoto.patch 505 RMD160 6dc5ae131e99d07f80c88eeb8410216aa177ac40 SHA1 bae60d84f3d45429c54374f5efed691fcaf3d927 SHA256 f4146a852d1b6508eeb88368ce13275d1d5a168f1587a260848e90900d874fb7 +DIST shutter-0.80.1.tar.gz 2007660 RMD160 43ef46911662161e84d5c3e0a667c52e798e07d7 SHA1 09a550aac42ac748631d5af412602b18810b75f6 SHA256 b4984c7b73aa093e9f72df18f69d4e65d13283b07bf4af581824f21b1781b8fe +EBUILD shutter-0.80.1.ebuild 1665 RMD160 1f9023fce27a36ba941227deb8a31c2a95777927 SHA1 9b9b89ce83a6fb5f85ee7407a73974f07626e8eb SHA256 0c13d4d459fd82808e1c1a17bffdeb656d0c9898808cad8604046cacd99fc645 +MISC ChangeLog 467 RMD160 66333cb4e8390735fc5ce816ba13f8057a640c74 SHA1 5591475792366c61de50b5443b26123902a481fb SHA256 f5935b85e263799d1f108af4ea9ab711cb647da8ef24b699dcd122ff85fa7588 +MISC metadata.xml 425 RMD160 c1adebdaded3f7258c266b8175c8b7c4b54f06da SHA1 7042350e8d4f930a10d8f2944f781e13771dd3f0 SHA256 731c700f782bc244fa366f95b38011977ee075dc53540d47c655c65730ce8716 diff --git a/x11-misc/shutter/files/disable_goocanvas.patch b/x11-misc/shutter/files/disable_goocanvas.patch new file mode 100644 index 000000000000..092ec8b9655d --- /dev/null +++ b/x11-misc/shutter/files/disable_goocanvas.patch @@ -0,0 +1,18 @@ +Index: bin/shutter +=================================================================== +--- bin/shutter ++++ bin/shutter +@@ -6040,12 +6040,7 @@ sub fct_init_depend { + $gnome_web_photo = FALSE; + } + +- #goocanvas +- eval { require Goo::Canvas }; +- if ($@) { +- warn "WARNING: Goo::Canvas/libgoocanvas is missing --> drawing tool will be disabled!\n\n"; +- $goocanvas = FALSE; +- } ++ $goocanvas = FALSE; + + return TRUE; + } diff --git a/x11-misc/shutter/files/disable_webphoto.patch b/x11-misc/shutter/files/disable_webphoto.patch new file mode 100644 index 000000000000..d09f30395737 --- /dev/null +++ b/x11-misc/shutter/files/disable_webphoto.patch @@ -0,0 +1,17 @@ +Index: bin/shutter +=================================================================== +--- bin/shutter ++++ bin/shutter +@@ -6034,11 +6034,7 @@ sub fct_init_depend { + die "ERROR: imagemagick is missing --> aborting!\n\n"; + } + +- #gnome-web-photo +- unless ( File::Which::which('gnome-web-photo') ) { +- warn "WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!\n\n"; +- $gnome_web_photo = FALSE; +- } ++ $gnome_web_photo = FALSE; + + #goocanvas + eval { require Goo::Canvas }; diff --git a/x11-misc/shutter/metadata.xml b/x11-misc/shutter/metadata.xml new file mode 100644 index 000000000000..0cde073c8f9e --- /dev/null +++ b/x11-misc/shutter/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>graphics</herd> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +<use> + <flag name="webphoto">Enables screenshots of websites</flag> + <flag name="drawing">Enables drawing tool</flag> +</use> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/x11-misc/shutter/shutter-0.80.1.ebuild b/x11-misc/shutter/shutter-0.80.1.ebuild new file mode 100644 index 000000000000..6ec8d066f10d --- /dev/null +++ b/x11-misc/shutter/shutter-0.80.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/shutter/shutter-0.80.1.ebuild,v 1.1 2009/08/12 09:24:29 hwoarang Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Feature-rich screenshot program" +HOMEPAGE="http://shutter-project.org/" +SRC_URI="http://shutter-project.org/wp-content/uploads/releases/tars/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="drawing webphoto" + +RDEPEND="dev-lang/perl + dev-perl/gnome2-gconf + drawing? ( dev-perl/Goo-Canvas ) + webphoto? ( gnome-extra/gnome-web-photo ) + media-gfx/imagemagick + dev-perl/libxml-perl + dev-perl/gnome2-wnck + dev-perl/gnome2-canvas + dev-perl/gnome2-perl + dev-perl/Gtk2-ImageView + dev-perl/File-DesktopEntry + dev-perl/File-HomeDir + dev-perl/File-Which + dev-perl/File-Copy-Recursive + dev-perl/File-MimeInfo + dev-perl/Locale-gettext + dev-perl/Proc-Simple + dev-perl/Sort-Naturally + dev-perl/WWW-Mechanize + dev-perl/X11-Protocol + dev-perl/XML-Simple + dev-perl/libwww-perl" + +src_prepare() { + use webphoto || epatch "${FILESDIR}"/disable_webphoto.patch + use drawing || epatch "${FILESDIR}"/disable_goocanvas.patch +} + +src_install() { + dobin bin/${PN} || die "dobin failed" + insinto /usr/share/${PN} + doins -r share/${PN}/* || die "doins failed" + dodoc README || die "dodoc failed" + domenu share/applications/${PN}.desktop + doman share/man/man1/${PN}.1.gz || die "doman failed" + doicon share/pixmaps/${PN}.svg + doins -r share/locale || die "doins failed" + find "${D}"/usr/share/shutter/resources/system/plugins/ -type f ! -name '*.*' -exec chmod 755 {} \; \ + || die "failed to make plugins executables" +} |