aboutsummaryrefslogtreecommitdiff
path: root/x11/gnomeapplets2
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
commit1cf501d6f87b43d3b20cdc1df1942dccff3796bd (patch)
tree888348323662d1fceb365259a7bc1b95e8e8d3f1 /x11/gnomeapplets2
parent6919c4e8e4b89639d4e9698d9c257a0dd4103be9 (diff)
Notes
Diffstat (limited to 'x11/gnomeapplets2')
-rw-r--r--x11/gnomeapplets2/Makefile3
-rw-r--r--x11/gnomeapplets2/distinfo2
-rw-r--r--x11/gnomeapplets2/files/patch-aa21
-rw-r--r--x11/gnomeapplets2/files/patch-battstat_Makefile.in18
-rw-r--r--x11/gnomeapplets2/files/patch-wireless_wireless-applet.c32
-rw-r--r--x11/gnomeapplets2/pkg-plist9
6 files changed, 51 insertions, 34 deletions
diff --git a/x11/gnomeapplets2/Makefile b/x11/gnomeapplets2/Makefile
index 0a07d795a9cc..78b24993d79e 100644
--- a/x11/gnomeapplets2/Makefile
+++ b/x11/gnomeapplets2/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= gnomeapplets2
-PORTVERSION= 2.4.0
+PORTVERSION= 2.4.1
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-applets/2.4
diff --git a/x11/gnomeapplets2/distinfo b/x11/gnomeapplets2/distinfo
index 52d4f73acccc..e12450bdce88 100644
--- a/x11/gnomeapplets2/distinfo
+++ b/x11/gnomeapplets2/distinfo
@@ -1 +1 @@
-MD5 (gnome2/gnome-applets-2.4.0.tar.bz2) = c17dba203ea379af5da056862672026c
+MD5 (gnome2/gnome-applets-2.4.1.tar.bz2) = bf018f1692ab305954123d8123ef45d1
diff --git a/x11/gnomeapplets2/files/patch-aa b/x11/gnomeapplets2/files/patch-aa
index 7c9edcd6d43a..6638e387efc9 100644
--- a/x11/gnomeapplets2/files/patch-aa
+++ b/x11/gnomeapplets2/files/patch-aa
@@ -1,14 +1,14 @@
---- configure.orig Sun Jun 1 13:55:59 2003
-+++ configure Mon Jun 2 02:36:19 2003
-@@ -7863,6 +7863,7 @@
+--- configure.orig Mon Sep 8 20:00:28 2003
++++ configure Wed Sep 24 23:29:28 2003
+@@ -8250,6 +8250,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+c_aux_dir/ltconfig $LIBTOOL_DEPS
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -11202,6 +11203,7 @@
+@@ -11792,6 +11793,7 @@
*irix*) CDROM_HOST=irix; CDROM_LIBS="-lcdaudio -lmediad -lds";cd_device_path="/dev/cdrom";;
*linux*) CDROM_HOST=linux;cd_device_path="/dev/cdrom";;
*netbsd*) CDROM_HOST=netbsd;cd_device_path="/dev/rcd0";;
@@ -16,7 +16,16 @@
*solaris*) CDROM_HOST=solaris;cd_device_path="/vol/dev/aliases/cdrom0";cdplayer_type_sun=true;;
esac
case "$host" in
-@@ -12771,14 +12773,14 @@
+@@ -11856,7 +11858,7 @@
+
+ ;;
+ # list of supported OS cores
+- *-*-linux*|*-*-freebsd*|*-*-openbsd*)
++ *-*-linux*|i386-*-freebsd*|*-*-openbsd*)
+ echo "$as_me:$LINENO: checking for apm_read in -lapm" >&5
+ echo $ECHO_N "checking for apm_read in -lapm... $ECHO_C" >&6
+ if test "${ac_cv_lib_apm_apm_read+set}" = set; then
+@@ -13646,14 +13648,14 @@
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
cat >>confdefs.h <<_ACEOF
diff --git a/x11/gnomeapplets2/files/patch-battstat_Makefile.in b/x11/gnomeapplets2/files/patch-battstat_Makefile.in
index 1908749369cb..6ddfc03c3b07 100644
--- a/x11/gnomeapplets2/files/patch-battstat_Makefile.in
+++ b/x11/gnomeapplets2/files/patch-battstat_Makefile.in
@@ -1,21 +1,21 @@
---- battstat/Makefile.in.orig Sun Jun 29 16:43:23 2003
-+++ battstat/Makefile.in Sun Jun 29 16:45:10 2003
-@@ -146,11 +146,11 @@
+--- battstat/Makefile.in.orig Tue Sep 23 00:11:20 2003
++++ battstat/Makefile.in Tue Sep 23 00:14:03 2003
+@@ -154,11 +154,11 @@
pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA = battstat.png
- @HAVE_LIBAPM_TRUE@APMLIB = -lapm
--@HAVE_LIBAPM_FALSE@APMLIB = apmlib/libapm.a
-+@HAVE_LIBAPM_FALSE@APMLIB =
+ @HAVE_LIBAPM_TRUE@APMLIB = @HAVE_LIBAPM_TRUE@-lapm
+-@HAVE_LIBAPM_FALSE@APMLIB = @HAVE_LIBAPM_FALSE@apmlib/libapm.a
++@HAVE_LIBAPM_FALSE@APMLIB =
@HAVE_LIBAPM_TRUE@APMDIR =
--@HAVE_LIBAPM_FALSE@APMDIR = apmlib
+-@HAVE_LIBAPM_FALSE@APMDIR = @HAVE_LIBAPM_FALSE@apmlib
+@HAVE_LIBAPM_FALSE@APMDIR =
@HAVE_LIBAPM_TRUE@APMINC =
--@HAVE_LIBAPM_FALSE@APMINC = -Iapmlib/
+-@HAVE_LIBAPM_FALSE@APMINC = @HAVE_LIBAPM_FALSE@-Iapmlib/
+@HAVE_LIBAPM_FALSE@APMINC =
SUBDIRS = docs sounds $(APMDIR)
-@@ -199,8 +199,7 @@
+@@ -230,8 +230,7 @@
@HAVE_LIBAPM_TRUE@battstat_applet_2_DEPENDENCIES = \
@HAVE_LIBAPM_TRUE@$(top_builddir)/screen-exec/libscreen-exec.la
@HAVE_LIBAPM_FALSE@battstat_applet_2_DEPENDENCIES = \
diff --git a/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c b/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c
index 5c1e32e88b09..7bf4eceb0d0f 100644
--- a/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c
+++ b/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c
@@ -1,6 +1,6 @@
---- wireless/wireless-applet.c.orig Sat Aug 23 09:10:54 2003
-+++ wireless/wireless-applet.c Thu Aug 28 00:44:16 2003
-@@ -30,12 +30,25 @@
+--- wireless/wireless-applet.c.orig Mon Sep 22 19:06:44 2003
++++ wireless/wireless-applet.c Tue Sep 23 00:17:03 2003
+@@ -30,6 +30,15 @@
#include <math.h>
#include <dirent.h>
@@ -16,7 +16,9 @@
#include <gnome.h>
#include <panel-applet.h>
#include <panel-applet-gconf.h>
- #include <glade/glade.h>
+@@ -37,7 +46,11 @@
+
+ #include <egg-screen-help.h>
+#ifdef __FreeBSD__
+#define CFG_DEVICE "an0"
@@ -26,7 +28,7 @@
#define CFG_UPDATE_INTERVAL 2
typedef enum {
-@@ -89,6 +102,12 @@
+@@ -93,6 +106,12 @@
WirelessApplet *applet);
static void wireless_applet_about_cb (BonoboUIComponent *uic,
WirelessApplet *applet);
@@ -36,10 +38,10 @@
+static int wi_getval(WirelessApplet *applet, char *device, struct wi_req *areq);
+static void get_wi_data(WirelessApplet *applet, char *device, long int *level);
+#endif
+ static void prefs_response_cb (GtkDialog *dialog, gint response, gpointer data);
static const BonoboUIVerb wireless_menu_verbs [] = {
- BONOBO_UI_UNSAFE_VERB ("WirelessProperties",
-@@ -143,9 +162,11 @@
+@@ -150,9 +169,11 @@
g_free (tmp);
/* Update the image */
@@ -52,7 +54,7 @@
state = PIX_BROKEN;
else if (percent == 0)
state = PIX_NO_LINK;
-@@ -176,6 +197,7 @@
+@@ -183,6 +204,7 @@
int percent;
/* Calculate the percentage based on the link quality */
@@ -60,7 +62,7 @@
if (level < 0) {
percent = -1;
} else {
-@@ -186,6 +208,9 @@
+@@ -193,6 +215,9 @@
percent = CLAMP (percent, 0, 100);
}
}
@@ -70,7 +72,7 @@
wireless_applet_draw (applet, percent);
}
-@@ -228,22 +253,179 @@
+@@ -235,22 +260,179 @@
}
}
@@ -252,7 +254,7 @@
char *ptr;
fgets (line, 256, applet->file);
-@@ -276,6 +458,7 @@
+@@ -283,6 +465,7 @@
wireless_applet_update_state (applet, device, link, level, noise);
}
}
@@ -260,7 +262,7 @@
} while (1);
if (g_list_length (applet->devices)==1) {
-@@ -287,17 +470,23 @@
+@@ -294,17 +477,23 @@
}
/* rewind the /proc/net/wireless file */
@@ -284,7 +286,7 @@
wireless_applet_read_device_state (applet);
-@@ -344,6 +533,7 @@
+@@ -351,6 +540,7 @@
static void
start_file_read (WirelessApplet *applet)
{
@@ -292,7 +294,7 @@
applet->file = fopen ("/proc/net/wireless", "rt");
if (applet->file == NULL) {
gtk_tooltips_set_tip (applet->tips,
-@@ -352,6 +542,7 @@
+@@ -359,6 +549,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."));
}
@@ -300,7 +302,7 @@
}
static void
-@@ -577,8 +768,10 @@
+@@ -641,8 +832,10 @@
applet->prefs = NULL;
}
diff --git a/x11/gnomeapplets2/pkg-plist b/x11/gnomeapplets2/pkg-plist
index 73b9b72d75d2..5145feb5b8d0 100644
--- a/x11/gnomeapplets2/pkg-plist
+++ b/x11/gnomeapplets2/pkg-plist
@@ -49,7 +49,7 @@ etc/gconf/schemas/stickynotes.schemas
%%BATTERY%%etc/sound/events/battstat_applet.soundlist
etc/sound/events/mailcheck.soundlist
libdata/bonobo/servers/GNOME_AccessxStatusApplet.server
-libdata/bonobo/servers/GNOME_BattstatApplet.server
+%%BATTERY%%libdata/bonobo/servers/GNOME_BattstatApplet.server
libdata/bonobo/servers/GNOME_CDPlayerApplet.server
libdata/bonobo/servers/GNOME_CharpickerApplet.server
libdata/bonobo/servers/GNOME_DriveMountApplet.server
@@ -231,7 +231,7 @@ share/gnome/gkb/YU_Serbo-Croatian_x.keyprop
share/gnome/gkb/Yugoslav.keyprop
share/gnome/gkb/presets.xml
share/gnome/gnome-2.0/ui/GNOME_AccessxApplet.xml
-share/gnome/gnome-2.0/ui/GNOME_BattstatApplet.xml
+%%BATTERY%%share/gnome/gnome-2.0/ui/GNOME_BattstatApplet.xml
share/gnome/gnome-2.0/ui/GNOME_CDPlayerApplet.xml
share/gnome/gnome-2.0/ui/GNOME_CharpickerApplet.xml
share/gnome/gnome-2.0/ui/GNOME_DriveMountApplet.xml
@@ -720,6 +720,8 @@ share/gnome/help/modemlights/C/legal.xml
share/gnome/help/modemlights/C/modemlights.xml
share/gnome/help/stickynotes_applet/C/legal.xml
share/gnome/help/stickynotes_applet/C/stickynotes_applet.xml
+share/gnome/help/wireless/C/legal.xml
+share/gnome/help/wireless/C/wireless.xml
share/gnome/omf/gnome-applets/accessx-status-C.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/accessx-status-C.omf 2>/dev/null || /usr/bin/true
%%BATTERY%%share/gnome/omf/gnome-applets/battstat-C.omf
@@ -910,6 +912,8 @@ share/gnome/omf/gnome-applets/modemlights-C.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/modemlights-C.omf 2>/dev/null || /usr/bin/true
share/gnome/omf/gnome-applets/stickynotes_applet-C.omf
@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/stickynotes_applet-C.omf 2>/dev/null || /usr/bin/true
+share/gnome/omf/gnome-applets/wireless-C.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-applets/wireless-C.omf 2>/dev/null || /usr/bin/true
share/gnome/pixmaps/accessx-status-applet/ax-applet.png
share/gnome/pixmaps/accessx-status-applet/ax-bouncekeys.png
share/gnome/pixmaps/accessx-status-applet/ax-key-base.png
@@ -1539,3 +1543,4 @@ share/locale/zh_TW/LC_MESSAGES/gnome-applets-2.0.mo
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/mixer_applet2-zh_TW.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/modemlights-C.omf 2>/dev/null || /usr/bin/true
@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/stickynotes_applet-C.omf 2>/dev/null || /usr/bin/true
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-applets/wireless-C.omf 2>/dev/null || /usr/bin/true