Bug 62310 - New port: net/grdesktop - GNOME frontend for the remote desktop client (rdesktop)
Summary: New port: net/grdesktop - GNOME frontend for the remote desktop client (rdesk...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 15:00 UTC by Florent Thoumie
Modified: 2004-02-26 10:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent Thoumie 2004-02-03 15:00:36 UTC
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.

The patches in files/ are quick and dirty but these problems have been reported to the developer.

Fix: -- grdesktop-0.21.shar begins here --


-- grdesktop-0.21.shar ends here ----GE5TCJBY9pkJ8LwU3wqiTAmsCkrooogHRQBHJa1qLMBBZyVh
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	grdesktop
#	grdesktop/Makefile
#	grdesktop/pkg-descr
#	grdesktop/distinfo
#	grdesktop/files
#	grdesktop/files/patch-src::global.h
#	grdesktop/files/patch-src::options.c
#	grdesktop/files/patch-intl::dcigettext.c
#	grdesktop/pkg-plist
#
echo c - grdesktop
mkdir -p grdesktop > /dev/null 2>&1
echo x - grdesktop/Makefile
sed 's/^X//' >grdesktop/Makefile << 'END-of-grdesktop/Makefile'
X# New ports collection makefile for:	grdesktop
X# Date created:				Jan 3 2003
X# Whom:					Florent Thoumie <flz@xbsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	grdesktop
XPORTVERSION=	0.21
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SAVANNAH}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	flz@xbsd.org
XCOMMENT=	GNOME frontend for the remote desktop client (rdesktop)
X
XBUILD_DEPENDS=	${LOCALBASE}/bin/docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
XRUN_DEPENDS=	${LOCALBASE}/bin/rdesktop:${PORTSDIR}/net/rdesktop
X
XUSE_X_PREFIX=	yes
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_GNOME=	gtk20 libgnomeui gconf2
X
XMAN1=		grdesktop.1
X
X.include <bsd.port.mk>
END-of-grdesktop/Makefile
echo x - grdesktop/pkg-descr
sed 's/^X//' >grdesktop/pkg-descr << 'END-of-grdesktop/pkg-descr'
XGrdesktop is a GNOME frontend, for the remote desktop client (rdesktop).
XIt can save several connections (including their options), and browse the
Xnetwork for available terminal servers.
X
XWWW: http://www.nongnu.org/grdesktop/
X
X- Florent Thoumie
Xflz@xbsd.org
END-of-grdesktop/pkg-descr
echo x - grdesktop/distinfo
sed 's/^X//' >grdesktop/distinfo << 'END-of-grdesktop/distinfo'
XMD5 (grdesktop-0.21.tar.gz) = 4eede5c1b68e92a0b1446b6102afa587
XSIZE (grdesktop-0.21.tar.gz) = 428216
END-of-grdesktop/distinfo
echo c - grdesktop/files
mkdir -p grdesktop/files > /dev/null 2>&1
echo x - grdesktop/files/patch-src::global.h
sed 's/^X//' >grdesktop/files/patch-src::global.h << 'END-of-grdesktop/files/patch-src::global.h'
X--- src/global.h.old	Mon Feb  2 14:05:53 2004
X+++ src/global.h	Tue Feb  3 15:07:16 2004
X@@ -61,9 +61,9 @@
X 
X #define MAXHOSTS 10			/* maximum hosts to store */
X #define PIXDIR DATADIR"/pixmaps/grdesktop"
X-#ifndef KBPATH
X+
X+#undef KBPATH
X #define KBPATH "/usr/local/share/rdesktop/keymaps/"
X-#endif
X 
X #define GCONF_BASE "/apps/grdesktop/options"
X 
END-of-grdesktop/files/patch-src::global.h
echo x - grdesktop/files/patch-src::options.c
sed 's/^X//' >grdesktop/files/patch-src::options.c << 'END-of-grdesktop/files/patch-src::options.c'
X--- src/options.c.old	Mon Feb  2 14:05:53 2004
X+++ src/options.c	Tue Feb  3 15:06:57 2004
X@@ -20,6 +20,7 @@
X  */
X 
X 
X+#include "global.h"
X #include "options.h"
X 
X void fillRdpProtocols() {
X@@ -275,6 +276,8 @@
X 
X 		item = g_slist_nth_data(values, i);
X 		typ = gconf_entry_get_value(item);
X+		if (!typ)
X+			continue ;
X 
X 		path = g_strsplit(gconf_entry_get_key(item), "/", 0);
X 		while(path[y] != NULL)
END-of-grdesktop/files/patch-src::options.c
echo x - grdesktop/files/patch-intl::dcigettext.c
sed 's/^X//' >grdesktop/files/patch-intl::dcigettext.c << 'END-of-grdesktop/files/patch-intl::dcigettext.c'
X--- intl/dcigettext.c.orig	Fri Oct 11 21:38:35 2002
X+++ intl/dcigettext.c	Mon Dec 22 10:27:28 2003
X@@ -58,11 +58,6 @@
X #include <stdlib.h>
X 
X #include <string.h>
X-#if !HAVE_STRCHR && !defined _LIBC
X-# ifndef strchr
X-#  define strchr index
X-# endif
X-#endif
X 
X #if defined HAVE_UNISTD_H || defined _LIBC
X # include <unistd.h>
END-of-grdesktop/files/patch-intl::dcigettext.c
echo x - grdesktop/pkg-plist
sed 's/^X//' >grdesktop/pkg-plist << 'END-of-grdesktop/pkg-plist'
Xbin/grdesktop
Xetc/gconf/schemas/grdesktop.schemas
Xlib/charset.alias
Xshare/applications/grdesktop.desktop
Xshare/gnome/help/grdesktop/C/grdesktop.xml
Xshare/gnome/help/grdesktop/C/legal.xml
Xshare/locale/de/LC_MESSAGES/grdesktop.mo
Xshare/locale/es/LC_MESSAGES/grdesktop.mo
Xshare/locale/fr/LC_MESSAGES/grdesktop.mo
Xshare/locale/locale.alias
Xshare/omf/grdesktop/grdesktop-C.omf
Xshare/pixmaps/grdesktop/animation.gif
Xshare/pixmaps/grdesktop/colors_1.png
Xshare/pixmaps/grdesktop/colors_2.png
Xshare/pixmaps/grdesktop/colors_3.png
Xshare/pixmaps/grdesktop/colors_4.png
Xshare/pixmaps/grdesktop/folder.png
Xshare/pixmaps/grdesktop/host.png
Xshare/pixmaps/grdesktop/icon.png
Xshare/pixmaps/grdesktop/icon.xpm
Xshare/pixmaps/grdesktop/keyboard.png
Xshare/pixmaps/grdesktop/monitor.png
Xshare/pixmaps/grdesktop/program.png
Xshare/pixmaps/grdesktop/settings.png
Xshare/pixmaps/grdesktop/sound.png
Xshare/pixmaps/grdesktop/topimage.png
Xshare/pixmaps/grdesktop/topimage2.png
X@dirrm share/pixmaps/grdesktop
X@unexec share/pixmaps 2> /dev/null || true
X@dirrm share/omf/grdesktop
X@unexec share/omf 2> /dev/null || true
X@unexec share/locale/fr/LC_MESSAGES 2> /dev/null || true
X@unexec share/locale/fr 2> /dev/null || true
X@unexec share/locale/es/LC_MESSAGES 2> /dev/null || true
X@unexec share/locale/es 2> /dev/null || true
X@unexec share/locale/de/LC_MESSAGES 2> /dev/null || true
X@unexec share/locale/de 2> /dev/null || true
X@unexec share/locale 2> /dev/null || true
X@dirrm share/gnome/help/grdesktop/C
X@dirrm share/gnome/help/grdesktop
X@unexec share/gnome/help 2> /dev/null || true
X@unexec share/gnome 2> /dev/null || true
X@unexec share/applications 2> /dev/null || true
X@unexec rmdir etc/gconf/schemas 2> /dev/null || true
X@unexec etc/gconf 2> /dev/null || true
END-of-grdesktop/pkg-plist
exit
How-To-Repeat: 
N/A
Comment 1 Florent Thoumie 2004-02-03 18:55:47 UTC
I just see that the pkg-plist was f*cked up.

Here is a patch :

-- patch-pkg-plist begins here --
--- pkg-plist.old       Tue Feb  3 18:49:43 2004
+++ pkg-plist   Tue Feb  3 18:51:26 2004
@@ -26,20 +26,19 @@
 share/pixmaps/grdesktop/topimage.png
 share/pixmaps/grdesktop/topimage2.png
 @dirrm share/pixmaps/grdesktop
-@unexec share/pixmaps 2> /dev/null || true
+@unexec rmdir share/pixmaps 2> /dev/null || true
 @dirrm share/omf/grdesktop
-@unexec share/omf 2> /dev/null || true
-@unexec share/locale/fr/LC_MESSAGES 2> /dev/null || true
-@unexec share/locale/fr 2> /dev/null || true
-@unexec share/locale/es/LC_MESSAGES 2> /dev/null || true
-@unexec share/locale/es 2> /dev/null || true
-@unexec share/locale/de/LC_MESSAGES 2> /dev/null || true
-@unexec share/locale/de 2> /dev/null || true
-@unexec share/locale 2> /dev/null || true
+@unexec rmdir share/omf 2> /dev/null || true
+@unexec rmdir share/locale/fr/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir share/locale/fr 2> /dev/null || true
+@unexec rmdir share/locale/es/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir share/locale/es 2> /dev/null || true
+@unexec rmdir share/locale/de/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir share/locale/de 2> /dev/null || true
+@unexec rmdir share/locale 2> /dev/null || true
 @dirrm share/gnome/help/grdesktop/C
 @dirrm share/gnome/help/grdesktop
-@unexec share/gnome/help 2> /dev/null || true
-@unexec share/gnome 2> /dev/null || true
-@unexec share/applications 2> /dev/null || true
+@unexec rmdir share/gnome/help 2> /dev/null || true
+@unexec rmdir share/gnome 2> /dev/null || true
+@unexec rmdir share/applications 2> /dev/null || true
 @unexec rmdir etc/gconf/schemas 2> /dev/null || true
-@unexec etc/gconf 2> /dev/null || true
-- patch-pkg-plist ends here --
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-26 10:39:14 UTC
State Changed
From-To: open->closed

New port added, thanks! I fixed a lot of things in this port