aboutsummaryrefslogtreecommitdiffstats
path: root/community/remmina/remmina-1.0.0-vte2.91.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-16 13:05:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-16 13:52:48 +0000
commit2fd223a89538e1349152c3926710e776ec94f443 (patch)
tree8bdf990221a3e46c3f958c0c52e7d53580a57e88 /community/remmina/remmina-1.0.0-vte2.91.patch
parent2e395b14da2254fc4ac374895f6e884dfaede224 (diff)
downloadaports-2fd223a89538e1349152c3926710e776ec94f443.tar.bz2
aports-2fd223a89538e1349152c3926710e776ec94f443.tar.xz
community/remmina: move from main
Diffstat (limited to 'community/remmina/remmina-1.0.0-vte2.91.patch')
-rw-r--r--community/remmina/remmina-1.0.0-vte2.91.patch50
1 files changed, 50 insertions, 0 deletions
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);
+ }