mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
deepin.deepin-wm: remove
Upstream has deprecated this package. And it's currently broken.
This commit is contained in:
parent
9addfc003f
commit
05ebf348bc
@ -1,75 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, intltool, libtool, vala, gnome3,
|
||||
dbus, bamf, clutter-gtk, pantheon, libgee, libcanberra-gtk3,
|
||||
libwnck3, deepin-menu, deepin-mutter, deepin-wallpapers,
|
||||
deepin-desktop-schemas, wrapGAppsHook, deepin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deepin-wm";
|
||||
version = "1.9.38";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1qhdnv4x78f0gkr94q0j8x029fk9ji4m9jdipgrdm83pnahib80g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
intltool
|
||||
libtool
|
||||
vala
|
||||
gnome3.gnome-common
|
||||
wrapGAppsHook
|
||||
deepin.setupHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bamf
|
||||
clutter-gtk
|
||||
dbus
|
||||
deepin-desktop-schemas
|
||||
deepin-menu
|
||||
deepin-mutter
|
||||
deepin-wallpapers
|
||||
gnome3.gnome-desktop
|
||||
libcanberra-gtk3
|
||||
libgee
|
||||
libwnck3
|
||||
pantheon.granite
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
searchHardCodedPaths # debugging
|
||||
|
||||
# fix background path
|
||||
fixPath ${deepin-wallpapers} /usr/share/backgrounds src/Background/BackgroundSource.vala
|
||||
sed -i 's|default_background.jpg|deepin/desktop.jpg|' src/Background/BackgroundSource.vala
|
||||
|
||||
# fix executable paths in desktop files
|
||||
sed -i -e "s,Exec=dbus-send,Exec=${dbus}/bin/dbus-send," data/gala-multitaskingview.desktop.in
|
||||
sed -i -e "s,Exec=deepin-wm,Exec=$out/bin/deepin-wm," data/gala.desktop
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-DWNCK_I_KNOW_THIS_IS_UNSTABLE";
|
||||
|
||||
preConfigure = ''
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
searchHardCodedPaths $out # debugging
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Deepin Window Manager";
|
||||
homepage = https://github.com/linuxdeepin/deepin-wm;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
}
|
@ -38,9 +38,6 @@ let
|
||||
};
|
||||
deepin-turbo = callPackage ./deepin-turbo { };
|
||||
deepin-wallpapers = callPackage ./deepin-wallpapers { };
|
||||
deepin-wm = callPackage ./deepin-wm {
|
||||
vala = pkgs.vala_0_40;
|
||||
};
|
||||
dpa-ext-gnomekeyring = callPackage ./dpa-ext-gnomekeyring { };
|
||||
dtkcore = callPackage ./dtkcore { };
|
||||
dtkwidget = callPackage ./dtkwidget { };
|
||||
|
Loading…
Reference in New Issue
Block a user