1 # Quick and dirty guide for compiling remmina on Fedora 20 - 26
3 These are the instructions for people who want to test the latest version of Remmina on Fedora 20 - 26
5 You will obtain Remmina and FreeRDP compiled under the /opt/remmina_devel/ subdir, so they will not mess up your system too much. This is ideal for testing remmina.
7 You will also find the uninstall instructions at the bottom of this page.
10 - Initial write: Aug 23 2014.
11 - Updated: Aug 30 2014 (compile with libappindicator)
12 - Updated: Sep 2 2014 (notes for Gnome Shell Users)
13 - Update: Oct 3 2014 (change from branch "gtk3" to "next")
14 - Update Oct 15 2014: added -DWITH_CUPS=on -DWITH_WAYLAND=off to freerdp parameters
15 - Update June 17th 2017: added rpmfusion prereq for modern Fedora's ( tested on 26b1 )
17 *use at your own risk*
19 **1.** Update your system and install all packages required to build freerdp and remmina:
23 and reboot if needed. Then install packages for freerdp, rpmfusion free is needed for ffmpeg-devel
25 sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
26 sudo yum install gcc gcc-c++ cmake openssl-devel libX11-devel libXext-devel \
27 libXinerama-devel libXcursor-devel \
28 libXdamage-devel libXv-devel libxkbfile-devel alsa-lib-devel cups-devel ffmpeg-devel glib2-devel \
29 pulseaudio-libs-devel git libssh-devel libXi-devel libXtst-devel xmlto gstreamer1-devel \
30 libXrandr-devel gstreamer1-plugins-base-devel
32 and then install packages for remmina
34 sudo yum -y install gtk3-devel libgcrypt-devel libssh-devel libxkbfile-devel openjpeg2-devel \
35 gnutls-devel libgnome-keyring-devel avahi-ui-devel avahi-ui-gtk3 \
36 libvncserver-devel vte3-devel libappindicator-devel libappindicator-gtk3 libappindicator-gtk3-devel \
37 telepathy-glib-devel libSM-devel webkitgtk4-devel json-glib-devel libsoup-devel
39 **2.** Remove freerdp-x11 package and all packages containing the string remmina in the package name.
42 sudo rpm -e remmina remmina-devel remmina-plugins-gnome remmina-plugins-nx remmina-plugins-rdp remmina-plugins-telepathy remmina-plugins-vnc remmina-plugins-xdmcp
45 **3.** Create a new directory for development in your home directory, and cd into it
50 **4.** Download the latest source code of FreeRDP from its master branch
52 git clone https://github.com/FreeRDP/FreeRDP.git
57 **5.** Configure FreeRDP for compilation (don't forget to include -DWITH_PULSE=ON)
59 cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_PULSE=ON -DWITH_CUPS=on -DWITH_WAYLAND=off -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
62 **6.** Compile FreeRDP and install
64 make && sudo make install
66 **7.** Make your system dynamic loader aware of the new libraries you installed. For Fedora x64:
71 **8.** Test the new freerdp by connecting to a RDP host
73 xfreerdp +clipboard /sound:rate:44100,channel:2 /v:hostname /u:username
76 **10.** Now clone remmina repository to your devel dir:
79 git clone https://gitlab.com/Remmina/Remmina.git
82 **11.** Configure Remmina for compilation
87 cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_PREFIX_PATH=/usr --build=build ..
89 **12.** Compile remmina and install it
91 make && sudo make install
100 * Gnome Shell will never show you the system tray icon and menu. Press Super+M to see the remmina icon on the message bar. Or install this extension to have full access to a remmina appindicator icon: [Appindicator Support Gnome Shell Extension](https://extensions.gnome.org/extension/615/appindicator-support/)
101 * XFCE and other desktop without appindicator support, will never show you the system tray icon if you are executing remmina from its compilation direcotry (~/remmina_devel/Remmina) because it contains a directory named remmina. See [Bug #1363277 on launchpad](https://bugs.launchpad.net/libappindicator/+bug/1363277)