[gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-sensors-applet/files/

2023-12-27 Thread Conrad Kostecki
commit: 09db16c49dcfa0c4dffaa45983bb0532aef9a024
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Dec 26 09:48:36 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Dec 28 01:03:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09db16c4

mate-extra/mate-sensors-applet: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34481
Signed-off-by: Conrad Kostecki  gentoo.org>

 ...lang-16-fix-undeclared-function-setlocale.patch | 130 -
 1 file changed, 130 deletions(-)

diff --git 
a/mate-extra/mate-sensors-applet/files/1.26.0-clang-16-fix-undeclared-function-setlocale.patch
 
b/mate-extra/mate-sensors-applet/files/1.26.0-clang-16-fix-undeclared-function-setlocale.patch
deleted file mode 100644
index a0b83dba38b2..
--- 
a/mate-extra/mate-sensors-applet/files/1.26.0-clang-16-fix-undeclared-function-setlocale.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-From 3ff9fb450aa2a28221fcd863bf7913e84eeeb7ba Mon Sep 17 00:00:00 2001
-From: listout 
-Date: Fri, 5 May 2023 11:07:20 +0530
-Subject: [PATCH] unconditionally include stdio.h and locale.h
-
-On musl mate-sensor-applet fails to build with error message saying
-"LC_NUMERIC undeclared". As suggested in issue mate-desktop#123, removing the 
include
-guards around #include  and #include 
-
-Upstream commit: 
https://patch-diff.githubusercontent.com/raw/mate-desktop/mate-sensors-applet/pull/128.patch
-Bug: https://bugs.gentoo.org/896200
-Signed-off-by: Brahmajit Das 
 a/configure.ac
-+++ b/configure.ac
-@@ -38,7 +38,6 @@ AC_SUBST(LIBS)
- AC_CHECK_HEADERS(
-   stdlib.h \
-   string.h \
--  stdio.h \
-   sys/types.h \
-   sys/socket.h \
-   netinet/in.h \
 a/plugins/acpi/acpi-plugin.c
-+++ b/plugins/acpi/acpi-plugin.c
-@@ -21,10 +21,7 @@
- #include 
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
- #include 
- #include 
- #include "acpi-plugin.h"
 a/plugins/i2c-proc/i2c-proc-plugin.c
-+++ b/plugins/i2c-proc/i2c-proc-plugin.c
-@@ -21,14 +21,8 @@
- #include 
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
--#ifdef HAVE_LOCALE_H
- #include 
--#endif
--
- #include 
- #include 
- #include "i2c-proc-plugin.h"
 a/plugins/i2c-sys/i2c-sys-plugin.c
-+++ b/plugins/i2c-sys/i2c-sys-plugin.c
-@@ -21,10 +21,7 @@
- #include 
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
- #include 
- #include 
- #include "i2c-sys-plugin.h"
 a/plugins/i8k/i8k-plugin.c
-+++ b/plugins/i8k/i8k-plugin.c
-@@ -21,10 +21,7 @@
- #include 
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
- #include 
- #include 
- #include "i8k-plugin.h"
 a/plugins/ibm-acpi/ibm-acpi-plugin.c
-+++ b/plugins/ibm-acpi/ibm-acpi-plugin.c
-@@ -21,10 +21,7 @@
- #include "config.h"
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
- #include 
- #include 
- #include "ibm-acpi-plugin.h"
 a/plugins/omnibook/omnibook-plugin.c
-+++ b/plugins/omnibook/omnibook-plugin.c
-@@ -21,10 +21,7 @@
- #include "config.h"
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
- #include 
- #include 
- #include "omnibook-plugin.h"
 a/plugins/pmu-sys/pmu-sys-plugin.c
-+++ b/plugins/pmu-sys/pmu-sys-plugin.c
-@@ -21,10 +21,7 @@
- #include "config.h"
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
- #include 
- #include 
- #include "pmu-sys-plugin.h"
 a/plugins/smu-sys/smu-sys-plugin.c
-+++ b/plugins/smu-sys/smu-sys-plugin.c
-@@ -21,10 +21,7 @@
- #include "config.h"
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
- #include 
- #include 
- #include "smu-sys-plugin.h"



[gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-sensors-applet/files/

2022-12-26 Thread Conrad Kostecki
commit: ac455001626de2669e8bf6e236b18bc598b4b2e3
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Dec 26 08:29:59 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Dec 26 13:41:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac455001

mate-extra/mate-sensors-applet: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 ...ensors-applet-1.24.1-dont-check-for-headers.patch | 20 
 1 file changed, 20 deletions(-)

diff --git 
a/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
 
b/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
deleted file mode 100644
index 98aba2e903d5..
--- 
a/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-# Removing unnecessary HAVE_STDIO_H and HAVE_LOCALE_H config checks. The
-# HAVE_LOCALE_H also makes fails to build on musl system.
-# Upstream issue: 
https://github.com/mate-desktop/mate-sensors-applet/issues/123
-# Closes: https://bugs.gentoo.org/777375
 a/plugins/i2c-proc/i2c-proc-plugin.c
-+++ b/plugins/i2c-proc/i2c-proc-plugin.c
-@@ -20,13 +20,8 @@
- #include 
- #endif /* HAVE_CONFIG_H */
-
--#ifdef HAVE_STDIO_H
- #include 
--#endif /* HAVE_STDIO_H */
--
--#ifdef HAVE_LOCALE_H
- #include 
--#endif
-
- #include 
- #include 



[gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-sensors-applet/files/, mate-extra/mate-sensors-applet/

2022-07-14 Thread Sam James
commit: 1bd3fa116f8bbf209550c8bfef2bc4ffd72ccc2e
Author: brahmajit das  gmail  com>
AuthorDate: Sat Jul  2 18:50:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 15 01:51:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd3fa11

mate-extra/mate-sensors-applet: Removing unnecessary config checks

Removing unnecessary HAVE_STDIO_H and HAVE_LOCALE_H config checks. The
HAVE_LOCALE_H also makes fails to build on musl system.

Upstream issue: mate-desktop/mate-sensors-applet#123
Closes: https://bugs.gentoo.org/777375
Signed-off-by: brahmajit das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26197
Signed-off-by: Sam James  gentoo.org>

 ...ensors-applet-1.24.1-dont-check-for-headers.patch | 20 
 .../mate-sensors-applet-1.24.1.ebuild|  4 
 2 files changed, 24 insertions(+)

diff --git 
a/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
 
b/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
new file mode 100644
index ..98aba2e903d5
--- /dev/null
+++ 
b/mate-extra/mate-sensors-applet/files/mate-sensors-applet-1.24.1-dont-check-for-headers.patch
@@ -0,0 +1,20 @@
+# Removing unnecessary HAVE_STDIO_H and HAVE_LOCALE_H config checks. The
+# HAVE_LOCALE_H also makes fails to build on musl system.
+# Upstream issue: 
https://github.com/mate-desktop/mate-sensors-applet/issues/123
+# Closes: https://bugs.gentoo.org/777375
+--- a/plugins/i2c-proc/i2c-proc-plugin.c
 b/plugins/i2c-proc/i2c-proc-plugin.c
+@@ -20,13 +20,8 @@
+ #include 
+ #endif /* HAVE_CONFIG_H */
+
+-#ifdef HAVE_STDIO_H
+ #include 
+-#endif /* HAVE_STDIO_H */
+-
+-#ifdef HAVE_LOCALE_H
+ #include 
+-#endif
+
+ #include 
+ #include 

diff --git a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild 
b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild
index c6264e8b1b34..fd9e54d09629 100644
--- a/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild
+++ b/mate-extra/mate-sensors-applet/mate-sensors-applet-1.24.1.ebuild
@@ -43,6 +43,10 @@ DEPEND="${COMMON_DEPEND}
 
 PDEPEND="hddtemp? ( dbus? ( sys-fs/udisks:2 ) )"
 
+PATCHES=(
+"${FILESDIR}/${PN}-1.24.1-dont-check-for-headers.patch"
+)
+
 src_configure() {
local udisks