Update to 2.4.2.

This commit is contained in:
Adam Weinberger 2004-01-16 21:49:41 +00:00
parent 8cf8e98965
commit 58fee1dbc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98349
10 changed files with 58 additions and 80 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= gnomeapplets2
PORTVERSION= 2.4.1
PORTREVISION= 3
PORTVERSION= 2.4.2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-applets/2.4

View file

@ -1 +1 @@
MD5 (gnome2/gnome-applets-2.4.1.tar.bz2) = bf018f1692ab305954123d8123ef45d1
MD5 (gnome2/gnome-applets-2.4.2.tar.bz2) = 3a59c7f5b452e4f9675dfce44a2b3433

View file

@ -1,11 +0,0 @@
--- charpick/charpick.c.orig Wed Sep 10 13:33:00 2003
+++ charpick/charpick.c Wed Sep 10 13:33:19 2003
@@ -3,7 +3,7 @@
*/
#include <config.h>
-#ifndef sun
+#if !defined(sun) && !defined(__FreeBSD__)
#include <tgmath.h>
#endif
#include <panel-applet.h>

View file

@ -1,5 +1,5 @@
--- wireless/wireless-applet.c.orig Mon Sep 22 19:06:44 2003
+++ wireless/wireless-applet.c Tue Sep 23 00:17:03 2003
--- wireless/wireless-applet.c.orig Mon Oct 27 15:52:14 2003
+++ wireless/wireless-applet.c Fri Jan 16 16:47:14 2004
@@ -30,6 +30,15 @@
#include <math.h>
#include <dirent.h>
@ -72,7 +72,7 @@
wireless_applet_draw (applet, percent);
}
@@ -235,22 +260,179 @@
@@ -235,22 +260,180 @@
}
}
@ -251,10 +251,11 @@
+ }
+ ifs++;
+#else
+
char *ptr;
fgets (line, 256, applet->file);
@@ -283,6 +465,7 @@
@@ -283,6 +466,7 @@
wireless_applet_update_state (applet, device, link, level, noise);
}
}
@ -262,7 +263,7 @@
} while (1);
if (g_list_length (applet->devices)==1) {
@@ -294,17 +477,23 @@
@@ -294,17 +478,23 @@
}
/* rewind the /proc/net/wireless file */
@ -286,7 +287,7 @@
wireless_applet_read_device_state (applet);
@@ -351,6 +540,7 @@
@@ -351,6 +541,7 @@
static void
start_file_read (WirelessApplet *applet)
{
@ -294,7 +295,7 @@
applet->file = fopen ("/proc/net/wireless", "rt");
if (applet->file == NULL) {
gtk_tooltips_set_tip (applet->tips,
@@ -359,6 +549,7 @@
@@ -359,6 +550,7 @@
NULL);
show_error_dialog (_("There doesn't seem to be any wireless devices configured on your system.\nPlease verify your configuration if you think this is incorrect."));
}
@ -302,7 +303,7 @@
}
static void
@@ -641,8 +832,10 @@
@@ -646,8 +838,10 @@
applet->prefs = NULL;
}
@ -310,6 +311,6 @@
if (applet->file)
fclose (applet->file);
+#endif
if (applet->tips)
g_object_unref (applet->tips);
}
static void

View file

@ -858,6 +858,8 @@ share/gnome/omf/gnome-applets/gweather-es.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-es.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-fr.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-fr.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-it.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-it.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-ja.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-ja.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-ko.omf
@ -868,8 +870,6 @@ share/gnome/omf/gnome-applets/gweather-zh_CN.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-zh_CN.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-zh_TW.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-zh_TW.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather_applet-it.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather_applet-it.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/mailcheck-C.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/mailcheck-C.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/mailcheck-de.omf
@ -1519,12 +1519,12 @@ share/locale/zh_TW/LC_MESSAGES/gnome-applets-2.0.mo
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-de.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-es.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-fr.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-it.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-ja.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-ko.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-sv.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-zh_CN.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-zh_TW.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather_applet-it.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/mailcheck-C.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/mailcheck-de.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/mailcheck-es.omf 2>/dev/null || /usr/bin/true

