Package Details: gkrellm-hddtemp 0.2_beta-3

Git Clone URL: https://aur.archlinux.org/gkrellm-hddtemp.git (read-only)
Package Base: gkrellm-hddtemp
Description: A hddtemp plugin for gkrellm2
Upstream URL: http://www.guzu.net/linux/hddtemp.php
Licenses: GPL
Submitter: hatred
Maintainer: jose1711
Last Packager: jose1711
Votes: 20
Popularity: 0.003114
First Submitted: 2007-11-17 03:52
Last Updated: 2015-06-12 19:51

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

jose1711 commented on 2013-06-22 21:38

works for me. are you sure you ran systemctl start hddtemp before starting gkrellm?

mrbit commented on 2013-06-11 17:55

but the plugin not work ?? idea

mrbit commented on 2013-06-11 17:40

gcc -Wall -fPIC -O2 -DGKRELLM2 `pkg-config --cflags gtk+-2.0` -I. -c gkrellm-hddtemp.c
gkrellm-hddtemp.c: In function ‘string_extents’:
gkrellm-hddtemp.c:94:8: warning: passing argument 1 of ‘gdk_string_extents’ from incompatible pointer type [enabled by default]
&ext->width, &ext->ascent, &ext->descent);
^
In file included from /usr/include/gtk-2.0/gdk/gdk.h:42:0,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /usr/include/gkrellm2/gkrellm.h:47,
from gkrellm-hddtemp.c:40:
/usr/include/gtk-2.0/gdk/gdkfont.h:122:10: note: expected ‘struct GdkFont *’ but argument is of type ‘struct PangoFontDescription *’
void gdk_string_extents (GdkFont *font,
^
gcc -shared -Wl -o gkrellm-hddtemp.so gkrellm-hddtemp.o
gcc: error: unrecognized command line option ‘-Wl’
make: *** [gkrellm2] Errore 1

add in the PKGBUILD
...
sed -i "20s|-Wl||" Makefile
make gkrellm2
install -D -m755 gkrellm-hddtemp.so \
$pkgdir/usr/lib/gkrellm2/plugins/gkrellm-hddtemp.so

mrbit commented on 2013-06-11 17:36

gcc -Wall -fPIC -O2 -DGKRELLM2 `pkg-config --cflags gtk+-2.0` -I. -c gkrellm-hddtemp.c
gkrellm-hddtemp.c: In function ‘string_extents’:
gkrellm-hddtemp.c:94:8: warning: passing argument 1 of ‘gdk_string_extents’ from incompatible pointer type [enabled by default]
&ext->width, &ext->ascent, &ext->descent);
^
In file included from /usr/include/gtk-2.0/gdk/gdk.h:42:0,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /usr/include/gkrellm2/gkrellm.h:47,
from gkrellm-hddtemp.c:40:
/usr/include/gtk-2.0/gdk/gdkfont.h:122:10: note: expected ‘struct GdkFont *’ but argument is of type ‘struct PangoFontDescription *’
void gdk_string_extents (GdkFont *font,
^
gcc -shared -Wl -o gkrellm-hddtemp.so gkrellm-hddtemp.o
gcc: error: unrecognized command line option ‘-Wl’
make: *** [gkrellm2] Errore 1

add in the PKGBUILD
...
sed -i "20s|-Wl||" Makefile
make gkrellm2

ZauberParacelsus commented on 2012-07-06 04:25

I am orphaning this package for the time being because I have plans to switch distros in the future.