[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2023-02-10 Thread David Seifert
commit: 1bbb2f92e5fe22e6a21d2b67eaa53382b19977ef
Author: David Seifert  gentoo  org>
AuthorDate: Fri Feb 10 21:14:10 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Feb 10 21:14:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbb2f92

x11-plugins/gkrellm-cpupower: fix IndirectInherits on multilib

Signed-off-by: David Seifert  gentoo.org>

 x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
index 1b8250714ecd..18ed8acf679c 100644
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit gkrellm-plugin toolchain-funcs
+inherit gkrellm-plugin multilib toolchain-funcs
 
 MY_P="${P/gkrellm/gkrellm2}"
 



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2023-02-03 Thread Sam James
commit: 66cd9ed2631d9abc108b97951069963ee7e1ac67
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 11:06:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 11:06:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66cd9ed2

x11-plugins/gkrellm-cpupower: adopt

Help very much still welcome, just adopting so it's not m-n and can fix

the easy bugs at least.

Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellm-cpupower/metadata.xml | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/x11-plugins/gkrellm-cpupower/metadata.xml 
b/x11-plugins/gkrellm-cpupower/metadata.xml
index 8e381cab9236..db7314d8bbfd 100644
--- a/x11-plugins/gkrellm-cpupower/metadata.xml
+++ b/x11-plugins/gkrellm-cpupower/metadata.xml
@@ -1,8 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-  
-sainsaar/gkrellm2-cpupower
-  
+   
+   s...@gentoo.org
+   Sam James
+   
+   
+   sainsaar/gkrellm2-cpupower
+   
 



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2023-02-02 Thread Sam James
commit: bff64109ce8571b48760178f22b38ab49528c7e6
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 04:57:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 05:08:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff64109

x11-plugins/gkrellm-cpupower: minor style tweak

Bug: https://bugs.gentoo.org/892251
Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
index a3c27d5e817e..1b8250714ecd 100644
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ inherit gkrellm-plugin toolchain-funcs
 MY_P="${P/gkrellm/gkrellm2}"
 
 DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
-HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
+HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower;
 SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
@@ -20,7 +20,8 @@ DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="
${DEPEND}
app-admin/sudo
-   sys-power/cpupower"
+   sys-power/cpupower
+"
 BDEPEND="virtual/pkgconfig"
 
 PATCHES=(



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2022-08-28 Thread Andreas Sturmlechner
commit: cf2743c32dd64c66fd924982dee4aba21a151f5a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Aug 28 18:48:21 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Aug 28 19:36:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2743c3

x11-plugins/gkrellm-cpupower: drop 0.2-r1, EAPI-6--

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../gkrellm-cpupower-0.2-r1.ebuild | 39 --
 1 file changed, 39 deletions(-)

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
deleted file mode 100644
index dcf420b95721..
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gkrellm-plugin
-
-MY_P="${P/gkrellm/gkrellm2}"
-
-DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
-HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
-SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-admin/gkrellm:2[X]"
-RDEPEND="
-   ${DEPEND}
-   app-admin/sudo
-   sys-power/cpupower"
-
-S=${WORKDIR}/${MY_P}
-
-src_install() {
-   local PLUGIN_SO=( cpupower$(get_modname) )
-   gkrellm-plugin_src_install
-   emake DESTDIR="${D}" install-sudo
-}
-
-pkg_postinst() {
-   einfo
-   einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
-   einfo "group, and add those users to that group who should be allowed 
to perform"
-   einfo "these changes."
-   einfo
-}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2022-04-22 Thread Sam James
commit: 51b695194d00d2509a47974e3d55439a83635cb4
Author: Thomas Bracht Laumann Jespersen  laumann  xyz>
AuthorDate: Fri Apr 22 12:22:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 23 01:19:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b69519

x11-plugins/gkrellm-cpupower: fix recursive variable CC

Closes: https://bugs.gentoo.org/840005
Signed-off-by: Thomas Bracht Laumann Jespersen  laumann.xyz>
Closes: https://github.com/gentoo/gentoo/pull/25157
Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
index ddb490d7448c..a3c27d5e817e 100644
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
@@ -35,7 +35,7 @@ src_compile() {
 src_install() {
local PLUGIN_SO=( cpupower$(get_modname) )
gkrellm-plugin_src_install
-   emake DESTDIR="${D}" install-sudo
+   emake CC="$(tc-getCC)" DESTDIR="${D}" install-sudo
 }
 
 pkg_postinst() {



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2022-04-21 Thread Lars Wendler
commit: 2b4250b53f3889b6a460a5187b5b1a7b39d1f476
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr 21 20:02:05 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr 21 20:02:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b4250b5

x11-plugins/gkrellm-cpupower: Drop

Signed-off-by: Lars Wendler  gentoo.org>

 x11-plugins/gkrellm-cpupower/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/x11-plugins/gkrellm-cpupower/metadata.xml 
b/x11-plugins/gkrellm-cpupower/metadata.xml
index 625b14b52b45..8e381cab9236 100644
--- a/x11-plugins/gkrellm-cpupower/metadata.xml
+++ b/x11-plugins/gkrellm-cpupower/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-polynomia...@gentoo.org
-Lars Wendler
-  
+  
   
 sainsaar/gkrellm2-cpupower
   



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/, x11-plugins/gkrellm-cpupower/files/

2022-04-21 Thread Sam James
commit: 0cbc3ec0b9eca21c6f131185031f5d7400105cb2
Author: Thomas Bracht Laumann Jespersen  laumann  xyz>
AuthorDate: Thu Mar 24 20:17:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 21 19:54:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cbc3ec0

x11-plugins/gkrellm-cpupower: update EAPI 6 -> 8

Besides the EAPI bump, include a patch for the Makefile to remove -O2
-Wall from compilation flags, and sets CC to $(CC).

Signed-off-by: Thomas Bracht Laumann Jespersen  laumann.xyz>
Signed-off-by: Sam James  gentoo.org>

 .../files/gkrellm-cpupower-0.2-makefile.patch  | 45 +
 .../gkrellm-cpupower-0.2-r2.ebuild | 47 ++
 2 files changed, 92 insertions(+)

diff --git 
a/x11-plugins/gkrellm-cpupower/files/gkrellm-cpupower-0.2-makefile.patch 
b/x11-plugins/gkrellm-cpupower/files/gkrellm-cpupower-0.2-makefile.patch
new file mode 100644
index ..3ec485c7bb18
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/files/gkrellm-cpupower-0.2-makefile.patch
@@ -0,0 +1,45 @@
+--- a/Makefile
 b/Makefile
+@@ -1,22 +1,29 @@
+ # Makefile for gkrellm cpupower plugin
+ 
+-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
+-GTK_LIB = `pkg-config gtk+-2.0 --libs`
++PKG_CONFIG ?= pkg-config
+ 
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
++GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags)
++GTK_LIB = $(shell ${PKG_CONFIG} gtk+-2.0 --libs)
++
++FLAGS = -fPIC $(GTK_INCLUDE)
+ LIBS = $(GTK_LIB)
+ 
+ LFLAGS = -shared -lcpupower
+ 
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = $(CC)
+ 
+ OBJS = cpupower.o
+ 
++all: cpupower.so
++
++%.o: %.c
++  $(CC) $(CFLAGS) $(FLAGS) -c -o $@ $<
++
+ cpupower.so: $(OBJS)
+-  $(CC) $(OBJS) -o cpupower.so $(LFLAGS) $(LIBS)
++  $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) $(OBJS) -o cpupower.so $(LFLAGS) 
$(LIBS)
+ 
+ install: cpupower.so
+-  install -D -m 755 -s cpupower.so 
$(DESTDIR)/usr/lib/gkrellm2/plugins/cpupower.so
++  install -D -m 755 cpupower.so 
$(DESTDIR)/usr/lib/gkrellm2/plugins/cpupower.so
+ 
+ install-sudo:
+   mkdir -p $(DESTDIR)/etc/sudoers.d
+@@ -25,6 +32,3 @@ install-sudo:
+ 
+ clean:
+   rm -f *.o core *.so* *.bak *~
+-
+-cpupower.o: cpupower.c
+-

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
new file mode 100644
index ..ddb490d7448c
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gkrellm-plugin toolchain-funcs
+
+MY_P="${P/gkrellm/gkrellm2}"
+
+DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
+HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
+SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-admin/gkrellm:2[X]"
+RDEPEND="
+   ${DEPEND}
+   app-admin/sudo
+   sys-power/cpupower"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-makefile.patch
+)
+
+src_compile() {
+   tc-export PKG_CONFIG
+   emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+   local PLUGIN_SO=( cpupower$(get_modname) )
+   gkrellm-plugin_src_install
+   emake DESTDIR="${D}" install-sudo
+}
+
+pkg_postinst() {
+   einfo
+   einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
+   einfo "group, and add those users to that group who should be allowed 
to perform"
+   einfo "these changes."
+   einfo
+}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2018-01-04 Thread David Seifert
commit: 3c16d8488d2c286aac2c158527353c6ca5add326
Author: David Seifert  gentoo  org>
AuthorDate: Wed Jan  3 22:34:32 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jan  4 09:15:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c16d848

x11-plugins/gkrellm-cpupower: Eclass update

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild | 17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
index f8679d71309..dcf420b9572 100644
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,25 +16,24 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-S="${WORKDIR}/${MY_P}"
-
+DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="
-   app-admin/gkrellm[X]
+   ${DEPEND}
app-admin/sudo
-   sys-power/cpupower
-"
+   sys-power/cpupower"
 
-PLUGIN_SO="cpupower.so"
+S=${WORKDIR}/${MY_P}
 
 src_install() {
+   local PLUGIN_SO=( cpupower$(get_modname) )
gkrellm-plugin_src_install
emake DESTDIR="${D}" install-sudo
 }
 
 pkg_postinst() {
-   echo
+   einfo
einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
einfo "group, and add those users to that group who should be allowed 
to perform"
einfo "these changes."
-   echo
+   einfo
 }



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2017-07-26 Thread Pacho Ramos
commit: d1efd95f8046ad4c431f727f074323cbae34
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 26 10:44:37 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 26 11:34:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1efd95f

x11-plugins/gkrellm-cpupower: Drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 x11-plugins/gkrellm-cpupower/Manifest  |  1 -
 .../gkrellm-cpupower-0.1.6-r1.ebuild   | 40 --
 .../gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild   | 39 -
 3 files changed, 80 deletions(-)

diff --git a/x11-plugins/gkrellm-cpupower/Manifest 
b/x11-plugins/gkrellm-cpupower/Manifest
index 846b7cdba2d..fba0873b5bf 100644
--- a/x11-plugins/gkrellm-cpupower/Manifest
+++ b/x11-plugins/gkrellm-cpupower/Manifest
@@ -1,2 +1 @@
-DIST gkrellm2-cpupower-0.1.6.tar.gz 14390 SHA256 
85a6c24976f9e0bac69fae0d161a00545078623765d76128cce587d67452305f SHA512 
eb55a30614f5e4ae9514516749f34dbf6bd409148e967f2933d49f3d2bb6938535900101ed27dff132edd79b7cfa2f7244bb6f87e09b555e7536c8f74d020b01
 WHIRLPOOL 
afb764799d1d926afb3cadd0e928a2da06d7c7728dd0cfe73ea0843bec5d4312ea076abaf7dad83ba6487f33680956ecc4eaeb9e806b6f4f5aa407fb469c0f81
 DIST gkrellm2-cpupower-0.2.tar.gz 14274 SHA256 
d6c632c079c5782564431f78dfc21d81f74ee46d19c43c0ae38be5a279305a0d SHA512 
80cf86548c8329af41462cb5cdd0de67cfab05d8d9a7c3315fcc662e0b5e511ffc1f46d2eb3ccf13b9f1607c35860921658eb74970c241a4c56b74e32e4f779e
 WHIRLPOOL 
f9af36768b491e1e3ab0cded1e9bae64a93f39d1be7770ec65b0351a0b95988e54f51add849a6ea222a574863926d7d46ff2a3aee8f82f8f0cc12240c44e79b9

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild
deleted file mode 100644
index 15e85c0ed13..000
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gkrellm-plugin
-
-MY_P=${P/gkrellm/gkrellm2}
-
-DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
-HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
-SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S="${WORKDIR}/${MY_P}"
-
-# Collision with /usr/sbin/cpufreqnextgovernor
-RDEPEND="app-admin/sudo
-   sys-power/cpupower
-   !x11-plugins/gkrellm-cpufreq"
-
-PLUGIN_SO="cpupower.so"
-
-src_install() {
-   gkrellm-plugin_src_install
-   dosbin cpufreqnextgovernor
-   emake DESTDIR="${D}" install-sudo
-}
-
-pkg_postinst() {
-   echo
-   einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
-   einfo "group, and add those users to that group who should be allowed 
to perform"
-   einfo "these changes."
-   echo
-}

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild
deleted file mode 100644
index 8aa8fda8a8a..000
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gkrellm-plugin
-
-MY_P="${P/gkrellm/gkrellm2}"
-
-DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
-HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
-SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S="${WORKDIR}/${MY_P}"
-
-RDEPEND="
-   app-admin/sudo
-   sys-power/cpupower
-"
-
-PLUGIN_SO="cpupower.so"
-
-src_install() {
-   gkrellm-plugin_src_install
-   emake DESTDIR="${D}" install-sudo
-}
-
-pkg_postinst() {
-   echo
-   einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
-   einfo "group, and add those users to that group who should be allowed 
to perform"
-   einfo "these changes."
-   echo
-}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2017-07-26 Thread Pacho Ramos
commit: eba8d6b751fc3be8e147bad98b17085213ee0dbe
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 26 10:44:24 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 26 11:34:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba8d6b7

x11-plugins/gkrellm-cpupower: Fix dependency on gkrellm[X]

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../gkrellm-cpupower-0.2-r1.ebuild | 40 ++
 1 file changed, 40 insertions(+)

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
new file mode 100644
index 000..f8679d71309
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gkrellm-plugin
+
+MY_P="${P/gkrellm/gkrellm2}"
+
+DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
+HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
+SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   app-admin/gkrellm[X]
+   app-admin/sudo
+   sys-power/cpupower
+"
+
+PLUGIN_SO="cpupower.so"
+
+src_install() {
+   gkrellm-plugin_src_install
+   emake DESTDIR="${D}" install-sudo
+}
+
+pkg_postinst() {
+   echo
+   einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
+   einfo "group, and add those users to that group who should be allowed 
to perform"
+   einfo "these changes."
+   echo
+}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2017-07-07 Thread Lars Wendler
commit: 120f954e4cfe7b64cc162e399f60955d0a37e631
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jul  7 07:59:17 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jul  7 07:59:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120f954e

x11-plugins/gkrellm-cpupower: Bump to version 0.2 (bug #622736).

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 x11-plugins/gkrellm-cpupower/Manifest  |  1 +
 .../gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild   | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/x11-plugins/gkrellm-cpupower/Manifest 
b/x11-plugins/gkrellm-cpupower/Manifest
index e1ef624e617..846b7cdba2d 100644
--- a/x11-plugins/gkrellm-cpupower/Manifest
+++ b/x11-plugins/gkrellm-cpupower/Manifest
@@ -1 +1,2 @@
 DIST gkrellm2-cpupower-0.1.6.tar.gz 14390 SHA256 
85a6c24976f9e0bac69fae0d161a00545078623765d76128cce587d67452305f SHA512 
eb55a30614f5e4ae9514516749f34dbf6bd409148e967f2933d49f3d2bb6938535900101ed27dff132edd79b7cfa2f7244bb6f87e09b555e7536c8f74d020b01
 WHIRLPOOL 
afb764799d1d926afb3cadd0e928a2da06d7c7728dd0cfe73ea0843bec5d4312ea076abaf7dad83ba6487f33680956ecc4eaeb9e806b6f4f5aa407fb469c0f81
+DIST gkrellm2-cpupower-0.2.tar.gz 14274 SHA256 
d6c632c079c5782564431f78dfc21d81f74ee46d19c43c0ae38be5a279305a0d SHA512 
80cf86548c8329af41462cb5cdd0de67cfab05d8d9a7c3315fcc662e0b5e511ffc1f46d2eb3ccf13b9f1607c35860921658eb74970c241a4c56b74e32e4f779e
 WHIRLPOOL 
f9af36768b491e1e3ab0cded1e9bae64a93f39d1be7770ec65b0351a0b95988e54f51add849a6ea222a574863926d7d46ff2a3aee8f82f8f0cc12240c44e79b9

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild
new file mode 100644
index 000..8aa8fda8a8a
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gkrellm-plugin
+
+MY_P="${P/gkrellm/gkrellm2}"
+
+DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
+HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
+SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   app-admin/sudo
+   sys-power/cpupower
+"
+
+PLUGIN_SO="cpupower.so"
+
+src_install() {
+   gkrellm-plugin_src_install
+   emake DESTDIR="${D}" install-sudo
+}
+
+pkg_postinst() {
+   echo
+   einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
+   einfo "group, and add those users to that group who should be allowed 
to perform"
+   einfo "these changes."
+   echo
+}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellm-cpupower/

2016-06-07 Thread Lars Wendler
commit: a223a44049d0ca6e20062a2543b4ff63cd7f4320
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun  7 06:42:21 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun  7 06:43:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a223a440

x11-plugins/gkrellm-cpupower: Initial commit.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 x11-plugins/gkrellm-cpupower/Manifest  |  1 +
 .../gkrellm-cpupower-0.1.6-r1.ebuild   | 41 ++
 x11-plugins/gkrellm-cpupower/metadata.xml  |  8 +
 3 files changed, 50 insertions(+)

diff --git a/x11-plugins/gkrellm-cpupower/Manifest 
b/x11-plugins/gkrellm-cpupower/Manifest
new file mode 100644
index 000..e1ef624
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/Manifest
@@ -0,0 +1 @@
+DIST gkrellm2-cpupower-0.1.6.tar.gz 14390 SHA256 
85a6c24976f9e0bac69fae0d161a00545078623765d76128cce587d67452305f SHA512 
eb55a30614f5e4ae9514516749f34dbf6bd409148e967f2933d49f3d2bb6938535900101ed27dff132edd79b7cfa2f7244bb6f87e09b555e7536c8f74d020b01
 WHIRLPOOL 
afb764799d1d926afb3cadd0e928a2da06d7c7728dd0cfe73ea0843bec5d4312ea076abaf7dad83ba6487f33680956ecc4eaeb9e806b6f4f5aa407fb469c0f81

diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild 
b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild
new file mode 100644
index 000..fa0ac69
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.1.6-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit gkrellm-plugin
+
+MY_P=${P/gkrellm/gkrellm2}
+
+DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency"
+HOMEPAGE="https://github.com/sainsaar/gkrellm2-cpupower/;
+SRC_URI="https://github.com/sainsaar/gkrellm2-cpupower/archive/${PV}.tar.gz -> 
${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+# Collision with /usr/sbin/cpufreqnextgovernor
+RDEPEND="app-admin/sudo
+   sys-power/cpupower
+   !x11-plugins/gkrellm-cpufreq"
+
+PLUGIN_SO="cpupower.so"
+
+src_install() {
+   gkrellm-plugin_src_install
+   dosbin cpufreqnextgovernor
+   emake DESTDIR="${D}" install-sudo
+}
+
+pkg_postinst() {
+   echo
+   einfo "For changing the governor and CPU frequencies as a user, create 
the \"trusted\""
+   einfo "group, and add those users to that group who should be allowed 
to perform"
+   einfo "these changes."
+   echo
+}

diff --git a/x11-plugins/gkrellm-cpupower/metadata.xml 
b/x11-plugins/gkrellm-cpupower/metadata.xml
new file mode 100644
index 000..c7be278
--- /dev/null
+++ b/x11-plugins/gkrellm-cpupower/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+polynomia...@gentoo.org
+Lars Wendler
+  
+