Hello community,
here is the log from the commit of package remmina.1486 for openSUSE:12.3:Update checked in at 2013-04-02 15:49:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/remmina.1486 (Old)
and /work/SRC/openSUSE:12.3:Update/.remmina.1486.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "remmina.1486", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2013-02-26 18:15:11.936010755 +0100
+++ /work/SRC/openSUSE:12.3:Update/.remmina.1486.new/remmina.changes 2013-04-02 15:49:42.000000000 +0200
@@ -0,0 +1,130 @@
+-------------------------------------------------------------------
+Sat Mar 23 23:04:36 UTC 2013 - gber@opensuse.org
+
+- enable TLS-support in VNC plugin (bnc#804320)
+- add remmina-fix-scrolling-in-vnc-plugin.patch which fixes
+ scrolling in the VNC plugin (backport from upstream git)
+- add remmina-close-ssh-tunnel-on-disconnect.patch in order to
+ close SSH tunnels on disconnect and avoid freezing (backport from
+ upstream git)
+- remmina-fix-window-resize.patch which fixes resizing the window
+ (backport from upstream git)
+- add remmina-fix-fullscreen-with-multiple-monitors.patch which
+ fixes fullscreen mode with multiple monitors (backport from
+ upstream git)
+
+-------------------------------------------------------------------
+Thu Aug 23 10:25:46 UTC 2012 - gber@opensuse.org
+
+- add missing dependency on gnutls
+
+-------------------------------------------------------------------
+Sat Aug 18 09:56:48 UTC 2012 - gber@opensuse.org
+
+- added remmina-remove-inline-libvncserver.patch in order to remove
+ the inline copy of libvncserver (backport from upstream git)
+
+-------------------------------------------------------------------
+Mon Apr 2 19:05:16 UTC 2012 - gber@opensuse.org
+
+- use original tarball name to fix download check
+
+-------------------------------------------------------------------
+Mon Apr 2 13:17:49 UTC 2012 - gber@opensuse.org
+
+- disable the NX plugin by default
+
+-------------------------------------------------------------------
+Wed Mar 28 13:53:10 UTC 2012 - gber@opensuse.org
+
+- added separare patch remmina-fix-install-paths.patch in order to
+ fix the installation paths
+- specfile cleanup
+- removed remmina-plugins-common, now provided by the main package
+- split off -lang subpackage
+
+-------------------------------------------------------------------
+Wed Mar 21 23:00:28 UTC 2012 - gankov@opensuse.org
+
+- rewrote spec for using cmake
+- merged with remmina-plugins into one source package (upstream
+ now diestributes a single tarball with plugins)
+- update to version 1.0.0
+ + Main program design and functionality:
+ * Switch to the CMake build system
+ * Refactoring of code style
+ * Changing file name convention
+ + RDP protocol related:
+ * Support for FreeRDP 1.0
+ * Support for RemoteFX
+ * Support for Network Level Authentication
+ * Added certificate validation prompt
+- added remmina-fix-linker-issue.patch which fixes a linking issue
+ (backport from upstream git)
+- added remmina-fix-desktop-file.patch which fixes the installation
+ of the .desktop file (backport from upstream git)
+- added remmina-gtk-2-22-support.patch in order to build on
+ openSUSE 11.4 with GTK 2.22 as upstream requires 2.24+
+
+-------------------------------------------------------------------
+Thu Sep 29 15:51:05 UTC 2011 - gber@opensuse.org
+
+- libunique1 is available on Factory so use it
+- do not recommend non-existent remmina-plugins
+- add a note about plugins
+
+-------------------------------------------------------------------
+Thu Sep 29 13:30:10 UTC 2011 - gber@opensuse.org
+
+- change the pkgconfig(libssh) dependency to libssh-devel in the
+ -devel subpackage
+
+-------------------------------------------------------------------
+Thu Sep 22 17:08:23 UTC 2011 - gber@opensuse.org
+
+- cleanup
+ + added license/copyright header
+ + improved description/summary
+ + use SPDX license abbreviation
+ + removed %clean section
+ + use the correct macros to update the icon/desktop file cache in
+ %post/%postun
+ + use pkgconfig symbols unconditionally (this can be handled
+ at the project level)
+ + removed empty NEWS
+
+-------------------------------------------------------------------
+Fri Apr 8 07:15:34 UTC 2011 - lijewski.stefan@gmail.com
+
+- spec cleanup, prepare to move X11:RemoteDesktop
+
+-------------------------------------------------------------------
+Mon Feb 07 16:00:00 UTC 2011 - gav@qsolution.ru
+
+- Update to version 0.9.3
+ + Integrate scrolled window and fullscreen view modes into one button
+ + Remove quick connect menu and consolidate the feature with Connection->New
+menu.
+
+-------------------------------------------------------------------
+Fri Nov 05 06:48:00 UTC 2010 - michal.smrz@opensuse.cz
+
+- Update to version 0.8.3
+- Edited BuildRequires and Requires to match web pages
+
+-------------------------------------------------------------------
+Mon Sep 27 14:00:00 UTC 2010 - michal.smrz@opensuse.cz
+
+- merge with nilda package created by djs_core
+
+-------------------------------------------------------------------
+Mon Sep 27 10:23:19 UTC 2010 - prusnak@opensuse.org
+
+- spec cleanup
+
+-------------------------------------------------------------------
+
+Tue Sep 21 00:00:00 UTC 2010 - lijewski.stefan@gmail.com
+
+- initial package for openSUSE
+
New:
----
README.SuSE
Remmina-1.0.0.tar.gz
remmina-close-ssh-tunnel-on-disconnect.patch
remmina-fix-desktop-file.patch
remmina-fix-fullscreen-with-multiple-monitors.patch
remmina-fix-install-paths.patch
remmina-fix-linker-issue.patch
remmina-fix-scrolling-in-vnc-plugin.patch
remmina-fix-window-resize.patch
remmina-gtk-2-22-support.patch
remmina-remove-inline-libvncserver.patch
remmina.changes
remmina.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ remmina.spec ++++++
#
# spec file for package remmina
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_with nx
Name: remmina
Version: 1.0.0
Release: 0
Summary: Versatile Remote Desktop Client
License: GPL-2.0+
Group: Productivity/Networking/Other
Url: http://remmina.sourceforge.net/
Source0: https://github.com/downloads/FreeRDP/Remmina/Remmina-%{version}.tar.gz
Source1: README.SuSE
# PATCH-FIX-UPSTREAM remmina-fix-linker-issue.patch gankov@opensuse.org -- Fixes linking issue (backport from upstream git)
Patch0: remmina-fix-linker-issue.patch
# PATCH-FIX-UPSTREAM remmina-fix-desktop-file.patch gber@opensuse.org -- Fixes the installation of the .desktop file (backport from upstream git)
Patch1: remmina-fix-desktop-file.patch
# PATCH-FIX-UPSTREAM remmina-fix-install-paths.patch gber@opensuse.org -- Installs plugins under %%{_libdir} (backport from upstream git)
Patch2: remmina-fix-install-paths.patch
# PATCH-FIX-UPSTREAM remmina-gtk-2-22-support.patch gankov@opensuse.org -- Build on openSUSE 11.4 with GTK 2.22 as upstream requires 2.24+
Patch3: remmina-gtk-2-22-support.patch
# PATCH-FIX-UPSTREAM remmina-remove-inline-libvncserver.patch gber@opensuse.org -- Remove inline copy of libvncserver (backport from upstream git)
Patch4: remmina-remove-inline-libvncserver.patch
# PATCH-FIX-UPSTREAM remmina-fix-scrolling-in-vnc-plugin.patch gber@opensuse.org -- Fix scrolling in the VNC plugin (backport from upstream git)
Patch5: remmina-fix-scrolling-in-vnc-plugin.patch
# PATCH-FIX-UPSTREAM remmina-close-ssh-tunnel-on-disconnect.patch gber@opensuse.org -- Close SSH tunnel on disconnect and avoid freezing (backport from upstream git)
Patch6: remmina-close-ssh-tunnel-on-disconnect.patch
# PATCH-FIX-UPSTREAM remmina-fix-window-resize.patch gber@opensuse.org -- Fix resizing the window (backport from upstream git)
Patch7: remmina-fix-window-resize.patch
# PATCH-FIX-UPSTREAM remmina-fix-fullscreen-with-multiple-monitors.patch gber@opensuse.org -- Fix fullscreen mode with multiple monitors (backport from upstream git)
Patch8: remmina-fix-fullscreen-with-multiple-monitors.patch
BuildRequires: cmake
BuildRequires: ed
BuildRequires: intltool
BuildRequires: libgcrypt-devel
BuildRequires: libjpeg-devel
BuildRequires: libssh-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(atk)
BuildRequires: pkgconfig(avahi-glib)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(freerdp) >= 1.0
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnome-keyring-1)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(libvncserver)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(telepathy-glib)
BuildRequires: pkgconfig(unique-1.0)
BuildRequires: pkgconfig(xkbfile)
%if 0%{?suse_version} >= 1210
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(vte-2.90)
%else
BuildRequires: pkgconfig(gdk-x11-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(vte)
%endif
Provides: remmina-plugins-common = %{version}
Obsoletes: remmina-plugins-common < 1.0.0
Recommends: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Remmina is a remote desktop client written in GTK+, aiming to be useful for
system administrators and travellers, who need to work with lots of remote
computers in front of either large monitors or tiny netbooks. Remmina supports
multiple network protocols such as RDP, VNC, NX, XDMCP and SSH via separate
plugins in an integrated and consistant user interface.
%package devel
Summary: Development Files for %{name}
Group: Development/Libraries/Other
Requires: %{name} = %{version}
%description devel
This package contains header files needed for developing plugins for
Remmina.
%package -n remmina-plugin-xdmcp
Summary: XDMCP Protocol Plugin for Remmina
Group: Productivity/Networking/Other
Requires: remmina >= %{version}
# for Xephyr
Requires: xorg-x11-server-extra
%description -n remmina-plugin-xdmcp
This package provides the XDMCP protocol plugin for Remmina.
%if %{with nx}
%package -n remmina-plugin-nx
Summary: NX Protocol Plugin for Remmina
Group: Productivity/Networking/Other
Requires: remmina >= %{version}
# for nxproxy
Requires: NX
%description -n remmina-plugin-nx
This package provides the NX protocol plugin for Remmina.
%endif
%package -n remmina-plugin-rdp
Summary: RDP Protocol Plugin for Remmina
Group: Productivity/Networking/Other
Requires: freerdp
Requires: remmina >= %{version}
%description -n remmina-plugin-rdp
This package provides the RDP protocol plugin for Remmina.
%package -n remmina-plugin-vnc
Summary: VNC Protocol Plugin for Remmina
Group: Productivity/Networking/Other
Requires: remmina >= %{version}
%description -n remmina-plugin-vnc
This package provides the RDP protocol plugin for Remmina.
%package -n remmina-plugin-telepathy
Summary: Telepathy Protocol Plugin for Remmina
Group: Productivity/Networking/Other
Requires: remmina >= %{version}
%description -n remmina-plugin-telepathy
This package provides the Telepathy plugin for Remmina.
%package -n remmina-plugins-gnome
Summary: GNOME Plugins for Remmina
Group: Productivity/Networking/Other
Requires: remmina >= %{version}
%description -n remmina-plugins-gnome
This package provides the GNOME plugins for Remmina.
%lang_package
%prep
%setup -q -n FreeRDP-Remmina-356c033
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
cp -r %{SOURCE1} README.SuSE
%build
mkdir build
cd build
export CFLAGS="%{optflags} -DLIBVNCSERVER_WITH_CLIENT_TLS=1"
cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DWITH_APPINDICATOR=OFF \
..
make %{?_smp_mflags} VERBOSE=1
%install
(
cd build
%make_install
)
%if %{without nx}
rm -f %{buildroot}%{_libdir}/remmina/plugins/remmina-plugin-nx.so \
%{buildroot}%{_datadir}/icons/hicolor/*/emblems/remmina-nx.png
%endif
%suse_update_desktop_file %{name} Network RemoteAccess GTK
%find_lang %{name} %{?no_lang_C}
%find_lang %{name}-plugins %{?no_lang_C} %{name}.lang
%if 0%{?suse_version} >= 1140
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%post -n remmina-plugin-xdmcp
%icon_theme_cache_post
%postun -n remmina-plugin-xdmcp
%icon_theme_cache_postun
%if %{with nx}
%post -n remmina-plugin-nx
%icon_theme_cache_post
%postun -n remmina-plugin-nx
%icon_theme_cache_postun
%endif
%post -n remmina-plugin-rdp
%icon_theme_cache_post
%postun -n remmina-plugin-rdp
%icon_theme_cache_postun
%post -n remmina-plugin-vnc
%icon_theme_cache_post
%postun -n remmina-plugin-vnc
%icon_theme_cache_postun
%post -n remmina-plugin-telepathy
%icon_theme_cache_post
%postun -n remmina-plugin-telepathy
%icon_theme_cache_postun
%endif
%files
%defattr(-,root,root)
%doc remmina/AUTHORS remmina/COPYING remmina/ChangeLog README README.SuSE
%{_bindir}/remmina
%{_datadir}/applications/remmina.desktop
%{_datadir}/icons/hicolor/*/actions/*
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/emblems/remmina-sftp.png
%dir %{_libdir}/remmina
%dir %{_libdir}/remmina/plugins/
%files lang -f %{name}.lang
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%files -n remmina-plugin-xdmcp
%defattr(-,root,root)
%{_libdir}/remmina/plugins/remmina-plugin-xdmcp.so
%{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-ssh.png
%{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp.png
%if %{with nx}
%files -n remmina-plugin-nx
%defattr(-,root,root)
%{_libdir}/remmina/plugins/remmina-plugin-nx.so
%{_datadir}/icons/hicolor/*/emblems/remmina-nx.png
%endif
%files -n remmina-plugin-rdp
%defattr(-,root,root)
%{_libdir}/remmina/plugins/remmina-plugin-rdp.so
%{_datadir}/icons/hicolor/*/emblems/remmina-rdp-ssh.png
%{_datadir}/icons/hicolor/*/emblems/remmina-rdp.png
%files -n remmina-plugin-vnc
%defattr(-,root,root)
%{_libdir}/remmina/plugins/remmina-plugin-vnc.so
%{_datadir}/icons/hicolor/*/emblems/remmina-vnc-ssh.png
%{_datadir}/icons/hicolor/*/emblems/remmina-vnc.png
%files -n remmina-plugin-telepathy
%defattr(-,root,root)
%{_libdir}/remmina/plugins/remmina-plugin-telepathy.so
%files -n remmina-plugins-gnome
%defattr(-,root,root)
%{_libdir}/remmina/plugins/remmina-plugins-gnome.so
%changelog
++++++ README.SuSE ++++++
This package only provides the Remmina base application. Support for the XDMCP,
NX, VNC or RDP protocols or Telepathy is provided by plugin packages named
remmina-plugin-<plugin-name> which need be installed separately.
++++++ remmina-close-ssh-tunnel-on-disconnect.patch ++++++
commit bed49ad62d78718c0876c000a97c68cc87f12c7c
Author: Jean-Louis Dupond
Date: Sat Sep 1 20:56:09 2012 +0200
Closes #77: Close the SSH tunnel after the connection has been closed
Index: FreeRDP-Remmina-356c033/remmina/src/remmina_protocol_widget.c
===================================================================
--- FreeRDP-Remmina-356c033.orig/remmina/src/remmina_protocol_widget.c
+++ FreeRDP-Remmina-356c033/remmina/src/remmina_protocol_widget.c
@@ -267,13 +267,7 @@ gboolean remmina_protocol_widget_close_c
gp->priv->chat_window = NULL;
}
-#ifdef HAVE_LIBSSH
- if (gp->priv->ssh_tunnel)
- {
- remmina_ssh_tunnel_free(gp->priv->ssh_tunnel);
- gp->priv->ssh_tunnel = NULL;
- }
-#endif
+ gboolean retval;
if (!gp->priv->plugin || !gp->priv->plugin->close_connection)
{
@@ -281,7 +275,17 @@ gboolean remmina_protocol_widget_close_c
return FALSE;
}
- return gp->priv->plugin->close_connection(gp);
+ retval = gp->priv->plugin->close_connection(gp);
+
+ #ifdef HAVE_LIBSSH
+ if (gp->priv->ssh_tunnel)
+ {
+ remmina_ssh_tunnel_free(gp->priv->ssh_tunnel);
+ gp->priv->ssh_tunnel = NULL;
+ }
+ #endif
+
+ return retval;
}
static gboolean remmina_protocol_widget_emit_signal_timeout(gpointer user_data)
++++++ remmina-fix-desktop-file.patch ++++++
Index: remmina-1.0.0/remmina/desktop/CMakeLists.txt
===================================================================
--- remmina-1.0.0.orig/remmina/desktop/CMakeLists.txt
+++ remmina-1.0.0/remmina/desktop/CMakeLists.txt
@@ -38,3 +38,4 @@ install(FILES ${ICON32_DATA} DESTINATION
install(FILES ${ICON48_DATA} DESTINATION ${ICON48_DIR})
install(FILES ${ICONSVG_DATA} DESTINATION ${ICONSVG_DIR})
+install(FILES remmina.desktop DESTINATION "${REMMINA_DATADIR}/applications")
Index: remmina-1.0.0/CMakeLists.txt
===================================================================
--- remmina-1.0.0.orig/CMakeLists.txt
+++ remmina-1.0.0/CMakeLists.txt
@@ -78,7 +78,7 @@ include_directories(.)
include_directories(remmina/include)
set(REMMINA_VERSION "0.9.99.1")
-set(REMMINA_DATADIR "${CMAKE_INSTALL_PREFIX}/share/remmina")
+set(REMMINA_DATADIR "${CMAKE_INSTALL_PREFIX}/share")
set(REMMINA_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale")
set(REMMINA_PLUGINDIR "${CMAKE_INSTALL_PREFIX}/lib/remmina/plugins")
Index: remmina-1.0.0/remmina/desktop/remmina.desktop
===================================================================
--- /dev/null
+++ remmina-1.0.0/remmina/desktop/remmina.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Name=Remmina Remote Desktop Client
+Comment=Connect to remote desktops
+TryExec=remmina
+Exec=remmina
+Icon=remmina
+Terminal=false
+Type=Application
+Actions=
+Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
+
++++++ remmina-fix-fullscreen-with-multiple-monitors.patch ++++++
commit 348e01d27869a577ad5df9bf6286f876b34a40c0
Author: Jean-Louis Dupond
Date: Mon Sep 10 20:08:00 2012 +0200
Fix fullscreen mode with multiple monitors
diff --git a/remmina/src/remmina_connection_window.c b/remmina/src/remmina_connection_window.c
index 761b2f4..7a5b214 100644
--- a/remmina/src/remmina_connection_window.c
+++ b/remmina/src/remmina_connection_window.c
@@ -496,13 +496,21 @@ static void remmina_connection_holder_check_resize(RemminaConnectionHolder* cnnh
DECLARE_CNNOBJ
gboolean scroll_required = FALSE;
GdkScreen* screen;
+ gint monitor;
+ GdkRectangle screen_size;
gint screen_width, screen_height;
gint server_width, server_height;
remmina_connection_holder_get_desktop_size(cnnhld, &server_width, &server_height, FALSE);
- screen = gdk_screen_get_default();
- screen_width = gdk_screen_get_width(screen);
- screen_height = gdk_screen_get_height(screen);
+ screen = gtk_window_get_screen(GTK_WINDOW(cnnhld->cnnwin));
+ monitor = gdk_screen_get_monitor_at_window(screen, gtk_widget_get_window(GTK_WIDGET(cnnhld->cnnwin)));
+#ifdef gdk_screen_get_monitor_workarea
+ gdk_screen_get_monitor_workarea(screen, monitor, &screen_size);
+#else
+ gdk_screen_get_monitor_geometry(screen, monitor, &screen_size);
+#endif
+ screen_width = screen_size.width;
+ screen_height = screen_size.height;
if (!remmina_protocol_widget_get_expand(REMMINA_PROTOCOL_WIDGET(cnnobj->proto))
&& (server_width <= 0 || server_height <= 0 || screen_width < server_width
++++++ remmina-fix-install-paths.patch ++++++
Index: remmina-1.0.0/CMakeLists.txt
===================================================================
--- remmina-1.0.0.orig/CMakeLists.txt
+++ remmina-1.0.0/CMakeLists.txt
@@ -80,7 +80,7 @@ include_directories(remmina/include)
set(REMMINA_VERSION "0.9.99.1")
set(REMMINA_DATADIR "${CMAKE_INSTALL_PREFIX}/share")
set(REMMINA_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale")
-set(REMMINA_PLUGINDIR "${CMAKE_INSTALL_PREFIX}/lib/remmina/plugins")
+set(REMMINA_PLUGINDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/remmina/plugins")
find_suggested_package(PTHREAD)
if(PTHREAD_FOUND)
++++++ remmina-fix-linker-issue.patch ++++++
diff -urP remmina-1.0.0.orig/cmake/FindGLIB2.cmake remmina-1.0.0/cmake/FindGLIB2.cmake
--- remmina-1.0.0.orig/cmake/FindGLIB2.cmake 1970-01-01 03:00:00.000000000 +0300
+++ remmina-1.0.0/cmake/FindGLIB2.cmake 2012-03-08 21:51:50.000000000 +0400
@@ -0,0 +1,120 @@
+# Remmina - The GTK+ Remote Desktop Client
+#
+# Copyright (C) 2012 Andrey Gankov
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330,
+# Boston, MA 02111-1307, USA.
+
+set(_GLIB_found_all true)
+
+# Glib
+
+pkg_check_modules(PC_GLIB2 glib-2.0)
+
+if(NOT PC_GLIB2_FOUND)
+ set(_GLIB_found_all false)
+endif()
+
+find_path(GLIB2_INCLUDE_DIR_PART1 NAMES glib.h
+ HINTS ${PC_GLIB2_INCLUDEDIR} ${PC_GLIB2_INCLUDE_DIRS}
+ PATH_SUFFIXES glib-2.0)
+
+find_path(GLIB2_INCLUDE_DIR_PART2 NAMES glibconfig.h
+ HINTS ${PC_GLIB2_INCLUDEDIR} ${PC_GLIB2_INCLUDE_DIRS}
+ PATH_SUFFIXES glib-2.0/include)
+
+set(GLIB2_INCLUDE_DIR ${GLIB2_INCLUDE_DIR_PART1} ${GLIB2_INCLUDE_DIR_PART2})
+
+find_library(GLIB2_LIBRARY NAMES glib-2.0)
+
+# GIO
+
+pkg_check_modules(PC_GIO gio-2.0)
+
+if(NOT PC_GIO_FOUND)
+ set(_GLIB_found_all false)
+endif()
+
+find_path(GIO_INCLUDE_DIR gio/gio.h
+ HINTS ${PC_GIO_INCLUDEDIR} ${PC_GIO_INCLUDE_DIRS}
+ PATH_SUFFIXES gio-2.0)
+
+find_library(GIO_LIBRARY NAMES gio-2.0
+ HINTS ${PC_GIO_LIBDIR} ${PC_GIO_LIBRARY_DIRS})
+
+# gobject
+
+pkg_check_modules(PC_GOBJECT gobject-2.0)
+
+if(NOT PC_GOBJECT_FOUND)
+ set(_GLIB_found_all false)
+endif()
+
+find_path(GOBJECT_INCLUDE_DIR gobject/gobject.h
+ HINTS ${PC_GOBJECT_INCLUDEDIR} ${PC_GOBJECT_INCLUDE_DIRS}
+ PATH_SUFFIXES gobject-2.0)
+
+find_library(GOBJECT_LIBRARY NAMES gobject-2.0
+ HINTS ${PC_GOBJECT_LIBDIR} ${PC_GOBJECT_LIBRARY_DIRS})
+
+# gmodule
+
+pkg_check_modules(PC_GMODULE gmodule-2.0)
+
+if(NOT PC_GMODULE_FOUND)
+ set(_GLIB_found_all false)
+endif()
+
+find_path(GMODULE_INCLUDE_DIR gmodule.h
+ HINTS ${PC_GMODULE_INCLUDEDIR} ${PC_GMODULE_INCLUDE_DIRS}
+ PATH_SUFFIXES gmodule-2.0)
+
+find_library(GMODULE_LIBRARY NAMES gmodule-2.0
+ HINTS ${PC_GMODULE_LIBDIR} ${PC_GMODULE_LIBRARY_DIRS})
+
+# gthread
+
+pkg_check_modules(PC_GTHREAD gthread-2.0)
+
+if(NOT PC_GTHREAD_FOUND)
+ set(_GLIB_found_all false)
+endif()
+
+find_path(GTHREAD_INCLUDE_DIR glib/gthread.h
+ HINTS ${PC_GTHREAD_INCLUDEDIR} ${PC_GTHREAD_INCLUDE_DIRS}
+ PATH_SUFFIXES gthread-2.0)
+
+find_library(GTHREAD_LIBRARY NAMES gthread-2.0
+ HINTS ${PC_GTHREAD_LIBDIR} ${PC_GTHREAD_LIBRARY_DIRS})
+
+# Finalize
+
+if(_GLIB_found_all)
+ include(FindPackageHandleStandardArgs)
+
+ find_package_handle_standard_args(GLIB2 DEFAULT_MSG GLIB2_LIBRARY GLIB2_INCLUDE_DIR)
+
+ set(GLIB2_LIBRARIES ${GLIB2_LIBRARY} ${GIO_LIBRARY} ${GOBJECT_LIBRARY} ${GMODULE_LIBRARY} ${GTHREAD_LIBRARY})
+ set(GLIB2_INCLUDE_DIRS ${GLIB2_INCLUDE_DIR} ${GIO_INCLUDE_DIR} ${GOBJECT_INCLUDE_DIR} ${GMODULE_INCLUDE_DIR} ${GTHREAD_INCLUDE_DIR})
+
+ mark_as_advanced(GLIB2_INCLUDE_DIR GLIB2_LIBRARY)
+
+ set(GLIB_FOUND true)
+else()
+ unset(GLIB2_LIBRARY)
+ unset(GLIB2_INCLUDE_DIR)
+
+ set(GLIB_FOUND false)
+endif()
diff -urP remmina-1.0.0.orig/cmake/FindGTK2.cmake remmina-1.0.0/cmake/FindGTK2.cmake
--- remmina-1.0.0.orig/cmake/FindGTK2.cmake 2012-02-10 22:54:23.000000000 +0400
+++ remmina-1.0.0/cmake/FindGTK2.cmake 2012-03-08 21:59:37.000000000 +0400
@@ -63,24 +63,11 @@
# Glib
-pkg_check_modules(PC_GLIB2 glib-2.0)
-
-if(NOT PC_GLIB2_FOUND)
+find_required_package(GLIB2)
+if(NOT GLIB2_FOUND)
set(_GTK2_found_all false)
endif()
-find_path(GLIB2_INCLUDE_DIR_PART1 NAMES glib.h
- HINTS ${PC_GLIB2_INCLUDEDIR} ${PC_GLIB2_INCLUDE_DIRS}
- PATH_SUFFIXES glib-2.0)
-
-find_path(GLIB2_INCLUDE_DIR_PART2 NAMES glibconfig.h
- HINTS ${PC_GLIB2_INCLUDEDIR} ${PC_GLIB2_INCLUDE_DIRS}
- PATH_SUFFIXES glib-2.0/include)
-
-set(GLIB2_INCLUDE_DIR ${GLIB2_INCLUDE_DIR_PART1} ${GLIB2_INCLUDE_DIR_PART2})
-
-find_library(GLIB2_LIBRARY NAMES glib-2.0)
-
# Pango
pkg_check_modules(PC_PANGO pango)
@@ -129,8 +116,8 @@
find_package_handle_standard_args(GTK2 DEFAULT_MSG GTK2_LIBRARY GTK2_INCLUDE_DIR)
- set(GTK2_LIBRARIES ${GTK2_LIBRARY} ${GDK2_LIBRARY} ${GLIB2_LIBRARY} ${PANGO_LIBRARY} ${CAIRO_LIBRARY} ${GDKPIXBUF_LIBRARY} ${ATK_LIBRARY})
- set(GTK2_INCLUDE_DIRS ${GTK2_INCLUDE_DIR} ${GDK2_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PANGO_INCLUDE_DIR} ${CAIRO_INCLUDE_DIR} ${GDKPIXBUF_INCLUDE_DIR} ${ATK_INCLUDE_DIR})
+ set(GTK2_LIBRARIES ${GTK2_LIBRARY} ${GDK2_LIBRARY} ${GLIB2_LIBRARIES} ${PANGO_LIBRARY} ${CAIRO_LIBRARY} ${GDKPIXBUF_LIBRARY} ${ATK_LIBRARY})
+ set(GTK2_INCLUDE_DIRS ${GTK2_INCLUDE_DIR} ${GDK2_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS} ${PANGO_INCLUDE_DIR} ${CAIRO_INCLUDE_DIR} ${GDKPIXBUF_INCLUDE_DIR} ${ATK_INCLUDE_DIR})
mark_as_advanced(GTK2_INCLUDE_DIR GTK2_LIBRARY)
diff -urP remmina-1.0.0.orig/cmake/FindGTK3.cmake remmina-1.0.0/cmake/FindGTK3.cmake
--- remmina-1.0.0.orig/cmake/FindGTK3.cmake 2012-02-10 22:54:23.000000000 +0400
+++ remmina-1.0.0/cmake/FindGTK3.cmake 2012-03-08 21:08:04.000000000 +0400
@@ -48,29 +48,16 @@
HINTS ${PC_GDKPIXBUF_INCLUDEDIR} ${PC_GDKPIXBUF_INCLUDE_DIRS}
PATH_SUFFIXES gdk-pixbuf-2.0)
-find_library(GDKPIXBUF_LIBRARY NAMES gdk-3
+find_library(GDKPIXBUF_LIBRARY NAMES gdk_pixbuf-2.0
HINTS ${PC_GDKPIXBUF_LIBDIR} ${PC_GDKPIXBUF_LIBRARY_DIRS})
# Glib
-pkg_check_modules(PC_GLIB2 glib-2.0)
-
-if(NOT PC_GLIB2_FOUND)
+find_required_package(GLIB2)
+if(NOT GLIB2_FOUND)
set(_GTK3_found_all false)
endif()
-find_path(GLIB2_INCLUDE_DIR_PART1 NAMES glib.h
- HINTS ${PC_GLIB2_INCLUDEDIR} ${PC_GLIB2_INCLUDE_DIRS}
- PATH_SUFFIXES glib-2.0)
-
-find_path(GLIB2_INCLUDE_DIR_PART2 NAMES glibconfig.h
- HINTS ${PC_GLIB2_INCLUDEDIR} ${PC_GLIB2_INCLUDE_DIRS}
- PATH_SUFFIXES glib-2.0/include)
-
-set(GLIB2_INCLUDE_DIR ${GLIB2_INCLUDE_DIR_PART1} ${GLIB2_INCLUDE_DIR_PART2})
-
-find_library(GLIB2_LIBRARY NAMES glib-2.0)
-
# Pango
pkg_check_modules(PC_PANGO pango)
@@ -119,8 +106,8 @@
find_package_handle_standard_args(GTK3 DEFAULT_MSG GTK3_LIBRARY GTK3_INCLUDE_DIR)
- set(GTK3_LIBRARIES ${GTK3_LIBRARY} ${GDK3_LIBRARY} ${GLIB2_LIBRARY} ${PANGO_LIBRARY} ${CAIRO_LIBRARY} ${GDKPIXBUF_LIBRARY} ${ATK_LIBRARY})
- set(GTK3_INCLUDE_DIRS ${GTK3_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PANGO_INCLUDE_DIR} ${CAIRO_INCLUDE_DIR} ${GDKPIXBUF_INCLUDE_DIR} ${ATK_INCLUDE_DIR})
+ set(GTK3_LIBRARIES ${GTK3_LIBRARY} ${GDK3_LIBRARY} ${GLIB2_LIBRARIES} ${PANGO_LIBRARY} ${CAIRO_LIBRARY} ${GDKPIXBUF_LIBRARY} ${ATK_LIBRARY})
+ set(GTK3_INCLUDE_DIRS ${GTK3_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS} ${PANGO_INCLUDE_DIR} ${CAIRO_INCLUDE_DIR} ${GDKPIXBUF_INCLUDE_DIR} ${ATK_INCLUDE_DIR})
mark_as_advanced(GTK3_INCLUDE_DIR GTK3_LIBRARY)
diff -urP remmina-1.0.0.orig/remmina/CMakeLists.txt remmina-1.0.0/remmina/CMakeLists.txt
--- remmina-1.0.0.orig/remmina/CMakeLists.txt 2012-02-10 22:54:23.000000000 +0400
+++ remmina-1.0.0/remmina/CMakeLists.txt 2012-03-08 21:31:28.000000000 +0400
@@ -93,6 +93,10 @@
include_directories(${GTK_INCLUDE_DIRS})
target_link_libraries(remmina ${GTK_LIBRARIES})
+find_package(X11)
+include_directories(${X11_INCLUDE_DIR})
+target_link_libraries(remmina ${X11_LIBRARIES})
+
find_suggested_package(LIBSSH)
if(LIBSSH_FOUND)
add_definitions(-DHAVE_LIBSSH)
@@ -100,6 +104,11 @@
target_link_libraries(remmina ${LIBSSH_LIBRARIES})
endif()
+if(PTHREAD_FOUND)
+ include_directories(${PTHREAD_INCLUDE_DIRS})
+ target_link_libraries(remmina ${PTHREAD_LIBRARIES})
+endif()
+
if(GCRYPT_FOUND)
include_directories(${GCRYPT_INCLUDE_DIRS})
target_link_libraries(remmina ${GCRYPT_LIBRARIES})
++++++ remmina-fix-scrolling-in-vnc-plugin.patch ++++++
commit c422e9c0396e405ef5a3d2a6b24dbc83c20afe2f
Author: Jean-Louis Dupond
Date: Wed Apr 25 11:57:39 2012 +0200
Also fix scrolling on VNC plugin
Index: FreeRDP-Remmina-356c033/remmina-plugins/rdp/rdp_event.c
===================================================================
--- FreeRDP-Remmina-356c033.orig/remmina-plugins/rdp/rdp_event.c
+++ FreeRDP-Remmina-356c033/remmina-plugins/rdp/rdp_event.c
@@ -468,7 +468,7 @@ void remmina_rdp_event_init(RemminaProto
gtk_container_add(GTK_CONTAINER(gp), rfi->drawing_area);
gtk_widget_add_events(rfi->drawing_area, GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK
- | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK);
+ | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_SCROLL_MASK);
gtk_widget_set_can_focus(rfi->drawing_area, TRUE);
remmina_plugin_service->protocol_plugin_register_hostkey(gp, rfi->drawing_area);
Index: FreeRDP-Remmina-356c033/remmina-plugins/vnc/vnc_plugin.c
===================================================================
--- FreeRDP-Remmina-356c033.orig/remmina-plugins/vnc/vnc_plugin.c
+++ FreeRDP-Remmina-356c033/remmina-plugins/vnc/vnc_plugin.c
@@ -1847,7 +1847,7 @@ static void remmina_plugin_vnc_init(Remm
gtk_widget_add_events(
gpdata->drawing_area,
GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK
- | GDK_KEY_RELEASE_MASK);
+ | GDK_KEY_RELEASE_MASK | GDK_SCROLL_MASK);
gtk_widget_set_can_focus(gpdata->drawing_area, TRUE);
#if GTK_VERSION == 3
++++++ remmina-fix-window-resize.patch ++++++
commit 1901a1e9e5282c1deca2f5f98476e2c7e9243d35
Author: Jean-Louis Dupond
Date: Mon Sep 10 14:12:11 2012 +0200
Closes #63: fix typo when fitting window
diff --git a/remmina/src/remmina_connection_window.c b/remmina/src/remmina_connection_window.c
index 7ff1246..2ba8193 100644
--- a/remmina/src/remmina_connection_window.c
+++ b/remmina/src/remmina_connection_window.c
@@ -436,7 +436,7 @@ static gboolean remmina_connection_holder_toolbar_autofit_restore(RemminaConnect
remmina_connection_holder_get_desktop_size(cnnhld, &width, &height, TRUE);
gtk_widget_get_allocation(priv->notebook, &na);
gtk_widget_get_allocation(cnnobj->scrolled_container, &ca);
- gtk_widget_get_allocation(priv->toolbar, &ca);
+ gtk_widget_get_allocation(priv->toolbar, &ta);
gtk_window_resize(GTK_WINDOW(cnnhld->cnnwin), MAX(1, width + na.width - ca.width),
MAX(1, height + ta.height + na.height - ca.height));
gtk_container_check_resize(GTK_CONTAINER(cnnhld->cnnwin));
++++++ remmina-gtk-2-22-support.patch ++++++
diff -ur remmina-1.0.0/cmake/FindGTK2.cmake remmina-1.0.0.gtk-2.22/cmake/FindGTK2.cmake
--- remmina-1.0.0/cmake/FindGTK2.cmake 2012-03-08 21:59:37.000000000 +0400
+++ remmina-1.0.0.gtk-2.22/cmake/FindGTK2.cmake 2012-03-22 02:28:00.000000000 +0400
@@ -32,6 +32,8 @@
find_library(GTK2_LIBRARY NAMES gtk-x11-2.0)
+STRING(REGEX REPLACE "2[.]([0-9]+).*" "\\1" GTK2_VERSION "${PC_GTK2_VERSION}")
+
# Gdk
pkg_check_modules(PC_GDK2 gdk-x11-2.0)
Только в remmina-1.0.0/: CMakeLists.txt~
diff -ur remmina-1.0.0/remmina/src/remmina_ftp_client.c remmina-1.0.0.gtk-2.22/remmina/src/remmina_ftp_client.c
--- remmina-1.0.0/remmina/src/remmina_ftp_client.c 2012-02-10 22:54:23.000000000 +0400
+++ remmina-1.0.0.gtk-2.22/remmina/src/remmina_ftp_client.c 2012-03-22 00:01:11.000000000 +0400
@@ -861,9 +861,17 @@
gtk_paned_pack1(GTK_PANED(vpaned), vbox, TRUE, FALSE);
/* Remote Directory */
+#if GTK_VERSION == 2 && GTK2_VERSION <= 22
+ widget = gtk_combo_box_entry_new_text ();
+#else
widget = gtk_combo_box_text_new_with_entry();
+#endif
gtk_widget_show(widget);
+#if GTK_VERSION == 2 && GTK2_VERSION <= 22
+ gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "/");
+#else
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(widget), "/");
+#endif
gtk_box_pack_start(GTK_BOX(vbox), widget, FALSE, TRUE, 0);
priv->directory_combo = widget;
@@ -1115,7 +1123,11 @@
g_free(t);
}
+#if GTK_VERSION == 2 && GTK2_VERSION <= 22
+gtk_combo_box_prepend_text (GTK_COMBO_BOX (priv->directory_combo), dir);
+#else
gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT(priv->directory_combo), dir);
+#endif
gtk_combo_box_set_active(GTK_COMBO_BOX(priv->directory_combo), 0);
g_free(priv->current_directory);
diff -ur remmina-1.0.0/remmina/src/remmina_public.c remmina-1.0.0.gtk-2.22/remmina/src/remmina_public.c
--- remmina-1.0.0/remmina/src/remmina_public.c 2012-02-10 22:54:23.000000000 +0400
+++ remmina-1.0.0.gtk-2.22/remmina/src/remmina_public.c 2012-03-22 02:46:49.000000000 +0400
@@ -49,7 +49,11 @@
gchar *buf, *ptr1, *ptr2;
gint i;
+#if GTK_VERSION == 2 && GTK2_VERSION <= 22
+ combo = gtk_combo_box_entry_new_text ();
+#else
combo = gtk_combo_box_text_new_with_entry();
+#endif
found = FALSE;
if (text && text[0] != '\0')
@@ -65,7 +69,11 @@
if (descending)
{
+ #if GTK_VERSION == 2 && GTK2_VERSION <= 22
+ gtk_combo_box_prepend_text (GTK_COMBO_BOX (combo), ptr1);
+ #else
gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT(combo), ptr1);
+ #endif
if (!found && g_strcmp0(ptr1, def) == 0)
{
gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0);
@@ -74,7 +82,11 @@
}
else
{
+ #if GTK_VERSION == 2 && GTK2_VERSION <= 22
+ gtk_combo_box_append_text (GTK_COMBO_BOX (combo), ptr1);
+ #else
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo), ptr1);
+ #endif
if (!found && g_strcmp0(ptr1, def) == 0)
{
gtk_combo_box_set_active(GTK_COMBO_BOX(combo), i);
@@ -262,10 +274,17 @@
GtkTreeIter iter;
gchar *s;
+#if GTK_VERSION == 2 && GTK2_VERSION <= 22
+ if (GTK_IS_COMBO_BOX(combo))
+ {
+ return gtk_combo_box_get_active_text(GTK_COMBO_BOX(combo));
+ }
+#else
if (GTK_IS_COMBO_BOX_TEXT(combo))
{
return gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(combo));
}
+#endif
if (!gtk_combo_box_get_active_iter(combo, &iter))
return NULL;
@@ -491,7 +510,11 @@
g_return_val_if_fail (gtk_widget_get_realized (GTK_WIDGET (gtkwindow)), 0);
window = gtk_widget_get_window (GTK_WIDGET (gtkwindow));
+#if GTK_VERSION == 2 && GTK2_VERSION <= 22
+ display = gdk_drawable_get_display (window);
+#else
display = gdk_window_get_display (window);
+#endif
gdk_error_trap_push ();
result = XGetWindowProperty (GDK_DISPLAY_XDISPLAY (display), GDK_WINDOW_XID (window),
++++++ remmina-remove-inline-libvncserver.patch ++++++
++++ 20338 lines (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org