Merge pull request #196410 from B4rc1/fix/ulauncher
fixes https://github.com/NixOS/nixpkgs/issues/119350
This commit is contained in:
commit
8fb58087ad
@ -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"
|
||||
)
|
||||
'';
|
||||
|
||||
|
@ -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) + '/'
|
||||
|
Loading…
Reference in New Issue
Block a user