diff options
author | pav <pav@FreeBSD.org> | 2004-02-26 18:37:48 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-26 18:37:48 +0800 |
commit | c13b45d4189ff415d8191bee0cc546ade9b074bc (patch) | |
tree | 1051a4acf999675d1c8822d72e3cc8e01f2c3c34 /net/grdesktop | |
parent | be65bafb9ccd024a9c1bdd61bfe924cc80c44fb7 (diff) | |
download | freebsd-ports-gnome-c13b45d4189ff415d8191bee0cc546ade9b074bc.tar.gz freebsd-ports-gnome-c13b45d4189ff415d8191bee0cc546ade9b074bc.tar.zst freebsd-ports-gnome-c13b45d4189ff415d8191bee0cc546ade9b074bc.zip |
Add grdesktop, a GNOME 2 frontend to rdesktop, Terminal Services client.
PR: ports/62310 (based on)
Submitted by: Florent Thoumie <flz@xbsd.org>
Diffstat (limited to 'net/grdesktop')
-rw-r--r-- | net/grdesktop/Makefile | 29 | ||||
-rw-r--r-- | net/grdesktop/distinfo | 2 | ||||
-rw-r--r-- | net/grdesktop/files/patch-intl::dcigettext.c | 14 | ||||
-rw-r--r-- | net/grdesktop/files/patch-src::global.h | 14 | ||||
-rw-r--r-- | net/grdesktop/files/patch-src::options.c | 36 | ||||
-rw-r--r-- | net/grdesktop/pkg-descr | 8 | ||||
-rw-r--r-- | net/grdesktop/pkg-plist | 42 |
7 files changed, 145 insertions, 0 deletions
diff --git a/net/grdesktop/Makefile b/net/grdesktop/Makefile new file mode 100644 index 000000000000..033b88e2857f --- /dev/null +++ b/net/grdesktop/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: grdesktop +# Date created: Jan 3 2003 +# Whom: Florent Thoumie <flz@xbsd.org> +# +# $FreeBSD$ +# + +PORTNAME= grdesktop +PORTVERSION= 0.21 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SAVANNAH} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= flz@xbsd.org +COMMENT= GNOME frontend for the remote desktop client (rdesktop) + +RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop + +USE_X_PREFIX= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= libgnomeui gnomeprefix gnomehack +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|man_MANS = grdesktop.1|man_MANS =|' ${WRKSRC}/doc/Makefile.in + +.include <bsd.port.mk> diff --git a/net/grdesktop/distinfo b/net/grdesktop/distinfo new file mode 100644 index 000000000000..2d8bbd3cb1bd --- /dev/null +++ b/net/grdesktop/distinfo @@ -0,0 +1,2 @@ +MD5 (grdesktop-0.21.tar.gz) = 4eede5c1b68e92a0b1446b6102afa587 +SIZE (grdesktop-0.21.tar.gz) = 428216 diff --git a/net/grdesktop/files/patch-intl::dcigettext.c b/net/grdesktop/files/patch-intl::dcigettext.c new file mode 100644 index 000000000000..866794891269 --- /dev/null +++ b/net/grdesktop/files/patch-intl::dcigettext.c @@ -0,0 +1,14 @@ +--- intl/dcigettext.c.orig Fri Oct 11 21:38:35 2002 ++++ intl/dcigettext.c Mon Dec 22 10:27:28 2003 +@@ -58,11 +58,6 @@ + #include <stdlib.h> + + #include <string.h> +-#if !HAVE_STRCHR && !defined _LIBC +-# ifndef strchr +-# define strchr index +-# endif +-#endif + + #if defined HAVE_UNISTD_H || defined _LIBC + # include <unistd.h> diff --git a/net/grdesktop/files/patch-src::global.h b/net/grdesktop/files/patch-src::global.h new file mode 100644 index 000000000000..f5868eb5ddde --- /dev/null +++ b/net/grdesktop/files/patch-src::global.h @@ -0,0 +1,14 @@ +--- src/global.h.old Mon Feb 2 14:05:53 2004 ++++ src/global.h Tue Feb 3 15:07:16 2004 +@@ -61,9 +61,9 @@ + + #define MAXHOSTS 10 /* maximum hosts to store */ + #define PIXDIR DATADIR"/pixmaps/grdesktop" +-#ifndef KBPATH ++ ++#undef KBPATH + #define KBPATH "/usr/local/share/rdesktop/keymaps/" +-#endif + + #define GCONF_BASE "/apps/grdesktop/options" + diff --git a/net/grdesktop/files/patch-src::options.c b/net/grdesktop/files/patch-src::options.c new file mode 100644 index 000000000000..543f4ed2482f --- /dev/null +++ b/net/grdesktop/files/patch-src::options.c @@ -0,0 +1,36 @@ +--- src/options.c.orig Mon Feb 2 15:05:53 2004 ++++ src/options.c Thu Feb 26 10:58:47 2004 +@@ -20,6 +20,7 @@ + */ + + ++#include "global.h" + #include "options.h" + + void fillRdpProtocols() { +@@ -275,6 +276,8 @@ + + item = g_slist_nth_data(values, i); + typ = gconf_entry_get_value(item); ++ if (!typ) ++ continue ; + + path = g_strsplit(gconf_entry_get_key(item), "/", 0); + while(path[y] != NULL) +@@ -489,6 +492,7 @@ + + while((entry = readdir(licence_dir)) != NULL) { + gchar *fullname = NULL; ++ gchar *hostname; + struct stat sts; + + fullname = g_strdup_printf("%s/%s", licence_path, +@@ -502,7 +506,7 @@ + if(strlen(entry->d_name) <= strlen(prefix)) + continue; + +- gchar *hostname = &entry->d_name[strlen(prefix)]; ++ hostname = &entry->d_name[strlen(prefix)]; + licence_list = g_list_append(licence_list, hostname); + } + closedir(licence_dir); diff --git a/net/grdesktop/pkg-descr b/net/grdesktop/pkg-descr new file mode 100644 index 000000000000..a2103a5c8af2 --- /dev/null +++ b/net/grdesktop/pkg-descr @@ -0,0 +1,8 @@ +Grdesktop is a GNOME frontend, for the remote desktop client (rdesktop). +It can save several connections (including their options), and browse the +network for available terminal servers. + +WWW: http://www.nongnu.org/grdesktop/ + +- Florent Thoumie +flz@xbsd.org diff --git a/net/grdesktop/pkg-plist b/net/grdesktop/pkg-plist new file mode 100644 index 000000000000..a6f86ccca8a6 --- /dev/null +++ b/net/grdesktop/pkg-plist @@ -0,0 +1,42 @@ +bin/grdesktop +etc/gconf/gconf.xml.defaults/apps/grdesktop/options/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/grdesktop/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/grdesktop/options/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/grdesktop/%gconf.xml +etc/gconf/schemas/grdesktop.schemas +share/gnome/application-registry/grdesktop.applications +share/gnome/applications/grdesktop.desktop +share/gnome/help/grdesktop/C/grdesktop.xml +share/gnome/help/grdesktop/C/legal.xml +share/gnome/mime-info/grdesktop.keys +share/gnome/mime-info/grdesktop.mime +share/gnome/omf/grdesktop/grdesktop-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/grdesktop/grdesktop-C.omf 2>/dev/null || /usr/bin/true +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/grdesktop/grdesktop-C.omf 2>/dev/null || /usr/bin/true +share/gnome/pixmaps/grdesktop/animation.gif +share/gnome/pixmaps/grdesktop/colors_1.png +share/gnome/pixmaps/grdesktop/colors_2.png +share/gnome/pixmaps/grdesktop/colors_3.png +share/gnome/pixmaps/grdesktop/colors_4.png +share/gnome/pixmaps/grdesktop/folder.png +share/gnome/pixmaps/grdesktop/host.png +share/gnome/pixmaps/grdesktop/icon.png +share/gnome/pixmaps/grdesktop/icon.xpm +share/gnome/pixmaps/grdesktop/keyboard.png +share/gnome/pixmaps/grdesktop/monitor.png +share/gnome/pixmaps/grdesktop/program.png +share/gnome/pixmaps/grdesktop/settings.png +share/gnome/pixmaps/grdesktop/sound.png +share/gnome/pixmaps/grdesktop/topimage.png +share/gnome/pixmaps/grdesktop/topimage2.png +share/locale/de/LC_MESSAGES/grdesktop.mo +share/locale/es/LC_MESSAGES/grdesktop.mo +share/locale/fr/LC_MESSAGES/grdesktop.mo +@dirrm share/gnome/pixmaps/grdesktop +@dirrm share/gnome/omf/grdesktop +@dirrm share/gnome/help/grdesktop/C +@dirrm share/gnome/help/grdesktop +@dirrm etc/gconf/gconf.xml.defaults/apps/grdesktop/options +@dirrm etc/gconf/gconf.xml.defaults/apps/grdesktop +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/grdesktop/options +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/grdesktop |