[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2022-11-29 Thread Andreas Sturmlechner
commit: 399c637fc2df75adf92972981d2064269d3d0ed5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Nov 29 08:42:59 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Nov 29 08:42:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399c637f

app-laptop/thinkfan: drop 1.0.2, 1.2.1, 1.2.2

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

 app-laptop/thinkfan/Manifest  |  3 ---
 app-laptop/thinkfan/thinkfan-1.0.2.ebuild | 42 ---
 app-laptop/thinkfan/thinkfan-1.2.1.ebuild | 41 --
 app-laptop/thinkfan/thinkfan-1.2.2.ebuild | 41 --
 4 files changed, 127 deletions(-)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 16edae6596fa..c758191e3262 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,4 +1 @@
-DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 
1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336
 SHA512 
d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f
-DIST thinkfan-1.2.1.tar.gz 84253 BLAKE2B 
5a816b8cadbc72424384966b0bc6bcf17070eec703584c348bc28cf8ee59e4d67a56d351f0c1d9d55328326b21134f0158bf976f86336bb5d59b81c137b96c83
 SHA512 
27db9f54c26a85093ff7b9f8a0e26f679e413489f608b561b819a702fd077a33e62197e41a1f1f4495c66daa1ac70603c063e6ac4cdd09d13f4005f73685152d
-DIST thinkfan-1.2.2.tar.gz 85779 BLAKE2B 
55d3806756aa638d8a97b74a8b6142f58e4b805c319cea2be0c4022fba7b9c2eb286956752788197aa50ee2a07f1fe826657ba0b95a47832a9f4e0f5070f3f82
 SHA512 
7991ef9e1891e9f4d843a0421404d8ccdedf398777f44ed0c6c58070849a6eae70044a72bad4ad9595e9528551212db228bf868371fb9a642918a69d2b4e917c
 DIST thinkfan-1.3.1.tar.gz 87239 BLAKE2B 
219c72ada289a7168ee41872080ff15329c80f2a75326d15b726606e95ed39279afb85f0d9b4d4efc6dc2d4ce81d34bfc31bd7f565a86b717830ddeb579a0618
 SHA512 
dbb92ab1a7f008ecb5c125b105191b9021cccf3b59f6dbd0fbdea03dd730b573214d8a44b219c4efd458a6cab94deae3bcbdca030db72e79ca221ba91f0c2c6c

diff --git a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
deleted file mode 100644
index a96062867700..
--- a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake readme.gentoo-r1
-
-DESCRIPTION="Simple fan control program for thinkpads"
-HOMEPAGE="https://github.com/vmatare/thinkfan;
-SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="atasmart nvidia +yaml"
-
-DEPEND="atasmart? ( dev-libs/libatasmart )
-   yaml? ( dev-cpp/yaml-cpp )"
-RDEPEND="${DEPEND}
-   nvidia? ( x11-drivers/nvidia-drivers )"
-
-DOC_CONTENTS="
-   Please read the documentation and copy an appropriate
-   file to /etc/thinkfan.conf.
-"
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
-   -DUSE_NVML="$(usex nvidia)"
-   -DUSE_ATASMART="$(usex atasmart)"
-   -DUSE_YAML="$(usex yaml)"
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   readme.gentoo_create_doc
-}

