diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/rdesktop | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/rdesktop')
-rw-r--r-- | net-misc/rdesktop/Manifest | 4 | ||||
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch | 22 | ||||
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-1.6.0-sound_configure.patch | 15 | ||||
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch | 18 | ||||
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-keymap-additional | 64 | ||||
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-keymap-cs | 122 | ||||
-rw-r--r-- | net-misc/rdesktop/files/rdesktop-keymap-sk | 124 | ||||
-rw-r--r-- | net-misc/rdesktop/metadata.xml | 18 | ||||
-rw-r--r-- | net-misc/rdesktop/rdesktop-1.7.1.ebuild | 82 | ||||
-rw-r--r-- | net-misc/rdesktop/rdesktop-1.8.1.ebuild | 84 | ||||
-rw-r--r-- | net-misc/rdesktop/rdesktop-1.8.2.ebuild | 84 | ||||
-rw-r--r-- | net-misc/rdesktop/rdesktop-1.8.3.ebuild | 75 |
12 files changed, 712 insertions, 0 deletions
diff --git a/net-misc/rdesktop/Manifest b/net-misc/rdesktop/Manifest new file mode 100644 index 000000000000..0b465ef39525 --- /dev/null +++ b/net-misc/rdesktop/Manifest @@ -0,0 +1,4 @@ +DIST rdesktop-1.7.1.tar.gz 298808 SHA256 d1ea43adeb23ef1ba425983670372a87cd7560baf8c94ba34215105ed2ef8479 SHA512 aaefbcda77a333ec065e42aa20e5335e48c51858dab860495528b399696c0ed6594ab9c5234716682e7ebef81d36cc6d157eedae700e0df209da9034d04887fc WHIRLPOOL a186bbf3200af87ef6e111210e3dbf9d71f2a495c44dca583673466ccc9f67606a9a9c2bf3c801addd7c3b1af26a0a03e4e63b15bb72a52d7cfb4e4f381596ae +DIST rdesktop-1.8.1.tar.gz 314198 SHA256 76cc834b89c34d8332f3cb3889483b2ae4d4e8118eeb45a8967c77dd18228246 SHA512 31f13bf644ef16939a8c6c12709b89f59b0de276cc113c5e43ba505c5a352f515fdd1302c32f3095caca66796c9a15d574374391b4a67745fa505512499ed071 WHIRLPOOL f4df2b07c3e157c0fdd38a6477008bd0f4aa256f423a6a4d8bb53538028ff484776b74b171343d19ea4f508ae84e1dc758b26a5810052f94978d0fca9b4e3190 +DIST rdesktop-1.8.2.tar.gz 318270 SHA256 fbbf23d49d34c215c5a59b2d91c008b61ead4c9fbe1ccb7223973aed24061a78 SHA512 45b3e3220bcb2584cdfa3139c5b38775d55ab3c6c4cb6e46e4032965f5dc546682a733b5764760f20b7b6f40bb412ef0f67509f1344e69b342bbf9e9aca45bcf WHIRLPOOL 284b0746aaf9334992f1b485e4db25daeacfe5c5ade3403d94f1bf8b939ae45d22166a8a58014c51f4ebcc3e6211da44b6bacda4d89f0e9879e43c1a81ca3794 +DIST rdesktop-1.8.3.tar.gz 320212 SHA256 88b20156b34eff5f1b453f7c724e0a3ff9370a599e69c01dc2bf0b5e650eece4 SHA512 06b94ad3b09430b05e424ef31a3e6f2388190b4920e348603cb66a414244896e0dc8906b9f12920e9406cf153ffa7f6507b23bf6713c3a675c0540a8ef57902d WHIRLPOOL 24d12882ab04fe535fea6e59b78df2e8c23634703ab13bb385446a6e8c49703ca7344053cf1f6bbc4fecc04ce21354a9e5d3a0261b3d3c015289c2ec3b8af8c3 diff --git a/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch b/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch new file mode 100644 index 000000000000..a23796694429 --- /dev/null +++ b/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch @@ -0,0 +1,22 @@ +--- configure.ac.orig 2009-07-05 16:13:23.000000000 +0200 ++++ configure.ac 2009-07-05 16:19:39.000000000 +0200 +@@ -108,7 +108,10 @@ + AC_ARG_ENABLE(smartcard, + [ --enable-smartcard Enables smart-card support. + ], +- [ ++ [ ++ if test "$enableval" = no; then ++ WITH_SCARD=0 ++ else + case "$OSTYPE" in + darwin*) + AC_CHECK_HEADER(PCSC/pcsclite.h, [WITH_SCARD=1], [WITH_SCARD=0]) +@@ -143,6 +146,7 @@ + [AC_MSG_RESULT(yes) AC_DEFINE(WITH_PCSC120, 1, [old version of PCSC])], + [AC_MSG_RESULT(no)] + ) ++ fi + ]) + + AC_SUBST(SCARDOBJ) diff --git a/net-misc/rdesktop/files/rdesktop-1.6.0-sound_configure.patch b/net-misc/rdesktop/files/rdesktop-1.6.0-sound_configure.patch new file mode 100644 index 000000000000..8e64ba8b48cb --- /dev/null +++ b/net-misc/rdesktop/files/rdesktop-1.6.0-sound_configure.patch @@ -0,0 +1,15 @@ +--- configure.ac.orig 2009-06-30 10:35:14.000000000 +0200 ++++ configure.ac 2009-06-30 11:35:10.000000000 +0200 +@@ -228,7 +228,11 @@ + if test -n "$PKG_CONFIG"; then + PKG_CHECK_MODULES(LIBAO, ao, [HAVE_LIBAO=1], [HAVE_LIBAO=0]) + PKG_CHECK_MODULES(ALSA, alsa, [HAVE_ALSA=1], [HAVE_ALSA=0]) +- PKG_CHECK_MODULES(LIBSAMPLERATE, samplerate, [HAVE_LIBSAMPLERATE=1], [HAVE_LIBSAMPLERATE=0]) ++ AC_ARG_WITH(libsamplerate, ++ [ --without-libsamplerate disable libsamplerate support]) ++ if test "x$with_libsamplerate" != "xno"; then ++ PKG_CHECK_MODULES(LIBSAMPLERATE, samplerate, [HAVE_LIBSAMPLERATE=1], [HAVE_LIBSAMPLERATE=0]) ++ fi + if test x"$HAVE_LIBSAMPLERATE" = "x1"; then + AC_DEFINE(HAVE_LIBSAMPLERATE) + if test x"$static_libsamplerate" = "xyes"; then diff --git a/net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch b/net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch new file mode 100644 index 000000000000..3afb9b2b0f23 --- /dev/null +++ b/net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch @@ -0,0 +1,18 @@ +--- rdpsnd_libao.c.orig 2010-11-29 14:55:31.124907038 +0100 ++++ rdpsnd_libao.c 2010-11-29 14:55:51.708464083 +0100 +@@ -76,6 +76,7 @@ + format.channels = 2; + format.rate = 44100; + format.byte_format = AO_FMT_NATIVE; ++ format.matrix = NULL; + + + o_device = ao_open_live(default_driver, &format, NULL); +@@ -115,6 +116,7 @@ + format.channels = pwfx->nChannels; + format.rate = 44100; + format.byte_format = AO_FMT_NATIVE; ++ format.matrix = NULL; + + if (o_device != NULL) + ao_close(o_device); diff --git a/net-misc/rdesktop/files/rdesktop-keymap-additional b/net-misc/rdesktop/files/rdesktop-keymap-additional new file mode 100644 index 000000000000..04a03a54dcee --- /dev/null +++ b/net-misc/rdesktop/files/rdesktop-keymap-additional @@ -0,0 +1,64 @@ +#Additional sequences +#2007-05-28 by Jaroslav Jiricka <giahra@atlas.cz> + +sequence ecaron dead_caron e +sequence Ecaron dead_caron E +sequence eogonek dead_ogonek e +sequence Eogonek dead_ogonek E + +sequence rcaron dead_caron r +sequence Rcaron dead_caron R +sequence racute dead_acute r +sequence Racute dead_acute R + +sequence tcaron dead_caron t +sequence Tcaron dead_caron T +sequence tcedilla dead_cedilla t +sequence Tcedilla dead_cedilla T + +sequence zcaron dead_caron z +sequence Zcaron dead_caron Z +sequence zacute dead_acute z +sequence Zacute dead_acute Z +sequence zabovedot dead_abovedot z +sequence Zabovedot dead_abovedot Z + +sequence uring dead_abovering u +sequence Uring dead_abovering U +sequence udoubleacute dead_doubleacute u +sequence Udoubleacute dead_doubleacute U + +sequence odoubleacute dead_doubleacute o +sequence Odoubleacute dead_doubleacute O + +sequence aogonek dead_ogonek a +sequence Aogonek dead_ogonek A +sequence abreve dead_breve a +sequence Abreve dead_breve A + +sequence scaron dead_caron s +sequence Scaron dead_caron S +sequence sacute dead_acute s +sequence Sacute dead_acute S +sequence scedilla dead_cedilla s +sequence Scedilla dead_cedilla S + +sequence dcaron dead_caron d +sequence Dcaron dead_caron D + +sequence gbreve dead_breve g +sequence Gbreve dead_breve G + +sequence lcaron dead_caron l +sequence Lcaron dead_caron L +sequence lacute dead_acute l +sequence Lacute dead_acute L + +sequence ccaron dead_caron c +sequence Ccaron dead_caron C + +sequence ncaron dead_caron n +sequence Ncaron dead_caron N +sequence nacute dead_acute n +sequence Nacute dead_acute N + diff --git a/net-misc/rdesktop/files/rdesktop-keymap-cs b/net-misc/rdesktop/files/rdesktop-keymap-cs new file mode 100644 index 000000000000..046762833dbd --- /dev/null +++ b/net-misc/rdesktop/files/rdesktop-keymap-cs @@ -0,0 +1,122 @@ +#Czech keymap +#2007-05-28 by Jaroslav Jiricka <giahra@atlas.cz> +include common +include additional +map 0x405 + +semicolon 0x29 +dead_abovering 0x29 shift + +plus 0x02 +1 0x02 shift +dead_tilde 0x02 altgr +asciitilde 0x02 altgr + +ecaron 0x03 +2 0x03 shift +dead_caron 0x03 altgr + +scaron 0x04 +3 0x04 shift +dead_circumflex 0x04 altgr + +ccaron 0x05 +4 0x05 shift +dead_breve 0x05 altgr + +rcaron 0x06 +5 0x06 shift +dead_abovering 0x06 altgr + +zcaron 0x07 +6 0x07 shift +dead_ogonek 0x07 altgr + +yacute 0x08 +7 0x08 shift +dead_grave 0x08 altgr + +aacute 0x09 +8 0x09 shift +dead_abovedot 0x08 altgr + +iacute 0x0a +9 0x0a shift +dead_acute 0x08 altgr + +eacute 0x0b +0 0x0b shift +dead_doubleacute 0x0b altgr + +equal 0x0c +percent 0x0c shift +dead_macron 0x0c altgr + +dead_acute 0x0d +dead_caron 0x0d shift +dead_cedilla 0x0d altgr + +backslash 0x10 altgr + +bar 0x11 altgr + +EuroSign 0x12 altgr + +z 0x15 addupper + +uacute 0x1a +slash 0x1a shift +division 0x1a altgr + +parenright 0x1b +parenleft 0x1b shift +multiply 0x1b altgr + +dead_diaeresis 0x2b +apostrophe 0x2b shift +currency 0x2b altgr + +dstroke 0x1f altgr + +Dstroke 0x20 altgr + +bracketleft 0x21 altgr + +bracketright 0x22 altgr + +lstroke 0x25 altgr + +Lstroke 0x26 altgr + +uring 0x27 +quotedbl 0x27 shift +dollar 0x27 altgr + +section 0x28 +exclam 0x28 shift +ssharp 0x28 altgr + +y 0x2c addupper + +numbersign 0x2d altgr + +ampersand 0x2e altgr + +at 0x2f altgr + +braceleft 0x30 altgr + +braceright 0x31 altgr + +comma 0x33 +question 0x33 shift +less 0x33 altgr + +period 0x34 +colon 0x34 shift +greater 0x34 altgr + +minus 0x35 +underscore 0x35 shift +asterisk 0x35 altgr + diff --git a/net-misc/rdesktop/files/rdesktop-keymap-sk b/net-misc/rdesktop/files/rdesktop-keymap-sk new file mode 100644 index 000000000000..afa1a3bb035d --- /dev/null +++ b/net-misc/rdesktop/files/rdesktop-keymap-sk @@ -0,0 +1,124 @@ +#Slovak keymap +#2007-05-28 by Jaroslav Jiricka <giahra@atlas.cz> +include common +include additional +map 0x41B + +semicolon 0x29 +dead_abovering 0x29 shift + +plus 0x02 +1 0x02 shift +dead_tilde 0x02 altgr +asciitilde 0x02 altgr + +lcaron 0x03 +2 0x03 shift +dead_caron 0x03 altgr + +scaron 0x04 +3 0x04 shift +dead_circumflex 0x04 altgr + +ccaron 0x05 +4 0x05 shift +dead_breve 0x05 altgr + +tcaron 0x06 +5 0x06 shift +dead_abovering 0x06 altgr + +zcaron 0x07 +6 0x07 shift +dead_ogonek 0x07 altgr + +yacute 0x08 +7 0x08 shift +dead_grave 0x08 altgr + +aacute 0x09 +8 0x09 shift +dead_abovedot 0x08 altgr + +iacute 0x0a +9 0x0a shift +dead_acute 0x08 altgr + +eacute 0x0b +0 0x0b shift +dead_doubleacute 0x0b altgr + +equal 0x0c +percent 0x0c shift +dead_diaeresis 0x0c altgr + +dead_acute 0x0d +dead_caron 0x0d shift +dead_cedilla 0x0d altgr + +backslash 0x10 altgr + +bar 0x11 altgr + +EuroSign 0x12 altgr + +z 0x15 addupper + +apostrophe 0x19 altgr + +uacute 0x1a +slash 0x1a shift +division 0x1a altgr + +adiaeresis 0x1b +parenleft 0x1b shift +multiply 0x1b altgr + +ncaron 0x2b +parenright 0x2b shift +currency 0x2b altgr + +dstroke 0x1f altgr + +Dstroke 0x20 altgr + +bracketleft 0x21 altgr + +bracketright 0x22 altgr + +lstroke 0x25 altgr + +Lstroke 0x26 altgr + +ocircumflex 0x27 +quotedbl 0x27 shift +dollar 0x27 altgr + +section 0x28 +exclam 0x28 shift +ssharp 0x28 altgr + +y 0x2c addupper + +numbersign 0x2d altgr + +ampersand 0x2e altgr + +at 0x2f altgr + +braceleft 0x30 altgr + +braceright 0x31 altgr + +comma 0x33 +question 0x33 shift +less 0x33 altgr + +period 0x34 +colon 0x34 shift +greater 0x34 altgr + +minus 0x35 +underscore 0x35 shift +asterisk 0x35 altgr + diff --git a/net-misc/rdesktop/metadata.xml b/net-misc/rdesktop/metadata.xml new file mode 100644 index 000000000000..cbeac8797d75 --- /dev/null +++ b/net-misc/rdesktop/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <longdescription> +An open source client for Windows NT Terminal Server and Windows 2000/2003 Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user's NT desktop. Unlike Citrix ICA, no server extensions are required. +</longdescription> + <use> + <flag name="kerberos">Enable CredSPP support + Kerberos authentication with <pkg>net-libs/libgssglue</pkg></flag> + <flag name="pcsc-lite">Enable smartcard support with <pkg>sys-apps/pcsc-lite</pkg> driver</flag> + </use> + <upstream> + <remote-id type="sourceforge">rdesktop</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/rdesktop/rdesktop-1.7.1.ebuild b/net-misc/rdesktop/rdesktop-1.7.1.ebuild new file mode 100644 index 000000000000..b6f492ad07cc --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.7.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools eutils + +MY_PV=${PV/_/-} + +DESCRIPTION="A Remote Desktop Protocol Client" +HOMEPAGE="http://rdesktop.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="alsa ao debug ipv6 libsamplerate oss pcsc-lite" + +S=${WORKDIR}/${PN}-${MY_PV} + +RDEPEND=">=dev-libs/openssl-0.9.6b + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + alsa? ( media-libs/alsa-lib ) + ao? ( >=media-libs/libao-0.8.6 ) + libsamplerate? ( media-libs/libsamplerate ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +src_prepare() { + # Prevent automatic stripping + local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')" + sed -i -e "s:${strip}::" Makefile.in \ + || die "sed failed in Makefile.in" + + # Automagic dependency on libsamplerate + epatch "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch + # Fix --enable-smartcard logic + epatch "${FILESDIR}"/${PN}-1.6.0-smartcard_configure.patch + # bug #280923 + epatch "${FILESDIR}"/${PN}-1.7.0-libao_crash.patch + + eautoreconf +} + +src_configure() { + if use ao; then + sound_conf=$(use_with ao sound libao) + else if use alsa; then + sound_conf=$(use_with alsa sound alsa) + else + sound_conf=$(use_with oss sound oss) + fi + fi + + econf \ + --with-openssl="${EPREFIX}"/usr \ + $(use_with debug) \ + $(use_with ipv6) \ + $(use_with libsamplerate) \ + $(use_enable pcsc-lite smartcard) \ + ${sound_conf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/HACKING doc/TODO doc/keymapping.txt + + # For #180313 - applies to versions >= 1.5.0 + # Fixes sf.net bug + # http://sourceforge.net/tracker/index.php?func=detail&aid=1725634&group_id=24366&atid=381349 + # check for next version to see if this needs to be removed + insinto /usr/share/rdesktop/keymaps + newins "${FILESDIR}/rdesktop-keymap-additional" additional + newins "${FILESDIR}/rdesktop-keymap-cs" cs + newins "${FILESDIR}/rdesktop-keymap-sk" sk +} diff --git a/net-misc/rdesktop/rdesktop-1.8.1.ebuild b/net-misc/rdesktop/rdesktop-1.8.1.ebuild new file mode 100644 index 000000000000..97628de23f97 --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.8.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +MY_PV=${PV/_/-} + +DESCRIPTION="A Remote Desktop Protocol Client" +HOMEPAGE="http://rdesktop.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="alsa ao debug ipv6 kerberos libsamplerate oss pcsc-lite" + +S=${WORKDIR}/${PN}-${MY_PV} + +RDEPEND=">=dev-libs/openssl-0.9.6b + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + alsa? ( media-libs/alsa-lib ) + ao? ( >=media-libs/libao-0.8.6 ) + kerberos? ( net-libs/libgssglue ) + libsamplerate? ( media-libs/libsamplerate ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +src_prepare() { + # Prevent automatic stripping + local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')" + sed -i -e "s:${strip}::" Makefile.in \ + || die "sed failed in Makefile.in" + + # Automagic dependency on libsamplerate + epatch "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch + # bug #280923 + epatch "${FILESDIR}"/${PN}-1.7.0-libao_crash.patch + + epatch_user + + eautoreconf +} + +src_configure() { + if use ao; then + sound_conf=$(use_with ao sound libao) + else if use alsa; then + sound_conf=$(use_with alsa sound alsa) + else + sound_conf=$(use_with oss sound oss) + fi + fi + + econf \ + --with-openssl="${EPREFIX}"/usr \ + $(use_with debug) \ + $(use_with ipv6) \ + $(use_with libsamplerate) \ + $(use_enable kerberos credssp) \ + $(use_enable pcsc-lite smartcard) \ + ${sound_conf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/HACKING doc/TODO doc/keymapping.txt + + # For #180313 - applies to versions >= 1.5.0 + # Fixes sf.net bug + # http://sourceforge.net/tracker/index.php?func=detail&aid=1725634&group_id=24366&atid=381349 + # check for next version to see if this needs to be removed + insinto /usr/share/rdesktop/keymaps + newins "${FILESDIR}/rdesktop-keymap-additional" additional + newins "${FILESDIR}/rdesktop-keymap-cs" cs + newins "${FILESDIR}/rdesktop-keymap-sk" sk +} diff --git a/net-misc/rdesktop/rdesktop-1.8.2.ebuild b/net-misc/rdesktop/rdesktop-1.8.2.ebuild new file mode 100644 index 000000000000..97628de23f97 --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.8.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +MY_PV=${PV/_/-} + +DESCRIPTION="A Remote Desktop Protocol Client" +HOMEPAGE="http://rdesktop.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="alsa ao debug ipv6 kerberos libsamplerate oss pcsc-lite" + +S=${WORKDIR}/${PN}-${MY_PV} + +RDEPEND=">=dev-libs/openssl-0.9.6b + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + alsa? ( media-libs/alsa-lib ) + ao? ( >=media-libs/libao-0.8.6 ) + kerberos? ( net-libs/libgssglue ) + libsamplerate? ( media-libs/libsamplerate ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +src_prepare() { + # Prevent automatic stripping + local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')" + sed -i -e "s:${strip}::" Makefile.in \ + || die "sed failed in Makefile.in" + + # Automagic dependency on libsamplerate + epatch "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch + # bug #280923 + epatch "${FILESDIR}"/${PN}-1.7.0-libao_crash.patch + + epatch_user + + eautoreconf +} + +src_configure() { + if use ao; then + sound_conf=$(use_with ao sound libao) + else if use alsa; then + sound_conf=$(use_with alsa sound alsa) + else + sound_conf=$(use_with oss sound oss) + fi + fi + + econf \ + --with-openssl="${EPREFIX}"/usr \ + $(use_with debug) \ + $(use_with ipv6) \ + $(use_with libsamplerate) \ + $(use_enable kerberos credssp) \ + $(use_enable pcsc-lite smartcard) \ + ${sound_conf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/HACKING doc/TODO doc/keymapping.txt + + # For #180313 - applies to versions >= 1.5.0 + # Fixes sf.net bug + # http://sourceforge.net/tracker/index.php?func=detail&aid=1725634&group_id=24366&atid=381349 + # check for next version to see if this needs to be removed + insinto /usr/share/rdesktop/keymaps + newins "${FILESDIR}/rdesktop-keymap-additional" additional + newins "${FILESDIR}/rdesktop-keymap-cs" cs + newins "${FILESDIR}/rdesktop-keymap-sk" sk +} diff --git a/net-misc/rdesktop/rdesktop-1.8.3.ebuild b/net-misc/rdesktop/rdesktop-1.8.3.ebuild new file mode 100644 index 000000000000..282327a0cc19 --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.8.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +MY_PV=${PV/_/-} + +DESCRIPTION="A Remote Desktop Protocol Client" +HOMEPAGE="http://rdesktop.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="alsa ao debug ipv6 kerberos libsamplerate oss pcsc-lite" + +S=${WORKDIR}/${PN}-${MY_PV} + +RDEPEND=">=dev-libs/openssl-0.9.6b + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + alsa? ( media-libs/alsa-lib ) + ao? ( >=media-libs/libao-0.8.6 ) + kerberos? ( net-libs/libgssglue ) + libsamplerate? ( media-libs/libsamplerate ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +src_prepare() { + # Prevent automatic stripping + local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')" + sed -i -e "s:${strip}::" Makefile.in \ + || die "sed failed in Makefile.in" + + # Automagic dependency on libsamplerate + epatch "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch + # bug #280923 + epatch "${FILESDIR}"/${PN}-1.7.0-libao_crash.patch + + epatch_user + + eautoreconf +} + +src_configure() { + if use ao; then + sound_conf=$(use_with ao sound libao) + else if use alsa; then + sound_conf=$(use_with alsa sound alsa) + else + sound_conf=$(use_with oss sound oss) + fi + fi + + econf \ + --with-openssl="${EPREFIX}"/usr \ + $(use_with debug) \ + $(use_with ipv6) \ + $(use_with libsamplerate) \ + $(use_enable kerberos credssp) \ + $(use_enable pcsc-lite smartcard) \ + ${sound_conf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/HACKING doc/TODO doc/keymapping.txt +} |