Use gdk_pixbuf_new_from_data() instead of deprecated
gdk_pixbuf_new_from_inline(). Inline alert_inline[] needed to be --raw.
When gkrellmd refused connections, the socket was not flushed and the error
message might not be sent back to the client. Also, add a dialog to display
the error message.
- Make the gkrellm.pc install target depend on its input file, fixes
install target with parallel make
- Use a single rule for writing gkrellm.pc. Having a separate rule for
windows breaks parallel builds, for some reason a parallel build of just
the install_windows target ends up having unix gkrellm.pc contents.
Avoid this possible build race by using a single rule with optional
contents at the end of the file.
- Enforce static linking against libgkrellm.a on win32, otherwise plugin
sources using autotools/libtool fail to link. libtool tries very hard
to avoid mixing static and shared libraries so we will have to fall back
to raw linker flags (libgkrellm.a on win32 is kind of a static
convenience library)
Add a dependency on the windows build target to allow building and
installing GKrellM using a single target. This fixes calling "make
install_windows" without a prior call to "make windows".
Adding md5c to the build is already handled by src/Makefile but that
one only kicks in if EXTRAOBJS is not set at all.
This fixes accidental build (and inclusion) of the md5 code that is
normally used from OpenSSL or GnuTLS if one of them is detected.
- src/disk.c, server/monitor.c: Add gkrellm_disk_add_by_name() that allows creating disks with a custom label from sysdep code.
- src/Makefile, server/Makefile: Cleanup of darwin/darwin9/macosx targets. All custom variables are now set in src/Makefile and server/Makefile to allow easy building inside these subdirs. Removed very old link-flags which were used before OS X 10.3.
- All Makefiles: Remove unused GTK_CONFIG definitions, they were neither passed as an argument nor executed anywhere.
- Makefile: Update comments documenting Darwin and OS X targets (darwin, darwin9 and macosx)
- src/sysdeps/darwin.c: Use utmpx instead of deprecated utmp.
- src/sysdeps/darwin.c: Fix possible leak in gkrellm_sys_cpu_init(), pinfo was never free'd.
- src/sysdeps/darwin.c: Rewrite disk device enumeration and performance gathering. The previous implementation failed as soon as a single device contained no medium, resulting in no/wrong performance data for all subsequent devices. Also provides labels for krells based on real device-names (uses new gkrellm_disk_add_by_name()).