diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 13:05:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 13:52:48 +0000 |
commit | 2fd223a89538e1349152c3926710e776ec94f443 (patch) | |
tree | 8bdf990221a3e46c3f958c0c52e7d53580a57e88 /community | |
parent | 2e395b14da2254fc4ac374895f6e884dfaede224 (diff) | |
download | aports-2fd223a89538e1349152c3926710e776ec94f443.tar.bz2 aports-2fd223a89538e1349152c3926710e776ec94f443.tar.xz |
community/remmina: move from main
Diffstat (limited to 'community')
-rw-r--r-- | community/remmina/APKBUILD | 71 | ||||
-rw-r--r-- | community/remmina/libintl-underlink.patch | 11 | ||||
-rw-r--r-- | community/remmina/no-gnome-keyring.patch | 11 | ||||
-rw-r--r-- | community/remmina/remmina-1.0.0-dsofix.patch | 11 | ||||
-rw-r--r-- | community/remmina/remmina-1.0.0-vte2.91.patch | 50 |
5 files changed, 154 insertions, 0 deletions
diff --git a/community/remmina/APKBUILD b/community/remmina/APKBUILD new file mode 100644 index 0000000000..de7914a3d8 --- /dev/null +++ b/community/remmina/APKBUILD @@ -0,0 +1,71 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=remmina +pkgver=1.2.0 +_hash=b3e339ea5478c0941a6dfa0bf8fed9e7a1c70e0b +pkgrel=0 +pkgdesc="Remmina is a remote desktop client written in GTK+" +url="http://remmina.sourceforge.net/" +arch="all" +license="GPL" +depends= +makedepends="gtk+3.0-dev intltool zlib-dev libjpeg-turbo-dev gnutls-dev + vte3-dev libgcrypt-dev libssh-dev libxkbfile-dev freerdp-dev + avahi-ui-dev libvncserver-dev cmake" +install= +replaces="remmina-plugins" +subpackages="$pkgname-dev $pkgname-lang" +source="$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/$_hash.tar.gz + no-gnome-keyring.patch + remmina-1.0.0-dsofix.patch + libintl-underlink.patch + " + +_builddir="$srcdir"/Remmina-$_hash + +prepare() { + cd "$_builddir" + for patch in $source; do + case $patch in + *.patch) + msg "Applying patch $patch" + patch -p1 -i "$srcdir"/$patch || return 1 + ;; + esac + done +} + +build() { + cd "$_builddir" + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DWITH_APPINDICATOR=OFF \ + -DWITH_AVAHI=ON \ + -DWITH_FREERDP=ON \ + -DWITH_GCRYPT=ON \ + -DWITH_LIBSSH=ON \ + -DWITH_PTHREAD=ON \ + -DWITH_TELEPATHY=OFF \ + -DWITH_VTE=ON \ + -DWITH_ZLIB=ON \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="5416021bacea67866835a14dd2f22af5 remmina-1.2.0.tar.gz +178d55f7aa59d6dc73b19e03201ad1e4 no-gnome-keyring.patch +144e8f4127ccec7282060800147a48ea remmina-1.0.0-dsofix.patch +e5af6b49e42462550f51843ef8326076 libintl-underlink.patch" +sha256sums="baa05c547e51ce353f51ff5cd058f863af72d8fbd310cef8073e48ffe472cf03 remmina-1.2.0.tar.gz +fb6094af599b64a1944f9a13a767e846d8bf772470690073da76cfd5eed799c2 no-gnome-keyring.patch +701cf9b0d6560ae9eee375f3c2828e449666190664fb28c9ccd95627db5d92e4 remmina-1.0.0-dsofix.patch +a8065f8bef88417bdfd8631441da19c9f945e0cc7131382e33a9f2c26f4e6017 libintl-underlink.patch" +sha512sums="a323ed705a6f7e84488971eff00612807ae7c49fd547a7058ed4ac463d8ffecdb974e12e438c02fd45f25740431f32ba4733483ba9afac90f3fcab07834f2060 remmina-1.2.0.tar.gz +5e0d26e799c9b85ae0c5bd7b9e6f07fd4a2da15c12b2a649098603c84d7dda6bfa518b0295edecc7522ab06c1a84d444083634d9fedb7d44b65b86dfc2eef65b no-gnome-keyring.patch +4b8299c65b9a1bc529fd44fdb05033d5dfd7e5589daea7056d275011a6f01f4154141ae9b787581de646019c9f15b0493da39484850b2df052df33824c67dd91 remmina-1.0.0-dsofix.patch +43fa8caf186bac447921aa13c89ebf378f72d00a2d9c6bc76b4408c70fea3205e450e8cc7b145f4d5b3c6719e667be983d6e9f5b52fda00e10ecf7a48696c88b libintl-underlink.patch" diff --git a/community/remmina/libintl-underlink.patch b/community/remmina/libintl-underlink.patch new file mode 100644 index 0000000000..6afba38dd3 --- /dev/null +++ b/community/remmina/libintl-underlink.patch @@ -0,0 +1,11 @@ +--- ./remmina/CMakeLists.txt.orig ++++ ./remmina/CMakeLists.txt +@@ -91,7 +91,7 @@ + add_executable(remmina ${REMMINA_SRCS}) + + include_directories(${GTK_INCLUDE_DIRS}) +-target_link_libraries(remmina ${GTK_LIBRARIES}) ++target_link_libraries(remmina ${GTK_LIBRARIES} -lintl) + + find_package(X11) + include_directories(${X11_INCLUDE_DIR}) diff --git a/community/remmina/no-gnome-keyring.patch b/community/remmina/no-gnome-keyring.patch new file mode 100644 index 0000000000..fed2768a43 --- /dev/null +++ b/community/remmina/no-gnome-keyring.patch @@ -0,0 +1,11 @@ +--- ./CMakeLists.txt.orig ++++ ./CMakeLists.txt +@@ -96,7 +96,7 @@ + if(GTK_FOUND) + add_subdirectory(remmina) + add_subdirectory(remmina-plugins) +- add_subdirectory(remmina-plugins-gnome) ++# add_subdirectory(remmina-plugins-gnome) + endif() + + find_suggested_package(AVAHI) diff --git a/community/remmina/remmina-1.0.0-dsofix.patch b/community/remmina/remmina-1.0.0-dsofix.patch new file mode 100644 index 0000000000..f8e0c21cd8 --- /dev/null +++ b/community/remmina/remmina-1.0.0-dsofix.patch @@ -0,0 +1,11 @@ +--- a/remmina-plugins/vnc/CMakeLists.txt 2012-06-04 13:03:46.542093149 -0600 ++++ b/remmina-plugins/vnc/CMakeLists.txt 2012-06-04 13:03:34.112332497 -0600 +@@ -28,7 +28,7 @@ + set_target_properties(remmina-plugin-vnc PROPERTIES PREFIX "") + + include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${LIBVNCSERVER_INCLUDE_DIRS}) +-target_link_libraries(remmina-plugin-vnc ${REMMINA_COMMON_LIBRARIES} ${LIBVNCSERVER_LIBRARIES}) ++target_link_libraries(remmina-plugin-vnc ${REMMINA_COMMON_LIBRARIES} ${LIBVNCSERVER_LIBRARIES} gnutls ) + + install(TARGETS remmina-plugin-vnc DESTINATION ${REMMINA_PLUGINDIR}) + diff --git a/community/remmina/remmina-1.0.0-vte2.91.patch b/community/remmina/remmina-1.0.0-vte2.91.patch new file mode 100644 index 0000000000..25014c629c --- /dev/null +++ b/community/remmina/remmina-1.0.0-vte2.91.patch @@ -0,0 +1,50 @@ +diff -up ./cmake/FindVTE.cmake.vte ./cmake/FindVTE.cmake +--- ./cmake/FindVTE.cmake.vte 2012-02-10 20:54:23.000000000 +0200 ++++ ./cmake/FindVTE.cmake 2014-06-08 11:14:23.778316473 +0300 +@@ -21,12 +21,10 @@ if(NOT _VTE_VERSION_NUM) + set(_VTE_LIB_NAME vte) + set(_VTE_VERSION vte) + else() +- set(_VTE_LIB_NAME vte${_VTE_VERSION_NUM}) ++ set(_VTE_LIB_NAME vte-${_VTE_VERSION_NUM}) + set(_VTE_VERSION vte-${_VTE_VERSION_NUM}) + endif() + +-string(REPLACE . _ _VTE_LIB_NAME ${_VTE_LIB_NAME}) +- + pkg_check_modules(PC_VTE ${_VTE_VERSION}) + + find_path(VTE_INCLUDE_DIR NAMES vte/vte.h +diff -up ./remmina/CMakeLists.txt.vte ./remmina/CMakeLists.txt +--- ./remmina/CMakeLists.txt.vte 2014-06-08 11:14:23.634322160 +0300 ++++ ./remmina/CMakeLists.txt 2014-06-08 11:14:23.777316512 +0300 +@@ -120,7 +120,7 @@ if(AVAHI_FOUND) + endif() + + if(GTK3_FOUND) +- set(_VTE_VERSION_NUM 2.90) ++ set(_VTE_VERSION_NUM 2.91) + else() + set(_VTE_VERSION_NUM) + endif() +diff -up ./remmina/src/remmina_ssh_plugin.c.vte ./remmina/src/remmina_ssh_plugin.c +--- ./remmina/src/remmina_ssh_plugin.c.vte 2012-02-10 20:54:23.000000000 +0200 ++++ ./remmina/src/remmina_ssh_plugin.c 2014-06-08 11:43:08.341286290 +0300 +@@ -169,7 +169,7 @@ remmina_plugin_ssh_set_vte_pref (Remmina + gpdata = (RemminaPluginSshData*) g_object_get_data (G_OBJECT(gp), "plugin-data"); + if (remmina_pref.vte_font && remmina_pref.vte_font[0]) + { +- vte_terminal_set_font_from_string (VTE_TERMINAL (gpdata->vte), remmina_pref.vte_font); ++ vte_terminal_set_font (VTE_TERMINAL (gpdata->vte), pango_font_description_from_string (remmina_pref.vte_font)); + } + vte_terminal_set_allow_bold (VTE_TERMINAL (gpdata->vte), remmina_pref.vte_allow_bold_text); + if (remmina_pref.vte_lines > 0) +@@ -205,7 +205,7 @@ remmina_plugin_ssh_init (RemminaProtocol + + remmina_plugin_service->protocol_plugin_register_hostkey (gp, vte); + +- vscrollbar = gtk_vscrollbar_new (vte_terminal_get_adjustment (VTE_TERMINAL (vte))); ++ vscrollbar = gtk_vscrollbar_new (gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (vte))); + gtk_widget_show(vscrollbar); + gtk_box_pack_start (GTK_BOX (hbox), vscrollbar, FALSE, TRUE, 0); + } |