diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-04-05 23:34:35 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-04-05 23:34:35 +0000 |
commit | 6bfbb2232415c4b7be12b4e53f26b7ed19f3feae (patch) | |
tree | 6196f6eff079996842efcfc200c1beb3dec466a8 /misc/xfce4-weather-plugin | |
parent | e740886af012506944231c1d6d3484c3b31c8068 (diff) | |
download | ports-6bfbb2232415c4b7be12b4e53f26b7ed19f3feae.tar.gz ports-6bfbb2232415c4b7be12b4e53f26b7ed19f3feae.zip |
Add xfce4-weather-plugin 0.3.0, XFce 4 weather module for xfce4-panel.
PR: ports/65203
Submitted by: Filippo Natali <filippo@widestore.net>
Notes
Notes:
svn path=/head/; revision=106276
Diffstat (limited to 'misc/xfce4-weather-plugin')
-rw-r--r-- | misc/xfce4-weather-plugin/Makefile | 29 | ||||
-rw-r--r-- | misc/xfce4-weather-plugin/distinfo | 2 | ||||
-rw-r--r-- | misc/xfce4-weather-plugin/files/patch-weather.c | 25 | ||||
-rw-r--r-- | misc/xfce4-weather-plugin/pkg-descr | 5 | ||||
-rw-r--r-- | misc/xfce4-weather-plugin/pkg-plist | 53 |
5 files changed, 114 insertions, 0 deletions
diff --git a/misc/xfce4-weather-plugin/Makefile b/misc/xfce4-weather-plugin/Makefile new file mode 100644 index 000000000000..fb0629783e35 --- /dev/null +++ b/misc/xfce4-weather-plugin/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: xfce4-weather-plugin +# Date created: 04 April 2004 +# Whom: Filippo Natali <filippo@widestore.net> +# +# $FreeBSD$ +# + +PORTNAME= xfce4-weather-plugin +PORTVERSION= 0.3.0 +CATEGORIES= misc xfce +MASTER_SITES= http://download.berlios.de/xfce-goodies/ + +MAINTAINER= filippo@widestore.net +COMMENT= XFce 4 weather module for xfce4-panel + +BUILD_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel +LIB_DEPENDS= xfce4util.1:${PORTSDIR}/x11/libxfce4util \ + xfcegui4.1:${PORTSDIR}/x11-toolkits/libxfce4gui \ + xml2.5:${PORTSDIR}/textproc/libxml2 \ + startup-notification-1.0:${PORTSDIR}/x11/startup-notification +RUN_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel + +USE_GNOME= gtk20 +USE_X_PREFIX= yes +USE_LIBTOOL_VER=13 +INSTALLS_SHLIB= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} + +.include <bsd.port.mk> diff --git a/misc/xfce4-weather-plugin/distinfo b/misc/xfce4-weather-plugin/distinfo new file mode 100644 index 000000000000..31a2083c50b5 --- /dev/null +++ b/misc/xfce4-weather-plugin/distinfo @@ -0,0 +1,2 @@ +MD5 (xfce4-weather-plugin-0.3.0.tar.gz) = 8796652a1bb75270dc70583739577cd5 +SIZE (xfce4-weather-plugin-0.3.0.tar.gz) = 574143 diff --git a/misc/xfce4-weather-plugin/files/patch-weather.c b/misc/xfce4-weather-plugin/files/patch-weather.c new file mode 100644 index 000000000000..430a5875df14 --- /dev/null +++ b/misc/xfce4-weather-plugin/files/patch-weather.c @@ -0,0 +1,25 @@ +*** panel-plugin/weather.c Sun Feb 29 22:10:53 2004 +--- weather.c Fri Apr 2 16:00:39 2004 +*************** +*** 375,380 **** +--- 375,382 ---- + + void start_draw_up(xfceweather_data *data) { + gint width, height; ++ GdkRectangle update_rect = {0, 0, data->drawable_label->allocation.width, ++ data->drawable_label->allocation.height}; + + /* if only one pixmap don't start the callback */ + if (!data->xmldata_pixmaps || data->xmldata_pixmaps->len == 0) +*************** +*** 383,391 **** + if (data->xmldata_pixmaps->len == 1) { + data->drawable_pixmap = (GdkPixmap *)g_ptr_array_index(data->xmldata_pixmaps, 0); + data->drawable_offset = 0; +- +- GdkRectangle update_rect = {0, 0, data->drawable_label->allocation.width, +- data->drawable_label->allocation.height}; + + gtk_widget_draw(data->drawable_label, &update_rect); + return; +--- 385,390 ---- diff --git a/misc/xfce4-weather-plugin/pkg-descr b/misc/xfce4-weather-plugin/pkg-descr new file mode 100644 index 000000000000..537ed8869e9e --- /dev/null +++ b/misc/xfce4-weather-plugin/pkg-descr @@ -0,0 +1,5 @@ +XFce 4 weather module for xfce4-panel. It displays weather situation +and forecasts. + +Author: Bob Schlaermann <blackhole@atreidis.nl.eu.org> +WWW: http://xfce-goodies.berlios.de/ diff --git a/misc/xfce4-weather-plugin/pkg-plist b/misc/xfce4-weather-plugin/pkg-plist new file mode 100644 index 000000000000..9e8df2e9f717 --- /dev/null +++ b/misc/xfce4-weather-plugin/pkg-plist @@ -0,0 +1,53 @@ +lib/xfce4/panel-plugins/libweather.so +lib/xfce4/panel-plugins/libweather.la +lib/xfce4/panel-plugins/libweather.a +share/xfce4/weather/icons/liquid/1.png +share/xfce4/weather/icons/liquid/10.png +share/xfce4/weather/icons/liquid/11.png +share/xfce4/weather/icons/liquid/12.png +share/xfce4/weather/icons/liquid/13.png +share/xfce4/weather/icons/liquid/14.png +share/xfce4/weather/icons/liquid/15.png +share/xfce4/weather/icons/liquid/16.png +share/xfce4/weather/icons/liquid/17.png +share/xfce4/weather/icons/liquid/18.png +share/xfce4/weather/icons/liquid/19.png +share/xfce4/weather/icons/liquid/2.png +share/xfce4/weather/icons/liquid/20.png +share/xfce4/weather/icons/liquid/21.png +share/xfce4/weather/icons/liquid/22.png +share/xfce4/weather/icons/liquid/23.png +share/xfce4/weather/icons/liquid/24.png +share/xfce4/weather/icons/liquid/25.png +share/xfce4/weather/icons/liquid/26.png +share/xfce4/weather/icons/liquid/27.png +share/xfce4/weather/icons/liquid/28.png +share/xfce4/weather/icons/liquid/29.png +share/xfce4/weather/icons/liquid/3.png +share/xfce4/weather/icons/liquid/30.png +share/xfce4/weather/icons/liquid/31.png +share/xfce4/weather/icons/liquid/32.png +share/xfce4/weather/icons/liquid/33.png +share/xfce4/weather/icons/liquid/34.png +share/xfce4/weather/icons/liquid/35.png +share/xfce4/weather/icons/liquid/36.png +share/xfce4/weather/icons/liquid/37.png +share/xfce4/weather/icons/liquid/38.png +share/xfce4/weather/icons/liquid/39.png +share/xfce4/weather/icons/liquid/4.png +share/xfce4/weather/icons/liquid/40.png +share/xfce4/weather/icons/liquid/41.png +share/xfce4/weather/icons/liquid/42.png +share/xfce4/weather/icons/liquid/43.png +share/xfce4/weather/icons/liquid/44.png +share/xfce4/weather/icons/liquid/5.png +share/xfce4/weather/icons/liquid/6.png +share/xfce4/weather/icons/liquid/7.png +share/xfce4/weather/icons/liquid/8.png +share/xfce4/weather/icons/liquid/9.png +@unexec rmdir %D/lib/xfce4/panel-plugins 2>/dev/null || true +@unexec rmdir %D/lib/xfce4 2>/dev/null || true +@unexec rmdir %D/share/xfce4/weather/icons/liquid 2>/dev/null || true +@unexec rmdir %D/share/xfce4/weather/icons 2>/dev/null || true +@unexec rmdir %D/share/xfce4/weather 2>/dev/null || true +@unexec rmdir %D/share/xfce4 2>/dev/null || true |