From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-895736-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7D4213832E for <garchives@archives.gentoo.org>; Sun, 7 Aug 2016 01:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 829DFE0B36; Sun, 7 Aug 2016 01:29:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 121FDE0B36 for <gentoo-commits@lists.gentoo.org>; Sun, 7 Aug 2016 01:29:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7ECB6340C39 for <gentoo-commits@lists.gentoo.org>; Sun, 7 Aug 2016 01:29:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 760E87CE for <gentoo-commits@lists.gentoo.org>; Sun, 7 Aug 2016 01:29:19 +0000 (UTC) From: "Michael Orlitzky" <mjo@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" <mjo@gentoo.org> Message-ID: <1470533261.b731c87c096e0bf11ca86b12c63bcf39d89bb1f8.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-countdown/files/, x11-plugins/gkrellm-countdown/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/gkrellm-countdown/files/gkrellm-countdown-makefile.patch x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.2-r1.ebuild X-VCS-Directories: x11-plugins/gkrellm-countdown/files/ x11-plugins/gkrellm-countdown/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: b731c87c096e0bf11ca86b12c63bcf39d89bb1f8 X-VCS-Branch: master Date: Sun, 7 Aug 2016 01:29:19 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 75503830-3b85-4ae0-b16f-fae3b9274f01 X-Archives-Hash: 178520f8eba45b586e6290b0f369dc9a commit: b731c87c096e0bf11ca86b12c63bcf39d89bb1f8 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sun Aug 7 01:27:41 2016 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sun Aug 7 01:27:41 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b731c87c x11-plugins/gkrellm-countdown: new revision fixing HOMEPAGE and LDFLAGS. This new revision fixes two bugs, both thanks to Michael Mair-Keimberger who posted patches to our bugzilla. The first is that the upstream build system did not support LDFLAGS -- it now does, with a patched Makefile. Michael also corrected the invalid HOMEPAGE variable, and added the ~amd64 keyword (which I am able to test). The ebuild has been updated to EAPI=6. Gentoo-Bug: 339657 Gentoo-Bug: 367171 Package-Manager: portage-2.2.28 .../files/gkrellm-countdown-makefile.patch | 40 ++++++++++++++++++++++ .../gkrellm-countdown-0.1.2-r1.ebuild | 28 +++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/x11-plugins/gkrellm-countdown/files/gkrellm-countdown-makefile.patch b/x11-plugins/gkrellm-countdown/files/gkrellm-countdown-makefile.patch new file mode 100644 index 0000000..af241de --- /dev/null +++ b/x11-plugins/gkrellm-countdown/files/gkrellm-countdown-makefile.patch @@ -0,0 +1,40 @@ +This patch is by Michael Mair-Keimberger, as part of bug 339657. It +teaches the Makefile to support the user's LDFLAGS. + +Gentoo-Bug: 339657 + +--- a/Makefile 2003-12-30 23:07:29.000000000 +0100 ++++ b/Makefile 2013-03-16 14:23:47.671010566 +0100 +@@ -9,7 +9,7 @@ + IMLIB_LIB ?= + PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ++FLAGS = -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) + LFLAGS = -shared -lpthread + +@@ -22,8 +22,8 @@ + FLAGS += -DPACKAGE="\"$(PACKAGE)\"" + export PACKAGE LOCALEDIR + +-CC ?= gcc +-CC += $(CFLAGS) $(FLAGS) ++ ++CC = $(CC) + + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s +@@ -32,8 +32,11 @@ + + all: $(BIN_FILENAME).so + ++%.o: %.c ++ $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) -c -o $@ $< ++ + $(BIN_FILENAME).so: $(OBJS) +- $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ diff --git a/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.2-r1.ebuild b/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.2-r1.ebuild new file mode 100644 index 0000000..e55f2a6 --- /dev/null +++ b/x11-plugins/gkrellm-countdown/gkrellm-countdown-0.1.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit gkrellm-plugin + +DESCRIPTION="A simple countdown clock for GKrellM2" +SRC_URI="http://oss.pugsplace.net/${P}.tar.gz" +HOMEPAGE="http://freecode.com/projects/gkrellm-countdown" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc ~sparc ~x86 ~amd64" +IUSE="" + +COMMON_DEPEND="app-admin/gkrellm[X]" +RDEPEND+=" ${COMMON_DEPEND}" +DEPEND+=" ${COMMON_DEPEND}" + +S="${WORKDIR}/${PN}" + +PATCHES=( "${FILESDIR}/${PN}-makefile.patch" ) + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +}