[arch-commits] Commit in remmina/repos/community-x86_64 (4 files)

Christian Hesse eworm at archlinux.org
Fri Dec 20 14:03:03 UTC 2019


    Date: Friday, December 20, 2019 @ 14:03:02
  Author: eworm
Revision: 538495

archrelease: copy trunk to community-x86_64

Added:
  remmina/repos/community-x86_64/0001-freerdp-symbols.patch
    (from rev 538494, remmina/trunk/0001-freerdp-symbols.patch)
  remmina/repos/community-x86_64/PKGBUILD
    (from rev 538494, remmina/trunk/PKGBUILD)
Deleted:
  remmina/repos/community-x86_64/0001-freerdp-symbols.patch
  remmina/repos/community-x86_64/PKGBUILD

----------------------------+
 0001-freerdp-symbols.patch |   86 +++++++++++++++++++--------------------
 PKGBUILD                   |   93 ++++++++++++++++++++-----------------------
 2 files changed, 88 insertions(+), 91 deletions(-)

Deleted: 0001-freerdp-symbols.patch
===================================================================
--- 0001-freerdp-symbols.patch	2019-12-20 14:02:55 UTC (rev 538494)
+++ 0001-freerdp-symbols.patch	2019-12-20 14:03:02 UTC (rev 538495)
@@ -1,43 +0,0 @@
-commit faa91915213d86b792d7fca491d199aea2243062
-Author: Antenore Gatta <antenore at simbiosi.org>
-Date:   Tue Dec 10 14:18:07 2019 +0100
-
-    Adding cmake option to cuse latest FreeRDP symbols when compiling. Fixes #2024
-
-diff --git a/plugins/rdp/CMakeLists.txt b/plugins/rdp/CMakeLists.txt
-index 90c8966b7..866a015fd 100644
---- a/plugins/rdp/CMakeLists.txt
-+++ b/plugins/rdp/CMakeLists.txt
-@@ -60,6 +60,12 @@ add_definitions(-DFREERDP_REQUIRED_MAJOR=${FREERDP_REQUIRED_MAJOR})
- add_definitions(-DFREERDP_REQUIRED_MINOR=${FREERDP_REQUIRED_MINOR})
- add_definitions(-DFREERDP_REQUIRED_REVISION=${FREERDP_REQUIRED_REVISION})
- 
-+option(WITH_FREERDP_MASTER "Compile the RDP plugin using symbols from FreeRDP master branch." OFF)
-+if(WITH_FREERDP_MASTER)
-+	message(STATUS "Compiling the RDP plugin using symbols from FreeRDP master branch.")
-+	add_definitions(-DWITH_FREERDP_MASTER=ON)
-+endif()
-+
- add_library(remmina-plugin-rdp MODULE ${REMMINA_PLUGIN_RDP_SRCS})
- set_target_properties(remmina-plugin-rdp PROPERTIES PREFIX "")
- set_target_properties(remmina-plugin-rdp PROPERTIES NO_SONAME 1)
-diff --git a/plugins/rdp/rdp_plugin.c b/plugins/rdp/rdp_plugin.c
-index 836823afd..ca57f6c30 100644
---- a/plugins/rdp/rdp_plugin.c
-+++ b/plugins/rdp/rdp_plugin.c
-@@ -1172,8 +1172,15 @@ static gboolean remmina_rdp_main(RemminaProtocolWidget *gp)
- 		freerdp_set_gateway_usage_method(rfi->settings,
- 						 remmina_plugin_service->file_get_int(remminafile, "gateway_usage", FALSE) ? TSC_PROXY_MODE_DETECT : TSC_PROXY_MODE_DIRECT);
- 
-+#ifdef WITH_FREERDP_MASTER
-+#pragma message  "Using FreeRDP master branch!"
-+	/* TODO: As soon as FreeRDP 2.0.0-rc5 will be available, implement an ifdef with that version */
- 	freerdp_settings_set_string(rfi->settings, (size_t)FreeRDP_GatewayAccessToken,
- 				    remmina_plugin_service->file_get_string(remminafile, "gatewayaccesstoken"));
-+#else
-+	rfi->settings->GatewayAccessToken = g_strdup(
-+			remmina_plugin_service->file_get_string(remminafile, "gatewayaccesstoken"));
-+#endif
- 
- 	rfi->settings->AuthenticationLevel = remmina_plugin_service->file_get_int(
- 		remminafile, "authentication level", rfi->settings->AuthenticationLevel);

Copied: remmina/repos/community-x86_64/0001-freerdp-symbols.patch (from rev 538494, remmina/trunk/0001-freerdp-symbols.patch)
===================================================================
--- 0001-freerdp-symbols.patch	                        (rev 0)
+++ 0001-freerdp-symbols.patch	2019-12-20 14:03:02 UTC (rev 538495)
@@ -0,0 +1,43 @@
+commit faa91915213d86b792d7fca491d199aea2243062
+Author: Antenore Gatta <antenore at simbiosi.org>
+Date:   Tue Dec 10 14:18:07 2019 +0100
+
+    Adding cmake option to cuse latest FreeRDP symbols when compiling. Fixes #2024
+
+diff --git a/plugins/rdp/CMakeLists.txt b/plugins/rdp/CMakeLists.txt
+index 90c8966b7..866a015fd 100644
+--- a/plugins/rdp/CMakeLists.txt
++++ b/plugins/rdp/CMakeLists.txt
+@@ -60,6 +60,12 @@ add_definitions(-DFREERDP_REQUIRED_MAJOR=${FREERDP_REQUIRED_MAJOR})
+ add_definitions(-DFREERDP_REQUIRED_MINOR=${FREERDP_REQUIRED_MINOR})
+ add_definitions(-DFREERDP_REQUIRED_REVISION=${FREERDP_REQUIRED_REVISION})
+ 
++option(WITH_FREERDP_MASTER "Compile the RDP plugin using symbols from FreeRDP master branch." OFF)
++if(WITH_FREERDP_MASTER)
++	message(STATUS "Compiling the RDP plugin using symbols from FreeRDP master branch.")
++	add_definitions(-DWITH_FREERDP_MASTER=ON)
++endif()
++
+ add_library(remmina-plugin-rdp MODULE ${REMMINA_PLUGIN_RDP_SRCS})
+ set_target_properties(remmina-plugin-rdp PROPERTIES PREFIX "")
+ set_target_properties(remmina-plugin-rdp PROPERTIES NO_SONAME 1)
+diff --git a/plugins/rdp/rdp_plugin.c b/plugins/rdp/rdp_plugin.c
+index 836823afd..ca57f6c30 100644
+--- a/plugins/rdp/rdp_plugin.c
++++ b/plugins/rdp/rdp_plugin.c
+@@ -1172,8 +1172,15 @@ static gboolean remmina_rdp_main(RemminaProtocolWidget *gp)
+ 		freerdp_set_gateway_usage_method(rfi->settings,
+ 						 remmina_plugin_service->file_get_int(remminafile, "gateway_usage", FALSE) ? TSC_PROXY_MODE_DETECT : TSC_PROXY_MODE_DIRECT);
+ 
++#ifdef WITH_FREERDP_MASTER
++#pragma message  "Using FreeRDP master branch!"
++	/* TODO: As soon as FreeRDP 2.0.0-rc5 will be available, implement an ifdef with that version */
+ 	freerdp_settings_set_string(rfi->settings, (size_t)FreeRDP_GatewayAccessToken,
+ 				    remmina_plugin_service->file_get_string(remminafile, "gatewayaccesstoken"));
++#else
++	rfi->settings->GatewayAccessToken = g_strdup(
++			remmina_plugin_service->file_get_string(remminafile, "gatewayaccesstoken"));
++#endif
+ 
+ 	rfi->settings->AuthenticationLevel = remmina_plugin_service->file_get_int(
+ 		remminafile, "authentication level", rfi->settings->AuthenticationLevel);

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-20 14:02:55 UTC (rev 538494)
+++ PKGBUILD	2019-12-20 14:03:02 UTC (rev 538495)
@@ -1,48 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=remmina
-epoch=1
-pkgver=1.3.7
-pkgrel=2
-pkgdesc="remote desktop client written in GTK+"
-arch=(x86_64)
-url="https://www.remmina.org/"
-license=('GPL')
-depends=('avahi' 'libgcrypt' 'libssh' 'vte3' 'libsodium')
-makedepends=('cmake' 'freerdp' 'libvncserver' 'spice-gtk' 'spice-protocol' 'telepathy-glib'
-	     'harfbuzz')
-optdepends=('freerdp: RDP plugin'
-            'libsecret: Secret plugin'
-            'libvncserver: VNC plugin'
-            'libxkbfile: NX plugin'
-            'nxproxy: NX plugin'
-            'spice-gtk: Spice plugin'
-            'telepathy-glib: Telepathy plugin'
-            'xorg-server-xephyr: XDMCP plugin')
-replaces=('remmina-plugins')
-provides=('remmina-plugins')
-source=("$pkgname-$pkgver.tar.bz2::https://gitlab.com/Remmina/Remmina/-/archive/v${pkgver/rc/-rc}/Remmina-v${pkgver/rc/-rc}.tar.bz2"
-        '0001-freerdp-symbols.patch')
-sha256sums=('0412dd8d405a52c644a2465c261e333471079c9b5645b84942752a09cbedeb4b'
-            'f5958941dfc1e1907a9c5d4744a0da3dfa321e8d0ac63021dd1f13a04a8c2e21')
-
-prepare() {
-  cd Remmina-v${pkgver/rc/-rc}
-  sed -e 's|ssh_threads|ssh|' -i cmake/FindLIBSSH.cmake # Fix build with libssh 0.8
-  sed -i 's|include_directories(.)|include_directories(.)\ninclude_directories(/usr/include/harfbuzz)|' CMakeLists.txt
-  patch -Np1 < ../0001-freerdp-symbols.patch
-}
-
-build() {
-  cd "$srcdir"/Remmina-v${pkgver/rc/-rc}/
-  cmake \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-    -DWITH_APPINDICATOR=OFF .
-  make
-}
-
-package() {
-  cd "$srcdir"/Remmina-v${pkgver/rc/-rc}/
-  make DESTDIR="$pkgdir" install
-}