diff --git a/app-laptop/thinkfan/thinkfan-1.2.1.ebuild 
b/app-laptop/thinkfan/thinkfan-1.2.1.ebuild
deleted file mode 100644
index d59a97b5a27a..
--- a/app-laptop/thinkfan/thinkfan-1.2.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake readme.gentoo-r1
-
-DESCRIPTION="Simple fan control program for thinkpads"
-HOMEPAGE="https://github.com/vmatare/thinkfan;
-SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="atasmart nvidia +yaml"
-
-DEPEND="atasmart? ( dev-libs/libatasmart )
-   yaml? ( dev-cpp/yaml-cpp )"
-
-RDEPEND="${DEPEND}
-   nvidia? ( x11-drivers/nvidia-drivers )"
-
-DOC_CONTENTS="
-   Please read the documentation and copy an appropriate
-   file to /etc/thinkfan.conf.
-"
-
-src_configure() {
-   local mycmakeargs+=(
-   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
-   -DUSE_NVML="$(usex nvidia)"
-   -DUSE_ATASMART="$(usex atasmart)"
-   -DUSE_YAML="$(usex yaml)"
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-   readme.gentoo_create_doc
-}

diff --git a/app-laptop/thinkfan/thinkfan-1.2.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
deleted file mode 100644
index 085f1edafd76..
--- a/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@

[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2022-11-28 Thread Joonas Niilola
commit: ba8f4da51b6c79d33d3dca58bfcbbc2b537e25b2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Nov 29 05:47:06 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Nov 29 05:49:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8f4da5

app-laptop/thinkfan: Stabilize 1.3.1 x86, #883035

Signed-off-by: Joonas Niilola  gentoo.org>

 app-laptop/thinkfan/thinkfan-1.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-laptop/thinkfan/thinkfan-1.3.1.ebuild 
b/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
index 13581335e63d..8b45659172a5 100644
--- a/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="atasmart nvidia +yaml"
 
 DEPEND="atasmart? ( dev-libs/libatasmart )



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2022-11-28 Thread Joonas Niilola
commit: 53ee02fa9ea4b7297f1dd1ef3630fcfafb26509d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Nov 29 05:42:23 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Nov 29 05:49:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ee02fa

app-laptop/thinkfan: Stabilize 1.3.1 amd64, #883035

Signed-off-by: Joonas Niilola  gentoo.org>

 app-laptop/thinkfan/thinkfan-1.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-laptop/thinkfan/thinkfan-1.3.1.ebuild 
b/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
index 316faa87672d..13581335e63d 100644
--- a/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="atasmart nvidia +yaml"
 
 DEPEND="atasmart? ( dev-libs/libatasmart )



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2022-05-06 Thread Sam James
commit: a79b2c425a6eec6e12bb3b7ada85db240d3b2135
Author: Sam James  gentoo  org>
AuthorDate: Sat May  7 04:10:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  7 04:10:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79b2c42

app-laptop/thinkfan: add 1.3.1

Closes: https://bugs.gentoo.org/841245
Closes: https://bugs.gentoo.org/832601
Signed-off-by: Sam James  gentoo.org>

 app-laptop/thinkfan/Manifest  |  1 +
 app-laptop/thinkfan/thinkfan-1.3.1.ebuild | 40 +++
 2 files changed, 41 insertions(+)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 4faf895a8d3e..16edae6596fa 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,3 +1,4 @@
 DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 
1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336
 SHA512 
d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f
 DIST thinkfan-1.2.1.tar.gz 84253 BLAKE2B 
5a816b8cadbc72424384966b0bc6bcf17070eec703584c348bc28cf8ee59e4d67a56d351f0c1d9d55328326b21134f0158bf976f86336bb5d59b81c137b96c83
 SHA512 
27db9f54c26a85093ff7b9f8a0e26f679e413489f608b561b819a702fd077a33e62197e41a1f1f4495c66daa1ac70603c063e6ac4cdd09d13f4005f73685152d
 DIST thinkfan-1.2.2.tar.gz 85779 BLAKE2B 
55d3806756aa638d8a97b74a8b6142f58e4b805c319cea2be0c4022fba7b9c2eb286956752788197aa50ee2a07f1fe826657ba0b95a47832a9f4e0f5070f3f82
 SHA512 
7991ef9e1891e9f4d843a0421404d8ccdedf398777f44ed0c6c58070849a6eae70044a72bad4ad9595e9528551212db228bf868371fb9a642918a69d2b4e917c
+DIST thinkfan-1.3.1.tar.gz 87239 BLAKE2B 
219c72ada289a7168ee41872080ff15329c80f2a75326d15b726606e95ed39279afb85f0d9b4d4efc6dc2d4ce81d34bfc31bd7f565a86b717830ddeb579a0618
 SHA512 
dbb92ab1a7f008ecb5c125b105191b9021cccf3b59f6dbd0fbdea03dd730b573214d8a44b219c4efd458a6cab94deae3bcbdca030db72e79ca221ba91f0c2c6c

diff --git a/app-laptop/thinkfan/thinkfan-1.3.1.ebuild 
b/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
new file mode 100644
index ..316faa87672d
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-1.3.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake readme.gentoo-r1
+
+DESCRIPTION="Simple fan control program for thinkpads"
+HOMEPAGE="https://github.com/vmatare/thinkfan;
+SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="atasmart nvidia +yaml"
+
+DEPEND="atasmart? ( dev-libs/libatasmart )
+   yaml? ( dev-cpp/yaml-cpp )"
+RDEPEND="${DEPEND}
+   nvidia? ( x11-drivers/nvidia-drivers )"
+
+DOC_CONTENTS="
+   Please read the documentation and copy an appropriate
+   file to /etc/thinkfan.conf.
+"
+
+src_configure() {
+   local mycmakeargs+=(
+   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+   -DUSE_NVML="$(usex nvidia)"
+   -DUSE_ATASMART="$(usex atasmart)"
+   -DUSE_YAML="$(usex yaml)"
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2022-04-25 Thread Joonas Niilola
commit: dc34e3df472e5923f4537d1273fbfe60b2afec36
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Apr 25 09:10:06 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 25 09:12:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc34e3df

app-laptop/thinkfan: Stabilize 1.2.2 x86, #828326

Signed-off-by: Joonas Niilola  gentoo.org>

 app-laptop/thinkfan/thinkfan-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-laptop/thinkfan/thinkfan-1.2.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
index bb5f8505adf5..085f1edafd76 100644
--- a/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="atasmart nvidia +yaml"
 
 DEPEND="atasmart? ( dev-libs/libatasmart )



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2022-04-25 Thread Joonas Niilola
commit: 5a524f9c4216fd96459bdc51d92c358b0b0e45e8
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Apr 25 07:41:44 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Apr 25 07:47:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a524f9c

app-laptop/thinkfan: Stabilize 1.2.2 amd64, #828326

Signed-off-by: Joonas Niilola  gentoo.org>

 app-laptop/thinkfan/thinkfan-1.2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-laptop/thinkfan/thinkfan-1.2.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
index d59a97b5a27a..bb5f8505adf5 100644
--- a/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="atasmart nvidia +yaml"
 
 DEPEND="atasmart? ( dev-libs/libatasmart )



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2021-07-16 Thread Joonas Niilola
commit: 33eac150eb795219de042536e7dbd6872407d302
Author: Johannes Willem Fernhout  fernhout  info>
AuthorDate: Thu Jul 15 07:58:50 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 16 07:01:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33eac150

app-laptop/thinkfan: version bump to 1.2.2

This is a maintenance release that fixes a long-standing bug in handling
sensors that may disappear at runtime.

Closes: https://bugs.gentoo.org/799104

Signed-off-by: Johannes Willem Fernhout  fernhout.info>
Closes: https://github.com/gentoo/gentoo/pull/21650
Signed-off-by: Joonas Niilola  gentoo.org>

 app-laptop/thinkfan/Manifest  |  1 +
 app-laptop/thinkfan/thinkfan-1.2.2.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 783936bff98..4faf895a8d3 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,2 +1,3 @@
 DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 
1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336
 SHA512 
d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f
 DIST thinkfan-1.2.1.tar.gz 84253 BLAKE2B 
5a816b8cadbc72424384966b0bc6bcf17070eec703584c348bc28cf8ee59e4d67a56d351f0c1d9d55328326b21134f0158bf976f86336bb5d59b81c137b96c83
 SHA512 
27db9f54c26a85093ff7b9f8a0e26f679e413489f608b561b819a702fd077a33e62197e41a1f1f4495c66daa1ac70603c063e6ac4cdd09d13f4005f73685152d
+DIST thinkfan-1.2.2.tar.gz 85779 BLAKE2B 
55d3806756aa638d8a97b74a8b6142f58e4b805c319cea2be0c4022fba7b9c2eb286956752788197aa50ee2a07f1fe826657ba0b95a47832a9f4e0f5070f3f82
 SHA512 
7991ef9e1891e9f4d843a0421404d8ccdedf398777f44ed0c6c58070849a6eae70044a72bad4ad9595e9528551212db228bf868371fb9a642918a69d2b4e917c

diff --git a/app-laptop/thinkfan/thinkfan-1.2.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
new file mode 100644
index 000..d59a97b5a27
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-1.2.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake readme.gentoo-r1
+
+DESCRIPTION="Simple fan control program for thinkpads"
+HOMEPAGE="https://github.com/vmatare/thinkfan;
+SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="atasmart nvidia +yaml"
+
+DEPEND="atasmart? ( dev-libs/libatasmart )
+   yaml? ( dev-cpp/yaml-cpp )"
+
+RDEPEND="${DEPEND}
+   nvidia? ( x11-drivers/nvidia-drivers )"
+
+DOC_CONTENTS="
+   Please read the documentation and copy an appropriate
+   file to /etc/thinkfan.conf.
+"
+
+src_configure() {
+   local mycmakeargs+=(
+   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+   -DUSE_NVML="$(usex nvidia)"
+   -DUSE_ATASMART="$(usex atasmart)"
+   -DUSE_YAML="$(usex yaml)"
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2021-04-13 Thread Joonas Niilola
commit: d32a2fc7c493af5d367304ead0c204e5590751e1
Author: Johannes Willem Fernhout  fernhout  info>
AuthorDate: Mon Apr  5 09:23:19 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 13 07:28:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32a2fc7

app-laptop/thinkfan: version bump to 1.2.1

Closes: https://bugs.gentoo.org/733792
Closes: https://bugs.gentoo.org/715986

Tested-by: David Duchesne  disroot.org>
Signed-off-by: Johannes Willem Fernhout  fernhout.info>
Closes: https://github.com/gentoo/gentoo/pull/20263
Signed-off-by: Joonas Niilola  gentoo.org>

 app-laptop/thinkfan/Manifest  |  1 +
 app-laptop/thinkfan/metadata.xml  |  9 ++-
 app-laptop/thinkfan/thinkfan-1.2.1.ebuild | 41 +++
 3 files changed, 50 insertions(+), 1 deletion(-)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index e3c97f7e981..783936bff98 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1 +1,2 @@
 DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 
1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336
 SHA512 
d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f
+DIST thinkfan-1.2.1.tar.gz 84253 BLAKE2B 
5a816b8cadbc72424384966b0bc6bcf17070eec703584c348bc28cf8ee59e4d67a56d351f0c1d9d55328326b21134f0158bf976f86336bb5d59b81c137b96c83
 SHA512 
27db9f54c26a85093ff7b9f8a0e26f679e413489f608b561b819a702fd077a33e62197e41a1f1f4495c66daa1ac70603c063e6ac4cdd09d13f4005f73685152d

diff --git a/app-laptop/thinkfan/metadata.xml b/app-laptop/thinkfan/metadata.xml
index 134e69ff9e5..8f49761db66 100644
--- a/app-laptop/thinkfan/metadata.xml
+++ b/app-laptop/thinkfan/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   hf...@fernhout.info
+   Johannes Willem Fernhout
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

include libatasmart support to get disc 
temperature
allow thinkfan to read GPU temperature from 
the proprietary nVidia driver

diff --git a/app-laptop/thinkfan/thinkfan-1.2.1.ebuild 
b/app-laptop/thinkfan/thinkfan-1.2.1.ebuild
new file mode 100644
index 000..fb111f2a256
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-1.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake readme.gentoo-r1
+
+DESCRIPTION="simple fan control program for thinkpads"
+HOMEPAGE="http://thinkfan.sourceforge.net;
+SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="atasmart nvidia +yaml"
+
+DEPEND="atasmart? ( dev-libs/libatasmart )
+   yaml? ( dev-cpp/yaml-cpp )"
+
+RDEPEND="${DEPEND}
+   nvidia? ( x11-drivers/nvidia-drivers )"
+
+DOC_CONTENTS="
+   Please read the documentation and copy an appropriate
+   file to /etc/thinkfan.conf.
+"
+
+src_configure() {
+   local mycmakeargs+=(
+   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+   -DUSE_NVML="$(usex nvidia)"
+   -DUSE_ATASMART="$(usex atasmart)"
+   -DUSE_YAML="$(usex yaml)"
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2021-04-13 Thread Joonas Niilola
commit: 5be9a8e238bb3265c389fe4629c448f2a83d3b01
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Apr 13 07:29:24 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 13 07:29:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be9a8e2

app-laptop/thinkfan: update HOMEPAGE & DESCRIPTION

Signed-off-by: Joonas Niilola  gentoo.org>

 app-laptop/thinkfan/thinkfan-1.0.2.ebuild | 4 ++--
 app-laptop/thinkfan/thinkfan-1.2.1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
index e08e6101e57..a9606286770 100644
--- a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
@@ -5,8 +5,8 @@ EAPI=7
 
 inherit cmake readme.gentoo-r1
 
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
+DESCRIPTION="Simple fan control program for thinkpads"
+HOMEPAGE="https://github.com/vmatare/thinkfan;
 SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"

diff --git a/app-laptop/thinkfan/thinkfan-1.2.1.ebuild 
b/app-laptop/thinkfan/thinkfan-1.2.1.ebuild
index fb111f2a256..d59a97b5a27 100644
--- a/app-laptop/thinkfan/thinkfan-1.2.1.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.2.1.ebuild
@@ -5,8 +5,8 @@ EAPI=7
 
 inherit cmake readme.gentoo-r1
 
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
+DESCRIPTION="Simple fan control program for thinkpads"
+HOMEPAGE="https://github.com/vmatare/thinkfan;
 SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2021-02-14 Thread Andreas Sturmlechner
commit: 4c970cab7a7396a27221233b55b0ceaa9b73ccff
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 14 20:33:00 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 14 20:35:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c970cab

app-laptop/thinkfan: Drop 0.9.3

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-laptop/thinkfan/Manifest  |  1 -
 app-laptop/thinkfan/thinkfan-0.9.3.ebuild | 50 ---
 2 files changed, 51 deletions(-)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index d4062ea1542..e3c97f7e981 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,2 +1 @@
-DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B 
e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854
 SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
 DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 
1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336
 SHA512 
d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f

diff --git a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild 
b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
deleted file mode 100644
index ca8dc1c1515..000
--- a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils readme.gentoo-r1 systemd
-
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="atasmart"
-
-DEPEND="atasmart? ( dev-libs/libatasmart )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   sed -e "s:#!/sbin/runscript:#!/sbin/openrc-run:" \
-   -i rcscripts/thinkfan.gentoo
-
-   sed -e "s:share/doc/${PN}:share/doc/${PF}:" \
-   -e "s:thinkfan.1:src/thinkfan.1:" \
-   -i CMakeLists.txt
-}
-
-src_configure() {
-   local mycmakeargs+=(
-   "-DCMAKE_BUILD_TYPE:STRING=Debug"
-   "-DUSE_ATASMART=$(usex atasmart)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   newinitd rcscripts/${PN}.gentoo ${PN}
-   systemd_dounit rcscripts/${PN}.service
-
-   readme.gentoo_create_doc
-}
-
-DOC_CONTENTS="Please read the documentation and copy an
-appropriate file to /etc/thinkfan.conf."



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2021-02-14 Thread Andreas Sturmlechner
commit: a265e29932ee47bab1c0d56181f72b098ea645ba
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 14 20:34:36 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 14 20:35:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a265e299

app-laptop/thinkfan: Use cmake.eclass

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-laptop/thinkfan/thinkfan-1.0.2.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
index 59f5d7fce4b..e08e6101e57 100644
--- a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake-utils readme.gentoo-r1
+inherit cmake readme.gentoo-r1
 
 DESCRIPTION="simple fan control program for thinkpads"
 HOMEPAGE="http://thinkfan.sourceforge.net;
@@ -25,18 +25,18 @@ DOC_CONTENTS="
 "
 
 src_configure() {
-   local mycmakeargs+=(
+   local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
-DUSE_NVML="$(usex nvidia)"
-DUSE_ATASMART="$(usex atasmart)"
-DUSE_YAML="$(usex yaml)"
)
 
-   cmake-utils_src_configure
+   cmake_src_configure
 }
 
 src_install() {
-   cmake-utils_src_install
+   cmake_src_install
 
readme.gentoo_create_doc
 }



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2020-07-13 Thread Mikle Kolyada
commit: cc6ecde57fb2b2575bcfcf44f86ccc708fc0b574
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul 13 12:21:44 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul 13 12:22:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6ecde5

app-laptop/thinkfan: Drop to maintainer needed

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Mikle Kolyada  gentoo.org>

 app-laptop/thinkfan/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-laptop/thinkfan/metadata.xml b/app-laptop/thinkfan/metadata.xml
index c6b8ff4c4c3..134e69ff9e5 100644
--- a/app-laptop/thinkfan/metadata.xml
+++ b/app-laptop/thinkfan/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   zlog...@gentoo.org
-   Mikle Kolyada
-   
+   

include libatasmart support to get disc 
temperature
allow thinkfan to read GPU temperature from 
the proprietary nVidia driver



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/files/

2019-11-23 Thread Aaron Bauman
commit: fa89acafec3679d9e8a62dcd1c7dfe83dfba32f3
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Nov 21 14:32:32 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Nov 24 00:40:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa89acaf

app-laptop/thinkfan: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13729
Signed-off-by: Aaron Bauman  gentoo.org>

 .../files/thinkfan-1.0.1-update-runscript.patch| 39 --
 1 file changed, 39 deletions(-)

diff --git a/app-laptop/thinkfan/files/thinkfan-1.0.1-update-runscript.patch 
b/app-laptop/thinkfan/files/thinkfan-1.0.1-update-runscript.patch
deleted file mode 100644
index a0896af3d26..000
--- a/app-laptop/thinkfan/files/thinkfan-1.0.1-update-runscript.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://github.com/vmatare/thinkfan/pull/61
-
 a/rcscripts/openrc/thinkfan.cmake
-+++ b/rcscripts/openrc/thinkfan.cmake
-@@ -1,26 +1,19 @@
- #!/sbin/openrc-run
- 
-+command="@CMAKE_INSTALL_PREFIX@/sbin/thinkfan"
-+command_args="-q -s5 -c /etc/thinkfan.conf"
-+pidfile="@PID_FILE@"
-+
- extra_started_commands="reload"
- 
-+required_files="/etc/thinkfan.conf"
-+
- depend() {
-   after modules
- }
- 
--start() {
--  ebegin "Starting thinkfan"
--  start-stop-daemon --start --exec @CMAKE_INSTALL_PREFIX@/sbin/thinkfan 
-- -q -s5 -c /etc/thinkfan.conf
--  eend $?
--}
--
--stop() {
--  ebegin "Stopping thinkfan"
--  start-stop-daemon --stop --exec @CMAKE_INSTALL_PREFIX@/sbin/thinkfan
--  eend $?
--}
--
- reload() {
--  PID=$(<@PID_FILE@)
--  ebegin "Sending SIGHUP to thinkfan($PID)"
--  kill -HUP $PID
-+  ebegin "Reloading ${SVCNAME}"
-+  start-stop-daemon --signal HUP --pidfile "${pidfile}"
-   eend $?
- }



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2019-06-16 Thread Mikle Kolyada
commit: fdd83b18d4d6dcadaadf065c9653fd6c364badd7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jun 16 10:37:49 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jun 16 10:37:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd83b18

app-laptop/thinkfan: Drop old

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 app-laptop/thinkfan/Manifest  |  1 -
 app-laptop/thinkfan/thinkfan-1.0.1.ebuild | 44 ---
 2 files changed, 45 deletions(-)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index e5a21da3f86..d4062ea1542 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,3 +1,2 @@
 DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B 
e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854
 SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
-DIST thinkfan-1.0.1.tar.gz 77587 BLAKE2B 
7a2d4d77be8a9abdafe2cdb8485c92dfe9850ad2309d45d0ac32e8c0e7e6db22ef6c2e16161cccbd6e6147497accc8ec3f5d4467dbe5d2fe6d7fdfd06bb3261f
 SHA512 
61fac9e99f5a2974c5a80e2565956d203baf670dc4b97625389e91fe3fe4d026c07847c10e7d46a4f57914a8156aeea0141570202c0ce2b497f8a1daefa47d6e
 DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 
1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336
 SHA512 
d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f

diff --git a/app-laptop/thinkfan/thinkfan-1.0.1.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.1.ebuild
deleted file mode 100644
index e7e7da5f821..000
--- a/app-laptop/thinkfan/thinkfan-1.0.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils readme.gentoo-r1
-
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
-SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="atasmart nvidia +yaml"
-
-DEPEND="atasmart? ( dev-libs/libatasmart )
-   yaml? ( dev-cpp/yaml-cpp )"
-RDEPEND="${DEPEND}
-   nvidia? ( x11-drivers/nvidia-drivers )"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.1-update-runscript.patch )
-
-DOC_CONTENTS="
-   Please read the documentation and copy an appropriate
-   file to /etc/thinkfan.conf.
-"
-
-src_configure() {
-   local mycmakeargs+=(
-   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
-   -DUSE_NVML="$(usex nvidia)"
-   -DUSE_ATASMART="$(usex atasmart)"
-   -DUSE_YAML="$(usex yaml)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   readme.gentoo_create_doc
-}



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2019-06-16 Thread Mikle Kolyada
commit: 57dcea7d1a9c355fdbd086c3393e3de856436391
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jun 16 10:36:48 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jun 16 10:36:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57dcea7d

app-laptop/thinkfan: mark stable

Closes: https://bugs.gentoo.org/687918
Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 app-laptop/thinkfan/thinkfan-1.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
index a3f978a1bda..59f5d7fce4b 100644
--- a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="atasmart nvidia +yaml"
 
 DEPEND="atasmart? ( dev-libs/libatasmart )



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2019-03-08 Thread Mikle Kolyada
commit: f4b00a382f4e6b26804b5f94b67baeddfe5509b9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Mar  8 17:50:36 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Mar  8 17:50:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4b00a38

app-laptop/thinkfan: Version bump (v1.0.2)

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-laptop/thinkfan/Manifest  |  1 +
 app-laptop/thinkfan/thinkfan-1.0.2.ebuild | 42 +++
 2 files changed, 43 insertions(+)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 444109d9dde..e5a21da3f86 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,2 +1,3 @@
 DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B 
e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854
 SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
 DIST thinkfan-1.0.1.tar.gz 77587 BLAKE2B 
7a2d4d77be8a9abdafe2cdb8485c92dfe9850ad2309d45d0ac32e8c0e7e6db22ef6c2e16161cccbd6e6147497accc8ec3f5d4467dbe5d2fe6d7fdfd06bb3261f
 SHA512 
61fac9e99f5a2974c5a80e2565956d203baf670dc4b97625389e91fe3fe4d026c07847c10e7d46a4f57914a8156aeea0141570202c0ce2b497f8a1daefa47d6e
+DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 
1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336
 SHA512 
d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f

diff --git a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
new file mode 100644
index 000..a3f978a1bda
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils readme.gentoo-r1
+
+DESCRIPTION="simple fan control program for thinkpads"
+HOMEPAGE="http://thinkfan.sourceforge.net;
+SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="atasmart nvidia +yaml"
+
+DEPEND="atasmart? ( dev-libs/libatasmart )
+   yaml? ( dev-cpp/yaml-cpp )"
+RDEPEND="${DEPEND}
+   nvidia? ( x11-drivers/nvidia-drivers )"
+
+DOC_CONTENTS="
+   Please read the documentation and copy an appropriate
+   file to /etc/thinkfan.conf.
+"
+
+src_configure() {
+   local mycmakeargs+=(
+   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+   -DUSE_NVML="$(usex nvidia)"
+   -DUSE_ATASMART="$(usex atasmart)"
+   -DUSE_YAML="$(usex yaml)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/, app-laptop/thinkfan/files/

2019-01-18 Thread Thomas Deutschmann
commit: 9001858ce0bae3908a65f4090c909fb99be6c5f7
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Jan 19 05:01:39 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jan 19 05:02:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9001858c

app-laptop/thinkfan: bump to v1.0.1

- fix DOCDIR

- modernize OpenRC runscript

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-laptop/thinkfan/Manifest   |  2 +-
 .../files/thinkfan-1.0.1-update-runscript.patch| 39 ++
 .../{thinkfan-1.0.ebuild => thinkfan-1.0.1.ebuild} | 17 +-
 3 files changed, 48 insertions(+), 10 deletions(-)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 0df01627822..444109d9dde 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,2 +1,2 @@
 DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B 
e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854
 SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
-DIST thinkfan-1.0.tar.gz 77575 BLAKE2B 
cc4dfec48d2797079b053b0be923a008b2e740179de10bda549194008a83ce9ea47fdb23e82f0050fa594be81fa07b242b548303fff751845da544f1f8fdd226
 SHA512 
c85c8a4f3eb2735f065bf56312823a13277b803e4762a325bd250a47f1e35e1efbc45fa63bcd3b2e24184d6f95a9f8d7ceb1b31eb82c674ca2f2f8d57ee0ea30
+DIST thinkfan-1.0.1.tar.gz 77587 BLAKE2B 
7a2d4d77be8a9abdafe2cdb8485c92dfe9850ad2309d45d0ac32e8c0e7e6db22ef6c2e16161cccbd6e6147497accc8ec3f5d4467dbe5d2fe6d7fdfd06bb3261f
 SHA512 
61fac9e99f5a2974c5a80e2565956d203baf670dc4b97625389e91fe3fe4d026c07847c10e7d46a4f57914a8156aeea0141570202c0ce2b497f8a1daefa47d6e

diff --git a/app-laptop/thinkfan/files/thinkfan-1.0.1-update-runscript.patch 
b/app-laptop/thinkfan/files/thinkfan-1.0.1-update-runscript.patch
new file mode 100644
index 000..a0896af3d26
--- /dev/null
+++ b/app-laptop/thinkfan/files/thinkfan-1.0.1-update-runscript.patch
@@ -0,0 +1,39 @@
+https://github.com/vmatare/thinkfan/pull/61
+
+--- a/rcscripts/openrc/thinkfan.cmake
 b/rcscripts/openrc/thinkfan.cmake
+@@ -1,26 +1,19 @@
+ #!/sbin/openrc-run
+ 
++command="@CMAKE_INSTALL_PREFIX@/sbin/thinkfan"
++command_args="-q -s5 -c /etc/thinkfan.conf"
++pidfile="@PID_FILE@"
++
+ extra_started_commands="reload"
+ 
++required_files="/etc/thinkfan.conf"
++
+ depend() {
+   after modules
+ }
+ 
+-start() {
+-  ebegin "Starting thinkfan"
+-  start-stop-daemon --start --exec @CMAKE_INSTALL_PREFIX@/sbin/thinkfan 
-- -q -s5 -c /etc/thinkfan.conf
+-  eend $?
+-}
+-
+-stop() {
+-  ebegin "Stopping thinkfan"
+-  start-stop-daemon --stop --exec @CMAKE_INSTALL_PREFIX@/sbin/thinkfan
+-  eend $?
+-}
+-
+ reload() {
+-  PID=$(<@PID_FILE@)
+-  ebegin "Sending SIGHUP to thinkfan($PID)"
+-  kill -HUP $PID
++  ebegin "Reloading ${SVCNAME}"
++  start-stop-daemon --signal HUP --pidfile "${pidfile}"
+   eend $?
+ }

diff --git a/app-laptop/thinkfan/thinkfan-1.0.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.1.ebuild
similarity index 73%
rename from app-laptop/thinkfan/thinkfan-1.0.ebuild
rename to app-laptop/thinkfan/thinkfan-1.0.1.ebuild
index d114b72afb1..e7e7da5f821 100644
--- a/app-laptop/thinkfan/thinkfan-1.0.ebuild
+++ b/app-laptop/thinkfan/thinkfan-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,15 +19,16 @@ DEPEND="atasmart? ( dev-libs/libatasmart )
 RDEPEND="${DEPEND}
nvidia? ( x11-drivers/nvidia-drivers )"
 
-src_prepare() {
-   cmake-utils_src_prepare
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-update-runscript.patch )
 
-   sed -e "s:share/doc/${PN}:share/doc/${PF}:" \
-   -i CMakeLists.txt || die "sed failed"
-}
+DOC_CONTENTS="
+   Please read the documentation and copy an appropriate
+   file to /etc/thinkfan.conf.
+"
 
 src_configure() {
local mycmakeargs+=(
+   -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
-DUSE_NVML="$(usex nvidia)"
-DUSE_ATASMART="$(usex atasmart)"
-DUSE_YAML="$(usex yaml)"
@@ -38,8 +39,6 @@ src_configure() {
 
 src_install() {
cmake-utils_src_install
+
readme.gentoo_create_doc
 }
-
-DOC_CONTENTS="Please read the documentation and copy an
-appropriate file to /etc/thinkfan.conf."



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2019-01-18 Thread Thomas Deutschmann
commit: de525787e242ae349b031d95f6f32d2cca817dff
Author: Tran Thai Son  gmail  com>
AuthorDate: Mon Aug 20 02:07:07 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jan 19 05:02:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de525787

app-laptop/thinkfan version bump to 1.0

Closes: https://github.com/gentoo/gentoo/pull/9630
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-laptop/thinkfan/Manifest|  1 +
 app-laptop/thinkfan/metadata.xml|  2 ++
 app-laptop/thinkfan/thinkfan-1.0.ebuild | 45 +
 3 files changed, 48 insertions(+)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 3515076cd1c..0df01627822 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1 +1,2 @@
 DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B 
e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854
 SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
+DIST thinkfan-1.0.tar.gz 77575 BLAKE2B 
cc4dfec48d2797079b053b0be923a008b2e740179de10bda549194008a83ce9ea47fdb23e82f0050fa594be81fa07b242b548303fff751845da544f1f8fdd226
 SHA512 
c85c8a4f3eb2735f065bf56312823a13277b803e4762a325bd250a47f1e35e1efbc45fa63bcd3b2e24184d6f95a9f8d7ceb1b31eb82c674ca2f2f8d57ee0ea30

diff --git a/app-laptop/thinkfan/metadata.xml b/app-laptop/thinkfan/metadata.xml
index e4b22975b67..c6b8ff4c4c3 100644
--- a/app-laptop/thinkfan/metadata.xml
+++ b/app-laptop/thinkfan/metadata.xml
@@ -7,6 +7,8 @@


include libatasmart support to get disc 
temperature
+   allow thinkfan to read GPU temperature from 
the proprietary nVidia driver
+   use YAML format for config file


thinkfan

diff --git a/app-laptop/thinkfan/thinkfan-1.0.ebuild 
b/app-laptop/thinkfan/thinkfan-1.0.ebuild
new file mode 100644
index 000..d114b72afb1
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils readme.gentoo-r1
+
+DESCRIPTION="simple fan control program for thinkpads"
+HOMEPAGE="http://thinkfan.sourceforge.net;
+SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="atasmart nvidia +yaml"
+
+DEPEND="atasmart? ( dev-libs/libatasmart )
+   yaml? ( dev-cpp/yaml-cpp )"
+RDEPEND="${DEPEND}
+   nvidia? ( x11-drivers/nvidia-drivers )"
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   sed -e "s:share/doc/${PN}:share/doc/${PF}:" \
+   -i CMakeLists.txt || die "sed failed"
+}
+
+src_configure() {
+   local mycmakeargs+=(
+   -DUSE_NVML="$(usex nvidia)"
+   -DUSE_ATASMART="$(usex atasmart)"
+   -DUSE_YAML="$(usex yaml)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+   readme.gentoo_create_doc
+}
+
+DOC_CONTENTS="Please read the documentation and copy an
+appropriate file to /etc/thinkfan.conf."



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2018-12-08 Thread Mikle Kolyada
commit: 466beec9704659c0c4d035957882b06c72bd8399
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Dec  8 10:03:32 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Dec  8 10:03:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466beec9

app-laptop/thinkfan: Add myself as maintainer

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-laptop/thinkfan/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-laptop/thinkfan/metadata.xml b/app-laptop/thinkfan/metadata.xml
index 45016f6358c..e4b22975b67 100644
--- a/app-laptop/thinkfan/metadata.xml
+++ b/app-laptop/thinkfan/metadata.xml
@@ -1,7 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   zlog...@gentoo.org
+   Mikle Kolyada
+   

include libatasmart support to get disc 
temperature




[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/files/, app-laptop/thinkfan/

2017-02-12 Thread Michael Weber
commit: b528701db06adfdc4385e1c5afde1c0290b163ec
Author: Michael Weber  gentoo  org>
AuthorDate: Sun Feb 12 15:58:10 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Sun Feb 12 15:58:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b528701d

app-laptop/thinkfan: Remove old version.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-laptop/thinkfan/Manifest   |  1 -
 .../thinkfan/files/thinkfan-0.9.2-openrc.patch | 11 -
 app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild   | 49 --
 3 files changed, 61 deletions(-)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 2cada92210..7afd98ae6a 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,2 +1 @@
-DIST thinkfan-0.9.2.tar.gz 39539 SHA256 
90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79 SHA512 
b27fd60a02ad06d30485ae3d658af6b9e79af3c898f415d0ff613839424f5dc9731be03d1d9bf3ed1311ecd0778aef5b30fa908cab386cf419db77ae29940684
 WHIRLPOOL 
2ca120ad9cf4960c7536cf6252b711257cbb7c1ca6061d028aebf53fd18e41d3b852d36158bddd18f791e1128b98d35a3f68fae5bb29077820f4dff6fc9b1919
 DIST thinkfan-0.9.3.tar.gz 39527 SHA256 
b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
 WHIRLPOOL 
3bdbc0ca3731fef85e385b3259cc9ce6bf4c3b15195138caf5b192847bbba411068d00df8e5673600796e15d4d965c116b73745e787bea9f5a68dbbb5ee118db

diff --git a/app-laptop/thinkfan/files/thinkfan-0.9.2-openrc.patch 
b/app-laptop/thinkfan/files/thinkfan-0.9.2-openrc.patch
deleted file mode 100644
index 34e665321f..00
--- a/app-laptop/thinkfan/files/thinkfan-0.9.2-openrc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 thinkfan-0.9.2/rcscripts/thinkfan.gentoo
-+++ thinkfan-0.9.2/rcscripts/thinkfan.gentoo
-@@ -11,7 +11,7 @@
- 
- start() {
-   ebegin "Starting thinkfan"
--  start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5 -c 
/etc/thinkfan.com
-+  start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5 -c 
/etc/thinkfan.conf
-   eend $?
- }
- 

diff --git a/app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild 
b/app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild
deleted file mode 100644
index b3688a5b4b..00
--- a/app-laptop/thinkfan/thinkfan-0.9.2-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils readme.gentoo systemd
-
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="atasmart"
-
-DEPEND="atasmart? ( dev-libs/libatasmart )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-openrc.patch
-
-   sed -e "s:share/doc/${PN}:share/doc/${P}:" \
-   -i CMakeLists.txt
-}
-
-src_configure() {
-   mycmakeargs+=(
-   "-DCMAKE_BUILD_TYPE:STRING=Debug"
-   "$(cmake-utils_use_use atasmart ATASMART)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   newinitd rcscripts/${PN}.gentoo ${PN}
-   systemd_dounit rcscripts/${PN}.service
-
-   readme.gentoo_create_doc
-}
-
-DOC_CONTENTS="Please read the documentation and copy an
-appropriate file to /etc/thinkfan.conf."



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2017-02-07 Thread Agostino Sarubbo
commit: 791b9913a60f7bcba4ed3425dc9d64298a1a457b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb  7 11:27:40 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb  7 11:27:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791b9913

app-laptop/thinkfan: amd64 stable wrt bug #606860

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-laptop/thinkfan/thinkfan-0.9.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild 
b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
index 9691a05..9901c33 100644
--- a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
+++ b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="atasmart"
 
 DEPEND="atasmart? ( dev-libs/libatasmart )"



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/, app-laptop/thinkfan/files/

2017-01-22 Thread Michael Weber
commit: 63cfd2e28c6ff283a366b022287ee72f60cfea23
Author: Michael Weber  gentoo  org>
AuthorDate: Sun Jan 22 23:25:00 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Sun Jan 22 23:25:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63cfd2e2

app-laptop/thinkfan: Drop old versions.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-laptop/thinkfan/Manifest   |  2 -
 .../thinkfan/files/thinkfan-0.8.1-openrc.patch | 11 -
 app-laptop/thinkfan/thinkfan-0.8.1-r1.ebuild   | 39 -
 app-laptop/thinkfan/thinkfan-0.9_beta2.ebuild  | 49 --
 4 files changed, 101 deletions(-)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index a27bf75..2cada92 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,4 +1,2 @@
-DIST thinkfan-0.8.1.tar.gz 38417 SHA256 
ba630fdcdefa238b2c87f050f6fcbd5a4828527497d52d410761a26c8ca25311 SHA512 
6e5c7df599ca6f1c99cf61bfafb752f5886a7eeff9166a43006ea8d86f82ff8c4d5eb6ddc2e62dc5d01235038b4606fbbfc849f81b971388ccbe6417ee9f3208
 WHIRLPOOL 
975eee0b64db52bbd5552a540aff035abe36bd8a602ec6f966ec30a9ffd1bc9ef30481b91f37c6c3f771a2ba0b38850d7d4dc40387c475deffa7850288d122b4
 DIST thinkfan-0.9.2.tar.gz 39539 SHA256 
90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79 SHA512 
b27fd60a02ad06d30485ae3d658af6b9e79af3c898f415d0ff613839424f5dc9731be03d1d9bf3ed1311ecd0778aef5b30fa908cab386cf419db77ae29940684
 WHIRLPOOL 
2ca120ad9cf4960c7536cf6252b711257cbb7c1ca6061d028aebf53fd18e41d3b852d36158bddd18f791e1128b98d35a3f68fae5bb29077820f4dff6fc9b1919
 DIST thinkfan-0.9.3.tar.gz 39527 SHA256 
b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
 WHIRLPOOL 
3bdbc0ca3731fef85e385b3259cc9ce6bf4c3b15195138caf5b192847bbba411068d00df8e5673600796e15d4d965c116b73745e787bea9f5a68dbbb5ee118db
-DIST thinkfan-0.9_beta2.tar.gz 41554 SHA256 
0db4a0e56c02b991be13741f622a8e475a8361112ff9a38a0430ccc22f104a39 SHA512 
3cf1b33de625a663b32482943f99dba88cc09106c1b96701ba6a36a5ea1abb3cfd8b32c3822af93d1cf19ab25c61370abca5bd0b313a9fb055dd191086c1df01
 WHIRLPOOL 
1a8e71fb0906fb11c5922f09e6136f48cbcb7128525fafeeb7f3474f01a00eeb046f69b2d5788428828a395dbc11ae084e9655259a1a74f6aafe04ca8417d4ad

diff --git a/app-laptop/thinkfan/files/thinkfan-0.8.1-openrc.patch 
b/app-laptop/thinkfan/files/thinkfan-0.8.1-openrc.patch
deleted file mode 100644
index 82acbe9..
--- a/app-laptop/thinkfan/files/thinkfan-0.8.1-openrc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 thinkfan-0.8.1/rcscripts/thinkfan.gentoo
-+++ thinkfan-0.8.1/rcscripts/thinkfan.gentoo
-@@ -11,7 +11,7 @@
- 
- start() {
-   ebegin "Starting thinkfan"
--  start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5
-+  start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5 -c 
/etc/thinkfan.conf
-   eend $?
- }
- 

diff --git a/app-laptop/thinkfan/thinkfan-0.8.1-r1.ebuild 
b/app-laptop/thinkfan/thinkfan-0.8.1-r1.ebuild
deleted file mode 100644
index 394e35d..
--- a/app-laptop/thinkfan/thinkfan-0.8.1-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-openrc.patch
-   tc-export CC
-}
-
-src_install() {
-   dosbin ${PN}
-
-   newinitd rcscripts/thinkfan.gentoo ${PN}
-
-   doman ${PN}.1
-   dodoc ChangeLog NEWS README \
-   examples/${PN}.conf.{complex,sysfs,thinkpad}
-}
-
-pkg_postinst() {
-   elog "Please read the documentation and copy an"
-   elog "appropriate file to /etc/thinkfan.conf."
-}

diff --git a/app-laptop/thinkfan/thinkfan-0.9_beta2.ebuild 
b/app-laptop/thinkfan/thinkfan-0.9_beta2.ebuild
deleted file mode 100644
index 64f6730..
--- a/app-laptop/thinkfan/thinkfan-0.9_beta2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit cmake-utils readme.gentoo systemd
-
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="atasmart"
-
-DEPEND="atasmart? ( dev-libs/libatasmart )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-0.8.1-openrc.patch
-   sed -e '/^set(CMAKE_C_FLAGS/d' \
-   -i CMakeLists.txt || die
-}
-
-src_configure() {

[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2016-12-21 Thread Patrice Clement
commit: 5aa0a6fb66d4b0b40996bef893ca3b2dbdbe05bf
Author: Amir Ghassemi Nasr  gmail  com>
AuthorDate: Mon Dec  5 12:39:41 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Dec 21 10:46:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa0a6fb

app-laptop/thinkfan: version bump to 0.9.3.

Gentoo-Bug: https://bugs.gentoo.org/597846

Closes: https://github.com/gentoo/gentoo/pull/3019

 app-laptop/thinkfan/Manifest  |  1 +
 app-laptop/thinkfan/thinkfan-0.9.3.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 709a139..a27bf75 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1,3 +1,4 @@
 DIST thinkfan-0.8.1.tar.gz 38417 SHA256 
ba630fdcdefa238b2c87f050f6fcbd5a4828527497d52d410761a26c8ca25311 SHA512 
6e5c7df599ca6f1c99cf61bfafb752f5886a7eeff9166a43006ea8d86f82ff8c4d5eb6ddc2e62dc5d01235038b4606fbbfc849f81b971388ccbe6417ee9f3208
 WHIRLPOOL 
975eee0b64db52bbd5552a540aff035abe36bd8a602ec6f966ec30a9ffd1bc9ef30481b91f37c6c3f771a2ba0b38850d7d4dc40387c475deffa7850288d122b4
 DIST thinkfan-0.9.2.tar.gz 39539 SHA256 
90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79 SHA512 
b27fd60a02ad06d30485ae3d658af6b9e79af3c898f415d0ff613839424f5dc9731be03d1d9bf3ed1311ecd0778aef5b30fa908cab386cf419db77ae29940684
 WHIRLPOOL 
2ca120ad9cf4960c7536cf6252b711257cbb7c1ca6061d028aebf53fd18e41d3b852d36158bddd18f791e1128b98d35a3f68fae5bb29077820f4dff6fc9b1919
+DIST thinkfan-0.9.3.tar.gz 39527 SHA256 
b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b SHA512 
d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
 WHIRLPOOL 
3bdbc0ca3731fef85e385b3259cc9ce6bf4c3b15195138caf5b192847bbba411068d00df8e5673600796e15d4d965c116b73745e787bea9f5a68dbbb5ee118db
 DIST thinkfan-0.9_beta2.tar.gz 41554 SHA256 
0db4a0e56c02b991be13741f622a8e475a8361112ff9a38a0430ccc22f104a39 SHA512 
3cf1b33de625a663b32482943f99dba88cc09106c1b96701ba6a36a5ea1abb3cfd8b32c3822af93d1cf19ab25c61370abca5bd0b313a9fb055dd191086c1df01
 WHIRLPOOL 
1a8e71fb0906fb11c5922f09e6136f48cbcb7128525fafeeb7f3474f01a00eeb046f69b2d5788428828a395dbc11ae084e9655259a1a74f6aafe04ca8417d4ad

diff --git a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild 
b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
new file mode 100644
index ..9691a05
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils readme.gentoo-r1 systemd
+
+DESCRIPTION="simple fan control program for thinkpads"
+HOMEPAGE="http://thinkfan.sourceforge.net;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="atasmart"
+
+DEPEND="atasmart? ( dev-libs/libatasmart )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   sed -e "s:#!/sbin/runscript:#!/sbin/openrc-run:" \
+   -i rcscripts/thinkfan.gentoo
+
+   sed -e "s:share/doc/${PN}:share/doc/${PF}:" \
+   -e "s:thinkfan.1:src/thinkfan.1:" \
+   -i CMakeLists.txt
+}
+
+src_configure() {
+   local mycmakeargs+=(
+   "-DCMAKE_BUILD_TYPE:STRING=Debug"
+   "-DUSE_ATASMART=$(usex atasmart)"
+   )
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   newinitd rcscripts/${PN}.gentoo ${PN}
+   systemd_dounit rcscripts/${PN}.service
+
+   readme.gentoo_create_doc
+}
+
+DOC_CONTENTS="Please read the documentation and copy an
+appropriate file to /etc/thinkfan.conf."



[gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/

2016-12-21 Thread Patrice Clement
commit: 6926ce4c261c9c47751768d1366ad8d09be48c1d
Author: Amir Ghassemi Nasr  gmail  com>
AuthorDate: Wed Dec  7 06:20:30 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Dec 21 10:46:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6926ce4c

app-laptop/thinkfan: drop 0.9.2 since 0.9.2-r1 is stable.

Closes: https://github.com/gentoo/gentoo/pull/3019

 app-laptop/thinkfan/thinkfan-0.9.2.ebuild | 47 ---
 1 file changed, 47 deletions(-)

diff --git a/app-laptop/thinkfan/thinkfan-0.9.2.ebuild 
b/app-laptop/thinkfan/thinkfan-0.9.2.ebuild
deleted file mode 100644
index 865e858..
--- a/app-laptop/thinkfan/thinkfan-0.9.2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils readme.gentoo systemd
-
-DESCRIPTION="simple fan control program for thinkpads"
-HOMEPAGE="http://thinkfan.sourceforge.net;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="atasmart"
-
-DEPEND="atasmart? ( dev-libs/libatasmart )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
-
-src_prepare() {
-   sed -e "s:share/doc/${PN}:share/doc/${P}:" \
-   -i CMakeLists.txt
-}
-
-src_configure() {
-   mycmakeargs+=(
-   "-DCMAKE_BUILD_TYPE:STRING=Debug"
-   "$(cmake-utils_use_use atasmart ATASMART)"
-   )
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   newinitd rcscripts/${PN}.gentoo ${PN}
-   systemd_dounit rcscripts/${PN}.service
-
-   readme.gentoo_create_doc
-}
-
-DOC_CONTENTS="Please read the documentation and copy an
-appropriate file to /etc/thinkfan.conf."