about summary refs log tree commit diff
path: root/pkgs/desktops/deepin
diff options
context:
space:
mode:
authorrewine <luhongxu@deepin.org>2023-11-23 13:31:37 +0800
committerrewine <luhongxu@deepin.org>2023-11-23 13:31:37 +0800
commitfe5d1fb7065a7a88560b7b333db10b05ec3205cf (patch)
tree6f2bd9cf80fb601d6e87f491c0aa12271a1ed7db /pkgs/desktops/deepin
parent3a056b3ff98d8c2826ec674ec4c81d8ddaa61b4c (diff)
downloadnixlib-fe5d1fb7065a7a88560b7b333db10b05ec3205cf.tar
nixlib-fe5d1fb7065a7a88560b7b333db10b05ec3205cf.tar.gz
nixlib-fe5d1fb7065a7a88560b7b333db10b05ec3205cf.tar.bz2
nixlib-fe5d1fb7065a7a88560b7b333db10b05ec3205cf.tar.lz
nixlib-fe5d1fb7065a7a88560b7b333db10b05ec3205cf.tar.xz
nixlib-fe5d1fb7065a7a88560b7b333db10b05ec3205cf.tar.zst
nixlib-fe5d1fb7065a7a88560b7b333db10b05ec3205cf.zip
dde-launcher: remove
Diffstat (limited to 'pkgs/desktops/deepin')
-rw-r--r--pkgs/desktops/deepin/core/dde-launcher/default.nix76
-rw-r--r--pkgs/desktops/deepin/default.nix2
2 files changed, 1 insertions, 77 deletions
diff --git a/pkgs/desktops/deepin/core/dde-launcher/default.nix b/pkgs/desktops/deepin/core/dde-launcher/default.nix
deleted file mode 100644
index 7d850c544d53..000000000000
--- a/pkgs/desktops/deepin/core/dde-launcher/default.nix
+++ /dev/null
@@ -1,76 +0,0 @@
-{ stdenv
-, lib
-, fetchFromGitHub
-, dtkwidget
-, dde-qt-dbus-factory
-, qt5integration
-, qt5platform-plugins
-, cmake
-, qttools
-, qtx11extras
-, pkg-config
-, wrapQtAppsHook
-, wrapGAppsHook
-, gsettings-qt
-, gtest
-, qtbase
-}:
-
-stdenv.mkDerivation rec {
-  pname = "dde-launcher";
-  version = "5.6.1";
-
-  src = fetchFromGitHub {
-    owner = "linuxdeepin";
-    repo = pname;
-    rev = version;
-    sha256 = "sha256-Td8R91892tgJx7FLV2IZ/aPBzDb+o6EYKpk3D8On7Ag=";
-  };
-
-  postPatch = ''
-    #fix build with new dtk(https://github.com/linuxdeepin/dde-launcher/pull/369)
-    substituteInPlace src/windowedframe.h \
-      --replace "#include <dregionmonitor.h>" " "
-    substituteInPlace src/boxframe/{backgroundmanager.cpp,boxframe.cpp} \
-      --replace "/usr/share/backgrounds" "/run/current-system/sw/share/backgrounds"
-    substituteInPlace dde-launcher.desktop dde-launcher-wapper src/dbusservices/com.deepin.dde.Launcher.service \
-      --replace "/usr" "$out"
-  '';
-
-  nativeBuildInputs = [
-    cmake
-    qttools
-    pkg-config
-    wrapQtAppsHook
-    wrapGAppsHook
-  ];
-  dontWrapGApps = true;
-
-  buildInputs = [
-    dtkwidget
-    qt5platform-plugins
-    dde-qt-dbus-factory
-    qtx11extras
-    gsettings-qt
-    gtest
-  ];
-
-  cmakeFlags = [ "-DVERSION=${version}" ];
-
-  # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
-  qtWrapperArgs = [
-    "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
-  ];
-
-  preFixup = ''
-    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
-  '';
-
-  meta = with lib; {
-    description = "Deepin desktop-environment - Launcher module";
-    homepage = "https://github.com/linuxdeepin/dde-launcher";
-    license = licenses.gpl3Plus;
-    platforms = platforms.linux;
-    maintainers = teams.deepin.members;
-  };
-}
diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix
index 4c0e9b93d8c2..0361a13142cb 100644
--- a/pkgs/desktops/deepin/default.nix
+++ b/pkgs/desktops/deepin/default.nix
@@ -34,7 +34,6 @@ let
     dde-clipboard = callPackage ./core/dde-clipboard { };
     dde-dock = callPackage ./core/dde-dock { };
     dde-file-manager = callPackage ./core/dde-file-manager { };
-    dde-launcher = callPackage ./core/dde-launcher { };
     dde-launchpad = callPackage ./core/dde-launchpad { };
     dde-network-core = callPackage ./core/dde-network-core { };
     dde-session = callPackage ./core/dde-session { };
@@ -93,6 +92,7 @@ let
     deepin-turbo = callPackage ./misc/deepin-turbo { };
   } // lib.optionalAttrs config.allowAliases {
     dde-kwin = throw "The 'deepin.dde-kwin' package was removed as it is outdated and no longer relevant."; # added 2023-09-27
+    dde-launcher = throw "The 'deepin.dde-launcher' is no longer maintained. Please use 'deepin.dde-launchpad' instead."; # added 2023-11-23
   };
 in
 lib.makeScope libsForQt5.newScope packages