From 5d79aeeef6df81957004a612e8f01f8570599bd5 Mon Sep 17 00:00:00 2001 From: Alexander Logvinov Date: Mon, 14 Dec 2009 02:15:16 +0000 Subject: [PATCH] - Update remmina to 0.7.0 - Connect remmina to the build - Disconnect grdc - Remove grdc, project was renamed --- MOVED | 1 + net/Makefile | 2 +- net/grdc/Makefile | 69 ------------------------------------------ net/grdc/distinfo | 3 -- net/grdc/pkg-descr | 16 ---------- net/grdc/pkg-plist | 14 --------- net/remmina/Makefile | 62 +++++++++++++++++++++++++++----------- net/remmina/distinfo | 6 ++-- net/remmina/pkg-descr | 14 +++++---- net/remmina/pkg-plist | 70 +++++++++++++++++++++++++++++++++++-------- 10 files changed, 116 insertions(+), 141 deletions(-) delete mode 100644 net/grdc/Makefile delete mode 100644 net/grdc/distinfo delete mode 100644 net/grdc/pkg-descr delete mode 100644 net/grdc/pkg-plist diff --git a/MOVED b/MOVED index 2f81852edd61..126b1ac95f2b 100644 --- a/MOVED +++ b/MOVED @@ -4221,3 +4221,4 @@ editors/abiword-extras|editors/abiword|2009-12-08|This subport has been included editors/abiword-plugins|editors/abiword|2009-12-08|This subport has been included in the main port. www/jakarta-tomcat5||2009-12-10|Has expired: Old version, consider using www/tomcat55 or www/tomcat6 instead net-mgmt/zabbix|net-mgmt/zabbix-server|2009-12-13|port was split into three components +net/grdc|net/remmina|2009-12-14|Project was renamed diff --git a/net/Makefile b/net/Makefile index a561ca221d9f..3ca47e900a97 100644 --- a/net/Makefile +++ b/net/Makefile @@ -194,7 +194,6 @@ SUBDIR += gopher SUBDIR += gotthard SUBDIR += gq - SUBDIR += grdc SUBDIR += grdc-applet SUBDIR += grdesktop SUBDIR += grsync @@ -842,6 +841,7 @@ SUBDIR += redir SUBDIR += relay SUBDIR += relayd + SUBDIR += remmina SUBDIR += remotedesk SUBDIR += repeater SUBDIR += rexx-sock diff --git a/net/grdc/Makefile b/net/grdc/Makefile deleted file mode 100644 index 075e3fe96fee..000000000000 --- a/net/grdc/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# New ports collection makefile for: grdc -# Date created: 12 April 2009 -# Whom: Alexander Logvinov -# -# $FreeBSD$ -# - -PORTNAME= grdc -PORTVERSION= 0.6.0 -CATEGORIES= net gnome -MASTER_SITES= SF - -MAINTAINER= avl@FreeBSD.org -COMMENT= GTK+/GNOME remote desktop client - -RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop - -OPTIONS= VNC "Build with VNC protocol support" off \ - SSH "Build with SSH tunneling support" off \ - GCRYPT "Build with libgcrypt support (only with SSH)" off \ - TERM "Build with terminal support" off \ - AVAHI "Build with Avahi support" off - -MAKE_JOBS_SAFE= yes -GNU_CONFIGURE= yes -USE_GMAKE= yes -USE_GETTEXT= yes -USE_GNOME= gnomehack gnomeprefix glib20 gtk20 -CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -CONFIGURE_ENV= CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" - -.include - -.if defined(WITH_VNC) -LIB_DEPENDS+= vncclient.0:${PORTSDIR}/net/libvncserver -.else -CONFIGURE_ARGS+= --disable-vnc -.endif - -.if defined(WITH_SSH) -LIB_DEPENDS+= ssh.3:${PORTSDIR}/security/libssh -.if defined(WITH_GCRYPT) -LIB_DEPENDS+= gcrypt.16:${PORTSDIR}/security/libgcrypt -.else -CONFIGURE_ARGS+= --disable-gcrypt -.endif -.else -CONFIGURE_ARGS+= --disable-ssh -.endif - -.if defined(WITH_TERM) -USE_GNOME+= vte -.else -CONFIGURE_ARGS+= --disable-vte -.endif - -.if defined(WITH_AVAHI) -LIB_DEPENDS+= avahi-ui.0:${PORTSDIR}/net/avahi-gtk -.else -CONFIGURE_ARGS+= --disable-avahi -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|Exec=grdc|Exec=${LOCALBASE}/bin/grdc|' \ - ${WRKSRC}/src/grdc.desktop.in - -.include diff --git a/net/grdc/distinfo b/net/grdc/distinfo deleted file mode 100644 index 599dd4f6ea17..000000000000 --- a/net/grdc/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (grdc-0.6.0.tar.gz) = df82963a6abc9e5b8e15f97e198eb751 -SHA256 (grdc-0.6.0.tar.gz) = 63c7d740ef9653b5f725406f24eff0a6288bb08446fef7208675bd00ed75eb18 -SIZE (grdc-0.6.0.tar.gz) = 245008 diff --git a/net/grdc/pkg-descr b/net/grdc/pkg-descr deleted file mode 100644 index 8332ba679326..000000000000 --- a/net/grdc/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -Grdc is a remote desktop client based on GTK+ and GNOME. - -The Grdc main program: - - * A pure GTK+ 2.0 application! - * Maintain a list of remote desktop files for most frequently used servers - * Make quick connections by directly putting in the server name - * Remote desktops with higher resolutions are scrollable/scalable in both - window and fullscreen mode - * Viewport fullscreen mode: remote desktop automatically scrolls when the - mouse moves over the screen edge. - * Floating toolbar in fullscreen mode, allows you to switch between modes, - toggle keyboard grabbing, minimize, etc. - * Supported network protocols: RDP, VNC, SSH, Avahi - -WWW: http://grdc.sourceforge.net/ diff --git a/net/grdc/pkg-plist b/net/grdc/pkg-plist deleted file mode 100644 index 93b25dd6bcf1..000000000000 --- a/net/grdc/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -bin/grdc -share/applications/grdc.desktop -share/locale/el/LC_MESSAGES/grdc.mo -share/locale/es/LC_MESSAGES/grdc.mo -share/locale/pl/LC_MESSAGES/grdc.mo -share/locale/zh_CN/LC_MESSAGES/grdc.mo -share/pixmaps/grdc-rdp-ssh.png -share/pixmaps/grdc-rdp.png -share/pixmaps/grdc-ssh.png -share/pixmaps/grdc-vnc-ssh.png -share/pixmaps/grdc-vnc.png -share/pixmaps/grdc.png -@dirrmtry share/applications -@dirrmtry share/pixmaps diff --git a/net/remmina/Makefile b/net/remmina/Makefile index 075e3fe96fee..ecbd1f1249e2 100644 --- a/net/remmina/Makefile +++ b/net/remmina/Makefile @@ -5,50 +5,71 @@ # $FreeBSD$ # -PORTNAME= grdc -PORTVERSION= 0.6.0 +PORTNAME= remmina +PORTVERSION= 0.7.0 CATEGORIES= net gnome -MASTER_SITES= SF +MASTER_SITES= SF/${PORTNAME}/0.7/ MAINTAINER= avl@FreeBSD.org -COMMENT= GTK+/GNOME remote desktop client +COMMENT= The GTK+ Remote Desktop Client RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop OPTIONS= VNC "Build with VNC protocol support" off \ + GNUTLS "Build VNC with GNUTLS encryption support" off \ + XDMCP "Build with XDMCP protocol support" off \ SSH "Build with SSH tunneling support" off \ - GCRYPT "Build with libgcrypt support (only with SSH)" off \ + GCRYPT "Build with libgcrypt support for password encryption" off \ TERM "Build with terminal support" off \ - AVAHI "Build with Avahi support" off + AVAHI "Build with Avahi support" off \ + UNIQUE "Build with Unique-App support" off MAKE_JOBS_SAFE= yes GNU_CONFIGURE= yes USE_GMAKE= yes -USE_GETTEXT= yes -USE_GNOME= gnomehack gnomeprefix glib20 gtk20 -CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +USE_GNOME= glib20 gtk20 desktopfileutils +INSTALLS_ICONS= yes LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -CONFIGURE_ENV= CFLAGS="${CFLAGS}" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS}" .include +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + .if defined(WITH_VNC) -LIB_DEPENDS+= vncclient.0:${PORTSDIR}/net/libvncserver +LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg +.if defined(WITH_GNUTLS) +LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls +.endif .else CONFIGURE_ARGS+= --disable-vnc .endif +.if defined(WITH_XDMCP) +RUN_DEPENDS+= Xephyr:${PORTSDIR}/x11-servers/xephyr +.endif + .if defined(WITH_SSH) -LIB_DEPENDS+= ssh.3:${PORTSDIR}/security/libssh +LIB_DEPENDS+= ssh.4:${PORTSDIR}/security/libssh +.if ${OSVERSION} >= 800040 +LDFLAGS+= -fstack-protector +.endif +.else +CONFIGURE_ARGS+= --disable-ssh +.endif + .if defined(WITH_GCRYPT) LIB_DEPENDS+= gcrypt.16:${PORTSDIR}/security/libgcrypt .else CONFIGURE_ARGS+= --disable-gcrypt .endif -.else -CONFIGURE_ARGS+= --disable-ssh -.endif .if defined(WITH_TERM) USE_GNOME+= vte @@ -62,8 +83,13 @@ LIB_DEPENDS+= avahi-ui.0:${PORTSDIR}/net/avahi-gtk CONFIGURE_ARGS+= --disable-avahi .endif -post-patch: - @${REINPLACE_CMD} -e 's|Exec=grdc|Exec=${LOCALBASE}/bin/grdc|' \ - ${WRKSRC}/src/grdc.desktop.in +.if defined(WITH_UNIQUE) +LIB_DEPENDS+= unique-1.0.2:${PORTSDIR}/x11-toolkits/unique +.else +CONFIGURE_ARGS+= --disable-unique +.endif + +post-install: + @-update-desktop-database .include diff --git a/net/remmina/distinfo b/net/remmina/distinfo index 599dd4f6ea17..8d1d9e744243 100644 --- a/net/remmina/distinfo +++ b/net/remmina/distinfo @@ -1,3 +1,3 @@ -MD5 (grdc-0.6.0.tar.gz) = df82963a6abc9e5b8e15f97e198eb751 -SHA256 (grdc-0.6.0.tar.gz) = 63c7d740ef9653b5f725406f24eff0a6288bb08446fef7208675bd00ed75eb18 -SIZE (grdc-0.6.0.tar.gz) = 245008 +MD5 (remmina-0.7.0.tar.gz) = 45f5a4597c144319873238bc4995d423 +SHA256 (remmina-0.7.0.tar.gz) = 8e7256facce54535bc998b4347519a49b38c8da9fee5e35bb0d7058ee00c8bd5 +SIZE (remmina-0.7.0.tar.gz) = 614790 diff --git a/net/remmina/pkg-descr b/net/remmina/pkg-descr index 8332ba679326..fa23a7f47332 100644 --- a/net/remmina/pkg-descr +++ b/net/remmina/pkg-descr @@ -1,9 +1,12 @@ -Grdc is a remote desktop client based on GTK+ and GNOME. +Remmina is a remote desktop client written in GTK+, aiming to be useful for +system administrators and travellers, who need to work with lots of remote +computers in front of either large monitors or tiny netbooks. Remmina supports +multiple network protocols in an integrated and consistant user interface. -The Grdc main program: +The Remmina main program: * A pure GTK+ 2.0 application! - * Maintain a list of remote desktop files for most frequently used servers + * Maintain a list of remote desktop files, organized by groups * Make quick connections by directly putting in the server name * Remote desktops with higher resolutions are scrollable/scalable in both window and fullscreen mode @@ -11,6 +14,7 @@ The Grdc main program: mouse moves over the screen edge. * Floating toolbar in fullscreen mode, allows you to switch between modes, toggle keyboard grabbing, minimize, etc. - * Supported network protocols: RDP, VNC, SSH, Avahi + * Tabbed interface, optionally managed by groups + * Supported network protocols: RDP, VNC, XDMCP, SSH, Avahi -WWW: http://grdc.sourceforge.net/ +WWW: http://remmina.sourceforge.net/ diff --git a/net/remmina/pkg-plist b/net/remmina/pkg-plist index 93b25dd6bcf1..519ec93f6c24 100644 --- a/net/remmina/pkg-plist +++ b/net/remmina/pkg-plist @@ -1,14 +1,60 @@ -bin/grdc -share/applications/grdc.desktop -share/locale/el/LC_MESSAGES/grdc.mo -share/locale/es/LC_MESSAGES/grdc.mo -share/locale/pl/LC_MESSAGES/grdc.mo -share/locale/zh_CN/LC_MESSAGES/grdc.mo -share/pixmaps/grdc-rdp-ssh.png -share/pixmaps/grdc-rdp.png -share/pixmaps/grdc-ssh.png -share/pixmaps/grdc-vnc-ssh.png -share/pixmaps/grdc-vnc.png -share/pixmaps/grdc.png +bin/remmina +share/applications/remmina.desktop +%%DATADIR%%/icons/hicolor/16x16/actions/remmina-fit-window.png +%%DATADIR%%/icons/hicolor/16x16/actions/remmina-leave-fullscreen.png +%%DATADIR%%/icons/hicolor/16x16/actions/remmina-scale.png +%%DATADIR%%/icons/hicolor/16x16/actions/remmina-scrolled-fullscreen.png +%%DATADIR%%/icons/hicolor/16x16/actions/remmina-viewport-fullscreen.png +%%DATADIR%%/icons/hicolor/16x16/actions/remmina-switch-page.png +%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-rdp.png +%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-rdp-ssh.png +%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-vnc.png +%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-vnc-ssh.png +%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-xdmcp.png +%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-xdmcp-ssh.png +%%DATADIR%%/icons/hicolor/16x16/emblems/remmina-sftp.png +%%DATADIR%%/icons/hicolor/22x22/actions/remmina-fit-window.png +%%DATADIR%%/icons/hicolor/22x22/actions/remmina-leave-fullscreen.png +%%DATADIR%%/icons/hicolor/22x22/actions/remmina-scale.png +%%DATADIR%%/icons/hicolor/22x22/actions/remmina-scrolled-fullscreen.png +%%DATADIR%%/icons/hicolor/22x22/actions/remmina-viewport-fullscreen.png +%%DATADIR%%/icons/hicolor/22x22/actions/remmina-switch-page.png +%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-rdp.png +%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-rdp-ssh.png +%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-vnc.png +%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-vnc-ssh.png +%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-xdmcp.png +%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-xdmcp-ssh.png +%%DATADIR%%/icons/hicolor/22x22/emblems/remmina-sftp.png +%%NLS%%share/locale/de/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/el/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/es/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/fr/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/hu/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/it/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/lt/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/nl/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/pl/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/pt_PT/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/ru/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/uk/LC_MESSAGES/remmina.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/remmina.mo +share/icons/hicolor/16x16/apps/remmina.png +share/icons/hicolor/22x22/apps/remmina.png +share/icons/hicolor/24x24/apps/remmina.png +share/icons/hicolor/32x32/apps/remmina.png +share/icons/hicolor/48x48/apps/remmina.png +share/icons/hicolor/scalable/apps/remmina.svg +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@dirrm %%DATADIR%%/icons/hicolor/22x22/actions +@dirrm %%DATADIR%%/icons/hicolor/22x22/emblems +@dirrm %%DATADIR%%/icons/hicolor/22x22 +@dirrm %%DATADIR%%/icons/hicolor/16x16/actions +@dirrm %%DATADIR%%/icons/hicolor/16x16/emblems +@dirrm %%DATADIR%%/icons/hicolor/16x16 +@dirrm %%DATADIR%%/icons/hicolor +@dirrm %%DATADIR%%/icons +@dirrm %%DATADIR%% @dirrmtry share/applications @dirrmtry share/pixmaps