ports/65203: [NEW PORT] misc/xfce-weather-plugin
Filippo Natali
filippo at widestore.net
Mon Apr 5 09:50:22 UTC 2004
>Number: 65203
>Category: ports
>Synopsis: [NEW PORT] misc/xfce-weather-plugin
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 05 02:50:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Filippo Natali
>Release: FreeBSD 4.9-STABLE i386
>Organization:
Widestore srl
>Environment:
System: FreeBSD 4.9-STABLE #1: Sat Nov 22 10:44:53 CET 2003
filippo at cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA
>Description:
New port: xfce-weather-plugin, a nice Xfce panel applet for weather reports/forecasts
>How-To-Repeat:
>Fix:
--- xfce4-weather-plugin.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# xfce4-weather-plugin
# xfce4-weather-plugin/pkg-plist
# xfce4-weather-plugin/pkg-descr
# xfce4-weather-plugin/distinfo
# xfce4-weather-plugin/Makefile
# xfce4-weather-plugin/files
# xfce4-weather-plugin/files/patch-weather.c
#
echo c - xfce4-weather-plugin
mkdir -p xfce4-weather-plugin > /dev/null 2>&1
echo x - xfce4-weather-plugin/pkg-plist
sed 's/^X//' >xfce4-weather-plugin/pkg-plist << 'END-of-xfce4-weather-plugin/pkg-plist'
Xlib/xfce4/panel-plugins/libweather.so
Xlib/xfce4/panel-plugins/libweather.la
Xlib/xfce4/panel-plugins/libweather.a
Xshare/xfce4/weather/icons/liquid/1.png
Xshare/xfce4/weather/icons/liquid/10.png
Xshare/xfce4/weather/icons/liquid/11.png
Xshare/xfce4/weather/icons/liquid/12.png
Xshare/xfce4/weather/icons/liquid/13.png
Xshare/xfce4/weather/icons/liquid/14.png
Xshare/xfce4/weather/icons/liquid/15.png
Xshare/xfce4/weather/icons/liquid/16.png
Xshare/xfce4/weather/icons/liquid/17.png
Xshare/xfce4/weather/icons/liquid/18.png
Xshare/xfce4/weather/icons/liquid/19.png
Xshare/xfce4/weather/icons/liquid/2.png
Xshare/xfce4/weather/icons/liquid/20.png
Xshare/xfce4/weather/icons/liquid/21.png
Xshare/xfce4/weather/icons/liquid/22.png
Xshare/xfce4/weather/icons/liquid/23.png
Xshare/xfce4/weather/icons/liquid/24.png
Xshare/xfce4/weather/icons/liquid/25.png
Xshare/xfce4/weather/icons/liquid/26.png
Xshare/xfce4/weather/icons/liquid/27.png
Xshare/xfce4/weather/icons/liquid/28.png
Xshare/xfce4/weather/icons/liquid/29.png
Xshare/xfce4/weather/icons/liquid/3.png
Xshare/xfce4/weather/icons/liquid/30.png
Xshare/xfce4/weather/icons/liquid/31.png
Xshare/xfce4/weather/icons/liquid/32.png
Xshare/xfce4/weather/icons/liquid/33.png
Xshare/xfce4/weather/icons/liquid/34.png
Xshare/xfce4/weather/icons/liquid/35.png
Xshare/xfce4/weather/icons/liquid/36.png
Xshare/xfce4/weather/icons/liquid/37.png
Xshare/xfce4/weather/icons/liquid/38.png
Xshare/xfce4/weather/icons/liquid/39.png
Xshare/xfce4/weather/icons/liquid/4.png
Xshare/xfce4/weather/icons/liquid/40.png
Xshare/xfce4/weather/icons/liquid/41.png
Xshare/xfce4/weather/icons/liquid/42.png
Xshare/xfce4/weather/icons/liquid/43.png
Xshare/xfce4/weather/icons/liquid/44.png
Xshare/xfce4/weather/icons/liquid/5.png
Xshare/xfce4/weather/icons/liquid/6.png
Xshare/xfce4/weather/icons/liquid/7.png
Xshare/xfce4/weather/icons/liquid/8.png
Xshare/xfce4/weather/icons/liquid/9.png
X at unexec rmdir %D/lib/xfce4/panel-plugins 2>/dev/null || true
X at unexec rmdir %D/lib/xfce4 2>/dev/null || true
X at unexec rmdir %D/share/xfce4/weather/icons/liquid 2>/dev/null || true
X at unexec rmdir %D/share/xfce4/weather/icons 2>/dev/null || true
X at unexec rmdir %D/share/xfce4/weather 2>/dev/null || true
X at unexec rmdir %D/share/xfce4 2>/dev/null || true
END-of-xfce4-weather-plugin/pkg-plist
echo x - xfce4-weather-plugin/pkg-descr
sed 's/^X//' >xfce4-weather-plugin/pkg-descr << 'END-of-xfce4-weather-plugin/pkg-descr'
XXFce 4 weather module for xfce4-panel. It displays weather situation
Xand forecasts.
X
XAuthor: Bob Schlaermann <blackhole at atreidis.nl.eu.org>
XWWW: http://xfce-goodies.berlios.de/
END-of-xfce4-weather-plugin/pkg-descr
echo x - xfce4-weather-plugin/distinfo
sed 's/^X//' >xfce4-weather-plugin/distinfo << 'END-of-xfce4-weather-plugin/distinfo'
XMD5 (xfce4-weather-plugin-0.3.0.tar.gz) = 8796652a1bb75270dc70583739577cd5
XSIZE (xfce4-weather-plugin-0.3.0.tar.gz) = 574143
END-of-xfce4-weather-plugin/distinfo
echo x - xfce4-weather-plugin/Makefile
sed 's/^X//' >xfce4-weather-plugin/Makefile << 'END-of-xfce4-weather-plugin/Makefile'
X# New ports collection makefile for: xfce4-weather-plugin
X# Date created: 04 April 2004
X# Whom: Filippo Natali <filippo at widestore.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= xfce4-weather-plugin
XPORTVERSION= 0.3.0
XCATEGORIES= misc xfce
XMASTER_SITES= http://download.berlios.de/xfce-goodies/
X
XMAINTAINER= filippo at widestore.net
XCOMMENT= XFce 4 weather module for xfce4-panel
X
XBUILD_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
XLIB_DEPENDS= xfce4util.1:${PORTSDIR}/x11/libxfce4util \
X xfcegui4.1:${PORTSDIR}/x11-toolkits/libxfce4gui \
X xml2.5:${PORTSDIR}/textproc/libxml2 \
X startup-notification-1.0:${PORTSDIR}/x11/startup-notification
XRUN_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
X
XUSE_GNOME= gtk20
XUSE_X_PREFIX= yes
XUSE_LIBTOOL_VER=13
XINSTALLS_SHLIB= yes
XCONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
X
X.include <bsd.port.mk>
END-of-xfce4-weather-plugin/Makefile
echo c - xfce4-weather-plugin/files
mkdir -p xfce4-weather-plugin/files > /dev/null 2>&1
echo x - xfce4-weather-plugin/files/patch-weather.c
sed 's/^X//' >xfce4-weather-plugin/files/patch-weather.c << 'END-of-xfce4-weather-plugin/files/patch-weather.c'
X*** panel-plugin/weather.c Sun Feb 29 22:10:53 2004
X--- weather.c Fri Apr 2 16:00:39 2004
X***************
X*** 375,380 ****
X--- 375,382 ----
X
X void start_draw_up(xfceweather_data *data) {
X gint width, height;
X+ GdkRectangle update_rect = {0, 0, data->drawable_label->allocation.width,
X+ data->drawable_label->allocation.height};
X
X /* if only one pixmap don't start the callback */
X if (!data->xmldata_pixmaps || data->xmldata_pixmaps->len == 0)
X***************
X*** 383,391 ****
X if (data->xmldata_pixmaps->len == 1) {
X data->drawable_pixmap = (GdkPixmap *)g_ptr_array_index(data->xmldata_pixmaps, 0);
X data->drawable_offset = 0;
X-
X- GdkRectangle update_rect = {0, 0, data->drawable_label->allocation.width,
X- data->drawable_label->allocation.height};
X
X gtk_widget_draw(data->drawable_label, &update_rect);
X return;
X--- 385,390 ----
END-of-xfce4-weather-plugin/files/patch-weather.c
exit
--- xfce4-weather-plugin.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list