summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmgrabimage
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-plugins/wmgrabimage')
-rw-r--r--x11-plugins/wmgrabimage/Manifest1
-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.xml5
-rw-r--r--x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild52
5 files changed, 74 insertions, 0 deletions
diff --git a/x11-plugins/wmgrabimage/Manifest b/x11-plugins/wmgrabimage/Manifest
new file mode 100644
index 000000000000..629c1e977a6a
--- /dev/null
+++ b/x11-plugins/wmgrabimage/Manifest
@@ -0,0 +1 @@
+DIST wmGrabImage-0.72.tgz 19902 SHA256 06d7511c02e870700880efaee260afcce97f5f59209dcd0471fdb1a43f23d22c SHA512 64909db71d141ccf849eacbb100072a53770601fdf23949f76a45d1d25f5015ebb8f3a3da99e8f311977967d44a6db6596c2bcbe961fb8e313e41cad4960c92e WHIRLPOOL a2d3cb44dca38cb794738c26a77143c37d25f19734492f09911e8e3777c1ec4b5d6e3d8af051b1468a91f9b9ab4de52fad8cfdbcdf24fc9c50583b7a75e332ca
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..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmgrabimage/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-dock</herd>
+</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..5284ab1c9b37
--- /dev/null
+++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}