weston: 5.0.0 -> 6.0.0 (#58522)
https://lists.freedesktop.org/archives/wayland-devel/2019-March/040356.html https://lists.freedesktop.org/archives/wayland-devel/2019-March/040334.html * weston: use freerdp2 not legacy * freerdp_legacy: drop as no longer needed (weston was last user) Co-Authored-By: Michael Weiss <dev.primeos@gmail.com>
This commit is contained in:
parent
310a1ec454
commit
3a26a1fe94
@ -1,72 +0,0 @@
|
|||||||
{ stdenv
|
|
||||||
, fetchurl
|
|
||||||
, cmake
|
|
||||||
, openssl
|
|
||||||
, glib, pcre
|
|
||||||
, printerSupport ? true, cups
|
|
||||||
, pkgconfig
|
|
||||||
, zlib
|
|
||||||
, libX11
|
|
||||||
, libXcursor
|
|
||||||
, libXdamage
|
|
||||||
, libXext
|
|
||||||
, alsaLib
|
|
||||||
, ffmpeg
|
|
||||||
, libxkbfile
|
|
||||||
#, xmlto, docbook_xml_dtd_412, docbook_xml_xslt
|
|
||||||
, libXinerama
|
|
||||||
, libXv
|
|
||||||
, pulseaudioSupport ? true
|
|
||||||
}:
|
|
||||||
|
|
||||||
assert printerSupport -> cups != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "freerdp-${version}";
|
|
||||||
version = "1.2.0-beta1+android9";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/FreeRDP/FreeRDP/archive/${version}.tar.gz";
|
|
||||||
sha256 = "181w4lkrk5h5kh2zjlx6h2cl1mfw2aaami3laq3q32pfj06q3rxl";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
cmake
|
|
||||||
openssl
|
|
||||||
glib pcre
|
|
||||||
pkgconfig
|
|
||||||
zlib
|
|
||||||
libX11
|
|
||||||
libXcursor
|
|
||||||
libXdamage
|
|
||||||
libXext
|
|
||||||
alsaLib
|
|
||||||
ffmpeg
|
|
||||||
libxkbfile
|
|
||||||
# xmlto docbook_xml_dtd_412 docbook_xml_xslt
|
|
||||||
libXinerama
|
|
||||||
libXv
|
|
||||||
] ++ stdenv.lib.optional printerSupport cups;
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
export HOME=$TMP
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = [
|
|
||||||
"--with-x" "-DWITH_MANPAGES=OFF"
|
|
||||||
] ++ stdenv.lib.optional printerSupport "--with-printer=cups"
|
|
||||||
++ stdenv.lib.optional pulseaudioSupport "-DWITH_PULSEAUDIO=ON";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "A Remote Desktop Protocol Client";
|
|
||||||
|
|
||||||
longDescription = ''
|
|
||||||
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
|
|
||||||
following the Microsoft Open Specifications.
|
|
||||||
'';
|
|
||||||
|
|
||||||
homepage = http://www.freerdp.com/;
|
|
||||||
license = licenses.free;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,47 +1,51 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, wayland, libGL, mesa_noglu, libxkbcommon, cairo, libxcb
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, wayland, libGL, mesa_noglu, libxkbcommon, cairo, libxcb
|
||||||
, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
|
, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev
|
||||||
|
, colord, lcms2
|
||||||
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
||||||
, libwebp ? null, xwayland ? null, wayland-protocols
|
, libwebp ? null, xwayland ? null, wayland-protocols
|
||||||
# beware of null defaults, as the parameters *are* supplied by callPackage by default
|
# beware of null defaults, as the parameters *are* supplied by callPackage by default
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "weston-${version}";
|
name = "weston-${version}";
|
||||||
version = "5.0.0";
|
version = "6.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://wayland.freedesktop.org/releases/${name}.tar.xz";
|
url = "https://wayland.freedesktop.org/releases/${name}.tar.xz";
|
||||||
sha256 = "1bsc9ry566mpk6fdwkqpvwq2j7m79d9cvh7d3lgf6igsphik98hm";
|
sha256 = "04p6hal5kalmdp5dxwh2h5qhkkb4dvbsk7l091zvvcq70slj6qsl";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wayland libGL mesa_noglu libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
|
wayland libGL mesa_noglu libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
|
||||||
mtdev libjpeg pam dbus libinput pango libunwind freerdp vaapi libva
|
mtdev libjpeg pam dbus libinput libevdev pango libunwind freerdp vaapi libva
|
||||||
libwebp wayland-protocols
|
libwebp wayland-protocols
|
||||||
|
colord lcms2
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
mesonFlags= [
|
||||||
"--enable-x11-compositor"
|
"-Dbackend-drm-screencast-vaapi=${boolToString (vaapi != null)}"
|
||||||
"--enable-drm-compositor"
|
"-Dbackend-rdp=${boolToString (freerdp != null)}"
|
||||||
"--enable-wayland-compositor"
|
"-Dxwayland=${boolToString (xwayland != null)}" # Default is true!
|
||||||
"--enable-headless-compositor"
|
"-Dremoting=false" # TODO
|
||||||
"--enable-fbdev-compositor"
|
"-Dimage-webp=${boolToString (libwebp != null)}"
|
||||||
"--enable-screen-sharing"
|
"-Dsimple-dmabuf-drm=" # Disables all drivers
|
||||||
"--enable-clients"
|
"-Ddemo-clients=false"
|
||||||
"--enable-weston-launch"
|
"-Dsimple-clients="
|
||||||
"--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
|
"-Dtest-junit-xml=false"
|
||||||
] ++ stdenv.lib.optional (freerdp != null) "--enable-rdp-compositor"
|
# TODO:
|
||||||
++ stdenv.lib.optional (vaapi != null) "--enable-vaapi-recorder"
|
#"--enable-clients"
|
||||||
++ stdenv.lib.optionals (xwayland != null) [
|
#"--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
|
||||||
"--enable-xwayland"
|
] ++ optionals (xwayland != null) [
|
||||||
"--with-xserver-path=${xwayland.out}/bin/Xwayland"
|
"-Dxwayland-path=${xwayland.out}/bin/Xwayland"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = {
|
||||||
description = "Reference implementation of a Wayland compositor";
|
description = "Reference implementation of a Wayland compositor";
|
||||||
homepage = https://wayland.freedesktop.org/;
|
homepage = https://wayland.freedesktop.org/;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ primeos ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -17994,12 +17994,6 @@ in
|
|||||||
|
|
||||||
freerdpUnstable = freerdp;
|
freerdpUnstable = freerdp;
|
||||||
|
|
||||||
# This must go when weston v2 is released
|
|
||||||
freerdp_legacy = callPackage ../applications/networking/remote/freerdp/legacy.nix {
|
|
||||||
cmake = cmake_2_8;
|
|
||||||
ffmpeg = ffmpeg_2;
|
|
||||||
};
|
|
||||||
|
|
||||||
fte = callPackage ../applications/editors/fte { };
|
fte = callPackage ../applications/editors/fte { };
|
||||||
|
|
||||||
game-music-emu = callPackage ../applications/audio/game-music-emu { };
|
game-music-emu = callPackage ../applications/audio/game-music-emu { };
|
||||||
@ -20725,9 +20719,7 @@ in
|
|||||||
|
|
||||||
chatterino2 = libsForQt5.callPackage ../applications/networking/instant-messengers/chatterino2 {};
|
chatterino2 = libsForQt5.callPackage ../applications/networking/instant-messengers/chatterino2 {};
|
||||||
|
|
||||||
weston = callPackage ../applications/window-managers/weston {
|
weston = callPackage ../applications/window-managers/weston { };
|
||||||
freerdp = freerdp_legacy;
|
|
||||||
};
|
|
||||||
|
|
||||||
whitebox-tools = callPackage ../applications/gis/whitebox-tools {
|
whitebox-tools = callPackage ../applications/gis/whitebox-tools {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user