Package Details: xfce4-sensors-plugin-nvidia 1.5.0-2

Git Clone URL: https://aur.archlinux.org/xfce4-sensors-plugin-nvidia.git (read-only, click to copy)
Package Base: xfce4-sensors-plugin-nvidia
Description: A lm_sensors plugin for the Xfce panel with nvidia gpu support
Upstream URL: https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin
Keywords: temperature xfce4-panel,
Licenses: GPL-2.0-or-later
Conflicts: xfce4-sensors-plugin
Provides: xfce4-sensors-plugin
Submitter: tabbithakitten
Maintainer: FirstAirBender
Last Packager: FirstAirBender
Votes: 26
Popularity: 0.000000
First Submitted: 2015-09-27 05:47 (UTC)
Last Updated: 2025-09-09 01:20 (UTC)

Latest Comments

1 2 Next › Last »

FirstAirBender commented on 2025-09-09 01:21 (UTC)

Thanks, @Shyrak. Build updated to use meson

Shyrak commented on 2025-09-08 22:10 (UTC) (edited on 2025-09-08 22:10 (UTC) by Shyrak)

Didn't build for me. Modified the PKGBUILD to this if anyone is interested

diff --git a/PKGBUILD b/PKGBUILD
index 3e13be9..648de68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,43 +11,31 @@
 _pkgname=xfce4-sensors-plugin
 pkgname=xfce4-sensors-plugin-nvidia
 pkgver=1.5.0
-pkgrel=1
-pkgdesc="A lm_sensors plugin for the Xfce panel with nvidia gpu support"
-arch=('i686' 'x86_64')
-provides=("$_pkgname")
-conflicts=("$_pkgname")
-url="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
-license=('GPL-2.0-or-later')
+pkgrel=2
+pkgdesc="A lm_sensors plugin for the Xfce panel with NVIDIA GPU support"
+arch=('x86_64')
+url="https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin"
+license=('GPL2')
 depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme' 'libxnvctrl')
-makedepends=('intltool' 'hddtemp' 'netcat')
-optdepends=('hddtemp: for monitoring the temperature of hard drives')
+makedepends=('meson' 'ninja')
+optdepends=(
+  'hddtemp: for monitoring the temperature of hard drives'
+  'netcat: for remote sensor access'
+)
+provides=("$_pkgname=$pkgver")
+conflicts=("$_pkgname")
 source=(
-  https://archive.xfce.org/src/panel-plugins/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz
+  "https://archive.xfce.org/src/panel-plugins/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz"
 )
 sha256sums=('840442b87fdddcd8595bd9f83ea8b81f771fe296bb9d2abf0e1979e208727ae9')

 build() {
   cd "$srcdir/$_pkgname-$pkgver"
-
-  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-    --enable-xnvctrl \
-    --localstatedir=/var \
-    --datadir=/usr/share \
-    --datarootdir=/usr/share \
-    --disable-static \
-    --disable-debug \
-    --disable-pathchecks
-  make
+  meson setup build --prefix=/usr
+  meson compile -C build
 }

 package() {
   cd "$srcdir/$_pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
+  meson install -C build --destdir="$pkgdir"
 }
-
-# vim:set ts=2 sw=2 et:

sythagen commented on 2025-08-17 11:52 (UTC)

Out of date, 1.4.5 and 1.5.0 availible

FirstAirBender commented on 2024-04-08 17:18 (UTC)

@MarsSeed. Sorry, I completely missed those notices. I've updated the PKGBUILD

MarsSeed commented on 2023-08-23 17:46 (UTC)

Also please kindly add provides=("$_pkgname=$pkgver") to express that this is a drop-in alternative to repo's xfce4-sensors-plugin package.

MarsSeed commented on 2023-08-23 17:32 (UTC)

Please don't make this depend specifically on gnu-netcat, which has not seen a new release since 2004.

Instead, follow repo xfce4-sensors-plugin's example and make this depend only on netcat.

Thank you in advance.

Barracuda commented on 2022-03-02 18:06 (UTC)

I confirm, the plugin works, there is no issue, it displays the GPU temperature. Does anybody know how to display the gpu fan speed too ? Thanks

hiliev commented on 2021-02-09 16:19 (UTC) (edited on 2021-02-09 16:25 (UTC) by hiliev)

lib/nvidia.c doesn't build out of the box. NVCtrl/NVCtrlLib.h uses Xlib types but is included before X11/Xlib.h. Seems like an upstream problem. Same problem in version 1.3.95.

Edit: seems fixed upstream and will likely be included in the next release version.

VxlerieUwU commented on 2020-06-10 17:35 (UTC)

Fixed!

u666sa commented on 2020-06-05 12:02 (UTC)

Does not compile in Arch with gcc 10 (or g++ 10). You need to install gcc8 and use gcc8 (I compiled from source instead of installing from AUR). @undevdecatos make gcc8 a dependency and change make to use gcc-8 instead of gcc. (or g++-8 instead of g++).