Merge pull request #259755 from wineee/wayfire

wayfire-with-plugins: 0.7.5 -> 0.8.0
This commit is contained in:
Weijia Wang 2023-10-17 09:56:00 +02:00 committed by GitHub
commit 4231696a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 10 deletions

View file

@ -10,6 +10,7 @@
, doctest , doctest
, libdrm , libdrm
, libexecinfo , libexecinfo
, libevdev
, libinput , libinput
, libjpeg , libjpeg
, libxkbcommon , libxkbcommon
@ -18,19 +19,20 @@
, wayland-scanner , wayland-scanner
, wlroots , wlroots
, pango , pango
, nlohmann_json
, xorg , xorg
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wayfire"; pname = "wayfire";
version = "0.7.5"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "WayfireWM"; owner = "WayfireWM";
repo = "wayfire"; repo = "wayfire";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-Z+rR9pY244I3i/++XZ4ROIkq3vtzMgcxxHvJNxFD9is="; hash = "sha256-YI8N1rY71b2ulv7tAdah7sibG4qq3kY0/hyS0cls5to=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -44,6 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
wf-config wf-config
libdrm libdrm
libexecinfo libexecinfo
libevdev
libinput libinput
libjpeg libjpeg
libxkbcommon libxkbcommon
@ -52,6 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
wayland wayland
cairo cairo
pango pango
nlohmann_json
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -1,6 +1,7 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, meson , meson
, ninja , ninja
, pkg-config , pkg-config
@ -8,22 +9,32 @@
, wf-config , wf-config
, gtkmm3 , gtkmm3
, gtk-layer-shell , gtk-layer-shell
, libevdev
, libinput
, libxkbcommon , libxkbcommon
, xcbutilwm , xcbutilwm
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wayfire-plugins-extra"; pname = "wayfire-plugins-extra";
version = "0.7.5"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "WayfireWM"; owner = "WayfireWM";
repo = "wayfire-plugins-extra"; repo = "wayfire-plugins-extra";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-hnsRwIrl0+pRKhRlrF/Wdlu6HkzLfYukGk4Hzx3wNeo="; hash = "sha256-OVyP1AgZ1d9DXFkbHnROwtSQIquEX5ccVIkcmCdDZtA=";
}; };
patches = [
(fetchpatch {
name = "check-dependency-libevdev.patch";
url = "https://github.com/WayfireWM/wayfire-plugins-extra/commit/f3bbf1fcbafd28016e36be7a5043bd82574ac9e4.patch";
hash = "sha256-8X1lpf8H8NuA845cIslahKDQKW/IA/KiMExU4Snk72o=";
})
];
postPatch = '' postPatch = ''
substituteInPlace metadata/meson.build \ substituteInPlace metadata/meson.build \
--replace "wayfire.get_variable(pkgconfig: 'metadatadir')" "join_paths(get_option('prefix'), 'share/wayfire/metadata')" --replace "wayfire.get_variable(pkgconfig: 'metadatadir')" "join_paths(get_option('prefix'), 'share/wayfire/metadata')"
@ -38,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ buildInputs = [
wayfire wayfire
wf-config wf-config
libevdev
libinput
libxkbcommon libxkbcommon
xcbutilwm xcbutilwm
gtkmm3 gtkmm3

View file

@ -12,20 +12,22 @@
, wayland-scanner , wayland-scanner
, wayland-protocols , wayland-protocols
, gtk3 , gtk3
, gtkmm3
, libevdev , libevdev
, libxml2 , libxml2
, libxkbcommon
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wcm"; pname = "wcm";
version = "0.7.5"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "WayfireWM"; owner = "WayfireWM";
repo = "wcm"; repo = "wcm";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-LJR9JGl49o4O6LARofz3jOeAqseGcmzVhMnhk/aobUU="; hash = "sha256-UwHJ4Wi83ATnA1CQKNSt8Qga7ooLnAY7QARz2FXvUIo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -43,8 +45,10 @@ stdenv.mkDerivation (finalAttrs: {
wayland wayland
wayland-protocols wayland-protocols
gtk3 gtk3
gtkmm3
libevdev libevdev
libxml2 libxml2
libxkbcommon
]; ];
mesonFlags = [ mesonFlags = [

View file

@ -13,13 +13,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wf-config"; pname = "wf-config";
version = "0.7.1"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "WayfireWM"; owner = "WayfireWM";
repo = "wf-config"; repo = "wf-config";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-ADUBvDJcPYEB9ZvaFIgTfemo1WYwiWgCWX/z2yrEPtA="; hash = "sha256-4QszCGlJqehnavTOdR2vZ95XuHKiNUIsA893sa9qph8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -11,18 +11,19 @@
, gtkmm3 , gtkmm3
, gtk-layer-shell , gtk-layer-shell
, pulseaudio , pulseaudio
, libdbusmenu-gtk3
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wf-shell"; pname = "wf-shell";
version = "0.7.0"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "WayfireWM"; owner = "WayfireWM";
repo = "wf-shell"; repo = "wf-shell";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-iQUBuNjbZuf51A69RC6NsMHFZCFRv+d9XZ0HtP6OpOA="; hash = "sha256-K5g9DfFlqZyPHDUswx3vtzh0D9ogOQ1p87ZrqyH35vs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
gtkmm3 gtkmm3
gtk-layer-shell gtk-layer-shell
pulseaudio pulseaudio
libdbusmenu-gtk3
]; ];
mesonFlags = [ "--sysconfdir /etc" ]; mesonFlags = [ "--sysconfdir /etc" ];