Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
nodejs (18.13.0+dfsg1-1deepin2) unstable; urgency=medium

* add loong64 support
* use gcc-13

-- Chang Yang <[email protected]> Tue, 09 Dev 2023 11:31:02 +0800

nodejs (18.13.0+dfsg1-1deepin1) unstable; urgency=medium

* Fix FTBFS with openssl 3.0.12.
Expand Down
8 changes: 4 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Maintainer: Debian Javascript Maintainers <[email protected]
Uploaders: Jérémy Lal <[email protected]>,
Jonas Smedegaard <[email protected]>
Build-Depends:
gcc-11, g++-11,
gcc-13, g++-13,
sse2-support [i386] <!nocheck>,
armv6k-support [armel] <!nocheck>, vfpv2-support [armel] <!nocheck>,
debhelper-compat (= 13),
Expand Down Expand Up @@ -52,7 +52,7 @@ Rules-Requires-Root: no

Package: libnode-dev
Section: libdevel
Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel powerpc ppc64 ppc64el riscv64 s390x
Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 loong64 mips mips64el mips64r6el mipsel powerpc ppc64 ppc64el riscv64 s390x
Depends: ${misc:Depends},
libssl-dev (>= 1.1.1~),
libuv1-dev (>= 1.33.0~),
Expand All @@ -72,7 +72,7 @@ Description: evented I/O for V8 javascript (development files)
This package provides development headers for libnode108

Package: nodejs
Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel powerpc ppc64 ppc64el riscv64 s390x
Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 loong64 mips mips64el mips64r6el mipsel powerpc ppc64 ppc64el riscv64 s390x
Multi-Arch: allowed
Depends:
${shlibs:Depends},
Expand Down Expand Up @@ -108,7 +108,7 @@ Description: evented I/O for V8 javascript - runtime executable

Package: libnode108
Section: libs
Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel powerpc ppc64 ppc64el riscv64 s390x
Architecture: amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 loong64 mips mips64el mips64r6el mipsel powerpc ppc64 ppc64el riscv64 s390x
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
Expand Down
7 changes: 4 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/buildtools.mk

export CC = gcc-11
export CXX = g++-11
export CC = gcc-13
export CXX = g++-13

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

Expand All @@ -15,7 +15,7 @@ builtins := /usr/share/nodejs/node
ABI = $(shell awk '/^#define NODE_MODULE_VERSION/ {print $$3}' src/node_version.h)

# archs
ARCHS := amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 mips mips64el mips64r6el mipsel ppc64 ppc64el riscv64 s390x
ARCHS := amd64 arm64 armel armhf i386 kfreebsd-i386 kfreebsd-amd64 loong64 mips mips64el mips64r6el mipsel ppc64 ppc64el riscv64 s390x

# branch
BRANCH := $(word 1, $(subst .,$(space), $(DEB_UPSTREAM_VERSION)))
Expand Down Expand Up @@ -61,6 +61,7 @@ destCpu := $(or $(destCpu),$(if $(filter kfreebsd-amd64,$(DEB_HOST_ARCH)),x64))
destCpu := $(or $(destCpu),$(if $(filter armel,$(DEB_HOST_ARCH)),arm))
destCpu := $(or $(destCpu),$(if $(filter armhf,$(DEB_HOST_ARCH)),arm))
destCpu := $(or $(destCpu),$(if $(filter aarch64,$(DEB_HOST_ARCH)),arm64))
destCpu := $(or $(destCpu),$(if $(filter loong64,$(DEB_HOST_ARCH)),loong64))
destCpu := $(or $(destCpu),$(if $(filter mipsel,$(DEB_HOST_ARCH)),mipsel))
destCpu := $(or $(destCpu),$(if $(filter mips64el,$(DEB_HOST_ARCH)),mips64el))
destCpu := $(or $(destCpu),$(if $(filter mips64r6el,$(DEB_HOST_ARCH)),mips64el))
Expand Down