From 2a212e1dfd8dbe8a74801c4fe8e527692bbddb39 Mon Sep 17 00:00:00 2001 From: B4rc1 <0b4rc1@mailbox.org> Date: Mon, 17 Oct 2022 11:57:10 +0000 Subject: [PATCH] ulauncher: 5.12.1 -> 5.15.0 --- pkgs/applications/misc/ulauncher/default.nix | 9 +++++---- pkgs/applications/misc/ulauncher/fix-path.patch | 11 +++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/misc/ulauncher/default.nix b/pkgs/applications/misc/ulauncher/default.nix index 5890ec59acfc..c4b838beed99 100644 --- a/pkgs/applications/misc/ulauncher/default.nix +++ b/pkgs/applications/misc/ulauncher/default.nix @@ -16,15 +16,16 @@ , wmctrl , xvfb-run , librsvg +, libX11 }: python3Packages.buildPythonApplication rec { pname = "ulauncher"; - version = "5.12.1"; + version = "5.15.0"; src = fetchurl { url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz"; - sha256 = "sha256-Fd3IOCEeXGV8zGd/8SzrWRsSsZRVePnsDaX8WrBrCOQ="; + sha256 = "sha256-1Qo6ffMtVRtZDPCHvHEl7T0dPdDUxP4TP2hkSVSdQpo"; }; nativeBuildInputs = with python3Packages; [ @@ -36,7 +37,6 @@ python3Packages.buildPythonApplication rec { ]; buildInputs = [ - gdk-pixbuf glib gnome.adwaita-icon-theme gtk3 @@ -71,7 +71,6 @@ python3Packages.buildPythonApplication rec { patches = [ ./fix-path.patch - ./0001-Adjust-get_data_path-for-NixOS.patch ./fix-extensions.patch ]; @@ -108,6 +107,8 @@ python3Packages.buildPythonApplication rec { makeWrapperArgs+=( "''${gappsWrapperArgs[@]}" --prefix PATH : "${lib.makeBinPath [ wmctrl ]}" + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libX11 ]}" + --prefix WEBKIT_DISABLE_COMPOSITING_MODE : "1" ) ''; diff --git a/pkgs/applications/misc/ulauncher/fix-path.patch b/pkgs/applications/misc/ulauncher/fix-path.patch index 2936df65194e..bb5b8e38d331 100644 --- a/pkgs/applications/misc/ulauncher/fix-path.patch +++ b/pkgs/applications/misc/ulauncher/fix-path.patch @@ -2,12 +2,11 @@ diff --git a/setup.py b/setup.py index 3616104..e9bbfda 100755 --- a/setup.py +++ b/setup.py -@@ -112,7 +112,7 @@ class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto): - DistUtilsExtra.auto.install_auto.run(self) - - target_data = '/' + os.path.relpath(self.install_data, self.root) + '/' +@@ -94,7 +94,7 @@ + # Root is undefined if not installing into an alternate root + root = self.root or "/" + target_data = '/' + os.path.relpath(self.install_data, root) + '/' - target_pkgdata = target_data + 'share/ulauncher/' + target_pkgdata = '@out@/share/ulauncher/' target_scripts = '/' + os.path.relpath(self.install_scripts, - self.root) + '/' - + root) + '/'