summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-07-19 20:23:16 +0300
committerMart Raudsepp <leio@gentoo.org>2020-07-19 20:24:05 +0300
commit8ba4b42a62ed0284cd6669411ba87ba35c0442fa (patch)
tree9245e0eb8d09daa3ce604924441d8aa9c94bb610 /net-misc
parentdev-python/ipykernel: Bump to 5.3.3 (diff)
downloadgentoo-8ba4b42a62ed0284cd6669411ba87ba35c0442fa.tar.gz
gentoo-8ba4b42a62ed0284cd6669411ba87ba35c0442fa.tar.bz2
gentoo-8ba4b42a62ed0284cd6669411ba87ba35c0442fa.zip
net-misc/grdesktop: add debian patchset for gtk3 port and more
Bug: https://bugs.gentoo.org/726792 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/grdesktop/Manifest1
-rw-r--r--net-misc/grdesktop/grdesktop-0.23-r2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/grdesktop/Manifest b/net-misc/grdesktop/Manifest
index 20c2a99a885..ac6b20fc934 100644
--- a/net-misc/grdesktop/Manifest
+++ b/net-misc/grdesktop/Manifest
@@ -1 +1,2 @@
+DIST grdesktop-0.23-patchset.tar.xz 17912 BLAKE2B 0252f3c7fa1779df05d1f7d4315e18e4cce5d4acf69e2a914805d072de25730206bf906b9fe767b777fdfde701ce033563f96087bdc2d85d11271b835947f029 SHA512 0327a17b48ff0f5eb8ab88c683f91deec612cf202cabcde3f150b4be5b19afb612a83ff9dcb965b29899a35c214a7334603263b42c0d2605b48209018845b04b
DIST grdesktop-0.23.tar.gz 299914 BLAKE2B 0a00c721c8d962dd1ad885f4d85130486b3ad9973d21817068f4147ade03d59a2d13dd5e5b26376a0415120521e283a20d79627b62a8bcca15fb2f0213c05bc4 SHA512 a0993d7589d0b22b26535de0cf562604c89ce580fede076c15d8d7f2e7a3bd2fd5ec0a35c6a8ec07fcc8f53a0635381fefe9c2e67d9ff75cec7af47cdd25732f
diff --git a/net-misc/grdesktop/grdesktop-0.23-r2.ebuild b/net-misc/grdesktop/grdesktop-0.23-r2.ebuild
new file mode 100644
index 00000000000..640c10447e9
--- /dev/null
+++ b/net-misc/grdesktop/grdesktop-0.23-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+inherit gnome2
+
+DESCRIPTION="Gtk3 frontend for rdesktop"
+HOMEPAGE="http://www.nongnu.org/grdesktop/"
+SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+ >=x11-libs/gtk+-3.21.4:3
+ net-misc/rdesktop
+"
+DEPEND="${RDEPEND}
+ app-text/rarian
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ # Patches from debian:
+ # Correct icon path. See bug #50295.
+ # Fix compilation with format-security, bug #517662
+ # gsettings, gtk3 port, gcc10 compat, etc
+ "${WORKDIR}"/grdesktop-0.23+d040330-7
+)
+
+src_prepare() {
+ gnome2_src_prepare
+ # Fix desktop file validation after debian patchset (it removes Action line, but not the action itself - remove that here)
+ sed -e '/Desktop Action Full/,+1d' -i grdesktop.desktop
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --with-keymap-path=/usr/share/rdesktop/keymaps/
+}