public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmgrabimage/files/, x11-plugins/wmgrabimage/
Date: Thu, 14 Jun 2018 09:02:38 +0000 (UTC)	[thread overview]
Message-ID: <1528966869.08089c660e27f61868511cda7eaa7a52fe88fd09.voyageur@gentoo> (raw)

commit:     08089c660e27f61868511cda7eaa7a52fe88fd09
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon Jun 11 20:19:54 2018 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Thu Jun 14 09:01:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08089c66

x11-plugins/wmgrabimage: EAPI7, use HTTPS, improve ebuild

 .../wmgrabimage/files/wmgrabimage-noman.patch      |  4 +-
 x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild | 49 ++++++++++++++++++++++
 2 files changed, 51 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
index e9e649f1f65..27b2f71b5b8 100644
--- a/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
+++ b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
@@ -1,5 +1,5 @@
---- Makefile.orig	2001-05-27 19:02:18.000000000 +0000
-+++ Makefile	2004-06-22 21:05:36.711363520 +0000
+--- a/Makefile	2001-05-27 19:02:18.000000000 +0000
++++ b/Makefile	2004-06-22 21:05:36.711363520 +0000
 @@ -30,5 +30,4 @@
  install:: wmGrabImage
  	install -s -m 0755 wmGrabImage $(DESTDIR)/bin

diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
new file mode 100644
index 00000000000..1c59b3de60d
--- /dev/null
+++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop
+
+MY_PN=${PN/grabi/GrabI}
+
+DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it"
+HOMEPAGE="https://www.dockapps.net/wmgrabimage"
+SRC_URI="https://www.dockapps.net/download/${MY_PN}-${PV}.tgz"
+
+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-base/xorg-proto"
+
+S=${WORKDIR}/${MY_PN}-${PV}/${MY_PN}
+
+PATCHES=( "${FILESDIR}"/${PN}-noman.patch )
+
+src_prepare() {
+	sed -i -e 's/-geom /-geometry /' GrabImage || die "sed failed."
+	sed -i -e 's/install -s -m /install -m /' Makefile || die "sed failed."
+	default
+}
+
+src_compile() {
+	emake clean
+	emake CFLAGS="${CFLAGS} -Wall" SYSTEM="${LDFLAGS}"
+}
+
+src_install() {
+	dodir /usr/bin
+	emake DESTDIR="${D}/usr" install
+
+	doman wmGrabImage.1
+	domenu "${FILESDIR}"/${PN}.desktop
+	dodoc ../{BUGS,CHANGES,HINTS,TODO}
+}


                 reply	other threads:[~2018-06-14  9:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1528966869.08089c660e27f61868511cda7eaa7a52fe88fd09.voyageur@gentoo \
    --to=voyageur@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox