Package Details: quickrdp 2.4.3-2

Git Clone URL: https://aur.archlinux.org/quickrdp.git (read-only)
Package Base: quickrdp
Description: Connection manager program for your remote desktop, telnet, SSH or VNC connections.
Upstream URL: https://github.com/arnestig/quickrdp
Licenses: GPL3
Submitter: fukawi2
Maintainer: fukawi2
Last Packager: fukawi2
Votes: 5
Popularity: 0.000041
First Submitted: 2012-06-18 00:52
Last Updated: 2017-02-01 23:09

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

fukawi2 commented on 2017-02-01 23:10

Thanks! Great work! I've added this in to -2

figue commented on 2017-01-16 16:52

I successfully compiled quickrdp (finally!) with this upstream patch https://github.com/arnestig/quickrdp/commit/675c94accde7fd2981aca8a7cc51b3403d994949

If you want, this is a fixed PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 5a84d02..18be88d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,11 +10,21 @@ url="https://github.com/arnestig/quickrdp"
license=('GPL3')
depends=('wxgtk' 'curl')
optdepends=('rdesktop: remote desktop support')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/arnestig/quickrdp/archive/$pkgver.tar.gz")
-md5sums=('e9d7c6863c2081f0a4dab43712a6fccb')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/arnestig/quickrdp/archive/$pkgver.tar.gz" gcc6-fix.patch)
+sha256=('e9d7c6863c2081f0a4dab43712a6fccb')
+#options=('!makeflags')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -Np1 -i $srcdir/gcc6-fix.patch
+}

build() {
cd "$srcdir"/$pkgname-$pkgver
+
+ CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
+ CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
+
make
}

@@ -24,3 +34,5 @@ package() {
}

# vim:set ts=2 sw=2 et:
+sha256sums=('0829a337144a0bc945f2f9ea152e95c53496108837a0697fae5ef47c7daae8d8'
+ 'd12acce79765a39986dc69931bc9da42ec130da6672612fd383e4796f20b6a45')




File gcc6-fix.patch is:

From 675c94accde7fd2981aca8a7cc51b3403d994949 Mon Sep 17 00:00:00 2001
From: Tobias Eliasson <arnestig@gmail.com>
Date: Mon, 24 Oct 2016 20:56:42 +0200
Subject: [PATCH] - Fixed compiler issues with gcc6. Solves issue #2

---
src/RDPDatabase.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/RDPDatabase.h b/src/RDPDatabase.h
index 232b662..dc8b1cf 100644
--- a/src/RDPDatabase.h
+++ b/src/RDPDatabase.h
@@ -36,7 +36,7 @@ namespace ConnectionType
VNC
};

- inline wxString getConnectionTypeName( ConnectionType::ConnectionType connectionType )
+ inline wxString getConnectionTypeName( ConnectionType connectionType )
{
switch ( connectionType )
{
@@ -55,7 +55,7 @@ namespace ConnectionType
}
}

