Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Srashti Mittal
purr-data
Commits
5edafcee
Commit
5edafcee
authored
3 years ago
by
Albert Gräf
Browse files
Options
Downloads
Plain Diff
Merge branch 'debuild-arm64-fixes' into release_2.17.0
parents
df1fc855
8a34e653
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debuild/Makefile
+6
-1
6 additions, 1 deletion
debuild/Makefile
debuild/debian/rules
+9
-3
9 additions, 3 deletions
debuild/debian/rules
with
15 additions
and
4 deletions
debuild/Makefile
+
6
−
1
View file @
5edafcee
...
@@ -48,7 +48,9 @@ nwjsver = 0.28.1
...
@@ -48,7 +48,9 @@ nwjsver = 0.28.1
nwjspkg
=
nwjs-sdk-v
$(
nwjsver
)
-linux
nwjspkg
=
nwjs-sdk-v
$(
nwjsver
)
-linux
nwjsver_arm
=
0.27.6
nwjsver_arm
=
0.27.6
nwjspkg_arm
=
nwjs-sdk-v
$(
nwjsver_arm
)
-linux
nwjspkg_arm
=
nwjs-sdk-v
$(
nwjsver_arm
)
-linux
nwjs
=
$(
nwjspkg
)
-ia32
.tar.gz
$(
nwjspkg
)
-x64
.tar.gz
$(
nwjspkg_arm
)
-arm
.tar.gz
nwjsver_arm64
=
0.23.7
nwjspkg_arm64
=
nwjs-sdk-without-nacl-v
$(
nwjsver_arm64
)
-linux
nwjs
=
$(
nwjspkg
)
-ia32
.tar.gz
$(
nwjspkg
)
-x64
.tar.gz
$(
nwjspkg_arm
)
-arm
.tar.gz
$(
nwjspkg_arm64
)
-arm64
.tar.gz
# Submodules (Gem, etc.). You can list them with 'make submodules'.
# Submodules (Gem, etc.). You can list them with 'make submodules'.
#submodules = Gem externals/miXed $(addprefix l2ork_addons/, cwiid fftease3.0-32bit lyonpotpourri rtcmix-in-pd)
#submodules = Gem externals/miXed $(addprefix l2ork_addons/, cwiid fftease3.0-32bit lyonpotpourri rtcmix-in-pd)
...
@@ -117,5 +119,8 @@ $(debsrc):
...
@@ -117,5 +119,8 @@ $(debsrc):
debian/nwjs/$(nwjspkg_arm)-arm.tar.gz
:
debian/nwjs/$(nwjspkg_arm)-arm.tar.gz
:
mkdir
-p
debian/nwjs
&&
cd
debian/nwjs
&&
wget https://github.com/LeonardLaszlo/nw.js-armv7-binaries/releases/download/v
$(
nwjsver_arm
)
/
$(
notdir
$@
)
mkdir
-p
debian/nwjs
&&
cd
debian/nwjs
&&
wget https://github.com/LeonardLaszlo/nw.js-armv7-binaries/releases/download/v
$(
nwjsver_arm
)
/
$(
notdir
$@
)
debian/nwjs/$(nwjspkg_arm64)-arm64.tar.gz
:
mkdir
-p
debian/nwjs
&&
cd
debian/nwjs
&&
wget https://github.com/LeonardLaszlo/nw.js-armv7-binaries/releases/download/v
$(
nwjsver_arm64
)
/
$(
notdir
$@
)
debian/nwjs/$(nwjspkg)-%.tar.gz
:
debian/nwjs/$(nwjspkg)-%.tar.gz
:
mkdir
-p
debian/nwjs
&&
cd
debian/nwjs
&&
wget http://dl.nwjs.io/v
$(
nwjsver
)
/
$(
notdir
$@
)
mkdir
-p
debian/nwjs
&&
cd
debian/nwjs
&&
wget http://dl.nwjs.io/v
$(
nwjsver
)
/
$(
notdir
$@
)
This diff is collapsed.
Click to expand it.
debuild/debian/rules
+
9
−
3
View file @
5edafcee
...
@@ -6,13 +6,15 @@
...
@@ -6,13 +6,15 @@
nwjsver
=
0.28.1
nwjsver
=
0.28.1
nwjspkg
=
nwjs-sdk-v
$(
nwjsver
)
-linux
nwjspkg
=
nwjs-sdk-v
$(
nwjsver
)
-linux
nwjsdir
=
nwjs-sdk-v
$(
nwjsver
)
-linux
ifeq
("$(shell dpkg-architecture -qDEB_HOST_ARCH)","armhf")
ifeq
("$(shell dpkg-architecture -qDEB_HOST_ARCH)","armhf")
arch
=
arm
arch
=
arm
nwjsver
=
0.27.6
nwjsver
=
0.27.6
else
ifeq
("$(shell dpkg-architecture -qDEB_HOST_ARCH)","arm64")
else
ifeq
("$(shell dpkg-architecture -qDEB_HOST_ARCH)","arm64")
arch
=
arm
arch
=
arm64
nwjsver
=
0.27.6
nwjsver
=
0.23.7
nwjspkg
=
nwjs-sdk-without-nacl-v
$(
nwjsver
)
-linux
else
ifeq
("$(shell dpkg-architecture -qDEB_HOST_ARCH)","amd64")
else
ifeq
("$(shell dpkg-architecture -qDEB_HOST_ARCH)","amd64")
arch
=
x64
arch
=
x64
else
else
...
@@ -41,7 +43,7 @@ override_dh_auto_test:
...
@@ -41,7 +43,7 @@ override_dh_auto_test:
override_dh_auto_build
:
override_dh_auto_build
:
# Copy the nw.js sources to where purr-data wants them.
# Copy the nw.js sources to where purr-data wants them.
@echo
"DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)"
@echo
"DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)"
tar
-xf
debian/nwjs/$(nwjspkg)-$(arch).tar.gz
&&
rm
-rf
pd/nw/nw
&&
mv
$(nwjs
pkg
)-$(arch)
pd/nw/nw
tar
-xf
debian/nwjs/$(nwjspkg)-$(arch).tar.gz
&&
rm
-rf
pd/nw/nw
&&
mv
$(nwjs
dir
)-$(arch)
pd/nw/nw
cd
l2ork_addons
&&
(
export
V
=
0
inst_dir
=
$(
prefix
);
./tar_em_up.sh
-Bn
)
cd
l2ork_addons
&&
(
export
V
=
0
inst_dir
=
$(
prefix
);
./tar_em_up.sh
-Bn
)
make
check
prefix
=
$(
prefix
)
make
check
prefix
=
$(
prefix
)
...
@@ -59,6 +61,10 @@ ifeq ($(arch),ia32)
...
@@ -59,6 +61,10 @@ ifeq ($(arch),ia32)
# This causes trouble in 32 bit builds (64 bit executable in the 32 bit nw.js distribution?), remove it.
# This causes trouble in 32 bit builds (64 bit executable in the 32 bit nw.js distribution?), remove it.
cd
debian/purr-data$(prefix)/lib/pd-l2ork
&&
rm
-rf
bin/nw/minidump_stackwalk
cd
debian/purr-data$(prefix)/lib/pd-l2ork
&&
rm
-rf
bin/nw/minidump_stackwalk
endif
endif
ifeq
($(arch),arm64)
# Same issue in arm64 builds.
cd
debian/purr-data$(prefix)/lib/pd-l2ork
&&
rm
-rf
bin/nw/minidump_stackwalk
endif
# Add the bash completion file again, and edit it accordingly.
# Add the bash completion file again, and edit it accordingly.
mkdir
-p
debian/purr-data/etc/bash_completion.d
mkdir
-p
debian/purr-data/etc/bash_completion.d
sed
-e
's/pd-l2ork/purr-data/g'
<
scripts/bash_completion/pd-l2ork
>
debian/purr-data/etc/bash_completion.d/purr-data
sed
-e
's/pd-l2ork/purr-data/g'
<
scripts/bash_completion/pd-l2ork
>
debian/purr-data/etc/bash_completion.d/purr-data
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment