Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wayland-scanner: split from wayland #214906

Merged
merged 54 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
8d00b65
cagebreak: depend on wayland-scanner
alyssais Feb 11, 2023
ec9e0c6
cardboard: depend on wayland-scanner
alyssais Feb 11, 2023
b8baf82
clightd: depend on wayland-scanner
alyssais Feb 8, 2023
4eb2f9c
deepin.dwayland: depend on wayland-scanner
alyssais Feb 11, 2023
a937795
enlightenment.efl: depend on wayland-scanner
alyssais Feb 11, 2023
5670ef0
fcitx5: depend on wayland-scanner
alyssais Feb 11, 2023
6e51223
gamescope: depend on wayland-scanner
alyssais Feb 11, 2023
f0779ec
gnome3.mutter43: depend on wayland-scanner
alyssais Feb 11, 2023
b29d12c
gnome3.mutter: depend on wayland-scanner
alyssais Feb 11, 2023
4fb55bc
gst_all_1.gst-plugins-bad: depend on wayland-scanner
alyssais Feb 11, 2023
b97d2b7
gst_all_1.gst-plugins-base: depend on wayland-scanner
alyssais Feb 10, 2023
7850b56
gtk-layer-shell: depend on wayland-scanner
alyssais Feb 10, 2023
e6fb535
hello-wayland: depend on wayland-scanner
alyssais Feb 10, 2023
c2b34fe
kitty: depend on wayland-scanner
alyssais Feb 11, 2023
ded5022
labwc: depend on wayland-scanner
alyssais Feb 11, 2023
c18e046
latte-dock: depend on wayland-scanner
alyssais Feb 11, 2023
8714155
libwpe-fdo: depend on wayland-scanner
alyssais Feb 11, 2023
158cce9
looking-glass-client: depend on wayland-scanner
alyssais Feb 11, 2023
2bc8286
maliit-framework: depend on wayland-scanner
alyssais Feb 11, 2023
95d9100
phoc: depend on wayland-scanner
alyssais Feb 11, 2023
1155451
phosh: depend on wayland-scanner
alyssais Feb 11, 2023
9f69280
phosh-mobile-settings: depend on wayland-scanner
alyssais Feb 11, 2023
abea49c
plasma5Packages.kguiaddons: depend on wayland-scanner
alyssais Feb 11, 2023
3040aa6
plasma5Packages.kidletime: depend on wayland-scanner
alyssais Feb 11, 2023
b96f111
plasma5Packages.krfb: depend on wayland-scanner
alyssais Feb 11, 2023
cec8d1f
plasma5Packages.kscreenlocker: depend on wayland-scanner
alyssais Feb 11, 2023
5f7c8fe
plasma5Packages.kwayland: depend on wayland-scanner
alyssais Feb 11, 2023
d23c5a4
plasma5Packages.kwin: depend on wayland-scanner
alyssais Feb 11, 2023
505c8b2
plasma5Packages.plasma-integration: depend on wayland-scanner
alyssais Feb 11, 2023
8a5862b
plasma5Packages.plasma-remotecontrollers: depend on wayland-scanner
alyssais Feb 11, 2023
11ed329
plasma5Packages.plasma-workspace: depend on wayland-scanner
alyssais Feb 11, 2023
75ea55b
plasma5Packages.xdg-desktop-portal-kde: depend on wayland-scanner
alyssais Feb 11, 2023
bc10b42
python3.pkgs.pywayland: depend on wayland-scanner
alyssais Feb 8, 2023
e2c1352
river: depend on wayland-scanner
alyssais Feb 11, 2023
4fad150
river-tag-overlay: depend on wayland-scanner
alyssais Feb 10, 2023
07faca9
rofi-wayland: depend on wayland-scanner
alyssais Feb 11, 2023
c9492d8
squeekboard: depend on wayland-scanner
alyssais Feb 11, 2023
b21621a
tofi: depend on wayland-scanner
alyssais Feb 11, 2023
aaafc00
vaapiIntel: depend on wayland-scanner
flokli Aug 5, 2024
c528719
vlc: depend on wayland-scanner
alyssais Feb 11, 2023
2e7aab8
vulkan-cts: depend on wayland-scanner
alyssais Feb 11, 2023
05f18e1
vulkan-tools: depend on wayland-scanner
alyssais Feb 11, 2023
d474d6e
waffle: depend on wayland-scanner
alyssais Feb 11, 2023
f043fe4
way-displays: depend on wayland-scanner
alyssais Feb 10, 2023
e229281
waylock: depend on wayland-scanner
alyssais Feb 11, 2023
b46f93f
webkitgtk: depend on wayland-scanner
alyssais Feb 11, 2023
2aa2505
wio: depend on wayland-scanner
alyssais Feb 11, 2023
921bd99
wayland-scanner: split from wayland
alyssais Feb 6, 2023
26a4a05
clightd: fix cross
alyssais Apr 23, 2023
dbffd9b
freerdp: don't set WAYLAND_SCANNER explicitly
flokli Aug 11, 2024
4509215
freerdp3: don't set WAYLAND_SCANNER explicitly
flokli Aug 11, 2024
0b16a47
gamescope: fix cross
flokli Aug 11, 2024
efaee7c
wayland-scanner: set mainProgram
flokli Aug 12, 2024
1120942
vulkan-tools: use lib.getExe
flokli Aug 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkgs/applications/accessibility/squeekboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
, gtk3
, wayland
, wayland-protocols
, wayland-scanner
, libbsd
, libxml2
, libxkbcommon
Expand Down Expand Up @@ -44,7 +45,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
glib
wayland
wayland-scanner
wrapGAppsHook3
rustPlatform.cargoSetupHook
cargo
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/hello-wayland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ stdenv.mkDerivation {
};

separateDebugInfo = true;

depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ imagemagick pkg-config wayland-scanner ];
buildInputs = [ wayland wayland-protocols ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/kde/krfb.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ mkDerivation, lib
, extra-cmake-modules, kdoctools
, extra-cmake-modules, kdoctools, wayland-scanner
, kconfig, kcoreaddons, kcrash, kdbusaddons, kdnssd, knotifications, kwallet
, kwidgetsaddons, kwindowsystem, kxmlgui, kwayland, kpipewire
, libvncserver, libXtst, libXdamage
Expand All @@ -14,7 +14,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2Plus fdl12Plus ];
maintainers = with lib.maintainers; [ jerith666 ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
nativeBuildInputs = [ extra-cmake-modules kdoctools wayland-scanner ];
buildInputs = [
libvncserver libXtst libXdamage
kconfig kcoreaddons kcrash kdbusaddons knotifications kwallet kwidgetsaddons
Expand Down
9 changes: 7 additions & 2 deletions pkgs/applications/misc/clight/clightd.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub
, dbus, cmake, pkg-config
, dbus, cmake, pkg-config, wayland-scanner
, glib, udev, polkit, libusb1, libjpeg, libmodule
, pcre, libXdmcp, util-linux, libpthreadstubs
, enableDdc ? true, ddcutil
Expand Down Expand Up @@ -40,13 +40,18 @@ stdenv.mkDerivation rec {
++ optional enableScreen "-DENABLE_SCREEN=1"
++ optional enableYoctolight "-DENABLE_YOCTOLIGHT=1";

depsBuildBuild = [
pkg-config
];

nativeBuildInputs = [
dbus
cmake
pkg-config
wayland-scanner
];

buildInputs = with lib; [
dbus
glib
udev
polkit
Expand Down
11 changes: 7 additions & 4 deletions pkgs/applications/misc/latte-dock/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{ mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff
, wayland, plasma-workspace, plasma-desktop }:
{ lib, mkDerivation, fetchFromGitLab
, cmake, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, kcrash
, knewstuff, wayland-scanner
, plasma-framework, plasma-wayland-protocols, plasma-workspace, plasma-desktop, qtwayland
, wayland, xorg
}:

mkDerivation rec {
pname = "latte-dock";
Expand All @@ -17,7 +20,7 @@ mkDerivation rec {
buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace plasma-desktop ];

nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
qtx11extras kcrash knewstuff ];
qtx11extras kcrash knewstuff wayland-scanner ];

patches = [
./0001-Disable-autostart.patch
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/misc/maliit-framework/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
, doxygen
, pkg-config
, wayland-protocols
, wayland-scanner
}:

mkDerivation rec {
Expand Down Expand Up @@ -62,6 +63,7 @@ mkDerivation rec {
doxygen
pkg-config
wayland-protocols
wayland-scanner
];

preConfigure = ''
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/misc/phoc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
, ninja
, pkg-config
, python3
, wayland-scanner
, wrapGAppsHook3
, libinput
, gobject-introspection
Expand Down Expand Up @@ -40,6 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja
pkg-config
python3
wayland-scanner
wrapGAppsHook3
];

Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/qt-video-wlr/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkg-config, meson, cmake, ninja, gst_all_1, wrapQtAppsHook, qtbase, qtmultimedia, layer-shell-qt }:
{ stdenv, lib, fetchFromGitHub, pkg-config, meson, cmake, ninja, gst_all_1, wrapQtAppsHook, qtbase, qtmultimedia, layer-shell-qt, wayland-scanner }:
let
gstreamerPath = with gst_all_1; lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [
gstreamer
Expand All @@ -24,6 +24,7 @@ in stdenv.mkDerivation rec {
cmake # only used for find layer-shell-qt
ninja
wrapQtAppsHook
wayland-scanner
];

buildInputs = [
Expand Down
10 changes: 8 additions & 2 deletions pkgs/applications/misc/river-tag-overlay/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{ lib, stdenv, fetchFromSourcehut, fetchpatch
, wayland, pixman, pkg-config, wayland-scanner
{ lib
, stdenv
, fetchFromSourcehut
, fetchpatch
, wayland
, pixman
, pkg-config
, wayland-scanner
}:

stdenv.mkDerivation rec {
Expand Down
4 changes: 3 additions & 1 deletion pkgs/applications/misc/rofi/wayland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, fetchFromGitHub
, rofi-unwrapped
, wayland-scanner
, pkg-config
, wayland-protocols
, wayland
}:
Expand All @@ -18,7 +19,8 @@ rofi-unwrapped.overrideAttrs (oldAttrs: rec {
hash = "sha256-pKxraG3fhBh53m+bLPzCigRr6dBcH/A9vbdf67CO2d8=";
};

nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ wayland-scanner ];
depsBuildBuild = oldAttrs.depsBuildBuild ++ [ pkg-config ];
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ wayland-protocols wayland-scanner ];
buildInputs = oldAttrs.buildInputs ++ [ wayland wayland-protocols ];

meta = with lib; {
Expand Down
7 changes: 6 additions & 1 deletion pkgs/applications/misc/tofi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ stdenv.mkDerivation rec {

depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson ninja pkg-config scdoc wayland-protocols wayland-scanner
meson
ninja
pkg-config
scdoc
wayland-protocols
wayland-scanner
];
buildInputs = [ freetype harfbuzz cairo pango wayland libxkbcommon ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/remote/freerdp/3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ stdenv.mkDerivation (finalAttrs: {
fuse3
systemd
wayland
wayland-scanner
] ++ lib.optionals stdenv.isDarwin [
AudioToolbox
AVFoundation
Expand All @@ -160,7 +161,6 @@ stdenv.mkDerivation (finalAttrs: {
"-Wno-dev"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DDOCBOOKXSL_DIR=${docbook-xsl-nons}/xml/xsl/docbook"
"-DWAYLAND_SCANNER=${buildPackages.wayland-scanner}/bin/wayland-scanner"
] ++ lib.mapAttrsToList (k: v: "-D${k}=${cmFlag v}") {
BUILD_TESTING = false; # false is recommended by upstream
WITH_CAIRO = (cairo != null);
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/networking/remote/freerdp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ stdenv.mkDerivation rec {
"-Wno-dev"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DDOCBOOKXSL_DIR=${docbook-xsl-nons}/xml/xsl/docbook"
"-DWAYLAND_SCANNER=${buildPackages.wayland-scanner}/bin/wayland-scanner"
]
++ lib.mapAttrsToList (k: v: "-D${k}=${cmFlag v}") {
BUILD_TESTING = false; # false is recommended by upstream
Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/terminal-emulators/kitty/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
, UserNotifications
, libcanberra
, libicns
, wayland-scanner
, libpng
, python3
, zlib
Expand Down Expand Up @@ -84,8 +85,12 @@ buildPythonApplication rec {
] ++ lib.optionals stdenv.isDarwin [
imagemagick
libicns # For the png2icns tool.
] ++ lib.optionals stdenv.isLinux [
wayland-scanner
];

depsBuildBuild = [ pkg-config ];

outputs = [ "out" "terminfo" "shell_integration" "kitten" ];

patches = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

, wayland
, wayland-protocols
, wayland-scanner

, pipewire
, pulseaudio
Expand Down Expand Up @@ -64,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
./0001-client-cmake-move-X11-config-directives-to-displayse.patch
];

nativeBuildInputs = [ cmake pkg-config ];
nativeBuildInputs = [ cmake pkg-config wayland-scanner ];

buildInputs = [ libX11 libGL freefont_ttf spice-protocol expat libbfd nettle fontconfig libffi ]
++ lib.optionals xorgSupport [ libxkbcommon libXi libXScrnSaver libXinerama libXcursor libXpresent libXext libXrandr libXdmcp ]
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/window-managers/cagebreak/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
, systemd
, wayland
, wayland-protocols
, wayland-scanner
, withXwayland ? true , xwayland
, wlroots
}:
Expand All @@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
scdoc
wayland
wayland-scanner
];

buildInputs = [
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/window-managers/owl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
, darwin
}:

assert wayland.withLibraries;

let
stdenv = clangStdenv;
in
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/window-managers/phosh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
, ninja
, pkg-config
, python3
, wayland-scanner
, wrapGAppsHook4
, libadwaita
, libhandy
Expand Down Expand Up @@ -50,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
ninja
pkg-config
python3
wayland-scanner
wrapGAppsHook4
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
, meson
, ninja
, pkg-config
, wayland-scanner
, wrapGAppsHook4
, desktop-file-utils
, feedbackd
Expand Down Expand Up @@ -34,6 +35,7 @@ stdenv.mkDerivation rec {
ninja
phosh
pkg-config
wayland-scanner
wrapGAppsHook4
];

Expand Down
2 changes: 2 additions & 0 deletions pkgs/by-name/ca/cardboard/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
, unzip
, wayland
, wayland-protocols
, wayland-scanner
, xcbutilerrors
, xcbutilimage
, xcbutilwm
Expand Down Expand Up @@ -79,6 +80,7 @@ stdenv.mkDerivation {
pandoc
pkg-config
unzip
wayland-scanner
];

buildInputs = [
Expand Down
6 changes: 4 additions & 2 deletions pkgs/by-name/ga/gamescope/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ stdenv
, buildPackages
, edid-decode
, fetchFromGitHub
, meson
Expand All @@ -12,6 +13,7 @@
, vulkan-headers
, wayland
, wayland-protocols
, wayland-scanner
, libxkbcommon
, glm
, gbenchmark
Expand All @@ -30,7 +32,6 @@
, lcms
, lib
, makeBinaryWrapper
, patchelfUnstable
, nix-update-script
, enableExecutable ? true
, enableWsi ? true
Expand Down Expand Up @@ -99,6 +100,7 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optionals enableExecutable [
makeBinaryWrapper
glslang
wayland-scanner
];

buildInputs = [
Expand Down Expand Up @@ -138,7 +140,7 @@ stdenv.mkDerivation (finalAttrs: {

postInstall = lib.optionalString enableExecutable ''
# using patchelf unstable because the stable version corrupts the binary
${lib.getExe patchelfUnstable} $out/bin/gamescope \
${lib.getExe buildPackages.patchelfUnstable} $out/bin/gamescope \
--add-rpath ${vulkan-loader}/lib --add-needed libvulkan.so.1

# --debug-layers flag expects these in the path
Expand Down
4 changes: 3 additions & 1 deletion pkgs/by-name/ri/river/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
, udev
, wayland
, wayland-protocols
, wayland-scanner
, wlroots_0_18
, xwayland
, zig_0_13
Expand All @@ -39,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [
pkg-config
wayland
wayland-scanner
xwayland
zig_0_13.hook
]
Expand All @@ -52,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
libxkbcommon
pixman
udev
wayland
wayland-protocols
wlroots_0_18
] ++ lib.optional xwaylandSupport libX11;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/vl/vlc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
, unzip
, wayland
, wayland-protocols
, wayland-scanner
, wrapGAppsHook3
, writeShellScript
, xcbutilkeysyms
Expand Down Expand Up @@ -120,8 +121,7 @@ stdenv.mkDerivation (finalAttrs: {
++ optionals chromecastSupport [ protobuf ]
++ optionals withQt5 [ libsForQt5.wrapQtAppsHook ]
++ optionals waylandSupport [
wayland
wayland-protocols
wayland-scanner
];

# VLC uses a *ton* of libraries for various pieces of functionality, many of
Expand Down
Loading