Copied: remmina/repos/community-x86_64/PKGBUILD (from rev 538494, remmina/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-20 14:03:02 UTC (rev 538495)
@@ -0,0 +1,45 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=remmina
+epoch=1
+pkgver=1.3.8
+pkgrel=1
+pkgdesc="remote desktop client written in GTK+"
+arch=(x86_64)
+url="https://www.remmina.org/"
+license=('GPL')
+depends=('avahi' 'libgcrypt' 'libssh' 'vte3' 'libsodium')
+makedepends=('cmake' 'freerdp' 'libvncserver' 'spice-gtk' 'spice-protocol' 'telepathy-glib'
+	     'harfbuzz' 'xorgproto')
+optdepends=('freerdp: RDP plugin'
+            'libsecret: Secret plugin'
+            'libvncserver: VNC plugin'
+            'libxkbfile: NX plugin'
+            'nxproxy: NX plugin'
+            'spice-gtk: Spice plugin'
+            'telepathy-glib: Telepathy plugin'
+            'xorg-server-xephyr: XDMCP plugin')
+replaces=('remmina-plugins')
+provides=('remmina-plugins')
+source=("$pkgname-$pkgver.tar.bz2::https://gitlab.com/Remmina/Remmina/-/archive/v${pkgver/rc/-rc}/Remmina-v${pkgver/rc/-rc}.tar.bz2")
+sha256sums=('7707f7051d7ba62786cb227f2b5492e845f5192f99ca28fb719c93f21a1d84f1')
+
+prepare() {
+  cd Remmina-v${pkgver/rc/-rc}
+  sed -e 's|ssh_threads|ssh|' -i cmake/FindLIBSSH.cmake # Fix build with libssh 0.8
+  sed -i 's|include_directories(.)|include_directories(.)\ninclude_directories(/usr/include/harfbuzz)|' CMakeLists.txt
+}
+
+build() {
+  cd "$srcdir"/Remmina-v${pkgver/rc/-rc}/
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DWITH_APPINDICATOR=OFF .
+  make
+}
+
+package() {
+  cd "$srcdir"/Remmina-v${pkgver/rc/-rc}/
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list