From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 2 00:00:13 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F8F01065698 for ; Tue, 2 Feb 2010 00:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 78A9E8FC31 for ; Tue, 2 Feb 2010 00:00:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o12009rJ049022 for ; Tue, 2 Feb 2010 00:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o12009up049021; Tue, 2 Feb 2010 00:00:09 GMT (envelope-from gnats) Resent-Date: Tue, 2 Feb 2010 00:00:09 GMT Resent-Message-Id: <201002020000.o12009up049021@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nikos Ntarmos Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEC94106566C for ; Mon, 1 Feb 2010 23:55:19 +0000 (UTC) (envelope-from ntarmos@cs.uoi.gr) Received: from gaia.cs.uoi.gr (gaia.cs.uoi.gr [195.130.121.201]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6A58FC08 for ; Mon, 1 Feb 2010 23:55:19 +0000 (UTC) Received: from zeus.cs.uoi.gr (zeus.cs.uoi.gr [195.130.121.11]) by gaia.cs.uoi.gr (8.14.1/8.14.1) with ESMTP id o11NtCGK042133 for ; Tue, 2 Feb 2010 01:55:17 +0200 (EET) (envelope-from ntarmos@cs.uoi.gr) Received: from zeus.cs.uoi.gr (localhost [127.0.0.1]) by zeus.cs.uoi.gr (8.13.5/8.13.5) with ESMTP id o11Nt6ea007682 for ; Tue, 2 Feb 2010 01:55:11 +0200 (EET) Received: (from ntarmos@localhost) by zeus.cs.uoi.gr (8.13.5/8.13.5/Submit) id o11Nt5sL007681; Tue, 2 Feb 2010 01:55:06 +0200 (EET) Message-Id: <201002012355.o11Nt5sL007681@zeus.cs.uoi.gr> Date: Tue, 2 Feb 2010 01:55:06 +0200 (EET) From: Nikos Ntarmos To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143457: [maintainer-update] sysutils/conky support for weather and apcupsd X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nikos Ntarmos List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 00:00:13 -0000 >Number: 143457 >Category: ports >Synopsis: [maintainer-update] sysutils/conky support for weather and apcupsd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Feb 02 00:00:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nikos Ntarmos >Release: FreeBSD 8.0-RELEASE-p2 i386 >Organization: Computer Science Dept., U. of Ioannina, Greece >Environment: System: FreeBSD ace.cs.uoi.gr 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Sat Jan 9 05:01:41 EET 2010 ntarmos@ace.cs.uoi.gr:/opt/src/sys/i386/compile/ACE i386 >Description: Adding support for weather reports and apcupsd status reading to sysutils/conky. >How-To-Repeat: >Fix: --- conky.diff begins here --- --- Makefile.orig +++ Makefile @@ -7,7 +7,7 @@ PORTNAME= conky PORTVERSION= 1.7.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= SF @@ -26,7 +26,6 @@ USE_GMAKE= yes CONFIGURE_ARGS+= --disable-portmon \ --disable-hddtemp \ - --disable-apcupsd \ --disable-iostats CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" @@ -37,10 +36,13 @@ PORTDOCS= README AUTHORS ChangeLog TODO NEWS \ docs.html variables.html config_settings.html -OPTIONS+= AUDACIOUS "Enable Audacious support" Off \ +OPTIONS+= APCUPSD "Enable APCUPSD support" Off \ + AUDACIOUS "Enable Audacious support" Off \ BMPX "Enable BMPX support" Off \ MPD "Enable MPD support" Off \ RSS "Enable RSS support" Off \ + METAR "Enable METAR Weather support" Off \ + XOAP "Enable XOAP Weather support" Off \ XMMS2 "Enable XMMS2 support" Off .if !empty(USE_XORG) @@ -65,6 +67,13 @@ .undef WITH_XFT .endif +.if defined(WITH_APCUPSD) +RUN_DEPENDS+= ${LOCALBASE}/sbin/apcupsd:${PORTSDIR}/sysutils/apcupsd +CONFIGURE_ARGS+= --enable-apcupsd +.else +CONFIGURE_ARGS+= --disable-apcupsd +.endif + .if defined(WITH_AUDACIOUS) LIB_DEPENDS+= audclient.2:${PORTSDIR}/multimedia/audacious CONFIGURE_ARGS+= --enable-audacious @@ -124,6 +133,17 @@ USE_GNOME+= glib20 .endif +.if defined(WITH_METAR) +LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl +CONFIGURE_ARGS+= --enable-weather-metar +.endif + +.if defined(WITH_XOAP) +LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl \ + xml2.5:${PORTSDIR}/textproc/libxml2 +CONFIGURE_ARGS+= --enable-weather-xoap +.endif + .if defined(WITH_XMMS2) LIB_DEPENDS+= xmmsclient.5:${PORTSDIR}/audio/xmms2 CONFIGURE_ARGS+= --enable-xmms2 --- files/patch-configure.orig +++ files/patch-configure @@ -1,5 +1,14 @@ --- configure.orig +++ configure +@@ -12805,7 +12805,7 @@ + + + if test x$want_apcupsd = xyes; then +- if test x"$uname" != xLinux; then ++ if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then + { $as_echo "$as_me:$LINENO: apcupsd not supported on $uname... disabling" >&5 + $as_echo "$as_me: apcupsd not supported on $uname... disabling" >&6;} + want_apcupsd=no @@ -15930,7 +15930,7 @@ fi --- conky.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: