Skip to content

Commit

Permalink
deb: update rustup patch
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 20, 2025
1 parent 277ac2c commit de0d2a2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions packaging/deb/0001-deb-fix-build-by-using-rustup.patch
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
From e3a330329a194069e486156bca97f684b8c464fc Mon Sep 17 00:00:00 2001
From c74505955337aa4e88e12803e3c58e2cabd002ad Mon Sep 17 00:00:00 2001
From: R1kaB3rN <[email protected]>
Date: Sun, 19 Jan 2025 21:28:36 -0800
Date: Sun, 19 Jan 2025 21:35:30 -0800
Subject: [PATCH] deb: update rustup patch

---
Makefile.in | 12 +++++++++++-
Makefile.in | 13 ++++++++++++-
packaging/deb/debian/control | 1 +
2 files changed, 12 insertions(+), 1 deletion(-)
2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 2da3bb6b..f2d912b1 100644
index 2da3bb6b..7d349d5b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -3,6 +3,8 @@ PROJECT := umu-launcher
Expand All @@ -21,15 +21,16 @@ index 2da3bb6b..f2d912b1 100644
# If this is changed to umu (uppercase), `uninstall` target will also remove the SLR directory
INSTALLDIR ?= umu

@@ -109,6 +111,7 @@ umu-launcher-install: umu-launcher-dist-install umu-launcher-bin-install
@@ -109,6 +111,8 @@ umu-launcher-install: umu-launcher-dist-install umu-launcher-bin-install

$(OBJDIR)/.build-umu-vendored: | $(OBJDIR)
$(info :: Building vendored dependencies )
+ git config --global --add safe.directory /__w/umu-launcher/umu-launcher
+ git submodule update --init --recursive
cd subprojects/urllib3 && $(PYTHON_INTERPRETER) -m build -wn --outdir=$(OBJDIR)
sed -i 's/setuptools>=64,<74/setuptools/' subprojects/pyzstd/pyproject.toml
cd subprojects/pyzstd && $(PYTHON_INTERPRETER) -m build -wn -C=--build-option=--dynamic-link-zstd --outdir=$(OBJDIR)
@@ -182,10 +185,17 @@ zipapp-install: zipapp
@@ -182,10 +186,17 @@ zipapp-install: zipapp
@echo "Standalone application 'umu-run' created at '$(DESTDIR)$(PREFIX)/bin'"

PYTHON_PLATFORM_TAG = $(shell $(PYTHON_INTERPRETER) -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))')
Expand Down

0 comments on commit de0d2a2

Please sign in to comment.