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 5337215808B for ; Thu, 7 Apr 2022 02:22:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B7BBE0AA0; Thu, 7 Apr 2022 02:22:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 430C9E0AA0 for ; Thu, 7 Apr 2022 02:22:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C49B341289 for ; Thu, 7 Apr 2022 02:22:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3DFF2A7 for ; Thu, 7 Apr 2022 02:22:05 +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: <1649298046.1d557df31533026ecba7c8c4b4a4fd8ee2d136a1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-leds/, x11-plugins/gkrellm-leds/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/gkrellm-leds/files/gkrellm-leds-0.8.2-r2-ldflags-typo.patch x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r2.ebuild X-VCS-Directories: x11-plugins/gkrellm-leds/ x11-plugins/gkrellm-leds/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1d557df31533026ecba7c8c4b4a4fd8ee2d136a1 X-VCS-Branch: master Date: Thu, 7 Apr 2022 02:22:05 +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: 1f888f69-5abf-496b-acba-93e5e6d3ade5 X-Archives-Hash: 120f35687da7f5e088d0f35609cf2df0 commit: 1d557df31533026ecba7c8c4b4a4fd8ee2d136a1 Author: Thomas Bracht Laumann Jespersen laumann xyz> AuthorDate: Wed Mar 23 14:52:59 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Apr 7 02:20:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d557df3 x11-plugins/gkrellm-leds: update EAPI 6 -> 8 Besides the EAPI bump, there's a bug for the referenced bug. The issue seems to be simply a typo in src/Makefile.am resulting in a variable @GK_LDFLAGS@ not being replaced appropriately. Closes: https://bugs.gentoo.org/799176 Signed-off-by: Thomas Bracht Laumann Jespersen laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/24729 Signed-off-by: Sam James gentoo.org> .../files/gkrellm-leds-0.8.2-r2-ldflags-typo.patch | 12 ++++++++ .../gkrellm-leds/gkrellm-leds-0.8.2-r2.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/x11-plugins/gkrellm-leds/files/gkrellm-leds-0.8.2-r2-ldflags-typo.patch b/x11-plugins/gkrellm-leds/files/gkrellm-leds-0.8.2-r2-ldflags-typo.patch new file mode 100644 index 000000000000..ee0571938999 --- /dev/null +++ b/x11-plugins/gkrellm-leds/files/gkrellm-leds-0.8.2-r2-ldflags-typo.patch @@ -0,0 +1,12 @@ +src/Makefile.am: fix type GK_FLAGS -> GKM_FLAGS +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -10,7 +10,7 @@ gkleds_la_CFLAGS = -Wall -O2 -I../pixmaps @X_CFLAGS@ @GTK_CFLAGS@ @GKM_CFLAGS@ + gkleds_la_LIBADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ @GTK_LIBS@ @GKM_EXTRA_SRCS@ + + ## linker flags, we are building a plugin so skip lib prefix and lib versions +-gkleds_la_LDFLAGS = -module -avoid-version @GK_LDFLAGS@ ++gkleds_la_LDFLAGS = -module -avoid-version @GKM_LDFLAGS@ + + ## gkleds.la sources + gkleds_la_SOURCES = gkleds.c gkleds.h diff --git a/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r2.ebuild b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r2.ebuild new file mode 100644 index 000000000000..fed6fcfc799b --- /dev/null +++ b/x11-plugins/gkrellm-leds/gkrellm-leds-0.8.2-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin autotools + +MY_P="${P/rellm-/}" + +DESCRIPTION="GKrellM2 plugin for monitoring keyboard LEDs" +HOMEPAGE="http://heim.ifi.uio.no/~oyvinha/gkleds/" +SRC_URI="http://heim.ifi.uio.no/~oyvinha/e107_files/downloads/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + app-admin/gkrellm:2[X] + x11-libs/libXtst" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-r2-ldflags-typo.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + PLUGIN_SO=( src/.libs/gkleds$(get_modname) ) + default +}