summaryrefslogtreecommitdiff
path: root/x11-plugins/wmgrabimage
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmgrabimage
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmgrabimage')
-rw-r--r--x11-plugins/wmgrabimage/Manifest7
-rw-r--r--x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch8
-rw-r--r--x11-plugins/wmgrabimage/files/wmgrabimage.desktop8
-rw-r--r--x11-plugins/wmgrabimage/metadata.xml9
-rw-r--r--x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild51
5 files changed, 83 insertions, 0 deletions
diff --git a/x11-plugins/wmgrabimage/Manifest b/x11-plugins/wmgrabimage/Manifest
new file mode 100644
index 000000000000..61b4f019d383
--- /dev/null
+++ b/x11-plugins/wmgrabimage/Manifest
@@ -0,0 +1,7 @@
+AUX wmgrabimage-noman.patch 296 SHA256 eb9540cd53e12e01a738589c162ec5c81e774fb3bf87132b6f56ef6f9869b09a SHA512 201cd10897b1862dbfbc07fc381e34f86cb4b7660f543617bdd83bbacca57b996c20ce20b85c83b98862f0a7771d5a836bbc9c68b74a34538af4d139c5f71aa5 WHIRLPOOL 008ed8d2b745736e3b9432238163b011957118c6389883a0aa769d2a488efad30fd5af9fa7b1363cd18c2b7d2bfee4c81a4d22fe65ab4b2a1a21146c097255ce
+AUX wmgrabimage.desktop 165 SHA256 32fb43e297416ec9ed80d99aa6add15f628ad2affa2f4362d03bbfab90e8cb53 SHA512 3d08f5a93d1ff356adb86b8636f092bf89fee18e238b8cbd2f7739239e996dd524f5fddc3821bf24f8c7271f1d9c7cd67300d58e31814a117697cfd9f3fd1458 WHIRLPOOL deaf2315300a16c99276d467f3839c96810658edd5da065023a358842c0b0f9c49e9dfd7d519b2ce9f6d1f9f6e0ebacc3119c31116600dd77fba820405fbb4c7
+DIST wmGrabImage-0.72.tgz 19902 SHA256 06d7511c02e870700880efaee260afcce97f5f59209dcd0471fdb1a43f23d22c SHA512 64909db71d141ccf849eacbb100072a53770601fdf23949f76a45d1d25f5015ebb8f3a3da99e8f311977967d44a6db6596c2bcbe961fb8e313e41cad4960c92e WHIRLPOOL a2d3cb44dca38cb794738c26a77143c37d25f19734492f09911e8e3777c1ec4b5d6e3d8af051b1468a91f9b9ab4de52fad8cfdbcdf24fc9c50583b7a75e332ca
+EBUILD wmgrabimage-0.72-r1.ebuild 1195 SHA256 9cb42454a7bd4101650a20d23ca685fdf7805f71e6bd88e376ecb513bf8b73a4 SHA512 83af511a981c8a847646d4ca89ebf589af69c3fb1883a10c668fa3f6729a3d46ebf72e11298c39a82bf39a944996b9190f0de45dc9a01da84ea0af37ff990e92 WHIRLPOOL 45e7580fd1347f83cd415252782c6ef816760511efe9d8def27e3d940a8d845eaacade99afc6cee36a344be791d61839b3ff63ab88ce17dbbd8e8c029039f339
+MISC ChangeLog 2966 SHA256 04780b06e29fb03c1ee1f0650868bd72887d2dd1615a0954629696c78609ab54 SHA512 f09bf2f5b160a76602770a726a76eb809cf801ab97041aae0a7aa88e9ab71177929e962dc7a1472ea080ce808d060fb51d1f88cdd34513c284a9aa3e35933341 WHIRLPOOL 75d2d9db05e40e0745de938ddac8b70ba099564864b60cbb46776995bd2b63ba8ecb8a398eaa5daaf13e7d18e3e0e20fc6be889a310c4e1005613e629656f172
+MISC ChangeLog-2015 2756 SHA256 78a236622bd4ec152baaa0c906d7ba6dec0550508c19a18bcdc53b187f5229d6 SHA512 ec89e51b21bce3171e0290b5c1d94e7e722529a2bb5ee56d682d5bd3503d5e0a7018f105bddacbe4c651c2ff6ddeabaaa09090b4a3b594ac6025b3a781ab7e62 WHIRLPOOL f101695a1796bdb64ca7947c9742d284758b9b3b511f77bb3b389a1bedda92767496db17e2f490674c6820f6155db7fc123e9c0ad628f53ad740e124408a8fe5
+MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d
diff --git a/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
new file mode 100644
index 000000000000..e9e649f1f65c
--- /dev/null
+++ b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
@@ -0,0 +1,8 @@
+--- Makefile.orig 2001-05-27 19:02:18.000000000 +0000
++++ Makefile 2004-06-22 21:05:36.711363520 +0000
+@@ -30,5 +30,4 @@
+ install:: wmGrabImage
+ install -s -m 0755 wmGrabImage $(DESTDIR)/bin
+ install -m 0755 GrabImage $(DESTDIR)/bin
+- install -m 0644 wmGrabImage.1 $(DESTDIR)/man/man1
+
diff --git a/x11-plugins/wmgrabimage/files/wmgrabimage.desktop b/x11-plugins/wmgrabimage/files/wmgrabimage.desktop
new file mode 100644
index 000000000000..60bd074e2cc2
--- /dev/null
+++ b/x11-plugins/wmgrabimage/files/wmgrabimage.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WmGragImage
+Comment=Image Grabber
+Comment[pl]=Wyłapywacz obrazów
+Exec=wmgrabimage
+Type=Application
+Terminal=false
+Categories=Graphics;Viewer;
diff --git a/x11-plugins/wmgrabimage/metadata.xml b/x11-plugins/wmgrabimage/metadata.xml
new file mode 100644
index 000000000000..1d5e6504004e
--- /dev/null
+++ b/x11-plugins/wmgrabimage/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+</maintainer>
+
+</pkgmetadata>
diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild
new file mode 100644
index 000000000000..16630b9e9e23
--- /dev/null
+++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+MY_P=${PN/grabi/GrabI}
+
+DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it"
+SRC_URI="http://dockapps.windowmaker.org/files/12/19/${MY_P}-${PV}.tgz"
+HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/12"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=net-misc/wget-1.9-r2
+ >=media-gfx/imagemagick-5.5.7.15
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto
+ >=sys-apps/sed-4.1.5-r1"
+
+S=${WORKDIR}/${MY_P}-${PV}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-noman.patch
+ sed -i -e 's/-geom /-geometry /' GrabImage || die "sed failed."
+ sed -i -e 's/install -s -m /install -m /' Makefile || die "sed failed."
+}
+
+src_compile() {
+ emake clean || die "emake clean failed."
+ emake CFLAGS="${CFLAGS} -Wall" SYSTEM="${LDFLAGS}" || die "emake failed."
+}
+
+src_install() {
+ dodir /usr/bin
+ emake DESTDIR="${D}/usr" install || die "einstall failed."
+
+ doman wmGrabImage.1
+
+ dodoc ../{BUGS,CHANGES,HINTS,TODO}
+
+ domenu "${FILESDIR}"/${PN}.desktop
+}