- inline ConnectionType::ConnectionType getConnectionTypeForPort( int port )
+ inline ConnectionType getConnectionTypeForPort( int port )
{
switch ( port )
{

hubermi commented on 2016-07-20 06:38

Compilation also fails here:

g++ -c src/CommandDialog.cpp -o obj/CommandDialog.o -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -Wall -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -O2 -DDATA_PATH=\"/usr/share/quickrdp/\" -DGIT_HASH=\"\"
In file included from src/CommandDatabase.h:28:0,
from src/CommandDialog.h:25,
from src/CommandDialog.cpp:22:
src/RDPDatabase.h:39:60: Fehler: »ConnectionType::getConnectionTypeName« als eine »inline« Variable deklariert
inline wxString getConnectionTypeName( ConnectionType::ConnectionType connectionType )
^~~~~~~~~~~~~~
src/RDPDatabase.h:39:44: Fehler: »ConnectionType« ist kein Element von »ConnectionType::ConnectionType«
inline wxString getConnectionTypeName( ConnectionType::ConnectionType connectionType )
^~~~~~~~~~~~~~
src/RDPDatabase.h:40:5: Fehler: expected »,« or »;« before »{« token
{
^
In file included from /usr/include/wx-3.0/wx/gdicmn.h:23:0,
from /usr/include/wx-3.0/wx/event.h:20,
from /usr/include/wx-3.0/wx/window.h:18,
from /usr/include/wx-3.0/wx/sizer.h:16,
from src/ExampleDialog.h:26,
from src/CommandDialog.h:26,
from src/CommandDialog.cpp:22:
/usr/include/wx-3.0/wx/math.h:116:39: Fehler: expected »}« before end of line
wxGCC_WARNING_SUPPRESS(float-equal)
^
/usr/include/wx-3.0/wx/math.h:116:39: Fehler: expected declaration before end of line
make: *** [Makefile:46: obj/CommandDialog.o] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

fukawi2 commented on 2016-07-19 22:26

I guess I have an unlisted dependency installed then perhaps... No idea what that may be though :-/

figue commented on 2016-07-19 12:52

@fukawi2 I've tried in 3 different machines. Always fail. Even forcing CPP flags to:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"

Same error in all machines:

In file included from src/CommandDatabase.h:28:0,
from src/CommandDialog.h:25,
from src/CommandDialog.cpp:22:
src/RDPDatabase.h:39:60: error: 'ConnectionType::getConnectionTypeName' declared as an 'inline' variable
inline wxString getConnectionTypeName( ConnectionType::ConnectionType connectionType )
^~~~~~~~~~~~~~
src/RDPDatabase.h:39:44: error: 'ConnectionType' is not a member of 'ConnectionType::ConnectionType'
inline wxString getConnectionTypeName( ConnectionType::ConnectionType connectionType )
^~~~~~~~~~~~~~
src/RDPDatabase.h:40:5: error: expected ',' or ';' before '{' token
{
^
In file included from /usr/include/wx-3.0/wx/gdicmn.h:23:0,
from /usr/include/wx-3.0/wx/event.h:20,
from /usr/include/wx-3.0/wx/window.h:18,
from /usr/include/wx-3.0/wx/sizer.h:16,
from src/ExampleDialog.h:26,
from src/CommandDialog.h:26,
from src/CommandDialog.cpp:22:
/usr/include/wx-3.0/wx/math.h:116:39: error: expected '}' before end of line
wxGCC_WARNING_SUPPRESS(float-equal)
^
/usr/include/wx-3.0/wx/math.h:116:39: error: expected declaration before end of line
make: *** [Makefile:45: obj/CommandDialog.o] Error 1
make: *** Waiting for unfinished jobs....


Also tried in a clean chroot with extra-x86_64-build...

fukawi2 commented on 2016-07-18 22:21

@figue Yes, builds fine for me. What are you compiling on? My machine has different args to compile windowTabPanel.cpp:

Mine:
g++ -c src/windowTabPanel.cpp -o obj/windowTabPanel.o -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -Wall -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -O2 -DDATA_PATH=\"/usr/share/quickrdp/\" -DGIT_HASH=\"c5cc205\"

Yours:
g++ -c src/windowTabPanel.cpp -o obj/windowTabPanel.o -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -g -Wall -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -O2 -DDATA_PATH=\"/usr/share/quickrdp/\" -DGIT_HASH=\"520ac30\"

figue commented on 2016-07-18 09:14

@fukawi2 Does quickrdp build in your machine? Fails in my case...

Full output:
http://hastebin.com/raw/qubewezolu

fukawi2 commented on 2016-07-18 01:56

Bump to 2.4.3

fukawi2 commented on 2015-12-09 23:17

Bump to 2.4.2; this is a minor update to relocate upstream from SourceForge to GitHub: https://github.com/arnestig/quickrdp/releases/tag/2.4.2

fukawi2 commented on 2015-06-01 00:17

Bump to 2.4.1

All comments