summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/freerdp')
-rw-r--r--net-misc/freerdp/ChangeLog6
-rw-r--r--net-misc/freerdp/freerdp-9999.1.ebuild15
-rw-r--r--net-misc/freerdp/metadata.xml17
3 files changed, 31 insertions, 7 deletions
diff --git a/net-misc/freerdp/ChangeLog b/net-misc/freerdp/ChangeLog
index d8053f3a061c..85c98667ee41 100644
--- a/net-misc/freerdp/ChangeLog
+++ b/net-misc/freerdp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/freerdp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/ChangeLog,v 1.10 2011/09/07 03:53:03 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/ChangeLog,v 1.11 2011/10/01 16:46:46 pva Exp $
+
+ 01 Oct 2011; Peter Volkov <pva@gentoo.org> freerdp-9999.1.ebuild,
+ metadata.xml:
+ Add debug-* and sse2 USE flags, bug #381409.
07 Sep 2011; Mike Gilbert <floppym@gentoo.org> freerdp-9999.1.ebuild:
Install README.
diff --git a/net-misc/freerdp/freerdp-9999.1.ebuild b/net-misc/freerdp/freerdp-9999.1.ebuild
index 7be1fadff04b..d105f9301ff3 100644
--- a/net-misc/freerdp/freerdp-9999.1.ebuild
+++ b/net-misc/freerdp/freerdp-9999.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/freerdp-9999.1.ebuild,v 1.2 2011/09/07 03:53:03 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freerdp/freerdp-9999.1.ebuild,v 1.3 2011/10/01 16:46:46 pva Exp $
EAPI="4"
@@ -15,7 +15,10 @@ EGIT_REPO_URI="git://github.com/FreeRDP/FreeRDP.git
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
-IUSE="+alsa +cups directfb pulseaudio test +X +xcursor +xext +xinerama +xkbfile"
+IUSE="+alsa +cups directfb pulseaudio sse2 test +X +xcursor +xext +xinerama +xkbfile"
+
+FREERDP_DEBUG="transport chanman svc dvc kbd nla nego certificate license gdi rfx x11 rail xv"
+IUSE+=" $(printf 'debug-%s ' ${FREERDP_DEBUG})"
RDEPEND="
dev-libs/openssl
@@ -43,7 +46,6 @@ DOCS=( README )
RESTRICT="test"
src_configure() {
- # TODO: Add debug options
local mycmakeargs=(
-DWITH_MANPAGES=ON
$(cmake-utils_use_with alsa)
@@ -56,6 +58,13 @@ src_configure() {
$(cmake-utils_use_with xext)
$(cmake-utils_use_with xinerama)
$(cmake-utils_use_with xkbfile)
+ $(cmake-utils_use_with sse2 SSE2)
)
+ for i in ${FREERDP_DEBUG}; do
+ mycmakeargs+=(
+ $(cmake-utils_use_with debug-${i} DEBUG_$(LC_ALL=C echo ${i} | tr a-z A-Z))
+ )
+ done
+ einfo "${mycmakeargs[@]}"
cmake-utils_src_configure
}
diff --git a/net-misc/freerdp/metadata.xml b/net-misc/freerdp/metadata.xml
index 0c381aa67549..c666d3441454 100644
--- a/net-misc/freerdp/metadata.xml
+++ b/net-misc/freerdp/metadata.xml
@@ -12,14 +12,25 @@
<longdescription>FreeRDP is a fork of the rdesktop project that intends to rapidly start moving forward and implement features that rdesktop lacks the most.</longdescription>
<use>
<flag name="debug-assert">Enable assert debugging</flag>
- <flag name="debug-gdi">Enable debugging of GDI</flag>
- <flag name="debug-kbd">Enable debugging of keyboard handling</flag>
- <flag name="debug-nla">Enable debugging of network level authentication</flag>
+ <flag name="debug-certificate">Enable certificate related debug messages</flag>
+ <flag name="debug-chanman">Enable channel manager debug messages</flag>
+ <flag name="debug-dvc">Enable dynamic virtual channel debug messages</flag>
+ <flag name="debug-gdi">Enable graphics debug messages</flag>
+ <flag name="debug-kbd">Enable keyboard related debug messages</flag>
+ <flag name="debug-license">Enable license debug messages</flag>
+ <flag name="debug-nego">Enable negotiation related debug messages</flag>
+ <flag name="debug-nla">Enable authentication related debug messages</flag>
<flag name="debug-proto">Enable protocol debugging output</flag>
+ <flag name="debug-rail">Enable RemoteApp debug messages</flag>
+ <flag name="debug-rfx">Enable RemoteFX debug messages</flag>
<flag name="debug-serial">Enable debugging of serial code</flag>
<flag name="debug-smartcard">Enable debugging of smard-card code</flag>
<flag name="debug-sound">Enable debugging of sound code</flag>
<flag name="debug-stream-assert">Enable stream assert debugging</flag>
+ <flag name="debug-transport">Enable transport debug messages</flag>
+ <flag name="debug-svc">Enable static virtual channel debug messages</flag>
+ <flag name="debug-x11">Enable X11 Client debug messages</flag>
+ <flag name="debug-xv">Enable XVideo debug messages</flag>
<flag name="gnutls">Use GnuTLS as crypto backend</flag>
<flag name="nss">Use NSS as crypto backend</flag>
<flag name="polarssl">Use PolarSSL as crypto backend</flag>