Revision bump containing fix for newer versions of media-gfx/imagemagick. Closes...
authorMichele Noberasco <s4t4n@gentoo.org>
Sun, 5 Dec 2004 10:53:57 +0000 (10:53 +0000)
committerMichele Noberasco <s4t4n@gentoo.org>
Sun, 5 Dec 2004 10:53:57 +0000 (10:53 +0000)
x11-plugins/wmgrabimage/ChangeLog
x11-plugins/wmgrabimage/Manifest
x11-plugins/wmgrabimage/files/digest-wmgrabimage-0.72-r1 [new file with mode: 0644]
x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild [new file with mode: 0644]

index d10c5676172d575c1506cfd977086417a9e66957..4decb465537809cd9dcfd8a6186b3e9e4cae20c9 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for x11-plugins/wmgrabimage
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgrabimage/ChangeLog,v 1.4 2004/09/04 00:47:01 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgrabimage/ChangeLog,v 1.5 2004/12/05 10:53:57 s4t4n Exp $
+
+*wmgrabimage-0.72-r1 (05 Dec 2004)
+
+  05 Dec 2004; Michele Noberasco <s4t4n@gentoo.org> wmgrabimage-0.72-r1.ebuild:
+  Revision bump.
+  Change HOMEPAGE and SRC_URI to the www.dockapps.org ones as the official
+  pages can no longer be reached. Some magic sed (thanks Clemens Noss <cnoss@gmx.de>)
+  to make calls to 'convert' using the '-geometry' cmd line arg, needed by newer
+  versions of media-gfx/imagemagick, closing #71894.
 
   04 Sep 2004; Michele Noberasco <s4t4n@gentoo.org> wmgrabimage-0.72.ebuild:
   Stable for x86.
index d1d6317848b815e6bdf4d71ae0f3e5a9b48b6457..ad03c1a74fde65a438d4cb6b298d30ae12233175 100644 (file)
@@ -1,6 +1,8 @@
+MD5 4712c20a8b54b6b6e7f33c847344c813 wmgrabimage-0.72-r1.ebuild 1112
 MD5 7d0b4e89c1a6063a68b1dadfc9a8850a wmgrabimage-0.72.ebuild 1060
-MD5 a15439cf226cde1545b2277fb6fbc273 ChangeLog 709
+MD5 69fc8a42ecac390f91567e9a4a321db7 ChangeLog 1138
 MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
 MD5 510f4557928c8d5b4788f93c938fb236 files/wmgrabimage.desktop 179
 MD5 ddc76446e5b95bcb71d118f3a483c1a3 files/wmgrabimage-noman.patch 296
 MD5 acb5efeb412afb808e7b493a835b57f4 files/digest-wmgrabimage-0.72 64
+MD5 acb5efeb412afb808e7b493a835b57f4 files/digest-wmgrabimage-0.72-r1 64
diff --git a/x11-plugins/wmgrabimage/files/digest-wmgrabimage-0.72-r1 b/x11-plugins/wmgrabimage/files/digest-wmgrabimage-0.72-r1
new file mode 100644 (file)
index 0000000..1655b67
--- /dev/null
@@ -0,0 +1 @@
+MD5 2cbd769b0cc909890ebdd48c2746f686 wmGrabImage-0.72.tgz 19902
diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild
new file mode 100644 (file)
index 0000000..1e230fd
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild,v 1.1 2004/12/05 10:53:57 s4t4n Exp $
+
+inherit eutils
+
+IUSE=""
+
+MY_P=${PN/grabi/GrabI}
+S=${WORKDIR}/${MY_P}-${PV}/${MY_P}
+
+DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it"
+SRC_URI="http://www.dockapps.com/download.php/id/19/${MY_P}-${PV}.tgz"
+HOMEPAGE="http://www.dockapps.com/file.php/id/12"
+
+DEPEND="virtual/x11
+       >=net-misc/wget-1.9-r2
+       >=media-gfx/imagemagick-5.5.7.15
+       >=sys-apps/sed-4"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+src_unpack()
+{
+       unpack ${A}
+
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-noman.patch
+}
+
+src_compile()
+{
+       sed -i -e 's/-geom /-geometry /' GrabImage
+       emake clean || die "clean failed"
+       emake CFLAGS="${CFLAGS} -Wall" || die "make failed"
+}
+
+src_install()
+{
+       cd ${S}
+       dodir /usr/bin
+       einstall DESTDIR="${D}/usr" || die "make install failed"
+
+       doman wmGrabImage.1
+
+       cd ..
+       dodoc BUGS CHANGES HINTS TODO
+
+       insinto /usr/share/applications
+       doins ${FILESDIR}/${PN}.desktop
+}