mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Add grdesktop, a GNOME 2 frontend to rdesktop, Terminal Services client.
PR: ports/62310 (based on) Submitted by: Florent Thoumie <flz@xbsd.org>
This commit is contained in:
parent
7af19ff1d2
commit
e8c1eb01c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102177
@ -170,6 +170,7 @@
|
||||
SUBDIR += gopher
|
||||
SUBDIR += gossip
|
||||
SUBDIR += gq
|
||||
SUBDIR += grdesktop
|
||||
SUBDIR += gsk
|
||||
SUBDIR += gspoof
|
||||
SUBDIR += gtic
|
||||
|
29
net/grdesktop/Makefile
Normal file
29
net/grdesktop/Makefile
Normal file
@ -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>
|
2
net/grdesktop/distinfo
Normal file
2
net/grdesktop/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (grdesktop-0.21.tar.gz) = 4eede5c1b68e92a0b1446b6102afa587
|
||||
SIZE (grdesktop-0.21.tar.gz) = 428216
|
14
net/grdesktop/files/patch-intl::dcigettext.c
Normal file
14
net/grdesktop/files/patch-intl::dcigettext.c
Normal file
@ -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>
|
14
net/grdesktop/files/patch-src::global.h
Normal file
14
net/grdesktop/files/patch-src::global.h
Normal file
@ -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"
|
||||
|
36
net/grdesktop/files/patch-src::options.c
Normal file
36
net/grdesktop/files/patch-src::options.c
Normal file
@ -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);
|
8
net/grdesktop/pkg-descr
Normal file
8
net/grdesktop/pkg-descr
Normal file
@ -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
|
42
net/grdesktop/pkg-plist
Normal file
42
net/grdesktop/pkg-plist
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user