From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 212F415808D for ; Thu, 21 Apr 2022 19:55:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D8FFE0821; Thu, 21 Apr 2022 19:55:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A91BE0AAB for ; Thu, 21 Apr 2022 19:55:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CD947341C4A for ; Thu, 21 Apr 2022 19:55:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B97E83F0 for ; Thu, 21 Apr 2022 19:55:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1650570875.47613a8b7f202daa0c1cfe1cdb12cbb8a7e5bf98.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellmoon/, x11-plugins/gkrellmoon/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-include-stringh.patch x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-pkgconfig.patch x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild X-VCS-Directories: x11-plugins/gkrellmoon/ x11-plugins/gkrellmoon/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 47613a8b7f202daa0c1cfe1cdb12cbb8a7e5bf98 X-VCS-Branch: master Date: Thu, 21 Apr 2022 19:55:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 190cff28-834d-436f-9c13-6afb76ac7862 X-Archives-Hash: 2cde75eee8591c91500f0dd682710572 commit: 47613a8b7f202daa0c1cfe1cdb12cbb8a7e5bf98 Author: Thomas Bracht Laumann Jespersen laumann xyz> AuthorDate: Thu Mar 31 11:35:22 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Apr 21 19:54:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47613a8b x11-plugins/gkrellmoon: update EAPI 6 -> 8 Signed-off-by: Thomas Bracht Laumann Jespersen laumann.xyz> Signed-off-by: Sam James gentoo.org> .../files/gkrellmoon-0.6-r3-include-stringh.patch | 14 ++++++++++ .../files/gkrellmoon-0.6-r3-pkgconfig.patch | 12 +++++++++ x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild | 31 ++++++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-include-stringh.patch b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-include-stringh.patch new file mode 100644 index 000000000000..fc07da13f75b --- /dev/null +++ b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-include-stringh.patch @@ -0,0 +1,14 @@ +Include string.h +--- a/CalcEphem.h ++++ b/CalcEphem.h +@@ -13,6 +13,7 @@ + #include + + #include ++#include + #include + + #define DegPerRad 57.29577951308232087680 +-- +2.34.1 + diff --git a/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-pkgconfig.patch b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-pkgconfig.patch new file mode 100644 index 000000000000..80f7fa1a9a3e --- /dev/null +++ b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-pkgconfig.patch @@ -0,0 +1,12 @@ +Respect user's pkg-config +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,6 @@ +-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags` +-GTK_LIB = `pkg-config gtk+-2.0 --libs` ++PKG_CONFIG ?= pkg-config ++GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags) ++GTK_LIB = $(shel ${PKG_CONFIG} gtk+-2.0 --libs) + + INSTALLDIR = ${DESTDIR}/usr/lib/gkrellm2/plugins + diff --git a/x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild new file mode 100644 index 000000000000..35005ac0c50a --- /dev/null +++ b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="A GKrellM2 plugin of the famous wmMoonClock dockapp" +HOMEPAGE="http://gkrellmoon.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellmoon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + app-admin/gkrellm:2[X] + media-libs/imlib2" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-r3-pkgconfig.patch + "${FILESDIR}"/${P}-r3-include-stringh.patch +) + +src_compile() { + tc-export PKG_CONFIG + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +}