[pkg-remote-commits] [x2goclient] 03/07: debian/patches: Rebase 1002_fix-ftbfs-on-non-linux.patch.

Mike Gabriel sunweaver at debian.org
Mon Feb 19 22:46:15 UTC 2018


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository x2goclient.

commit ea59408a889f3e53b73c526c23eef6b762f0c0fd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Feb 19 22:56:18 2018 +0100

    debian/patches: Rebase 1002_fix-ftbfs-on-non-linux.patch.
---
 debian/patches/1002_fix-ftbfs-on-non-linux.patch | 94 ++++++++++++------------
 1 file changed, 47 insertions(+), 47 deletions(-)

diff --git a/debian/patches/1002_fix-ftbfs-on-non-linux.patch b/debian/patches/1002_fix-ftbfs-on-non-linux.patch
index d7ff7ce..75e99fa 100644
--- a/debian/patches/1002_fix-ftbfs-on-non-linux.patch
+++ b/debian/patches/1002_fix-ftbfs-on-non-linux.patch
@@ -75,8 +75,8 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
 +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD)
      image=shape=0;
  #endif
-     x2goInfof(1) << tr("Starting X2Go Client...");
-@@ -222,7 +222,7 @@
+     x2goInfof(1) << tr("Starting X2Go Client %1...").arg (QString (VERSION));
+@@ -228,7 +228,7 @@
      addToAppNames ( "OFFICE",tr ( "OpenOffice.org" ) );
      addToAppNames ( "TERMINAL",tr ( "Terminal" ) );
  
@@ -85,7 +85,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  #if QT_VERSION < 0x050000
      widgetExtraStyle = new QPlastiqueStyle ();
  #else
-@@ -471,7 +471,7 @@
+@@ -477,7 +477,7 @@
      connect(interDlg, SIGNAL(closeInterractionDialog()), this, SLOT(slotCloseInteractionDialog()));
      username->addWidget ( interDlg );
  
@@ -94,7 +94,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  
      x2goDebug<<"Creating embedded container.";
      embedContainer=new QX11EmbedContainer ( fr );
-@@ -503,7 +503,7 @@
+@@ -509,7 +509,7 @@
  
  
  
