public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2023-06-18 19:22 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2023-06-18 19:22 UTC (permalink / raw
  To: gentoo-commits

commit:     03936c131f500d58b0b65f333fa0df5421448459
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 18:55:18 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 19:21:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03936c13

app-laptop/tp_smapi: migrate to linux-mod-r1.eclass (new revision).

In addition:

  * Dropped the flag-o-matic eclass and the -msse,-mssse3 flag
    stripping. I think the underlying GCC behavior has changed
    since bug 492964 was filed.

  * No more sys-apps/dmidecode dependency. I don't see it in the
    source code anywhere.

Closes: https://bugs.gentoo.org/908728
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/tp_smapi/tp_smapi-0.43-r3.ebuild | 46 +++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43-r3.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43-r3.ebuild
new file mode 100644
index 000000000000..bf08d020ede7
--- /dev/null
+++ b/app-laptop/tp_smapi/tp_smapi-0.43-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1
+
+DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
+HOMEPAGE="https://github.com/evgeni/tp_smapi"
+SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="hdaps"
+
+pkg_setup() {
+	if use hdaps; then
+		local CONFIG_CHECK="~INPUT_UINPUT"
+		local WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
+		local CONFIG_CHECK="~!SENSORS_HDAPS"
+		local ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
+	fi
+
+	linux-mod-r1_pkg_setup
+}
+
+src_compile() {
+	local modlist=( thinkpad_ec tp_smapi )
+	local modargs=( KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR} )
+
+	if use hdaps; then
+		modlist+=( hdaps )
+		modargs+=( HDAPS=1 )
+	fi
+
+	linux-mod-r1_src_compile
+}
+
+src_install() {
+	linux-mod-r1_src_install
+
+	newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
+	newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2024-03-02 11:26 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2024-03-02 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     cb76b48f9c38888c2df14683a76871be6eba0581
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 11:24:31 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 11:26:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb76b48f

app-laptop/tp_smapi: drop 0.43-r2

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/tp_smapi/Manifest                |  1 -
 app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild | 74 -----------------------------
 2 files changed, 75 deletions(-)

diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest
index e85fdf856832..594225100e16 100644
--- a/app-laptop/tp_smapi/Manifest
+++ b/app-laptop/tp_smapi/Manifest
@@ -1,2 +1 @@
-DIST tp_smapi-0.43.tgz 40122 BLAKE2B e14caa05d741d14b03c56c57badc5900a47735bc58966b5195ca34269a6227ecc50518ee5ce8cf47a4aacb314a0ed0332b987098f3be024b6af9024df6efdf9b SHA512 ec2e40a248e7eb5bff2ad9e57087058a8b4706d564bd340daba5a4700ad8a5389d1f9ec29984516a1167827ae55c28240dafb558df29e1f758a4f7af80caa1e7
 DIST tp_smapi-0.44.tgz 40724 BLAKE2B 03b765bc5736f514cf2a315dcc6d14bbb7869b98da8c5e016be49bd47bc2d1ec4da7c0c5b5468356df6aa4083b2de4048a078b5498dc7aa0083e3fcfbb64aa41 SHA512 c6b6068941d43505d14dc155441287ba5576f0b1b09861e13853e5360f9b4483d709b823761d39c93bc0c860100d43cc485d2454d66a66ceaaf2d43b5b0c9dc9

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild
deleted file mode 100644
index dab1bde4c144..000000000000
--- a/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit flag-o-matic linux-mod
-
-DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/tp_smapi"
-SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="hdaps"
-
-# We need dmideode if the kernel does not support
-# DMI_DEV_TYPE_OEM_STRING in dmi.h.
-DEPEND="sys-apps/dmidecode"
-RDEPEND="${DEPEND}"
-
-# This code is factored out of both pkg_pretend() and pkg_setup()
-# because the PMS states that ebuilds may not call phase functions
-# directly (see the "List of functions" section). This was bug #596616
-# and #596622.
-tp_smapi_pkg_pretend() {
-	linux-mod_pkg_setup
-
-	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
-	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
-	BUILD_TARGETS="default"
-
-	if use hdaps; then
-		CONFIG_CHECK="~INPUT_UINPUT"
-		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
-		# Why call this twice?
-		linux-info_pkg_setup
-
-		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
-		BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
-
-		CONFIG_CHECK="~!SENSORS_HDAPS"
-		ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
-		linux-info_pkg_setup
-	fi
-}
-
-pkg_pretend() {
-	tp_smapi_pkg_pretend
-}
-
-pkg_setup() {
-	# run again as pkg_pretend is not var safe
-	tp_smapi_pkg_pretend
-}
-
-src_compile() {
-	# Kernel Makefiles may pull in -mpreferred-stack-boundary=3
-	# which requires that SSE disabled or compilation will fail.
-	# So we need to ensure that appended user CLAGS do not re-enable SSE
-	# https://bugs.gentoo.org/show_bug.cgi?id=492964
-	replace-flags '-msse*' ''
-	replace-flags '-mssse3' ''
-
-	linux-mod_src_compile
-}
-
-src_install() {
-	linux-mod_src_install
-	einstalldocs
-	newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
-	newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2024-03-02 11:26 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2024-03-02 11:26 UTC (permalink / raw
  To: gentoo-commits

commit:     6031cb4d2559add76cee2f2c76eb129739b0c804
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 11:23:28 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 11:26:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6031cb4d

app-laptop/tp_smapi: stabilize 0.44 for amd64, x86

YOLOing x86 again because this needs special hardware.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

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

diff --git a/app-laptop/tp_smapi/tp_smapi-0.44.ebuild b/app-laptop/tp_smapi/tp_smapi-0.44.ebuild
index 828b76306fd0..d725c7dbf63b 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.44.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.44.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/linux-thinkpad/tp_smapi/releases/download/tp-smapi/$
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 IUSE="hdaps"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2023-12-22  3:32 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2023-12-22  3:32 UTC (permalink / raw
  To: gentoo-commits

commit:     9e56e809af7996c0aae8fdd8361bd9baafb71916
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 03:24:30 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 03:26:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e56e809

app-laptop/tp_smapi: add 0.44, drop 0.43-r3

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/tp_smapi/Manifest                                        | 1 +
 .../tp_smapi/{tp_smapi-0.43-r3.ebuild => tp_smapi-0.44.ebuild}      | 6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest
index 86ff549068b9..e85fdf856832 100644
--- a/app-laptop/tp_smapi/Manifest
+++ b/app-laptop/tp_smapi/Manifest
@@ -1 +1,2 @@
 DIST tp_smapi-0.43.tgz 40122 BLAKE2B e14caa05d741d14b03c56c57badc5900a47735bc58966b5195ca34269a6227ecc50518ee5ce8cf47a4aacb314a0ed0332b987098f3be024b6af9024df6efdf9b SHA512 ec2e40a248e7eb5bff2ad9e57087058a8b4706d564bd340daba5a4700ad8a5389d1f9ec29984516a1167827ae55c28240dafb558df29e1f758a4f7af80caa1e7
+DIST tp_smapi-0.44.tgz 40724 BLAKE2B 03b765bc5736f514cf2a315dcc6d14bbb7869b98da8c5e016be49bd47bc2d1ec4da7c0c5b5468356df6aa4083b2de4048a078b5498dc7aa0083e3fcfbb64aa41 SHA512 c6b6068941d43505d14dc155441287ba5576f0b1b09861e13853e5360f9b4483d709b823761d39c93bc0c860100d43cc485d2454d66a66ceaaf2d43b5b0c9dc9

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43-r3.ebuild b/app-laptop/tp_smapi/tp_smapi-0.44.ebuild
similarity index 83%
rename from app-laptop/tp_smapi/tp_smapi-0.43-r3.ebuild
rename to app-laptop/tp_smapi/tp_smapi-0.44.ebuild
index b9105968ab60..828b76306fd0 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.43-r3.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.44.ebuild
@@ -6,8 +6,8 @@ EAPI=8
 inherit linux-mod-r1
 
 DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/tp_smapi"
-SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz"
+HOMEPAGE="https://github.com/linux-thinkpad/tp_smapi"
+SRC_URI="https://github.com/linux-thinkpad/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -15,8 +15,6 @@ KEYWORDS="~amd64 ~x86"
 
 IUSE="hdaps"
 
-PATCHES=( "${FILESDIR}/${P}-linux-6.4.patch" )
-
 pkg_setup() {
 	if use hdaps; then
 		local CONFIG_CHECK="~INPUT_UINPUT"


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2022-07-27 22:10 Mike Pagano
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Pagano @ 2022-07-27 22:10 UTC (permalink / raw
  To: gentoo-commits

commit:     0d1ebc02960b34755f3311ce46ec7708664b9e7a
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 22:09:11 2022 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 22:09:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1ebc02

app-laptop/tp_smapi: update EAPI 6 -> 8

Bumped with permission from maintainer (mjo)

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild | 74 +++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild
new file mode 100644
index 000000000000..dab1bde4c144
--- /dev/null
+++ b/app-laptop/tp_smapi/tp_smapi-0.43-r2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit flag-o-matic linux-mod
+
+DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
+HOMEPAGE="https://github.com/evgeni/tp_smapi"
+SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="hdaps"
+
+# We need dmideode if the kernel does not support
+# DMI_DEV_TYPE_OEM_STRING in dmi.h.
+DEPEND="sys-apps/dmidecode"
+RDEPEND="${DEPEND}"
+
+# This code is factored out of both pkg_pretend() and pkg_setup()
+# because the PMS states that ebuilds may not call phase functions
+# directly (see the "List of functions" section). This was bug #596616
+# and #596622.
+tp_smapi_pkg_pretend() {
+	linux-mod_pkg_setup
+
+	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
+	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
+	BUILD_TARGETS="default"
+
+	if use hdaps; then
+		CONFIG_CHECK="~INPUT_UINPUT"
+		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
+		# Why call this twice?
+		linux-info_pkg_setup
+
+		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
+		BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
+
+		CONFIG_CHECK="~!SENSORS_HDAPS"
+		ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
+		linux-info_pkg_setup
+	fi
+}
+
+pkg_pretend() {
+	tp_smapi_pkg_pretend
+}
+
+pkg_setup() {
+	# run again as pkg_pretend is not var safe
+	tp_smapi_pkg_pretend
+}
+
+src_compile() {
+	# Kernel Makefiles may pull in -mpreferred-stack-boundary=3
+	# which requires that SSE disabled or compilation will fail.
+	# So we need to ensure that appended user CLAGS do not re-enable SSE
+	# https://bugs.gentoo.org/show_bug.cgi?id=492964
+	replace-flags '-msse*' ''
+	replace-flags '-mssse3' ''
+
+	linux-mod_src_compile
+}
+
+src_install() {
+	linux-mod_src_install
+	einstalldocs
+	newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
+	newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2022-07-27 22:10 Mike Pagano
  0 siblings, 0 replies; 17+ messages in thread
From: Mike Pagano @ 2022-07-27 22:10 UTC (permalink / raw
  To: gentoo-commits

commit:     7111c0e57e4c6ba9d5394ae34b8d7d9b2cc450c0
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 27 22:10:29 2022 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Wed Jul 27 22:10:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7111c0e5

app-laptop/tp_smapi: drop 0.43-r1

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild | 74 -----------------------------
 1 file changed, 74 deletions(-)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild
deleted file mode 100644
index ca46cf62c791..000000000000
--- a/app-laptop/tp_smapi/tp_smapi-0.43-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic linux-mod
-
-DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/tp_smapi"
-SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="hdaps"
-
-# We need dmideode if the kernel does not support
-# DMI_DEV_TYPE_OEM_STRING in dmi.h.
-DEPEND="sys-apps/dmidecode"
-RDEPEND="${DEPEND}"
-
-# This code is factored out of both pkg_pretend() and pkg_setup()
-# because the PMS states that ebuilds may not call phase functions
-# directly (see the "List of functions" section). This was bug #596616
-# and #596622.
-tp_smapi_pkg_pretend() {
-	linux-mod_pkg_setup
-
-	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
-	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
-	BUILD_TARGETS="default"
-
-	if use hdaps; then
-		CONFIG_CHECK="~INPUT_UINPUT"
-		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
-		# Why call this twice?
-		linux-info_pkg_setup
-
-		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
-		BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
-
-		CONFIG_CHECK="~!SENSORS_HDAPS"
-		ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
-		linux-info_pkg_setup
-	fi
-}
-
-pkg_pretend() {
-	tp_smapi_pkg_pretend
-}
-
-pkg_setup() {
-	# run again as pkg_pretend is not var safe
-	tp_smapi_pkg_pretend
-}
-
-src_compile() {
-	# Kernel Makefiles may pull in -mpreferred-stack-boundary=3
-	# which requires that SSE disabled or compilation will fail.
-	# So we need to ensure that appended user CLAGS do not re-enable SSE
-	# https://bugs.gentoo.org/show_bug.cgi?id=492964
-	replace-flags '-msse*' ''
-	replace-flags '-mssse3' ''
-
-	linux-mod_src_compile
-}
-
-src_install() {
-	linux-mod_src_install
-	einstalldocs
-	newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
-	newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2019-08-28 14:34 David Seifert
  0 siblings, 0 replies; 17+ messages in thread
From: David Seifert @ 2019-08-28 14:34 UTC (permalink / raw
  To: gentoo-commits

commit:     390aa98d3ddeb1a56ae0a3a7de1747c15a3e6cef
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 14:34:07 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 14:34:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390aa98d

app-laptop/tp_smapi: [QA] Fix ${HOMEPAGE} in SRC_URI

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

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

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
index 8a841c5e15a..99b675c4c0f 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
@@ -6,8 +6,8 @@ EAPI=6
 inherit flag-o-matic linux-mod
 
 DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/${PN}"
-SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
+HOMEPAGE="https://github.com/evgeni/tp_smapi"
+SRC_URI="https://github.com/evgeni/tp_smapi/releases/download/tp-smapi/${PV}/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2019-03-02 21:35 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2019-03-02 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     5272e050c99f6118c95f2c41279d380f41154016
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 21:33:40 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 21:35:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5272e050

app-laptop/tp_smapi: remove "unused" tp_smapi-0.42-r1.ebuild.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-laptop/tp_smapi/Manifest                |  1 -
 app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild | 74 -----------------------------
 2 files changed, 75 deletions(-)

diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest
index d2f981db017..86ff549068b 100644
--- a/app-laptop/tp_smapi/Manifest
+++ b/app-laptop/tp_smapi/Manifest
@@ -1,2 +1 @@
-DIST tp_smapi-0.42.tgz 39867 BLAKE2B 0f7285fe99766437d964780f3c9d88480a19ed07de155e1794b5c48f318846fbde4eb759e825af9f5da89fb20aee5e217f32e873a70c7d85f63e3a44b385b0f7 SHA512 1004b7ef961a9908c2144b26ea60b6dddabd83d60c11421a03e3b810f5b635415ef52656d6980915512d68f809f7bc3d662328f25d111537bd7e175d252cf83b
 DIST tp_smapi-0.43.tgz 40122 BLAKE2B e14caa05d741d14b03c56c57badc5900a47735bc58966b5195ca34269a6227ecc50518ee5ce8cf47a4aacb314a0ed0332b987098f3be024b6af9024df6efdf9b SHA512 ec2e40a248e7eb5bff2ad9e57087058a8b4706d564bd340daba5a4700ad8a5389d1f9ec29984516a1167827ae55c28240dafb558df29e1f758a4f7af80caa1e7

diff --git a/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
deleted file mode 100644
index a7aa31518d5..00000000000
--- a/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic linux-mod
-
-DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/${PN}"
-SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="hdaps"
-
-# We need dmideode if the kernel does not support
-# DMI_DEV_TYPE_OEM_STRING in dmi.h.
-DEPEND="sys-apps/dmidecode"
-RDEPEND="${DEPEND}"
-
-# This code is factored out of both pkg_pretend() and pkg_setup()
-# because the PMS states that ebuilds may not call phase functions
-# directly (see the "List of functions" section). This was bug #596616
-# and #596622.
-tp_smapi_pkg_pretend() {
-	linux-mod_pkg_setup
-
-	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
-	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
-	BUILD_TARGETS="default"
-
-	if use hdaps; then
-		CONFIG_CHECK="~INPUT_UINPUT"
-		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
-		# Why call this twice?
-		linux-info_pkg_setup
-
-		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
-		BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
-
-		CONFIG_CHECK="~!SENSORS_HDAPS"
-		ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
-		linux-info_pkg_setup
-	fi
-}
-
-pkg_pretend() {
-	tp_smapi_pkg_pretend
-}
-
-pkg_setup() {
-	# run again as pkg_pretend is not var safe
-	tp_smapi_pkg_pretend
-}
-
-src_compile() {
-	# Kernel Makefiles may pull in -mpreferred-stack-boundary=3
-	# which requires that SSE disabled or compilation will fail.
-	# So we need to ensure that appended user CLAGS do not re-enable SSE
-	# https://bugs.gentoo.org/show_bug.cgi?id=492964
-	replace-flags '-msse*' ''
-	replace-flags '-mssse3' ''
-
-	linux-mod_src_compile
-}
-
-src_install() {
-	linux-mod_src_install
-	einstalldocs
-	newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
-	newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2019-03-02 20:49 Thomas Deutschmann
  0 siblings, 0 replies; 17+ messages in thread
From: Thomas Deutschmann @ 2019-03-02 20:49 UTC (permalink / raw
  To: gentoo-commits

commit:     3694a3633a1c8662e47a0f1f682c8308bfeefba9
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 20:48:42 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 20:49:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3694a363

app-laptop/tp_smapi: x86 stable (bug #678542)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

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

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
index a653d8906e7..8a841c5e15a 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
@@ -11,7 +11,7 @@ SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 IUSE="hdaps"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2019-03-02 15:24 Mikle Kolyada
  0 siblings, 0 replies; 17+ messages in thread
From: Mikle Kolyada @ 2019-03-02 15:24 UTC (permalink / raw
  To: gentoo-commits

commit:     3f0f108f580d8a2dc96433e90672749a3b95f4fc
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 15:24:05 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 15:24:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0f108f

app-laptop/tp_smapi: amd64 stable wrt bug #678542

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

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

diff --git a/app-laptop/tp_smapi/tp_smapi-0.43.ebuild b/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
index 01186548256..a653d8906e7 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.43.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="hdaps"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2017-07-23 13:49 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2017-07-23 13:49 UTC (permalink / raw
  To: gentoo-commits

commit:     035ff67ea15b073aec1a3660b3e209fb2f49f0f0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 13:49:11 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 13:49:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=035ff67e

app-laptop/tp_smapi: remove unused version tp_smapi-0.41.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-laptop/tp_smapi/Manifest             |  1 -
 app-laptop/tp_smapi/tp_smapi-0.41.ebuild | 63 --------------------------------
 2 files changed, 64 deletions(-)

diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest
index d6d974e1846..d61cdef61bb 100644
--- a/app-laptop/tp_smapi/Manifest
+++ b/app-laptop/tp_smapi/Manifest
@@ -1,2 +1 @@
-DIST tp_smapi-0.41.tar.gz 38852 SHA256 6aef02b92d10360ac9be0db29ae390636be55017990063a092a285c70b54e666 SHA512 924a11cdf64bc151d069d4f61ca476cf006773291f363b21a80ce091f560a78c4828d2e522e646a5b133c58149a37cb5c2432a165e92e6980eb510b9488c728e WHIRLPOOL 10c74811148934a49b2d2b65cd65d366c58de03682c02d6b82694b4831634a25f2da9986b0493e28b372abf7ada692ee8ea85b2881b823b0cb7b35b73f348d6e
 DIST tp_smapi-0.42.tgz 39867 SHA256 7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27 SHA512 1004b7ef961a9908c2144b26ea60b6dddabd83d60c11421a03e3b810f5b635415ef52656d6980915512d68f809f7bc3d662328f25d111537bd7e175d252cf83b WHIRLPOOL 7d03aaf2bb4de3aabbc38fba62f126e6f2976ea1964d85da2fffbbcd63bb4c3884a152851cae116438b859c13d59fd4e41be126683f660f9b8322d7fc40ddc28

diff --git a/app-laptop/tp_smapi/tp_smapi-0.41.ebuild b/app-laptop/tp_smapi/tp_smapi-0.41.ebuild
deleted file mode 100644
index 2601ca14aae..00000000000
--- a/app-laptop/tp_smapi/tp_smapi-0.41.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit linux-mod
-
-DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/tp_smapi/ http://tpctl.sourceforge.net/"
-SRC_URI="mirror://github/evgeni/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="hdaps"
-
-RESTRICT="userpriv"
-
-# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
-# in dmi.h
-DEPEND="sys-apps/dmidecode"
-RDEPEND="${DEPEND}"
-
-pkg_pretend() {
-	linux-mod_pkg_setup
-
-	if kernel_is lt 2 6 19; then
-		eerror
-		eerror "${P} requires Linux kernel 2.6.19 or above."
-		eerror
-		die "Unsupported kernel version"
-	fi
-
-	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
-	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
-	BUILD_TARGETS="default"
-
-	if use hdaps; then
-		CONFIG_CHECK="~INPUT_UINPUT"
-		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
-		linux-info_pkg_setup
-
-		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
-		BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
-
-		CONFIG_CHECK="~!SENSORS_HDAPS"
-		ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
-		linux-info_pkg_setup
-	fi
-}
-
-pkg_setup() {
-	# run again as pkg_pretend is not var safe
-	pkg_pretend
-}
-
-src_install() {
-	linux-mod_src_install
-	dodoc CHANGES README
-	newinitd "${FILESDIR}"/${PN}-0.40-initd smapi
-	newconfd "${FILESDIR}"/${PN}-0.40-confd smapi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2016-12-20  1:08 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-12-20  1:08 UTC (permalink / raw
  To: gentoo-commits

commit:     e65853a0bd0b8c9bcdd56c19216b640823ff184b
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 01:04:47 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 01:05:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e65853a0

app-laptop/tp_smapi: stabilize tp_smapi-0.42-r1 for amd64.

Maintainer stabilization: this package requires special hardware,
which I possess for amd64. I've tested it there, but am unable to
do so for x86.

Gentoo-Bug: 596344

Package-Manager: portage-2.3.0

 app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
index 8f67166..5bfcd7f 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="hdaps"
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2016-10-12 13:51 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-10-12 13:51 UTC (permalink / raw
  To: gentoo-commits

commit:     36873496dfc4f29ccbee6742863fb56519739797
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 13:07:42 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 13:50:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36873496

app-laptop/tp_smapi: new revision that doesn't call pkg_pretend() directly.

Gentoo-Bug: 596622

Package-Manager: portage-2.3.0

 .../{tp_smapi-0.42.ebuild => tp_smapi-0.42-r1.ebuild}        | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.42.ebuild b/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
similarity index 85%
rename from app-laptop/tp_smapi/tp_smapi-0.42.ebuild
rename to app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
index ed4b4a5..8f67166 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.42.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.42-r1.ebuild
@@ -21,7 +21,11 @@ IUSE="hdaps"
 DEPEND="sys-apps/dmidecode"
 RDEPEND="${DEPEND}"
 
-pkg_pretend() {
+# This code is factored out of both pkg_pretend() and pkg_setup()
+# because the PMS states that ebuilds may not call phase functions
+# directly (see the "List of functions" section). This was bug #596616
+# and #596622.
+tp_smapi_pkg_pretend() {
 	linux-mod_pkg_setup
 
 	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
@@ -43,9 +47,13 @@ pkg_pretend() {
 	fi
 }
 
+pkg_pretend() {
+	tp_smapi_pkg_pretend
+}
+
 pkg_setup() {
 	# run again as pkg_pretend is not var safe
-	pkg_pretend
+	tp_smapi_pkg_pretend
 }
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2016-08-06  3:07 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-08-06  3:07 UTC (permalink / raw
  To: gentoo-commits

commit:     79e2115d8a44bbec89f09f7b328313ee3dc86a16
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  6 03:01:07 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Aug  6 03:07:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e2115d

app-laptop/tp_smapi: new version 0.42.

This adds a new version 0.42, and updates the ebuild a bit.

First, the ebuild was updated to EAPI=6. Then the RESTRICT=userpriv
was removed, as it no longer seems to have any effect: I can install
the package fine with FEATURES=userpriv. Next, an obsolete kernel
version check was removed. Every version of every flavor of Linux
sources we have in the tree is already newer than 2.6.19. Finally,
einstalldocs (from EAPI=6) was used to install the current set of docs
as well as a TODO that had been omitted.

I have added myself as the maintainer of this package, since I still
have hardware that it supports.

Gentoo-Bug: 516570
Gentoo-Bug: 583206

Package-Manager: portage-2.2.28

 app-laptop/tp_smapi/Manifest                       |  1 +
 app-laptop/tp_smapi/metadata.xml                   |  9 +++++++-
 ...p_smapi-0.41-r2.ebuild => tp_smapi-0.42.ebuild} | 26 ++++++++--------------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest
index 425ca7e..d6d974e 100644
--- a/app-laptop/tp_smapi/Manifest
+++ b/app-laptop/tp_smapi/Manifest
@@ -1 +1,2 @@
 DIST tp_smapi-0.41.tar.gz 38852 SHA256 6aef02b92d10360ac9be0db29ae390636be55017990063a092a285c70b54e666 SHA512 924a11cdf64bc151d069d4f61ca476cf006773291f363b21a80ce091f560a78c4828d2e522e646a5b133c58149a37cb5c2432a165e92e6980eb510b9488c728e WHIRLPOOL 10c74811148934a49b2d2b65cd65d366c58de03682c02d6b82694b4831634a25f2da9986b0493e28b372abf7ada692ee8ea85b2881b823b0cb7b35b73f348d6e
+DIST tp_smapi-0.42.tgz 39867 SHA256 7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27 SHA512 1004b7ef961a9908c2144b26ea60b6dddabd83d60c11421a03e3b810f5b635415ef52656d6980915512d68f809f7bc3d662328f25d111537bd7e175d252cf83b WHIRLPOOL 7d03aaf2bb4de3aabbc38fba62f126e6f2976ea1964d85da2fffbbcd63bb4c3884a152851cae116438b859c13d59fd4e41be126683f660f9b8322d7fc40ddc28

diff --git a/app-laptop/tp_smapi/metadata.xml b/app-laptop/tp_smapi/metadata.xml
index dc1f3c9..2f944f6 100644
--- a/app-laptop/tp_smapi/metadata.xml
+++ b/app-laptop/tp_smapi/metadata.xml
@@ -1,12 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
+
+  <maintainer type="person">
+    <email>mjo@gentoo.org</email>
+    <name>Michael Orlitzky</name>
+  </maintainer>
+
   <use>
     <flag name="hdaps">Install a compatible HDAPS module</flag>
   </use>
+
   <upstream>
     <remote-id type="github">evgeni/tp_smapi</remote-id>
     <remote-id type="sourceforge">tpctl</remote-id>
   </upstream>
+
 </pkgmetadata>

diff --git a/app-laptop/tp_smapi/tp_smapi-0.41-r2.ebuild b/app-laptop/tp_smapi/tp_smapi-0.42.ebuild
similarity index 72%
rename from app-laptop/tp_smapi/tp_smapi-0.41-r2.ebuild
rename to app-laptop/tp_smapi/tp_smapi-0.42.ebuild
index e32c1f3..ed4b4a5 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.41-r2.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.42.ebuild
@@ -2,13 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit flag-o-matic linux-mod
 
 DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/tp_smapi/ http://tpctl.sourceforge.net/"
-SRC_URI="mirror://github/evgeni/${PN}/${P}.tar.gz"
+HOMEPAGE="https://github.com/evgeni/${PN}"
+SRC_URI="${HOMEPAGE}/releases/download/tp-smapi/${PV}/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -16,23 +16,14 @@ KEYWORDS="~amd64 ~x86"
 
 IUSE="hdaps"
 
-RESTRICT="userpriv"
-
-# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
-# in dmi.h
+# We need dmideode if the kernel does not support
+# DMI_DEV_TYPE_OEM_STRING in dmi.h.
 DEPEND="sys-apps/dmidecode"
 RDEPEND="${DEPEND}"
 
 pkg_pretend() {
 	linux-mod_pkg_setup
 
-	if kernel_is lt 2 6 19; then
-		eerror
-		eerror "${P} requires Linux kernel 2.6.19 or above."
-		eerror
-		die "Unsupported kernel version"
-	fi
-
 	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
 	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
 	BUILD_TARGETS="default"
@@ -40,6 +31,7 @@ pkg_pretend() {
 	if use hdaps; then
 		CONFIG_CHECK="~INPUT_UINPUT"
 		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
+		# Why call this twice?
 		linux-info_pkg_setup
 
 		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
@@ -69,7 +61,7 @@ src_compile() {
 
 src_install() {
 	linux-mod_src_install
-	dodoc CHANGES README
-	newinitd "${FILESDIR}"/${PN}-0.40-initd smapi
-	newconfd "${FILESDIR}"/${PN}-0.40-confd smapi
+	einstalldocs
+	newinitd "${FILESDIR}/${PN}-0.40-initd" smapi
+	newconfd "${FILESDIR}/${PN}-0.40-confd" smapi
 }


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2016-04-26 16:51 Austin English
  0 siblings, 0 replies; 17+ messages in thread
From: Austin English @ 2016-04-26 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     532a1f2524f08e5800b734912df3346049e2dd1d
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 16:50:47 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 16:50:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=532a1f25

app-laptop/tp_smapi: remove tp_smapi-0.41-r1

Package-Manager: portage-2.2.26

 app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild | 75 -----------------------------
 1 file changed, 75 deletions(-)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild
deleted file mode 100644
index 1ce472b..0000000
--- a/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit flag-o-matic linux-mod
-
-DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
-HOMEPAGE="https://github.com/evgeni/tp_smapi/ http://tpctl.sourceforge.net/"
-SRC_URI="mirror://github/evgeni/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="hdaps"
-
-RESTRICT="userpriv"
-
-# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
-# in dmi.h
-DEPEND="sys-apps/dmidecode"
-RDEPEND="${DEPEND}"
-
-pkg_pretend() {
-	linux-mod_pkg_setup
-
-	if kernel_is lt 2 6 19; then
-		eerror
-		eerror "${P} requires Linux kernel 2.6.19 or above."
-		eerror
-		die "Unsupported kernel version"
-	fi
-
-	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
-	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
-	BUILD_TARGETS="default"
-
-	if use hdaps; then
-		CONFIG_CHECK="~INPUT_UINPUT"
-		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
-		linux-info_pkg_setup
-
-		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
-		BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
-
-		CONFIG_CHECK="~!SENSORS_HDAPS"
-		ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
-		linux-info_pkg_setup
-	fi
-}
-
-pkg_setup() {
-	# run again as pkg_pretend is not var safe
-	pkg_pretend
-}
-
-src_compile() {
-	# Kernel Makefiles may pull in -mpreferred-stack-boundary=3
-	# which requires that SSE disabled or compilation will fail.
-	# So we need to ensure that appended user CLAGS do not re-enable SSE
-	# https://bugs.gentoo.org/show_bug.cgi?id=492964
-	replace-flags '-msse*' ''
-	replace-flags '-mssse3' ''
-
-	linux-mod_src_compile
-}
-
-src_install() {
-	linux-mod_src_install
-	dodoc CHANGES README
-	newinitd "${FILESDIR}"/${PN}-0.40-initd smapi
-	newconfd "${FILESDIR}"/${PN}-0.40-confd smapi
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2015-12-23 15:38 Sebastian Pipping
  0 siblings, 0 replies; 17+ messages in thread
From: Sebastian Pipping @ 2015-12-23 15:38 UTC (permalink / raw
  To: gentoo-commits

commit:     4a67438e5990e45b6cd37086a59720cbb9d142b8
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 15:37:18 2015 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 15:37:18 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a67438e

app-laptop/tp_smapi: Filter -mssse3 (bug #492964)

Package-Manager: portage-2.2.26

 app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild
index fe6add2..1ce472b 100644
--- a/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild
+++ b/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild
@@ -62,6 +62,7 @@ src_compile() {
 	# So we need to ensure that appended user CLAGS do not re-enable SSE
 	# https://bugs.gentoo.org/show_bug.cgi?id=492964
 	replace-flags '-msse*' ''
+	replace-flags '-mssse3' ''
 
 	linux-mod_src_compile
 }


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/
@ 2015-12-20 21:47 Sebastian Pipping
  0 siblings, 0 replies; 17+ messages in thread
From: Sebastian Pipping @ 2015-12-20 21:47 UTC (permalink / raw
  To: gentoo-commits

commit:     b2ae67998fc017775a514b475022f4dc4c3466bc
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 21:43:27 2015 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 21:46:56 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ae6799

app-laptop/tp_smapi: Fix compilation (bug #492964)

Package-Manager: portage-2.2.26

 app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild | 74 +++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild b/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild
new file mode 100644
index 0000000..fe6add2
--- /dev/null
+++ b/app-laptop/tp_smapi/tp_smapi-0.41-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit flag-o-matic linux-mod
+
+DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
+HOMEPAGE="https://github.com/evgeni/tp_smapi/ http://tpctl.sourceforge.net/"
+SRC_URI="mirror://github/evgeni/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="hdaps"
+
+RESTRICT="userpriv"
+
+# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
+# in dmi.h
+DEPEND="sys-apps/dmidecode"
+RDEPEND="${DEPEND}"
+
+pkg_pretend() {
+	linux-mod_pkg_setup
+
+	if kernel_is lt 2 6 19; then
+		eerror
+		eerror "${P} requires Linux kernel 2.6.19 or above."
+		eerror
+		die "Unsupported kernel version"
+	fi
+
+	MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
+	BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
+	BUILD_TARGETS="default"
+
+	if use hdaps; then
+		CONFIG_CHECK="~INPUT_UINPUT"
+		WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
+		linux-info_pkg_setup
+
+		MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
+		BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
+
+		CONFIG_CHECK="~!SENSORS_HDAPS"
+		ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
+		linux-info_pkg_setup
+	fi
+}
+
+pkg_setup() {
+	# run again as pkg_pretend is not var safe
+	pkg_pretend
+}
+
+src_compile() {
+	# Kernel Makefiles may pull in -mpreferred-stack-boundary=3
+	# which requires that SSE disabled or compilation will fail.
+	# So we need to ensure that appended user CLAGS do not re-enable SSE
+	# https://bugs.gentoo.org/show_bug.cgi?id=492964
+	replace-flags '-msse*' ''
+
+	linux-mod_src_compile
+}
+
+src_install() {
+	linux-mod_src_install
+	dodoc CHANGES README
+	newinitd "${FILESDIR}"/${PN}-0.40-initd smapi
+	newconfd "${FILESDIR}"/${PN}-0.40-confd smapi
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-03-02 11:26 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-18 19:22 [gentoo-commits] repo/gentoo:master commit in: app-laptop/tp_smapi/ Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2024-03-02 11:26 Michael Orlitzky
2024-03-02 11:26 Michael Orlitzky
2023-12-22  3:32 Michael Orlitzky
2022-07-27 22:10 Mike Pagano
2022-07-27 22:10 Mike Pagano
2019-08-28 14:34 David Seifert
2019-03-02 21:35 Michael Orlitzky
2019-03-02 20:49 Thomas Deutschmann
2019-03-02 15:24 Mikle Kolyada
2017-07-23 13:49 Michael Orlitzky
2016-12-20  1:08 Michael Orlitzky
2016-10-12 13:51 Michael Orlitzky
2016-08-06  3:07 Michael Orlitzky
2016-04-26 16:51 Austin English
2015-12-23 15:38 Sebastian Pipping
2015-12-20 21:47 Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox