summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:12:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:12:25 +0000
commitb73a80cfe9b9ba5ce6ce59d895530cbf7c7da389 (patch)
tree6f8b302b168a31b3b4c4ea2a8bc59a7f6735148d
parentAdding upstream version 21. (diff)
downloadisa-support-debian.tar.xz
isa-support-debian.zip
Adding debian version 21.debian/21debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/@LCNAME@-support.lintian-overrides.in2
-rw-r--r--debian/@LCNAME@-support.maintscript.in1
-rw-r--r--debian/@LCNAME@-support.preinst.in50
-rw-r--r--debian/@LCNAME@-support.templates.in7
-rw-r--r--debian/changelog184
-rw-r--r--debian/clean1
-rw-r--r--debian/control293
-rw-r--r--debian/control.d/control-base.in27
-rw-r--r--debian/control.d/control.in14
-rw-r--r--debian/copyright23
-rw-r--r--debian/isa-support.docs1
-rw-r--r--debian/isa-support.install1
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/de.po40
-rw-r--r--debian/po/es.po42
-rw-r--r--debian/po/fr.po39
-rw-r--r--debian/po/nl.po42
-rw-r--r--debian/po/pl.po40
-rw-r--r--debian/po/pt.po41
-rw-r--r--debian/po/pt_BR.po41
-rw-r--r--debian/po/ru.po43
-rw-r--r--debian/po/templates.pot38
-rw-r--r--debian/po/zh_CN.po41
-rwxr-xr-xdebian/rules29
-rw-r--r--debian/salsa-ci.yml8
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides5
-rw-r--r--debian/tests/control32
-rw-r--r--debian/tests/control.in3
-rw-r--r--debian/tests/test-@NAME@.in28
-rwxr-xr-xdebian/tests/test-SSE228
-rwxr-xr-xdebian/tests/test-SSE328
-rwxr-xr-xdebian/tests/test-SSE4.128
-rwxr-xr-xdebian/tests/test-SSE4.228
-rwxr-xr-xdebian/tests/test-amd64-baseline28
-rwxr-xr-xdebian/tests/test-i386-baseline28
-rwxr-xr-xdebian/tests/test-x86-64-v128
-rwxr-xr-xdebian/tests/test-x86-64-v228
38 files changed, 1342 insertions, 0 deletions
diff --git a/debian/@LCNAME@-support.lintian-overrides.in b/debian/@LCNAME@-support.lintian-overrides.in
new file mode 100644
index 0000000..e21ff76
--- /dev/null
+++ b/debian/@LCNAME@-support.lintian-overrides.in
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+@LCNAME@-support: missing-debconf-dependency-for-preinst
diff --git a/debian/@LCNAME@-support.maintscript.in b/debian/@LCNAME@-support.maintscript.in
new file mode 100644
index 0000000..0ddda4f
--- /dev/null
+++ b/debian/@LCNAME@-support.maintscript.in
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/@LCNAME@-support isa-support 8~
diff --git a/debian/@LCNAME@-support.preinst.in b/debian/@LCNAME@-support.preinst.in
new file mode 100644
index 0000000..ed1242c
--- /dev/null
+++ b/debian/@LCNAME@-support.preinst.in
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/@DEB_HOST_MULTIARCH@/isa-support/test-@NAME@"
+ # "exec >;command" instead of "command >" looks strange but regular
+ # redirections don't fully work within qemu-user.
+ ret=0;(exec >/dev/null 2>&1; "$FILE") || ret=$?
+ if [ $ret -ne 0 ] && [ -n "$IGNORE_ISA" ]; then
+ cat >&2 <<END
+This machine doesn't support @NAME@, but override (IGNORE_ISA) is enabled.
+Continuing...
+END
+ ret=0
+ fi
+
+ if [ $ret -eq 126 ]; then
+ cat >&2 <<END
+Couldn't execute test binary for @NAME@, you either do foreign multi-arch
+without qemu or do something strange. Assuming you know what you're doing.
+Continuing...
+END
+ ret=0
+ fi
+
+ if [ $ret -ne 0 ]; then
+ # Fail noisily, first via debconf (if installed).
+ if [ -e /usr/share/debconf/confmodule ]; then
+
+ . /usr/share/debconf/confmodule
+ db_version 2.0
+
+ db_fset @NAME@-support/fail seen false ||:
+ db_reset @NAME@-support/fail ||:
+ db_input critical @NAME@-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support @NAME@, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/@LCNAME@-support.templates.in b/debian/@LCNAME@-support.templates.in
new file mode 100644
index 0000000..9dfa13e
--- /dev/null
+++ b/debian/@LCNAME@-support.templates.in
@@ -0,0 +1,7 @@
+Template: @NAME@-support/fail
+Type: note
+_Description: Support for @NAME@ required
+ Alas, your machine doesn't support the @NAME@ instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..465056a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,184 @@
+isa-support (21) unstable; urgency=medium
+
+ * Fix a typo in qemu emulation for sse
+
+ -- Bastien Roucariès <rouca@debian.org> Sun, 26 Nov 2023 13:22:02 +0000
+
+isa-support (20) unstable; urgency=medium
+
+ * Work arround qemu bug #1041471.
+ * Remove Gioele Barabucci as uploader. Thanks Giole
+
+ -- Bastien Roucariès <rouca@debian.org> Fri, 28 Jul 2023 17:35:59 +0000
+
+isa-support (19) unstable; urgency=medium
+
+ * Upload to unstable
+ * Bug fix: "[INTL:es] Spanish translation of isa-support debconf
+ template", thanks to Camaleón (Closes: #1036375).
+
+ -- Bastien Roucariès <rouca@debian.org> Sun, 18 Jun 2023 16:05:40 +0000
+
+isa-support (18) experimental; urgency=medium
+
+ * Release with fix from Andreas Beckmann.
+
+ -- Bastien Roucariès <rouca@debian.org> Thu, 25 May 2023 19:53:50 +0000
+
+isa-support (17) experimental; urgency=medium
+
+ * Add ABI version on i386/amd64
+
+ -- Bastien Roucariès <rouca@debian.org> Mon, 27 Feb 2023 09:10:04 +0000
+
+isa-support (16) experimental; urgency=medium
+
+ * Run test suite using qemu-static
+
+ -- Bastien Roucariès <rouca@debian.org> Mon, 12 Sep 2022 12:57:11 +0000
+
+isa-support (15.1) unstable; urgency=high
+
+ * Fix .maintscript generation for /usr/share/doc/$PACKAGE -> isa-support
+ symlink conversion. (Closes: #1035766). Thanks to Andreas Beckmann.
+
+ -- Bastien Roucariès <rouca@debian.org> Thu, 25 May 2023 19:44:40 +0000
+
+isa-support (15) unstable; urgency=high
+
+ * Bug fix: "version 14 fails to install where version 13 installs fine
+ due to different binary capitalization: test-sse3 vs test-SSE3",
+ thanks to Axel Beckert (Closes: #1019556).
+ * Install qemu-bad-ISA/qemu-good-ISA in order to allow test
+
+ -- Bastien Roucariès <rouca@debian.org> Mon, 12 Sep 2022 10:53:47 +0000
+
+isa-support (14) unstable; urgency=medium
+
+ * Bug fix: "improving package descriptions", thanks to Daniel Baumann
+ (Closes: #919858).
+
+ -- Bastien Roucariès <rouca@debian.org> Sun, 11 Sep 2022 13:39:10 +0000
+
+isa-support (13) unstable; urgency=medium
+
+ * Upload to unstable
+
+ -- Bastien Roucariès <rouca@debian.org> Wed, 31 Aug 2022 19:33:51 +0000
+
+isa-support (12) experimental; urgency=medium
+
+ * Bug fix: "isa-support.deb description doesn't make sense", thanks
+ to Christoph Berg (Closes: #1018714).
+ * Bug fix: "Please build sse4.1-support", thanks to Michael
+ R. Crusoe (Closes: #959722).
+ * Introduce armv6k-support needed by nodejs
+
+ -- Bastien Roucariès <rouca@debian.org> Mon, 29 Aug 2022 17:01:50 +0000
+
+isa-support (11) unstable; urgency=medium
+
+ * asm statement should be volatile
+ * Upload to unstable
+
+ -- Bastien Roucariès <rouca@debian.org> Mon, 22 Aug 2022 12:56:19 +0000
+
+isa-support (10) experimental; urgency=medium
+
+ * Detect vfp, vfp2, vfp3 floating point on armel
+ * Detect arm version on armel (Closes: #994712).
+
+ -- Bastien Roucariès <rouca@debian.org> Sat, 20 Aug 2022 13:59:37 +0000
+
+isa-support (9) unstable; urgency=medium
+
+ * Upload to sid
+ * Allow isa-support package to be co-installable
+ * Replace bash by sh in preinst script by setting core file limit
+ in C source and catching SIGILL, SIGBUS, SIGSEGV
+
+ -- Bastien Roucariès <rouca@debian.org> Thu, 18 Aug 2022 09:54:18 +0000
+
+isa-support (8) experimental; urgency=medium
+
+ [ Gioele Barabucci ]
+ * d/preinst: Use base64 instead of uuencode+perl to encode test binaries
+ * d/control: Adopt package (Closes: #1014892)
+ * d/control: Bump Standards-Version to 4.6.1 (no changes needed)
+ * d/control: Update to debhelper compat 13
+ * d/control: Fix Vcs-Browser URL
+ * d/preinst: Use `||` and `&&` instead of non well defined `-o` and `-a`
+ * d/preinst: Use command substitutions instead of backticks
+ * build: Split into multiple scripts
+ * build: Delegate compilation to Makefile
+ * Materialize package files
+ * d/control: Add instruction set name to Description
+ * calculate-shlibdeps: Run only on archs supported by host machine
+ * d/po: Refresh po files (no changes in messages)
+ * d/control: Avoid repeated Priority field in binary package stanzas
+ * d/s/lintian-overrides: Drop package-depends-on-hardcoded-libc
+ * d/gitlab-ci: Add standard CI instructions
+
+ [ Bastien Roucariès ]
+ * Add myself as uploader
+ * run salsa-ci tests
+ * Run make only on test for DEB_HOST_ARCH
+ * Split package and do not use embdeded base64 ELF binaries in preinst
+ (Closes: 1017513)
+
+ -- Bastien Roucariès <rouca@debian.org> Wed, 17 Aug 2022 10:26:10 +0000
+
+isa-support (7) unstable; urgency=medium
+
+ * QA upload.
+ * Orphan the package.
+ * Work around dpkg-shlibdeps failing when in a clean git checkout.
+ Closes: #1014712
+
+ -- Adam Borowski <kilobyte@angband.pl> Wed, 13 Jul 2022 23:33:28 +0200
+
+isa-support (6) unstable; urgency=medium
+
+ [ Helmut Grohne ]
+ * Fix FTCBFS: Let dpkg's buildtools.mk supply a C compiler. (Closes: #982186)
+
+ -- Adam Borowski <kilobyte@angband.pl> Mon, 08 Feb 2021 02:12:50 +0100
+
+isa-support (5) unstable; urgency=medium
+
+ * Chinese (simplified) translation (Boyuan Yang).
+
+ -- Adam Borowski <kilobyte@angband.pl> Wed, 17 Jan 2018 01:05:58 +0100
+
+isa-support (4) unstable; urgency=medium
+
+ * French translation (Jean-Pierre Giraud). Closes: #875549
+ * Russian translation (Lev Lamberov). Closes: #883205
+ * Brazilian translation (Raimundo Corrêa). Closes: #887471
+ * Move the VCS to salsa.
+ * R³.
+
+ -- Adam Borowski <kilobyte@angband.pl> Wed, 17 Jan 2018 00:52:58 +0100
+
+isa-support (3) unstable; urgency=medium
+
+ * Make the build reproducible (Chris Lamb). Closes: #872453
+ * German translation (Chris Leick). Closes: #873378
+ * Dutch translation (Frans Spiesschaert). Closes: #874283
+
+ -- Adam Borowski <kilobyte@angband.pl> Mon, 04 Sep 2017 21:43:34 +0200
+
+isa-support (2) unstable; urgency=medium
+
+ * Move the VCS to collab-maint.
+ * Machinery for substituting variables in debconf translations.
+ * Portuguese translation (Rui Branco). Closes: #872176
+ * Polish translation (I forgot I know this language...).
+
+ -- Adam Borowski <kilobyte@angband.pl> Tue, 15 Aug 2017 16:04:48 +0200
+
+isa-support (1) unstable; urgency=medium
+
+ * Initial release (Closes: #823672)
+
+ -- Adam Borowski <kilobyte@angband.pl> Thu, 03 Aug 2017 23:42:42 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..ad394db
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian/po.tmp/
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..09c1e1a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,293 @@
+Source: isa-support
+Section: misc
+Priority: optional
+Maintainer: Bastien Roucariès <rouca@debian.org>
+Build-Depends: debhelper-compat (= 13), po-debconf
+Standards-Version: 4.6.1
+Rules-Requires-Root: no
+Vcs-Git: https://salsa.debian.org/debian/isa-support.git
+Vcs-Browser: https://salsa.debian.org/debian/isa-support
+
+Package: isa-support
+Multi-Arch: same
+Architecture: any-i386 any-i386 any-amd64 armel armel armhf armhf powerpc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CPU feature checking - common back-end
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This package provides the feature-probing infrastructure. To assert a CPU
+ requirement, other packages can pre-depend on one of the individual
+ feature-specific packages:
+ .
+ sse2-support, sse3-support, sse4.2-support, altivec-support, neon-support,
+ armv6-support, armv7-support, armv8-support, vfp-support, vfpv2-support,
+ vfpv3-support
+
+Package: sse2-support
+Multi-Arch: foreign
+Architecture: any-i386
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require SSE2
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for SSE2 and refuses to install
+ on unsupported hardware.
+ .
+ Streaming SIMD Extensions (SSE) is a single instruction, multiple data
+ (SIMD) instruction set extension.
+ .
+ SSE2 was an incremental upgrade to SSE intended to fully replace the earlier
+ MMX instruction set. It is available on processors from Pentium 4 onward,
+ including all 64-bit capable ones, but not on Pentium 3, Athlon XP, Via C3,
+ Quark, or older processors.
+
+Package: sse3-support
+Multi-Arch: foreign
+Architecture: any-i386 any-amd64
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require SSE3
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for SSE3 and refuses to install
+ on unsupported hardware.
+ .
+ Streaming SIMD Extensions (SSE) is a single instruction, multiple data
+ (SIMD) instruction set extension.
+ .
+ SSE3, also called PNI (Prescott New Instructions), is an incremental upgrade
+ to SSE2, adding a handful of new operations useful for processing media. It
+ is available on almost any 64-bit-capable processor except for some early
+ AMD models (Sledgehammer and Clawhammer), but is not available on most
+ 32-bit-only hardware.
+
+Package: sse4.1-support
+Multi-Arch: foreign
+Architecture: any-i386 any-amd64
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require SSE4.1
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for SSE4.1 and refuses to install
+ on unsupported hardware.
+ .
+ Streaming SIMD Extensions (SSE) is a single instruction, multiple data
+ (SIMD) instruction set extension.
+ .
+ SSE4.1 added a dot product instruction and additional integer instructions.
+ It is available on Intel processors since Penryn (circa 2008), but notably
+ not on anything AMD until the Bulldozer (15h, in 2011) and Jaguar (16h, in
+ 2013) families.
+
+Package: sse4.2-support
+Multi-Arch: foreign
+Architecture: any-i386 any-amd64
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require SSE4.2
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for SSE4.2 and refuses to install
+ on unsupported hardware.
+ .
+ SSE4.2 added string and text processing instructions that perform character
+ searches and comparison on two operands of 16 bytes at a time. It is
+ available on Intel processors since Nehalem (circa 2008), but notably not
+ on anything AMD until the Bulldozer (15h, in 2011) and Jaguar (16h, in
+ 2013) families.
+
+Package: altivec-support
+Multi-Arch: foreign
+Architecture: powerpc
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require altivec
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for altivec and refuses to install
+ on unsupported hardware.
+ .
+ AltiVec is a single-precision floating point and integer SIMD instruction
+ set. It is a standard part of the Power ISA v.2.03 specification.
+
+Package: neon-support
+Multi-Arch: foreign
+Architecture: armhf
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require neon
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for neon and refuses to install
+ on unsupported hardware.
+ .
+ This is a mostly dummy package which checks for Neon and refuses to install
+ on unsupported hardware.
+ .
+ Neon, also known as MPE (Media Processing Engine) or Advanced SIMD, is a
+ combined 64- and 128-bit SIMD instruction set that provides standardised
+ acceleration for media and signal processing applications. It is available
+ on the vast majority of armhf devices but not guaranteed before the 64-bit
+ capable ARMv8.
+
+Package: armv6-support
+Multi-Arch: foreign
+Architecture: armel
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require ARMv6
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for ARMv6 and refuses to install
+ on unsupported hardware.
+ .
+ The ARMv6 architecture (not to be confused with product family ARM6) uses
+ physically addressed cache, solving many cache aliasing problems and
+ reducing context switch overhead. Unaligned and mixed-endian data access is
+ supported. This architecture includes the first version of Thumb
+ technology.
+ .
+ This feature is not guaranteed by the architecture baseline, but is
+ available for newer armel machines in the ARM11 product family, including
+ ARM1136J(F)-S, ARM1156T2(F)-S, ARM1176JZ(F)-S, ARM1136EJ(F)-S, and
+ ARM11MPCore processors. Boards include the Raspberry Pi model 1 and
+ Raspberry Pi Zero.
+
+Package: armv6k-support
+Multi-Arch: foreign
+Architecture: armel
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require ARMv6K
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for ARMv6K and refuses to install
+ on unsupported hardware.
+ .
+ ARMv6k is a subarchitecture of ARMV6 adding Symmetric MultiProcessing
+ and Thread Local Storage instruction sets. It is not guaranteed by the
+ architecture baseline, but is available for newer armel machines in the
+ ARM11 product family; boards include the Raspberry Pi model 1 and
+ Raspberry Pi Zero.
+
+Package: armv7-support
+Multi-Arch: foreign
+Architecture: armel
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require ARMv7
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for ARMv7 and refuses to install
+ on unsupported hardware.
+ .
+ ARMv7 (not to be confused with product family ARM7) includes Thumb-2
+ technology, adding 32-bit instructions into compressed Thumb mode. It is
+ not guaranteed by the architecture baseline, but is available for newer
+ armel machines (including CPUs that support armhf) since the Cortex-A
+ product family, including Cortex-A5, -A7, -A8, -A9, -A12, -A15, and -A17
+ processors. Boards include the Raspberry Pi 2.
+
+Package: armv8-support
+Multi-Arch: foreign
+Architecture: armel armhf
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require ARMv8
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for ARMv8 and refuses to install
+ on unsupported hardware.
+ .
+ ARMv8 (not to be confused with product family ARM8) introduced a large
+ number of ISA enhancements. It is not guaranteed by the architecture
+ baseline, but is available for newer armel machines (including CPUs that
+ support armhf) since the Cortex-A product family, including Cortex-A32, as
+ well as all arm64 processors. Boards include the Raspberry Pi 3 and 4.
+
+Package: vfp-support
+Multi-Arch: foreign
+Architecture: armel
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require VFP
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for VFP and refuses to install
+ on unsupported hardware.
+ .
+ VFP (Vector Floating Point) technology is a floating-point unit (FPU)
+ coprocessor extension to the ARM architecture. It provides single- and
+ double-precision floating-point computation fully compliant with IEEE
+ 754-1985.
+
+Package: vfpv2-support
+Multi-Arch: foreign
+Architecture: armel
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require VFPv2
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for VFPv2 and refuses to install
+ on unsupported hardware.
+ .
+ VFP (Vector Floating Point) technology is a floating-point unit (FPU)
+ coprocessor extension to the ARM architecture. It provides single- and
+ double-precision floating-point computation fully compliant with IEEE
+ 754-1985.
+ .
+ VFPv2 has 16 64-bit FPU registers. It is available for some ARMv5 and
+ all ARMv6 cores.
+
+Package: vfpv3-support
+Multi-Arch: foreign
+Architecture: armel
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require VFPv3
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for VFPv3 and refuses to install
+ on unsupported hardware.
+ .
+ VFP (Vector Floating Point) technology is a floating-point unit (FPU)
+ coprocessor extension to the ARM architecture. It provides single- and
+ double-precision floating-point computation fully compliant with IEEE
+ 754-1985.
+ .
+ VFPv3 has 32 64-bit FPU registers as standard, adds VCVT instructions to
+ convert between scalar, float, and double, and adds immediate mode to VMOV,
+ allowing constants to be loaded into FPU registers. It is available on most
+ Cortex-A8 and -A9 ARMv7 processors.
diff --git a/debian/control.d/control-base.in b/debian/control.d/control-base.in
new file mode 100644
index 0000000..5f67ab2
--- /dev/null
+++ b/debian/control.d/control-base.in
@@ -0,0 +1,27 @@
+Source: isa-support
+Section: misc
+Priority: optional
+Maintainer: Bastien Roucariès <rouca@debian.org>
+Build-Depends: debhelper-compat (= 13), po-debconf
+Standards-Version: 4.6.1
+Rules-Requires-Root: no
+Vcs-Git: https://salsa.debian.org/debian/isa-support.git
+Vcs-Browser: https://salsa.debian.org/debian/isa-support
+
+Package: isa-support
+Multi-Arch: same
+Architecture: @ALL_ARCHITECTURES@
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: CPU feature checking - common back-end
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This package provides the feature-probing infrastructure. To assert a CPU
+ requirement, other packages can pre-depend on one of the individual
+ feature-specific packages:
+ .
+ sse2-support, sse3-support, sse4.2-support, altivec-support, neon-support,
+ armv6-support, armv7-support, armv8-support, vfp-support, vfpv2-support,
+ vfpv3-support
diff --git a/debian/control.d/control.in b/debian/control.d/control.in
new file mode 100644
index 0000000..d4a093e
--- /dev/null
+++ b/debian/control.d/control.in
@@ -0,0 +1,14 @@
+Package: @LCNAME@-support
+Multi-Arch: foreign
+Architecture: @ARCHITECTURE@
+Pre-Depends: isa-support (= ${binary:Version})
+Description: CPU feature checking - require @NAME@
+ The packages in the isa-support family probe for microprocessor Instruction
+ Set Architecture features such as SSE3. By refusing to install on machines
+ lacking a required feature, they allow ISA requirements to be handled in
+ terms of package dependencies.
+ .
+ This is a mostly dummy package which checks for @NAME@ and refuses to install
+ on unsupported hardware.
+ .
+ @DESCRIPTION@
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d147aa9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2016 Adam Borowski <kilobyte@angband.pl>
+ 2022 Bastien Roucariès <rouca@debian.org>
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ IN THE SOFTWARE.
diff --git a/debian/isa-support.docs b/debian/isa-support.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/isa-support.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/isa-support.install b/debian/isa-support.install
new file mode 100644
index 0000000..f5da26d
--- /dev/null
+++ b/debian/isa-support.install
@@ -0,0 +1 @@
+/usr/libexec
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..57e786e
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] @NAME@-support.templates.in
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644
index 0000000..ff26521
--- /dev/null
+++ b/debian/po/de.po
@@ -0,0 +1,40 @@
+# German debconf translation of the isa-support package.
+# Copyright (C) 2016 Adam Borowski <kilobyte@angband.pl>.
+# This file is distributed under the same license as the isa-support package.
+# Copyright of this file © 2017 Chris Leick <c.leick@vollbio.de>.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support 4.0.0\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2017-08-25 19:10+0100\n"
+"Last-Translator: Chris Leick <c.leick@vollbio.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "Unterstützung für @NAME@ erforderlich"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"Leider unterstützt Ihre Maschine nicht den Befehlssatz @NAME@. Er wird von "
+"Software benötigt, die von diesem Pseudopaket abhängt. Entschuldigung."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "Die Installation wird abgebrochen."
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 0000000..40acaa2
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,42 @@
+# Translation of isa-support debconf templates to Spanish
+# Copyright (C) 2023 Camaleón <noelamac@gmail.com>
+# This file is distributed under the same license as the isa-support package.
+#
+# Camaleón <noelamac@gmail.com>, 2023.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2023-05-12 16:41+0200\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.4.2\n"
+"Last-Translator: Camaleón <noelamac@gmail.com>\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Language: es\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "Se requiere compatibilidad con @NAME@"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"Lamentablemente, parece que su equipo no admite el conjunto de instrucciones "
+"@NAME@, necesario para el programa que depende de este paquete «dummy»."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "Abortando la instalación."
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 0000000..4739c8e
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,39 @@
+# Translation of isa-support debconf templates to French.
+# Copyright (C) 2017 Debian French l10n team <debian-l10n-french@lists.debian.org>
+# This file is distributed under the same license as the isa-support package.
+# Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>, 2017.
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2017-08-17 22:49+0200\n"
+"Last-Translator: Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"Language: fr_FR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.11\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "La prise en charge de @NAME@ est requise"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"Malheureusement, votre machine ne gère pas le jeu d'instructions @NAME@. Il "
+"est nécessaire au logiciel qui dépend de ce paquet factice."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "Installation interrompue."
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644
index 0000000..ee338da
--- /dev/null
+++ b/debian/po/nl.po
@@ -0,0 +1,42 @@
+# Dutch translation of isa-support debconf templates.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the isa-support package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support_1\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2017-08-10 21:18+0200\n"
+"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n"
+"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Gtranslator 2.91.7\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "Ondersteuning voor @NAME@ is vereist"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"Helaas ondersteunt uw machine de @NAME@ instructieset niet. Software die dit "
+"dummy-pakket als vereiste heeft, heeft die nodig. sorry."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "De installatie wordt afgebroken."
diff --git a/debian/po/pl.po b/debian/po/pl.po
new file mode 100644
index 0000000..81363cc
--- /dev/null
+++ b/debian/po/pl.po
@@ -0,0 +1,40 @@
+# Polish translation of isa-support's package debconf messages
+# Copyright (C) 2017 THE isa-support'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the isa-support package.
+# Adam Borowski <kilobyte@angband.pl>, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support 1\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2017-08-09 10:52+0100\n"
+"Last-Translator: Adam Borowski <kilobyte@angband.pl>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "Obsługa @NAME@ jest wymagana"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"Niestety, ten komputer nie obsługuje zestawu instrukcji @NAME@. Bez niego, "
+"programy zależące od tego pakietu nie będą działały. Przepraszamy."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "Instalacja anulowana."
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644
index 0000000..4ec8782
--- /dev/null
+++ b/debian/po/pt.po
@@ -0,0 +1,41 @@
+# Portuguese translation of isa-support's package debconf messages
+# Copyright (C) 2017 THE isa-support'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the isa-support package.
+# Rui Branco <ruipb@debianpt.org>, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support 1\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2017-08-09 10:52+0100\n"
+"Last-Translator: Rui Branco <ruipb@debianpt.org>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "Necessário suporte para @NAME@"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"Infelizmente a sua máquina não suporta o conjunto de instruções @NAME@. O "
+"mesmo é necessário para o software que depende deste pacote fictício. "
+"Lamentamos."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "A abortar a instalação."
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644
index 0000000..66d41ec
--- /dev/null
+++ b/debian/po/pt_BR.po
@@ -0,0 +1,41 @@
+# Debconf translations for isa-support.
+# Copyright (C) 2017 THE isa-support'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the isa-support package.
+# Raimundo Corrêa <rcsjunior1976@gmail.com>, 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support 3\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2017-12-13 09:00-0200\n"
+"Last-Translator: Raimundo Corrêa <rcsjunior1976@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
+"org>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "Suporte para @NAME@ necessário"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"Infelizmente, sua máquina não tem suporte para o conjunto de instruções "
+"@NAME@. Ele é necessário para os programas que dependem desse pacote "
+"fictício. Sinto muito."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "Cancelando a instalação."
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644
index 0000000..1519c4e
--- /dev/null
+++ b/debian/po/ru.po
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the isa-support package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2017-11-30 22:01+0500\n"
+"Last-Translator: Lev Lamberov <dogsleg@debian.org>\n"
+"Language-Team: \n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.0.4\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "Требуется поддержка @NAME@"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"К сожалению, ваша машина не поддерживает набор инструкций @NAME@. Этот набор "
+"инструкций требуется для работы ПО, которое зависит от данного пакета. "
+"Приносим свои извинения."
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "Прекращение установки."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..b8f1ee2
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,38 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the isa-support package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr ""
diff --git a/debian/po/zh_CN.po b/debian/po/zh_CN.po
new file mode 100644
index 0000000..2ecdd10
--- /dev/null
+++ b/debian/po/zh_CN.po
@@ -0,0 +1,41 @@
+# Simplified Chinese debconf translation of the isa-support package.
+# Copyright (C) 2017 Boyuan Yang <073plan@gmail.com>.
+# This file is distributed under the same license as the isa-support package.
+# Copyright of this file © 2017 Chris Leick <c.leick@vollbio.de>.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: isa-support 3\n"
+"Report-Msgid-Bugs-To: isa-support@packages.debian.org\n"
+"POT-Creation-Date: 2022-08-17 11:25+0000\n"
+"PO-Revision-Date: 2018-01-05 21:46+0800\n"
+"Last-Translator: Boyuan Yang <073plan@gmail.com>\n"
+"Language-Team: Chiense (Simplified) <debian-l10n-chinese@lists.debian.org>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Poedit 2.0.5\n"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Support for @NAME@ required"
+msgstr "需要对 @NAME@ 的支持"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid ""
+"Alas, your machine doesn't support the @NAME@ instruction set. It is needed "
+"by software that depends on this dummy package. Sorry."
+msgstr ""
+"哎呀,你的机器不支持 @NAME@ 指令集。依赖本包的软件需要这个指令的硬件支持才能"
+"正常工作。抱歉。"
+
+#. Type: note
+#. Description
+#: ../@NAME@-support.templates.in:1001
+msgid "Aborting installation."
+msgstr "中止安装。"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8a3b020
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+# output every command that modifies files on the build system.
+export DH_VERBOSE = 1
+include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/architecture.mk
+
+DPKG_EXPORT_BUILDFLAGS = 1
+DEB_BUILD_MAINT_OPTIONS ?= hardening=+all
+export DEB_BUILD_MAINT_OPTIONS
+include /usr/share/dpkg/buildflags.mk
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ make refresh
+
+execute_before_dh_installdebconf:
+ ./expand-translations debian/po.tmp
+
+override_dh_installdocs:
+ dh_installdocs --link-doc=isa-support
+
+override_dh_installdebconf:
+ dh_installdebconf -- --podir=debian/po.tmp
+
+#override_dh_dwz:
+# # workarround lintian bug
+# dh_dwz --no-dwz-multifile
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..725e657
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,8 @@
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+
+variables:
+ SALSA_CI_LINTIAN_FAIL_WARNING: "true"
+ SALSA_CI_LINTIAN_SUPPRESS_TAGS: "no-nmu-in-changelog,source-nmu-has-incorrect-version-number"
+ SALSA_CI_DISABLE_BLHC: "true"
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..1b044b2
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,5 @@
+# debhelper wants to add bogus Depends on debconf. Even if debconf's use
+# was unconditional, that'd be wrong as preinst needs Pre-Depends not Depends.
+# There's no risk of failing to grab a new dependency in the future as an
+# empty (save for preinst) package has no needs.
+isa-support source: debhelper-but-no-misc-depends
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..81d8b99
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,32 @@
+Tests: test-i386-baseline
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386
+
+Tests: test-SSE2
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386
+
+Tests: test-amd64-baseline
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386 any-amd64
+
+Tests: test-x86-64-v1
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386
+
+Tests: test-x86-64-v2
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386 any-amd64
+
+Tests: test-SSE3
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386 any-amd64
+
+Tests: test-SSE4.1
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386 any-amd64
+
+Tests: test-SSE4.2
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: any-i386 any-amd64
+
diff --git a/debian/tests/control.in b/debian/tests/control.in
new file mode 100644
index 0000000..4b951d0
--- /dev/null
+++ b/debian/tests/control.in
@@ -0,0 +1,3 @@
+Tests: test-@NAME@
+Depends: isa-support, qemu-user-static (>>1:7.2~), build-essential
+Architecture: @ARCHITECTURE@
diff --git a/debian/tests/test-@NAME@.in b/debian/tests/test-@NAME@.in
new file mode 100644
index 0000000..a359f7d
--- /dev/null
+++ b/debian/tests/test-@NAME@.in
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-@NAME@" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-@NAME@"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-@NAME@" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-@NAME@" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-SSE2 b/debian/tests/test-SSE2
new file mode 100755
index 0000000..1c73ab0
--- /dev/null
+++ b/debian/tests/test-SSE2
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-SSE2" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE2"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-SSE2" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE2" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-SSE3 b/debian/tests/test-SSE3
new file mode 100755
index 0000000..48f6079
--- /dev/null
+++ b/debian/tests/test-SSE3
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-SSE3" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE3"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-SSE3" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE3" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-SSE4.1 b/debian/tests/test-SSE4.1
new file mode 100755
index 0000000..217e72e
--- /dev/null
+++ b/debian/tests/test-SSE4.1
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-SSE4.1" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE4.1"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-SSE4.1" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE4.1" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-SSE4.2 b/debian/tests/test-SSE4.2
new file mode 100755
index 0000000..ce0d0fb
--- /dev/null
+++ b/debian/tests/test-SSE4.2
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-SSE4.2" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE4.2"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-SSE4.2" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-SSE4.2" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-amd64-baseline b/debian/tests/test-amd64-baseline
new file mode 100755
index 0000000..b54ca87
--- /dev/null
+++ b/debian/tests/test-amd64-baseline
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-amd64-baseline" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-amd64-baseline"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-amd64-baseline" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-amd64-baseline" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-i386-baseline b/debian/tests/test-i386-baseline
new file mode 100755
index 0000000..0c79ae1
--- /dev/null
+++ b/debian/tests/test-i386-baseline
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-i386-baseline" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-i386-baseline"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-i386-baseline" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-i386-baseline" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-x86-64-v1 b/debian/tests/test-x86-64-v1
new file mode 100755
index 0000000..a9e9082
--- /dev/null
+++ b/debian/tests/test-x86-64-v1
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-x86-64-v1" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-x86-64-v1"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-x86-64-v1" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-x86-64-v1" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"
diff --git a/debian/tests/test-x86-64-v2 b/debian/tests/test-x86-64-v2
new file mode 100755
index 0000000..5c0495c
--- /dev/null
+++ b/debian/tests/test-x86-64-v2
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+
+"/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-good-x86-64-v2" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-x86-64-v2"
+# trap signal to self
+trap "exit 0" ILL
+trap "exit 0" SEGV
+trap "exit 0" BUS
+
+
+sed_move_to_stderr() {
+ sed -e "/$1/w /dev/stderr" -e "/$1/d"
+}
+
+qemu_bad() {
+ "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/qemu-static-bad-x86-64-v2" "/usr/libexec/$DEB_HOST_MULTIARCH/isa-support/test-x86-64-v2" || true
+}
+
+exec 5>&1
+exec 3>&1
+error_qemu=$( ( ( (qemu_bad) 2>&1 >&3 3>&- ; echo $? >&4) | sed_move_to_stderr 'uncaught target signal' 2>&1 >&3 3>&- ) 4>&1 >&5)
+exec 3>&-
+exec 5>&-
+test "X$error_qemu" = "X0"