View file

@ -6,8 +6,7 @@
#
PORTNAME= gnomeapplets2
PORTVERSION= 2.4.1
PORTREVISION= 3
PORTVERSION= 2.4.2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-applets/2.4

View file

@ -1 +1 @@
MD5 (gnome2/gnome-applets-2.4.1.tar.bz2) = bf018f1692ab305954123d8123ef45d1
MD5 (gnome2/gnome-applets-2.4.2.tar.bz2) = 3a59c7f5b452e4f9675dfce44a2b3433

View file

@ -1,11 +0,0 @@
--- charpick/charpick.c.orig Wed Sep 10 13:33:00 2003
+++ charpick/charpick.c Wed Sep 10 13:33:19 2003
@@ -3,7 +3,7 @@
*/
#include <config.h>
-#ifndef sun
+#if !defined(sun) && !defined(__FreeBSD__)
#include <tgmath.h>
#endif
#include <panel-applet.h>

View file

@ -1,5 +1,5 @@
--- wireless/wireless-applet.c.orig Mon Sep 22 19:06:44 2003
+++ wireless/wireless-applet.c Tue Sep 23 00:17:03 2003
--- wireless/wireless-applet.c.orig Mon Oct 27 15:52:14 2003
+++ wireless/wireless-applet.c Fri Jan 16 16:47:14 2004
@@ -30,6 +30,15 @@
#include <math.h>
#include <dirent.h>
@ -72,7 +72,7 @@
wireless_applet_draw (applet, percent);
}
@@ -235,22 +260,179 @@
@@ -235,22 +260,180 @@
}
}
@ -251,10 +251,11 @@
+ }
+ ifs++;
+#else
+
char *ptr;
fgets (line, 256, applet->file);
@@ -283,6 +465,7 @@
@@ -283,6 +466,7 @@
wireless_applet_update_state (applet, device, link, level, noise);
}
}
@ -262,7 +263,7 @@
} while (1);
if (g_list_length (applet->devices)==1) {
@@ -294,17 +477,23 @@
@@ -294,17 +478,23 @@
}
/* rewind the /proc/net/wireless file */
@ -286,7 +287,7 @@
wireless_applet_read_device_state (applet);
@@ -351,6 +540,7 @@
@@ -351,6 +541,7 @@
static void
start_file_read (WirelessApplet *applet)
{
@ -294,7 +295,7 @@
applet->file = fopen ("/proc/net/wireless", "rt");
if (applet->file == NULL) {
gtk_tooltips_set_tip (applet->tips,
@@ -359,6 +549,7 @@
@@ -359,6 +550,7 @@
NULL);
show_error_dialog (_("There doesn't seem to be any wireless devices configured on your system.\nPlease verify your configuration if you think this is incorrect."));
}
@ -302,7 +303,7 @@
}
static void
@@ -641,8 +832,10 @@
@@ -646,8 +838,10 @@
applet->prefs = NULL;
}
@ -310,6 +311,6 @@
if (applet->file)
fclose (applet->file);
+#endif
if (applet->tips)
g_object_unref (applet->tips);
}
static void

View file

@ -858,6 +858,8 @@ share/gnome/omf/gnome-applets/gweather-es.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-es.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-fr.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-fr.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-it.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-it.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-ja.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-ja.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-ko.omf
@ -868,8 +870,6 @@ share/gnome/omf/gnome-applets/gweather-zh_CN.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-zh_CN.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather-zh_TW.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather-zh_TW.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/gweather_applet-it.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/gweather_applet-it.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/mailcheck-C.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/mailcheck-C.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/mailcheck-de.omf
@ -1519,12 +1519,12 @@ share/locale/zh_TW/LC_MESSAGES/gnome-applets-2.0.mo
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-de.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-es.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-fr.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-it.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-ja.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-ko.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-sv.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-zh_CN.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather-zh_TW.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/gweather_applet-it.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/mailcheck-C.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/mailcheck-de.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/mailcheck-es.omf 2>/dev/null || /usr/bin/true