On Sat, Jul 23, 2011 at 03:28:01PM +0200, Remi Pointel wrote: > > after the latest update to current and packages, > > seems like redshift is missing a lib_depend? > > > > $ redshift -l 54.5:4.9 -t 6000:4000 & > > redshift: can't load library 'libgeoclue.so.1.0' > > could you precise your redshift version please ? > We have recently commited the 1.7 version.
It indeed picks up geoclue if installed. Here's a diff with geoclue added to lib_depends and regenerated wantlib: Index: Makefile =================================================================== RCS file: /cvs/ports/misc/redshift/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 17 Jul 2011 08:05:36 -0000 1.10 +++ Makefile 23 Jul 2011 14:28:55 -0000 @@ -4,6 +4,7 @@ COMMENT= automatic color temperature adj V= 1.7 DISTNAME= redshift-${V} +REVISION= 0 EXTRACT_SUFX= .tar.bz2 CATEGORIES= misc @@ -16,16 +17,16 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB += X11 Xau Xdmcp Xext Xxf86vm c glib-2.0 gmodule-2.0 gobject-2.0 -WANTLIB += gthread-2.0 m pthread pthread-stubs xcb xcb-randr ORBit-2 -WANTLIB += gconf-2 gio-2.0 +WANTLIB += X11 Xxf86vm c dbus-1 dbus-glib-1 gconf-2 geoclue glib-2.0 +WANTLIB += gobject-2.0 gthread-2.0 m pthread xcb xcb-randr xml2 MASTER_SITES= http://launchpad.net/redshift/trunk/${V:C/^([0-9]+\.[0-9]+).*/\1/}/+download/ RUN_DEPENDS= devel/desktop-file-utils \ x11/py-gtk2 \ devel/py-xdg -LIB_DEPENDS= devel/gconf2 +LIB_DEPENDS= devel/gconf2 \ + geo/geoclue MODULES= devel/gettext \ lang/python