net-misc/grdesktop: Remove old

Closes: https://bugs.gentoo.org/726792
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-09-20 08:50:44 +02:00
parent cb0ace47eb
commit 99ae0e6d20
3 changed files with 0 additions and 88 deletions

View File

@@ -1,19 +0,0 @@
--- a/grdesktop.desktop.old 2014-07-08 14:05:45.500537718 +0200
+++ b/grdesktop.desktop 2014-07-08 14:06:27.237420849 +0200
@@ -4,13 +4,13 @@
Comment[de]=Verbindet zu einem entfernten Windows Terminal-Server
TryExec=grdesktop
Exec=grdesktop
-Icon=grdesktop.png
+Icon=/usr/share/pixmaps/grdesktop/icon.png
Terminal=false
Type=Application
Version=1.0
Actions=Full;
-Categories=Application;Network;X-Red-Hat-Base;
-Encoding=UTF-8
+Categories=Network;X-Red-Hat-Base;
[Desktop Action Full]
+Name=Remotedesktop Client
Exec=grdesktop

View File

@@ -1,25 +0,0 @@
--- ./src/run.c.orig 2004-03-30 13:17:53.000000000 +0000
+++ ./src/run.c 2012-05-13 06:33:35.000000000 +0000
@@ -110,7 +110,7 @@
sshcmd = g_strconcat(sshcmd, g_strdup_printf("%s",
SHASH("sshhost")), NULL);
sshcmd = g_strconcat(sshcmd, g_strdup_printf(" \"%s\"", cmd), NULL);
- g_warning(sshcmd);
+ g_warning("%s",sshcmd);
cmdline = g_strconcat(sshcmd, NULL);
} else { /* execute without ssh */
cmdline = g_strconcat(cmd, NULL);
--- ./src/rdpparse.c.orig 2012-05-13 06:36:59.000000000 +0000
+++ ./src/rdpparse.c 2012-05-13 06:37:31.000000000 +0000
@@ -306,9 +306,9 @@
parts = g_strsplit(value, "x", 2);
if(typ == 'W')
- return(g_strdup_printf(parts[0]));
+ return(g_strdup_printf("%s",parts[0]));
else
- return(g_strdup_printf(parts[1]));
+ return(g_strdup_printf("%s",parts[1]));
if(parts != NULL)
g_strfreev(parts);

View File

@@ -1,44 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2
DESCRIPTION="Gtk2 frontend for rdesktop"
HOMEPAGE="http://www.nongnu.org/grdesktop/"
SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
RDEPEND="
x11-libs/gtk+:2
>=gnome-base/libgnomeui-2
net-misc/rdesktop
gnome-base/gconf:2
"
DEPEND="${RDEPEND}
app-text/rarian
virtual/pkgconfig
"
src_prepare() {
# Correct icon path. See bug #50295.
eapply "${FILESDIR}/${P}-desktop.patch"
# Fix compilation with format-security, bug #517662
eapply "${FILESDIR}/${P}-format-security.patch"
sed -e 's/\(GETTEXT_PACKAGE = \)@GETTEXT_PACKAGE@/\1grdesktop/g' \
-i po/Makefile.in.in || die "sed 2 failed"
gnome2_src_prepare
}
src_configure() {
gnome2_src_configure \
--disable-debug \
--with-keymap-path=/usr/share/rdesktop/keymaps/
}