git.iko.soy/typeable/nixpkgs
on master help sign in
x2goclient: 4.1.2.1 -> unstable-2018-11-30, fix build
commit561959bab88c589b6e3bd02c1ca1f8f7674864b7 authorAverell Dalton <averell+nixpkgs@rxd4.com> dateWed 5 Dec 2018, 20:30 (8 years ago) parent0afa5cd
2 files changed+9−25
pkgs/applications/networking/remote/x2goclient/default.nix+9−10 pkgs/applications/networking/remote/x2goclient/qt511.patch−15
pkgs/applications/networking/remote/x2goclient/default.nix+9−10
@@ -1,21 +1,20 @@
1−{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, openssh,
2−makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon }:
1+{ stdenv, fetchgit, cups, libssh, libXpm, nxproxy, openldap, openssh
2+, makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon, pkgconfig }:
33
44stdenv.mkDerivation rec {
5− name = "x2goclient-${version}";
6− version = "4.1.2.1";
5+ pname = "x2goclient";
6+ version = "unstable-2018-11-30";
77
8− src = fetchurl {
9− url = "https://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
10− sha256 = "1bzjzz2m9bqqndnk1p9p522cfapsqgkb0wllvqj9d4ir18grh60w";
8+ src = fetchgit {
9+ url = "git://code.x2go.org/x2goclient.git";
10+ rev = "659655675f11ffd361ab9fb48fa77a01a1536fe8";
11+ sha256 = "05gfs11m259bchy3k0ihqpwg9wf8lp94rbca5dzla9fjzrb7pyy4";
1112 };
1213
1314 buildInputs = [ cups libssh libXpm nxproxy openldap openssh
14− qtbase qtsvg qtx11extras qttools phonon ];
15+ qtbase qtsvg qtx11extras qttools phonon pkgconfig ];
1516 nativeBuildInputs = [ makeWrapper ];
1617
17− patches = [ ./qt511.patch ];
18−
1918 postPatch = ''
2019 substituteInPlace Makefile \
2120 --replace "SHELL=/bin/bash" "SHELL=$SHELL" \
pkgs/applications/networking/remote/x2goclient/qt511.patchdeleted−15
@@ -1,15 +0,0 @@
1−diff --git a/src/printwidget.cpp b/src/printwidget.cpp
2−index 58a8af7..131d340 100644
3−--- a/src/printwidget.cpp
4−+++ b/src/printwidget.cpp
5−@@ -23,6 +23,7 @@
6− #include "x2gosettings.h"
7− #include "x2gologdebug.h"
8− #include <QDir>
9−+#include <QButtonGroup>
10− #ifdef Q_OS_WIN
11− #include "wapi.h"
12− #endif
13−--
14−2.17.1
15−