diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-04-29 01:35:15 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-04-29 01:35:15 +0800 |
commit | d73a80e1df14b8b73196d95e3d8478905d686cc7 (patch) | |
tree | 6e49a76883ef4da0a9358e54901495119037f23b /net/gnome-netstatus | |
parent | 5c8a0da0be37a6ac46f33abd0f231c0dca37e0ff (diff) | |
download | marcuscom-ports-d73a80e1df14b8b73196d95e3d8478905d686cc7.tar marcuscom-ports-d73a80e1df14b8b73196d95e3d8478905d686cc7.tar.gz marcuscom-ports-d73a80e1df14b8b73196d95e3d8478905d686cc7.tar.bz2 marcuscom-ports-d73a80e1df14b8b73196d95e3d8478905d686cc7.tar.lz marcuscom-ports-d73a80e1df14b8b73196d95e3d8478905d686cc7.tar.xz marcuscom-ports-d73a80e1df14b8b73196d95e3d8478905d686cc7.tar.zst marcuscom-ports-d73a80e1df14b8b73196d95e3d8478905d686cc7.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8667 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gnome-netstatus')
-rw-r--r-- | net/gnome-netstatus/Makefile | 35 | ||||
-rw-r--r-- | net/gnome-netstatus/distinfo | 3 | ||||
-rw-r--r-- | net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c | 58 | ||||
-rw-r--r-- | net/gnome-netstatus/pkg-descr | 2 | ||||
-rw-r--r-- | net/gnome-netstatus/pkg-plist | 242 |
5 files changed, 340 insertions, 0 deletions
diff --git a/net/gnome-netstatus/Makefile b/net/gnome-netstatus/Makefile new file mode 100644 index 000000000..72af8fad4 --- /dev/null +++ b/net/gnome-netstatus/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: gnomenetstatus +# Date Created: 05 December 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/net/gnome-netstatus/Makefile,v 1.41 2006/07/23 01:10:49 mezz Exp $ +# + +PORTNAME= gnome-netstatus +PORTVERSION= 2.12.1 +PORTREVISION= 1 +CATEGORIES= net gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A GNOME applet that shows network status + +USE_XLIB= yes +INSTALLS_OMF= yes +INSTALLS_ICONS= yes +USE_BZIP2= yes +GNOME_DESKTOP_VERSION=2 +USE_GNOME= gnomehack intlhack gnomeprefix libgnome gnomepanel libglade2 \ + gnomedocutils +USE_GMAKE= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= netstatus.schemas + +.include <bsd.port.mk> diff --git a/net/gnome-netstatus/distinfo b/net/gnome-netstatus/distinfo new file mode 100644 index 000000000..8297e98a7 --- /dev/null +++ b/net/gnome-netstatus/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-netstatus-2.12.1.tar.bz2) = 8651ca1694a6c222ae5cad6e21814d24 +SHA256 (gnome2/gnome-netstatus-2.12.1.tar.bz2) = 4648439f0327963dcbbf2d07d2de1cf1ef74a7430bcbe175717efd0e7f7824ed +SIZE (gnome2/gnome-netstatus-2.12.1.tar.bz2) = 500536 diff --git a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c new file mode 100644 index 000000000..de7d713c7 --- /dev/null +++ b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c @@ -0,0 +1,58 @@ +--- src/netstatus-sysdeps.c.orig Tue Feb 13 04:39:19 2007 ++++ src/netstatus-sysdeps.c Tue Feb 13 17:16:29 2007 +@@ -430,11 +430,11 @@ static inline char * + get_an_data (const char *iface, + int *signal_strength) + { ++ struct an_ltv_status *sts; ++ struct an_req areq; + #ifdef AN_RID_RSSI_MAP + struct an_ltv_rssi_map an_rssimap; + #endif +- struct an_req areq; +- struct an_ltv_status *sts; + int level; + char *error = NULL; + gboolean rssimap_valid = FALSE; +@@ -486,11 +486,11 @@ get_wi_data (const char *iface, + level = (int) wreq.wi_val[1]; + + #ifdef WI_RID_READ_APS +- if (signal_strength <= 0) ++ if (*signal_strength <= 0) + { + /* we fail to get signal strength by usual means, try another way */ + static time_t last_scan; +- static long int cached; ++ static int cached; + time_t now; + + now = time (NULL); +@@ -510,15 +510,15 @@ get_wi_data (const char *iface, + if (nstations > 0) + { + w = (struct wi_apinfo *)(((char *) &wreq.wi_val) + sizeof (int)); +- signal_strength = (long int) w->signal; ++ level = w->signal; + } + +- cached = signal_strength; ++ cached = level; + last_scan = now; + } + else + { +- signal_strength = cached; ++ level = cached; + } + } + #endif +@@ -548,6 +548,8 @@ netstatus_sysdeps_read_iface_wireless_de + g_strncasecmp (iface, "wi", 2) && + g_strncasecmp (iface, "ath", 3) && + g_strncasecmp (iface, "ndis", 4) && ++ g_strncasecmp (iface, "ural", 4) && ++ g_strncasecmp (iface, "ral", 3) && + g_strncasecmp (iface, "ipw", 3) && + g_strncasecmp (iface, "iwi", 3) && + g_strncasecmp (iface, "acx", 3)) diff --git a/net/gnome-netstatus/pkg-descr b/net/gnome-netstatus/pkg-descr new file mode 100644 index 000000000..0848cf01f --- /dev/null +++ b/net/gnome-netstatus/pkg-descr @@ -0,0 +1,2 @@ +Gnome-netstatus is a panel applet which provides information about +network interfaces. diff --git a/net/gnome-netstatus/pkg-plist b/net/gnome-netstatus/pkg-plist new file mode 100644 index 000000000..5c3fde7f7 --- /dev/null +++ b/net/gnome-netstatus/pkg-plist @@ -0,0 +1,242 @@ +libdata/bonobo/servers/GNOME_NetstatusApplet_Factory.server +libexec/gnome-netstatus-applet +share/gnome-2.0/ui/GNOME_NetstatusApplet.xml +share/gnome-netstatus/gnome-netstatus.glade +share/gnome/help/gnome-netstatus/C/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/C/legal.xml +share/gnome/help/gnome-netstatus/bg/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/de/figures/gnome-netstatus-disconn.png +share/gnome/help/gnome-netstatus/de/figures/gnome-netstatus-error.png +share/gnome/help/gnome-netstatus/de/figures/gnome-netstatus-idle.png +share/gnome/help/gnome-netstatus/de/figures/gnome-netstatus-rx.png +share/gnome/help/gnome-netstatus/de/figures/gnome-netstatus-tx.png +share/gnome/help/gnome-netstatus/de/figures/gnome-netstatus-txrx.png +share/gnome/help/gnome-netstatus/de/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/de/legal.xml +share/gnome/help/gnome-netstatus/es/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/fr/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/it/figures/gnome-netstatus-disconn.png +share/gnome/help/gnome-netstatus/it/figures/gnome-netstatus-error.png +share/gnome/help/gnome-netstatus/it/figures/gnome-netstatus-idle.png +share/gnome/help/gnome-netstatus/it/figures/gnome-netstatus-rx.png +share/gnome/help/gnome-netstatus/it/figures/gnome-netstatus-tx.png +share/gnome/help/gnome-netstatus/it/figures/gnome-netstatus-txrx.png +share/gnome/help/gnome-netstatus/it/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/it/legal.xml +share/gnome/help/gnome-netstatus/ja/figures/gnome-netstatus-disconn.png +share/gnome/help/gnome-netstatus/ja/figures/gnome-netstatus-error.png +share/gnome/help/gnome-netstatus/ja/figures/gnome-netstatus-idle.png +share/gnome/help/gnome-netstatus/ja/figures/gnome-netstatus-rx.png +share/gnome/help/gnome-netstatus/ja/figures/gnome-netstatus-tx.png +share/gnome/help/gnome-netstatus/ja/figures/gnome-netstatus-txrx.png +share/gnome/help/gnome-netstatus/ja/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/ja/legal.xml +share/gnome/help/gnome-netstatus/ko/figures/gnome-netstatus-disconn.png +share/gnome/help/gnome-netstatus/ko/figures/gnome-netstatus-error.png +share/gnome/help/gnome-netstatus/ko/figures/gnome-netstatus-idle.png +share/gnome/help/gnome-netstatus/ko/figures/gnome-netstatus-rx.png +share/gnome/help/gnome-netstatus/ko/figures/gnome-netstatus-tx.png +share/gnome/help/gnome-netstatus/ko/figures/gnome-netstatus-txrx.png +share/gnome/help/gnome-netstatus/ko/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/ko/legal.xml +share/gnome/help/gnome-netstatus/nl/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/pa/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/ru/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/sv/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/uk/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/zh_CN/figures/gnome-netstatus-disconn.png +share/gnome/help/gnome-netstatus/zh_CN/figures/gnome-netstatus-error.png +share/gnome/help/gnome-netstatus/zh_CN/figures/gnome-netstatus-idle.png +share/gnome/help/gnome-netstatus/zh_CN/figures/gnome-netstatus-rx.png +share/gnome/help/gnome-netstatus/zh_CN/figures/gnome-netstatus-tx.png +share/gnome/help/gnome-netstatus/zh_CN/figures/gnome-netstatus-txrx.png +share/gnome/help/gnome-netstatus/zh_CN/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/zh_CN/legal.xml +share/gnome/help/gnome-netstatus/zh_HK/figures/gnome-netstatus-disconn.png +share/gnome/help/gnome-netstatus/zh_HK/figures/gnome-netstatus-error.png +share/gnome/help/gnome-netstatus/zh_HK/figures/gnome-netstatus-idle.png +share/gnome/help/gnome-netstatus/zh_HK/figures/gnome-netstatus-rx.png +share/gnome/help/gnome-netstatus/zh_HK/figures/gnome-netstatus-tx.png +share/gnome/help/gnome-netstatus/zh_HK/figures/gnome-netstatus-txrx.png +share/gnome/help/gnome-netstatus/zh_HK/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/zh_HK/legal.xml +share/gnome/help/gnome-netstatus/zh_TW/figures/gnome-netstatus-disconn.png +share/gnome/help/gnome-netstatus/zh_TW/figures/gnome-netstatus-error.png +share/gnome/help/gnome-netstatus/zh_TW/figures/gnome-netstatus-idle.png +share/gnome/help/gnome-netstatus/zh_TW/figures/gnome-netstatus-rx.png +share/gnome/help/gnome-netstatus/zh_TW/figures/gnome-netstatus-tx.png +share/gnome/help/gnome-netstatus/zh_TW/figures/gnome-netstatus-txrx.png +share/gnome/help/gnome-netstatus/zh_TW/gnome-netstatus.xml +share/gnome/help/gnome-netstatus/zh_TW/legal.xml +share/omf/gnome-netstatus/gnome-netstatus-C.omf +share/omf/gnome-netstatus/gnome-netstatus-bg.omf +share/omf/gnome-netstatus/gnome-netstatus-de.omf +share/omf/gnome-netstatus/gnome-netstatus-es.omf +share/omf/gnome-netstatus/gnome-netstatus-fr.omf +share/omf/gnome-netstatus/gnome-netstatus-it.omf +share/omf/gnome-netstatus/gnome-netstatus-ja.omf +share/omf/gnome-netstatus/gnome-netstatus-ko.omf +share/omf/gnome-netstatus/gnome-netstatus-nl.omf +share/omf/gnome-netstatus/gnome-netstatus-pa.omf +share/omf/gnome-netstatus/gnome-netstatus-ru.omf +share/omf/gnome-netstatus/gnome-netstatus-sv.omf +share/omf/gnome-netstatus/gnome-netstatus-uk.omf +share/omf/gnome-netstatus/gnome-netstatus-zh_CN.omf +share/omf/gnome-netstatus/gnome-netstatus-zh_HK.omf +share/omf/gnome-netstatus/gnome-netstatus-zh_TW.omf +share/pixmaps/gnome-netstatus-tx.png +share/icons/hicolor/48x48/apps/gnome-netstatus-0-24.png +share/icons/hicolor/48x48/apps/gnome-netstatus-25-49.png +share/icons/hicolor/48x48/apps/gnome-netstatus-50-74.png +share/icons/hicolor/48x48/apps/gnome-netstatus-75-100.png +share/icons/hicolor/48x48/apps/gnome-netstatus-disconn.png +share/icons/hicolor/48x48/apps/gnome-netstatus-error.png +share/icons/hicolor/48x48/apps/gnome-netstatus-idle.png +share/icons/hicolor/48x48/apps/gnome-netstatus-rx.png +share/icons/hicolor/48x48/apps/gnome-netstatus-tx.png +share/icons/hicolor/48x48/apps/gnome-netstatus-txrx.png +share/locale/ar/LC_MESSAGES/gnome-netstatus.mo +share/locale/az/LC_MESSAGES/gnome-netstatus.mo +share/locale/bg/LC_MESSAGES/gnome-netstatus.mo +share/locale/bn/LC_MESSAGES/gnome-netstatus.mo +share/locale/bn_IN/LC_MESSAGES/gnome-netstatus.mo +share/locale/bs/LC_MESSAGES/gnome-netstatus.mo +share/locale/ca/LC_MESSAGES/gnome-netstatus.mo +share/locale/cs/LC_MESSAGES/gnome-netstatus.mo +share/locale/cy/LC_MESSAGES/gnome-netstatus.mo +share/locale/da/LC_MESSAGES/gnome-netstatus.mo +share/locale/de/LC_MESSAGES/gnome-netstatus.mo +share/locale/dz/LC_MESSAGES/gnome-netstatus.mo +share/locale/el/LC_MESSAGES/gnome-netstatus.mo +share/locale/en_CA/LC_MESSAGES/gnome-netstatus.mo +share/locale/en_GB/LC_MESSAGES/gnome-netstatus.mo +share/locale/es/LC_MESSAGES/gnome-netstatus.mo +share/locale/et/LC_MESSAGES/gnome-netstatus.mo +share/locale/eu/LC_MESSAGES/gnome-netstatus.mo +share/locale/fa/LC_MESSAGES/gnome-netstatus.mo +share/locale/fi/LC_MESSAGES/gnome-netstatus.mo +share/locale/fr/LC_MESSAGES/gnome-netstatus.mo +share/locale/ga/LC_MESSAGES/gnome-netstatus.mo +share/locale/gl/LC_MESSAGES/gnome-netstatus.mo +share/locale/gu/LC_MESSAGES/gnome-netstatus.mo +share/locale/he/LC_MESSAGES/gnome-netstatus.mo +share/locale/hi/LC_MESSAGES/gnome-netstatus.mo +share/locale/hr/LC_MESSAGES/gnome-netstatus.mo +share/locale/hu/LC_MESSAGES/gnome-netstatus.mo +share/locale/id/LC_MESSAGES/gnome-netstatus.mo +share/locale/it/LC_MESSAGES/gnome-netstatus.mo +share/locale/ja/LC_MESSAGES/gnome-netstatus.mo +share/locale/ka/LC_MESSAGES/gnome-netstatus.mo +share/locale/ko/LC_MESSAGES/gnome-netstatus.mo +share/locale/lt/LC_MESSAGES/gnome-netstatus.mo +share/locale/lv/LC_MESSAGES/gnome-netstatus.mo +share/locale/mg/LC_MESSAGES/gnome-netstatus.mo +share/locale/mk/LC_MESSAGES/gnome-netstatus.mo +share/locale/ml/LC_MESSAGES/gnome-netstatus.mo +share/locale/mn/LC_MESSAGES/gnome-netstatus.mo +share/locale/mr/LC_MESSAGES/gnome-netstatus.mo +share/locale/ms/LC_MESSAGES/gnome-netstatus.mo +share/locale/nb/LC_MESSAGES/gnome-netstatus.mo +share/locale/ne/LC_MESSAGES/gnome-netstatus.mo +share/locale/nl/LC_MESSAGES/gnome-netstatus.mo +share/locale/nn/LC_MESSAGES/gnome-netstatus.mo +share/locale/or/LC_MESSAGES/gnome-netstatus.mo +share/locale/pa/LC_MESSAGES/gnome-netstatus.mo +share/locale/pl/LC_MESSAGES/gnome-netstatus.mo +share/locale/pt/LC_MESSAGES/gnome-netstatus.mo +share/locale/pt_BR/LC_MESSAGES/gnome-netstatus.mo +share/locale/ro/LC_MESSAGES/gnome-netstatus.mo +share/locale/ru/LC_MESSAGES/gnome-netstatus.mo +share/locale/rw/LC_MESSAGES/gnome-netstatus.mo +share/locale/sk/LC_MESSAGES/gnome-netstatus.mo +share/locale/sl/LC_MESSAGES/gnome-netstatus.mo +share/locale/sq/LC_MESSAGES/gnome-netstatus.mo +share/locale/sr/LC_MESSAGES/gnome-netstatus.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-netstatus.mo +share/locale/sv/LC_MESSAGES/gnome-netstatus.mo +share/locale/ta/LC_MESSAGES/gnome-netstatus.mo +share/locale/th/LC_MESSAGES/gnome-netstatus.mo +share/locale/tr/LC_MESSAGES/gnome-netstatus.mo +share/locale/uk/LC_MESSAGES/gnome-netstatus.mo +share/locale/vi/LC_MESSAGES/gnome-netstatus.mo +share/locale/wa/LC_MESSAGES/gnome-netstatus.mo +share/locale/xh/LC_MESSAGES/gnome-netstatus.mo +share/locale/zh_CN/LC_MESSAGES/gnome-netstatus.mo +share/locale/zh_HK/LC_MESSAGES/gnome-netstatus.mo +share/locale/zh_TW/LC_MESSAGES/gnome-netstatus.mo +@dirrm share/omf/gnome-netstatus +@dirrm share/gnome/help/gnome-netstatus/zh_TW/figures +@dirrm share/gnome/help/gnome-netstatus/zh_TW +@dirrm share/gnome/help/gnome-netstatus/zh_HK/figures +@dirrm share/gnome/help/gnome-netstatus/zh_HK +@dirrm share/gnome/help/gnome-netstatus/zh_CN/figures +@dirrm share/gnome/help/gnome-netstatus/zh_CN +@dirrm share/gnome/help/gnome-netstatus/uk +@dirrm share/gnome/help/gnome-netstatus/sv +@dirrm share/gnome/help/gnome-netstatus/ru +@dirrm share/gnome/help/gnome-netstatus/pa +@dirrm share/gnome/help/gnome-netstatus/nl +@dirrm share/gnome/help/gnome-netstatus/ko/figures +@dirrm share/gnome/help/gnome-netstatus/ko +@dirrm share/gnome/help/gnome-netstatus/ja/figures +@dirrm share/gnome/help/gnome-netstatus/ja +@dirrm share/gnome/help/gnome-netstatus/it/figures +@dirrm share/gnome/help/gnome-netstatus/it +@dirrm share/gnome/help/gnome-netstatus/fr +@dirrm share/gnome/help/gnome-netstatus/es +@dirrm share/gnome/help/gnome-netstatus/de/figures +@dirrm share/gnome/help/gnome-netstatus/de +@dirrm share/gnome/help/gnome-netstatus/bg +@dirrm share/gnome/help/gnome-netstatus/C +@dirrm share/gnome/help/gnome-netstatus +@dirrm share/gnome-netstatus +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/uk +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/sk/LC_MESSAGES +@dirrmtry share/locale/sk +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ro/LC_MESSAGES +@dirrmtry share/locale/ro +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/no/LC_MESSAGES +@dirrmtry share/locale/no +@dirrmtry share/locale/nn/LC_MESSAGES +@dirrmtry share/locale/nn +@dirrmtry share/locale/ne/LC_MESSAGES +@dirrmtry share/locale/ne +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN |