Loading pkgs/data/misc/fedora-backgrounds/default.nix +9 −0 Original line number Diff line number Diff line Loading @@ -31,4 +31,13 @@ in { patches = [ ./f34-fix-xfce-path.patch ]; }; f35 = fedoraBackground rec { version = "35.0.1"; src = fetchurl { url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz"; hash = "sha256-7t78sQ0BIkzgJ+phO55Bomyz02d8Vx1LAtSkjX8ppgE="; }; # Fix broken symlinks in the Xfce background directory. patches = [ ./f35-fix-xfce-path.patch ]; }; } pkgs/data/misc/fedora-backgrounds/f35-fix-xfce-path.patch 0 → 100644 +26 −0 Original line number Diff line number Diff line diff --git a/default/Makefile b/default/Makefile index 2041ce2..f31a0f2 100644 --- a/default/Makefile +++ b/default/Makefile @@ -1,7 +1,7 @@ WP_NAME=f35 WP_BIGNAME=F35 WP_DIR=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME) -WP_DIR_LN=/usr/share/backgrounds/$(WP_NAME) +WP_DIR_LN=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME) GNOME_BG_DIR=$(DESTDIR)/usr/share/gnome-background-properties KDE_BG_DIR=$(DESTDIR)/usr/share/wallpapers MATE_BG_DIR=$(DESTDIR)/usr/share/mate-background-properties diff --git a/extras/Makefile b/extras/Makefile index 95e92e4..4d43a22 100644 --- a/extras/Makefile +++ b/extras/Makefile @@ -45,7 +45,7 @@ install: $(LN_S) ../../../../backgrounds/f35/extras/$${theme}.png \ $(KDE_BG_DIR)/F35_$${theme}/contents/images/$${res}.png ; \ done; \ - $(LN_S) ../backgrounds/f35/extras/$${theme}.png \ + $(LN_S) ../../backgrounds/f35/extras/$${theme}.png \ $(XFCE_BG_DIR)/f35-$${theme}.png ;\ done; Loading
pkgs/data/misc/fedora-backgrounds/default.nix +9 −0 Original line number Diff line number Diff line Loading @@ -31,4 +31,13 @@ in { patches = [ ./f34-fix-xfce-path.patch ]; }; f35 = fedoraBackground rec { version = "35.0.1"; src = fetchurl { url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz"; hash = "sha256-7t78sQ0BIkzgJ+phO55Bomyz02d8Vx1LAtSkjX8ppgE="; }; # Fix broken symlinks in the Xfce background directory. patches = [ ./f35-fix-xfce-path.patch ]; }; }
pkgs/data/misc/fedora-backgrounds/f35-fix-xfce-path.patch 0 → 100644 +26 −0 Original line number Diff line number Diff line diff --git a/default/Makefile b/default/Makefile index 2041ce2..f31a0f2 100644 --- a/default/Makefile +++ b/default/Makefile @@ -1,7 +1,7 @@ WP_NAME=f35 WP_BIGNAME=F35 WP_DIR=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME) -WP_DIR_LN=/usr/share/backgrounds/$(WP_NAME) +WP_DIR_LN=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME) GNOME_BG_DIR=$(DESTDIR)/usr/share/gnome-background-properties KDE_BG_DIR=$(DESTDIR)/usr/share/wallpapers MATE_BG_DIR=$(DESTDIR)/usr/share/mate-background-properties diff --git a/extras/Makefile b/extras/Makefile index 95e92e4..4d43a22 100644 --- a/extras/Makefile +++ b/extras/Makefile @@ -45,7 +45,7 @@ install: $(LN_S) ../../../../backgrounds/f35/extras/$${theme}.png \ $(KDE_BG_DIR)/F35_$${theme}/contents/images/$${res}.png ; \ done; \ - $(LN_S) ../backgrounds/f35/extras/$${theme}.png \ + $(LN_S) ../../backgrounds/f35/extras/$${theme}.png \ $(XFCE_BG_DIR)/f35-$${theme}.png ;\ done;