@@ -103,7 +103,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      if (thinMode)
      {
          QTimer *timer = new QTimer(this);
-@@ -582,7 +582,7 @@
+@@ -634,7 +634,7 @@
      {
          if (!isHidden())
              hide();
@@ -112,7 +112,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
          XSync(QX11Info::display(),false);
  #endif
      }
-@@ -761,7 +761,7 @@
+@@ -813,7 +813,7 @@
      oldParentPos=QPoint ( 0,0 );
  #endif
      childId=0l;
@@ -121,7 +121,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  
      connect ( embedContainer, SIGNAL ( clientClosed() ), this,
                SLOT ( slotDetachProxyWindow() ) );
-@@ -816,7 +816,7 @@
+@@ -868,7 +868,7 @@
      if ( !managedMode )
      {
  
@@ -130,7 +130,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
          QTimer::singleShot ( 500, this,
                               SLOT ( slotActivateWindow() ) );
  #endif
-@@ -1458,7 +1458,7 @@
+@@ -1511,7 +1511,7 @@
                                   QVariant ( isMaximized() ) );
          st.setting()->sync();
          x2goDebug<<"Saved settings.";
@@ -139,7 +139,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
          if (image)
              XFreePixmap(QX11Info::display(),image);
          if (shape)
-@@ -2816,7 +2816,7 @@
+@@ -2871,7 +2871,7 @@
          autologin=st->setting()->value (
                        sid+"/autologin",
                        ( QVariant ) false ).toBool();
@@ -148,7 +148,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
          if(command =="XDMCP" && st->setting()->value (
                        sid+"/directxdmcp",
                        ( QVariant ) false ).toBool())
-@@ -3404,7 +3404,7 @@
+@@ -3468,7 +3468,7 @@
          if (config.brokerNoAuth && brokerNoauthWithSessionUsername) {
              config.brokerUser = login->text();
          }
@@ -157,7 +157,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
          X2goSettings* st=new X2goSettings(config.iniFile, QSettings::IniFormat);
          QString sid=sessionExplorer->getLastSession()->id();
          QString cmd=st->setting()->value ( sid+"/command",
-@@ -3466,7 +3466,7 @@
+@@ -3530,7 +3530,7 @@
      sshConnection->executeCommand ( "x2gogetservers", this, SLOT ( slotGetServers ( bool, QString,int ) ));
  }
  
@@ -166,7 +166,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  void ONMainWindow::startDirectRDP()
  {
      if (!(sessionExplorer->getLastSession())) {
-@@ -3707,7 +3707,7 @@
+@@ -3771,7 +3771,7 @@
  bool ONMainWindow::startSession ( const QString& sid )
  {
      setEnabled ( false );
@@ -175,7 +175,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      directRDP=false;
  #endif
      QString passwd;
-@@ -3771,7 +3771,7 @@
+@@ -3835,7 +3835,7 @@
                                      ( QVariant ) false ).toBool();
      krbDelegation=st->setting()->value ( sid+"/krbdelegation",
                                           ( QVariant ) false ).toBool();
@@ -184,7 +184,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      directRDP=(st->setting()->value ( sid+"/directrdp",
                                        ( QVariant ) false ).toBool() && cmd == "RDP");
  
-@@ -5041,7 +5041,7 @@
+@@ -5134,7 +5134,7 @@
  void ONMainWindow::slotSuspendSess()
  {
  
@@ -193,7 +193,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      if (directRDP)
      {
          nxproxy->terminate();
-@@ -5108,7 +5108,7 @@
+@@ -5201,7 +5201,7 @@
  void ONMainWindow::slotSuspendSessFromSt()
  {
  
@@ -202,7 +202,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      if (directRDP)
      {
          nxproxy->terminate();
-@@ -5132,7 +5132,7 @@
+@@ -5225,7 +5225,7 @@
  
  void ONMainWindow::slotTermSessFromSt()
  {
@@ -211,7 +211,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      if (directRDP)
      {
  
-@@ -5205,7 +5205,7 @@
+@@ -5298,7 +5298,7 @@
  void ONMainWindow::slotTermSess()
  {
  
@@ -220,7 +220,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      if (directRDP)
      {
          nxproxy->terminate();
-@@ -5586,7 +5586,7 @@
+@@ -5679,7 +5679,7 @@
              sshConnection->executeCommand (scmd);
  
              bool sysPulse=false;
@@ -229,7 +229,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
              loadPulseModuleNativeProtocol();
              QFile file ( "/etc/default/pulseaudio" );
              if ( file.open ( QIODevice::ReadOnly |
-@@ -6156,7 +6156,7 @@
+@@ -6243,7 +6243,7 @@
  
  void ONMainWindow::slotProxyError ( QProcess::ProcessError err )
  {
@@ -238,7 +238,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      if(err==QProcess::FailedToStart && directRDP)
      {
          QString main_text = tr("Failed to start RDP or XDMCP client");
-@@ -6265,7 +6265,7 @@
+@@ -6352,7 +6352,7 @@
              }
          }
  
@@ -247,7 +247,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
          if (directRDP)
              nxproxy=0;
  #endif
-@@ -6279,7 +6279,7 @@
+@@ -6366,7 +6366,7 @@
      nxproxy=0l;
      proxyWinId=0;
  
@@ -256,7 +256,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      if (directRDP)
      {
          if (closeDisconnect)
-@@ -9636,7 +9636,7 @@
+@@ -9728,7 +9728,7 @@
      return false;
  }
  
@@ -265,7 +265,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  void ONMainWindow::setWidgetStyle ( QWidget* widget )
  {
      widget->setStyle ( widgetExtraStyle );
-@@ -10033,7 +10033,7 @@
+@@ -10125,7 +10125,7 @@
                                   ( QVariant )
                                   "UTF-8" ).toString();
  #endif
@@ -274,7 +274,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
              QString fromCode=st.setting()->value (
                                   sid+"/iconvfrom",
                                   ( QVariant ) tr (
-@@ -11138,7 +11138,7 @@
+@@ -11230,7 +11230,7 @@
      else
          pixmap=*(sessionExplorer->getLastSession()->sessIcon());
  
@@ -283,7 +283,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  
      XStoreName(QX11Info::display(), proxyWinId, title.toLocal8Bit().data());
  
-@@ -11185,7 +11185,7 @@
+@@ -11277,7 +11277,7 @@
  void ONMainWindow::slotSetProxyWinFullscreen()
  {
  
@@ -292,7 +292,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  
      QRect geom=QApplication::desktop()->screenGeometry(localDisplayNumber-1);
      Atom atom = XInternAtom ( QX11Info::display(), "_NET_WM_STATE_FULLSCREEN", True );
-@@ -11241,7 +11241,7 @@
+@@ -11333,7 +11333,7 @@
          ", h: "+ QString("%1").arg(geom.height());
      x2goDebug<<"Resizing proxy window to fit display: " + QString("%1").arg(disp) + " " + geoStr;
  
@@ -301,7 +301,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      XSync(QX11Info::display(),false);
      XMoveResizeWindow(QX11Info::display(), proxyWinId, geom.x(), geom.y(), 800, 600);
      XMapWindow(QX11Info::display(), proxyWinId);
-@@ -11261,7 +11261,7 @@
+@@ -11353,7 +11353,7 @@
          return QRect();
      return proxyRect;
  #endif
@@ -310,7 +310,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      QRect proxyRect;
      Window root;
      int x,y;
-@@ -11348,7 +11348,7 @@
+@@ -11440,7 +11440,7 @@
          xinSizeInc=1;
      else
          xinSizeInc=-1;
@@ -319,7 +319,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      lastDisplayGeometry.setWidth(lastDisplayGeometry.width()+xinSizeInc);
      XSync(QX11Info::display(),false);
      XResizeWindow(QX11Info::display(), proxyWinId,
-@@ -11485,7 +11485,7 @@
+@@ -11579,7 +11579,7 @@
      setStatStatus();
      act_embedContol->setText ( tr ( "Attach X2Go window" ) );
      act_embedContol->setIcon ( QIcon ( ":/img/icons/32x32/attach.png" ) );
@@ -328,7 +328,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      //if QX11EmbedContainer cannot embed window, check if window exists
      //and reconnect
      if ( !embedControlChanged )
-@@ -11900,7 +11900,7 @@
+@@ -11994,7 +11994,7 @@
  
  void ONMainWindow::slotChangeKbdLayout(const QString& layout)
  {
@@ -337,7 +337,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      QStringList args;
      args<<"-layout"<<layout;
  
-@@ -11977,7 +11977,7 @@
+@@ -12071,7 +12071,7 @@
      pass->setEchoMode ( QLineEdit::Password );
      pass->setFocus();
  
@@ -346,7 +346,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      connect ( login,SIGNAL ( clicked() ),this,
                SLOT ( slotActivateWindow() ) );
      connect ( pass,SIGNAL ( clicked() ),this,
-@@ -12937,7 +12937,7 @@
+@@ -13031,7 +13031,7 @@
      dr.rmdir ( path );
  }
  
@@ -355,7 +355,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  long ONMainWindow::X11FindWindow ( QString text, long rootWin )
  {
      Window    wParent;
-@@ -12978,7 +12978,7 @@
+@@ -13072,7 +13072,7 @@
  long ONMainWindow::findWindow ( QString text )
  {
      x2goDebug<<"Searching window with title: " + text;
@@ -364,7 +364,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      return X11FindWindow ( text );
  #endif
  #ifdef Q_OS_WIN
-@@ -13013,7 +13013,7 @@
+@@ -13107,7 +13107,7 @@
  
  void ONMainWindow::doPluginInit()
  {
@@ -373,7 +373,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      Dl_info info;
      dladdr ( ( void* ) & ( ONMainWindow::getPortable ),&info );
      QString fname=info.dli_fname;
-@@ -13096,7 +13096,7 @@
+@@ -13190,7 +13190,7 @@
  QSize ONMainWindow::getWindowSize ( long winId )
  {
  
@@ -382,7 +382,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      XWindowAttributes atr;
      if ( XGetWindowAttributes ( QX11Info::display(),winId,&atr ) )
          return QSize ( atr.width,atr.height );
-@@ -13144,7 +13144,7 @@
+@@ -13238,7 +13238,7 @@
  {
      childId=wndId;
      embedContainer->show();
@@ -391,7 +391,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  
      x2goDebug<<"Embedding window with ID "<<wndId<<" in container.";
  
-@@ -13167,7 +13167,7 @@
+@@ -13261,7 +13261,7 @@
  {
      if ( !childId )
          return;
@@ -411,7 +411,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  class QX11EmbedContainer;
  #endif
  class QToolButton;
-@@ -800,7 +800,7 @@
+@@ -804,7 +804,7 @@
      bool runStartApp;
      bool ldapOnly;
      bool isScDaemonOk;
@@ -420,7 +420,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      bool directRDP;
  #endif
  
-@@ -911,7 +911,7 @@
+@@ -915,7 +915,7 @@
      QRect dispGeometry;
  #endif
  
@@ -429,7 +429,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      long image, shape;
  #endif
  
-@@ -1181,7 +1181,7 @@
+@@ -1187,7 +1187,7 @@
  
  private:
      void resizeProxyWinOnDisplay(int display);
@@ -438,7 +438,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      long X11FindWindow ( QString text, long rootWin=0 );
  #endif
      void addToAppNames ( QString intName, QString transName );
-@@ -1207,7 +1207,7 @@
+@@ -1213,7 +1213,7 @@
      void printSshDError_noAuthorizedKeysFile();
      void loadPulseModuleNativeProtocol();
      void initEmbedToolBar();
@@ -447,7 +447,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
      void startDirectRDP();
  #endif
      void filterDesktops ( const QString& filter,
-@@ -1249,7 +1249,7 @@
+@@ -1255,7 +1255,7 @@
      long childId;
      QSize oldParentSize;
  
@@ -510,7 +510,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
    }
 --- a/src/sessionbutton.cpp
 +++ b/src/sessionbutton.cpp
-@@ -449,7 +449,7 @@
+@@ -450,7 +450,7 @@
      }
      else if ( command =="RDP" )
      {
@@ -519,7 +519,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
          if (st->setting()->value ( sid+"/directrdp",
                                     ( QVariant ) false ).toBool())
              directRDP=true;
-@@ -460,7 +460,7 @@
+@@ -461,7 +461,7 @@
      }
      else if ( command =="XDMCP" )
      {
@@ -749,7 +749,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  void SettingsWidget::setDirectRdp(bool direct, bool isXDMCP)
  {
      clipGr->setVisible(!direct);
-@@ -415,7 +415,7 @@
+@@ -417,7 +417,7 @@
              displayNumber->setValue(1);
      }
  
@@ -758,7 +758,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  #ifdef CFGCLIENT
      maxRes->setChecked(st.setting()->value ( sessionId+"/maxdim", false).toBool());
      QString client=st.setting()->value ( sessionId+"/rdpclient","rdesktop").toString();
-@@ -551,7 +551,7 @@
+@@ -553,7 +553,7 @@
      st.setting()->setValue ( sessionId+"/display",
                               ( QVariant ) displayNumber->value() );
  
@@ -767,7 +767,7 @@ Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
  #ifdef CFGCLIENT
      st.setting()->setValue ( sessionId+"/maxdim",
                               ( QVariant ) maxRes->isChecked() );
-@@ -661,7 +661,7 @@
+@@ -663,7 +663,7 @@
      st.setting()->sync();
  }
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/x2goclient.git



More information about the pkg-remote-commits mailing list