summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:36:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:36:24 +0000
commit6c1c3157a2298129cfc0573a00c551b82c0250d8 (patch)
tree6f3b4b0a342b940c074d73e39ed671fd8e3001db
parentAdding upstream version 15.1. (diff)
downloadisa-support-debian.tar.xz
isa-support-debian.zip
Adding debian version 15.1.debian/15.1debian
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/altivec-support.lintian-overrides2
-rw-r--r--debian/altivec-support.maintscript1
-rw-r--r--debian/altivec-support.preinst50
-rw-r--r--debian/altivec-support.templates7
-rw-r--r--debian/armv6-support.lintian-overrides2
-rw-r--r--debian/armv6-support.maintscript1
-rw-r--r--debian/armv6-support.preinst50
-rw-r--r--debian/armv6-support.templates7
-rw-r--r--debian/armv6k-support.lintian-overrides2
-rw-r--r--debian/armv6k-support.maintscript1
-rw-r--r--debian/armv6k-support.preinst50
-rw-r--r--debian/armv6k-support.templates7
-rw-r--r--debian/armv7-support.lintian-overrides2
-rw-r--r--debian/armv7-support.maintscript1
-rw-r--r--debian/armv7-support.preinst50
-rw-r--r--debian/armv7-support.templates7
-rw-r--r--debian/armv8-support.lintian-overrides2
-rw-r--r--debian/armv8-support.maintscript1
-rw-r--r--debian/armv8-support.preinst50
-rw-r--r--debian/armv8-support.templates7
-rw-r--r--debian/changelog145
-rw-r--r--debian/clean1
-rw-r--r--debian/control294
-rw-r--r--debian/control.d/control-base.in28
-rw-r--r--debian/control.d/control.in14
-rw-r--r--debian/copyright22
-rw-r--r--debian/isa-support.docs1
-rw-r--r--debian/isa-support.install1
-rw-r--r--debian/neon-support.lintian-overrides2
-rw-r--r--debian/neon-support.maintscript1
-rw-r--r--debian/neon-support.preinst50
-rw-r--r--debian/neon-support.templates7
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/de.po40
-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/sse2-support.lintian-overrides2
-rw-r--r--debian/sse2-support.maintscript1
-rw-r--r--debian/sse2-support.preinst50
-rw-r--r--debian/sse2-support.templates7
-rw-r--r--debian/sse3-support.lintian-overrides2
-rw-r--r--debian/sse3-support.maintscript1
-rw-r--r--debian/sse3-support.preinst50
-rw-r--r--debian/sse3-support.templates7
-rw-r--r--debian/sse4.1-support.lintian-overrides2
-rw-r--r--debian/sse4.1-support.maintscript1
-rw-r--r--debian/sse4.1-support.preinst50
-rw-r--r--debian/sse4.1-support.templates7
-rw-r--r--debian/sse4.2-support.lintian-overrides2
-rw-r--r--debian/sse4.2-support.maintscript1
-rw-r--r--debian/sse4.2-support.preinst50
-rw-r--r--debian/sse4.2-support.templates7
-rw-r--r--debian/tests/test-@NAME@.in9
-rw-r--r--debian/vfp-support.lintian-overrides2
-rw-r--r--debian/vfp-support.maintscript1
-rw-r--r--debian/vfp-support.preinst50
-rw-r--r--debian/vfp-support.templates7
-rw-r--r--debian/vfpv2-support.lintian-overrides2
-rw-r--r--debian/vfpv2-support.maintscript1
-rw-r--r--debian/vfpv2-support.preinst50
-rw-r--r--debian/vfpv2-support.templates7
-rw-r--r--debian/vfpv3-support.lintian-overrides2
-rw-r--r--debian/vfpv3-support.maintscript1
-rw-r--r--debian/vfpv3-support.preinst50
-rw-r--r--debian/vfpv3-support.templates7
79 files changed, 1764 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..40503e9
--- /dev/null
+++ b/debian/@LCNAME@-support.maintscript.in
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/@LCNAME@-support isa-support 15.1~
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/altivec-support.lintian-overrides b/debian/altivec-support.lintian-overrides
new file mode 100644
index 0000000..b39af96
--- /dev/null
+++ b/debian/altivec-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+altivec-support: missing-debconf-dependency-for-preinst
diff --git a/debian/altivec-support.maintscript b/debian/altivec-support.maintscript
new file mode 100644
index 0000000..b9428eb
--- /dev/null
+++ b/debian/altivec-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/altivec-support isa-support 15.1~
diff --git a/debian/altivec-support.preinst b/debian/altivec-support.preinst
new file mode 100644
index 0000000..074005b
--- /dev/null
+++ b/debian/altivec-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-altivec"
+ # "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 altivec, 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 altivec, 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 altivec-support/fail seen false ||:
+ db_reset altivec-support/fail ||:
+ db_input critical altivec-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support altivec, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/altivec-support.templates b/debian/altivec-support.templates
new file mode 100644
index 0000000..ea7c31b
--- /dev/null
+++ b/debian/altivec-support.templates
@@ -0,0 +1,7 @@
+Template: altivec-support/fail
+Type: note
+_Description: Support for altivec required
+ Alas, your machine doesn't support the altivec instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/armv6-support.lintian-overrides b/debian/armv6-support.lintian-overrides
new file mode 100644
index 0000000..55515a3
--- /dev/null
+++ b/debian/armv6-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+armv6-support: missing-debconf-dependency-for-preinst
diff --git a/debian/armv6-support.maintscript b/debian/armv6-support.maintscript
new file mode 100644
index 0000000..2fec04f
--- /dev/null
+++ b/debian/armv6-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/armv6-support isa-support 15.1~
diff --git a/debian/armv6-support.preinst b/debian/armv6-support.preinst
new file mode 100644
index 0000000..dbf3b24
--- /dev/null
+++ b/debian/armv6-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-ARMv6"
+ # "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 ARMv6, 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 ARMv6, 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 ARMv6-support/fail seen false ||:
+ db_reset ARMv6-support/fail ||:
+ db_input critical ARMv6-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support ARMv6, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/armv6-support.templates b/debian/armv6-support.templates
new file mode 100644
index 0000000..724f751
--- /dev/null
+++ b/debian/armv6-support.templates
@@ -0,0 +1,7 @@
+Template: ARMv6-support/fail
+Type: note
+_Description: Support for ARMv6 required
+ Alas, your machine doesn't support the ARMv6 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/armv6k-support.lintian-overrides b/debian/armv6k-support.lintian-overrides
new file mode 100644
index 0000000..dde6130
--- /dev/null
+++ b/debian/armv6k-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+armv6k-support: missing-debconf-dependency-for-preinst
diff --git a/debian/armv6k-support.maintscript b/debian/armv6k-support.maintscript
new file mode 100644
index 0000000..b53fee6
--- /dev/null
+++ b/debian/armv6k-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/armv6k-support isa-support 15.1~
diff --git a/debian/armv6k-support.preinst b/debian/armv6k-support.preinst
new file mode 100644
index 0000000..2952be1
--- /dev/null
+++ b/debian/armv6k-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-ARMv6K"
+ # "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 ARMv6K, 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 ARMv6K, 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 ARMv6K-support/fail seen false ||:
+ db_reset ARMv6K-support/fail ||:
+ db_input critical ARMv6K-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support ARMv6K, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/armv6k-support.templates b/debian/armv6k-support.templates
new file mode 100644
index 0000000..d879c7d
--- /dev/null
+++ b/debian/armv6k-support.templates
@@ -0,0 +1,7 @@
+Template: ARMv6K-support/fail
+Type: note
+_Description: Support for ARMv6K required
+ Alas, your machine doesn't support the ARMv6K instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/armv7-support.lintian-overrides b/debian/armv7-support.lintian-overrides
new file mode 100644
index 0000000..dca42d3
--- /dev/null
+++ b/debian/armv7-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+armv7-support: missing-debconf-dependency-for-preinst
diff --git a/debian/armv7-support.maintscript b/debian/armv7-support.maintscript
new file mode 100644
index 0000000..c675819
--- /dev/null
+++ b/debian/armv7-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/armv7-support isa-support 15.1~
diff --git a/debian/armv7-support.preinst b/debian/armv7-support.preinst
new file mode 100644
index 0000000..fdac5a3
--- /dev/null
+++ b/debian/armv7-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-ARMv7"
+ # "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 ARMv7, 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 ARMv7, 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 ARMv7-support/fail seen false ||:
+ db_reset ARMv7-support/fail ||:
+ db_input critical ARMv7-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support ARMv7, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/armv7-support.templates b/debian/armv7-support.templates
new file mode 100644
index 0000000..c28485d
--- /dev/null
+++ b/debian/armv7-support.templates
@@ -0,0 +1,7 @@
+Template: ARMv7-support/fail
+Type: note
+_Description: Support for ARMv7 required
+ Alas, your machine doesn't support the ARMv7 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/armv8-support.lintian-overrides b/debian/armv8-support.lintian-overrides
new file mode 100644
index 0000000..342fa77
--- /dev/null
+++ b/debian/armv8-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+armv8-support: missing-debconf-dependency-for-preinst
diff --git a/debian/armv8-support.maintscript b/debian/armv8-support.maintscript
new file mode 100644
index 0000000..6dc65ec
--- /dev/null
+++ b/debian/armv8-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/armv8-support isa-support 15.1~
diff --git a/debian/armv8-support.preinst b/debian/armv8-support.preinst
new file mode 100644
index 0000000..57e57d6
--- /dev/null
+++ b/debian/armv8-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-ARMv8"
+ # "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 ARMv8, 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 ARMv8, 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 ARMv8-support/fail seen false ||:
+ db_reset ARMv8-support/fail ||:
+ db_input critical ARMv8-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support ARMv8, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/armv8-support.templates b/debian/armv8-support.templates
new file mode 100644
index 0000000..e5fc610
--- /dev/null
+++ b/debian/armv8-support.templates
@@ -0,0 +1,7 @@
+Template: ARMv8-support/fail
+Type: note
+_Description: Support for ARMv8 required
+ Alas, your machine doesn't support the ARMv8 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..63ab74b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,145 @@
+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..9e287a8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,294 @@
+Source: isa-support
+Section: misc
+Priority: optional
+Uploaders: Gioele Barabucci <gioele@svario.it>
+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..cc269d3
--- /dev/null
+++ b/debian/control.d/control-base.in
@@ -0,0 +1,28 @@
+Source: isa-support
+Section: misc
+Priority: optional
+Uploaders: Gioele Barabucci <gioele@svario.it>
+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..c1e361e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,22 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2016 Adam Borowski <kilobyte@angband.pl>
+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/neon-support.lintian-overrides b/debian/neon-support.lintian-overrides
new file mode 100644
index 0000000..6c2bfaf
--- /dev/null
+++ b/debian/neon-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+neon-support: missing-debconf-dependency-for-preinst
diff --git a/debian/neon-support.maintscript b/debian/neon-support.maintscript
new file mode 100644
index 0000000..1d6d75b
--- /dev/null
+++ b/debian/neon-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/neon-support isa-support 15.1~
diff --git a/debian/neon-support.preinst b/debian/neon-support.preinst
new file mode 100644
index 0000000..da1ff78
--- /dev/null
+++ b/debian/neon-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-neon"
+ # "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 neon, 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 neon, 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 neon-support/fail seen false ||:
+ db_reset neon-support/fail ||:
+ db_input critical neon-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support neon, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/neon-support.templates b/debian/neon-support.templates
new file mode 100644
index 0000000..8a3a85a
--- /dev/null
+++ b/debian/neon-support.templates
@@ -0,0 +1,7 @@
+Template: neon-support/fail
+Type: note
+_Description: Support for neon required
+ Alas, your machine doesn't support the neon instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
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/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..1a28397
--- /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/sse2-support.lintian-overrides b/debian/sse2-support.lintian-overrides
new file mode 100644
index 0000000..8f1e6c9
--- /dev/null
+++ b/debian/sse2-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+sse2-support: missing-debconf-dependency-for-preinst
diff --git a/debian/sse2-support.maintscript b/debian/sse2-support.maintscript
new file mode 100644
index 0000000..c4a3ac5
--- /dev/null
+++ b/debian/sse2-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/sse2-support isa-support 15.1~
diff --git a/debian/sse2-support.preinst b/debian/sse2-support.preinst
new file mode 100644
index 0000000..7bd584b
--- /dev/null
+++ b/debian/sse2-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-SSE2"
+ # "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 SSE2, 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 SSE2, 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 SSE2-support/fail seen false ||:
+ db_reset SSE2-support/fail ||:
+ db_input critical SSE2-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support SSE2, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/sse2-support.templates b/debian/sse2-support.templates
new file mode 100644
index 0000000..498c7b3
--- /dev/null
+++ b/debian/sse2-support.templates
@@ -0,0 +1,7 @@
+Template: SSE2-support/fail
+Type: note
+_Description: Support for SSE2 required
+ Alas, your machine doesn't support the SSE2 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/sse3-support.lintian-overrides b/debian/sse3-support.lintian-overrides
new file mode 100644
index 0000000..4f35d8f
--- /dev/null
+++ b/debian/sse3-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+sse3-support: missing-debconf-dependency-for-preinst
diff --git a/debian/sse3-support.maintscript b/debian/sse3-support.maintscript
new file mode 100644
index 0000000..b894bff
--- /dev/null
+++ b/debian/sse3-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/sse3-support isa-support 15.1~
diff --git a/debian/sse3-support.preinst b/debian/sse3-support.preinst
new file mode 100644
index 0000000..debc90f
--- /dev/null
+++ b/debian/sse3-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-SSE3"
+ # "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 SSE3, 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 SSE3, 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 SSE3-support/fail seen false ||:
+ db_reset SSE3-support/fail ||:
+ db_input critical SSE3-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support SSE3, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/sse3-support.templates b/debian/sse3-support.templates
new file mode 100644
index 0000000..04fb09e
--- /dev/null
+++ b/debian/sse3-support.templates
@@ -0,0 +1,7 @@
+Template: SSE3-support/fail
+Type: note
+_Description: Support for SSE3 required
+ Alas, your machine doesn't support the SSE3 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/sse4.1-support.lintian-overrides b/debian/sse4.1-support.lintian-overrides
new file mode 100644
index 0000000..5ce640a
--- /dev/null
+++ b/debian/sse4.1-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+sse4.1-support: missing-debconf-dependency-for-preinst
diff --git a/debian/sse4.1-support.maintscript b/debian/sse4.1-support.maintscript
new file mode 100644
index 0000000..932caf2
--- /dev/null
+++ b/debian/sse4.1-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/sse4.1-support isa-support 15.1~
diff --git a/debian/sse4.1-support.preinst b/debian/sse4.1-support.preinst
new file mode 100644
index 0000000..5bfb95b
--- /dev/null
+++ b/debian/sse4.1-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-SSE4.1"
+ # "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 SSE4.1, 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 SSE4.1, 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 SSE4.1-support/fail seen false ||:
+ db_reset SSE4.1-support/fail ||:
+ db_input critical SSE4.1-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support SSE4.1, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/sse4.1-support.templates b/debian/sse4.1-support.templates
new file mode 100644
index 0000000..4bf5cde
--- /dev/null
+++ b/debian/sse4.1-support.templates
@@ -0,0 +1,7 @@
+Template: SSE4.1-support/fail
+Type: note
+_Description: Support for SSE4.1 required
+ Alas, your machine doesn't support the SSE4.1 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/sse4.2-support.lintian-overrides b/debian/sse4.2-support.lintian-overrides
new file mode 100644
index 0000000..a2ac8f9
--- /dev/null
+++ b/debian/sse4.2-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+sse4.2-support: missing-debconf-dependency-for-preinst
diff --git a/debian/sse4.2-support.maintscript b/debian/sse4.2-support.maintscript
new file mode 100644
index 0000000..f48c26f
--- /dev/null
+++ b/debian/sse4.2-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/sse4.2-support isa-support 15.1~
diff --git a/debian/sse4.2-support.preinst b/debian/sse4.2-support.preinst
new file mode 100644
index 0000000..b74cba7
--- /dev/null
+++ b/debian/sse4.2-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-SSE4.2"
+ # "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 SSE4.2, 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 SSE4.2, 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 SSE4.2-support/fail seen false ||:
+ db_reset SSE4.2-support/fail ||:
+ db_input critical SSE4.2-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support SSE4.2, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/sse4.2-support.templates b/debian/sse4.2-support.templates
new file mode 100644
index 0000000..69c8908
--- /dev/null
+++ b/debian/sse4.2-support.templates
@@ -0,0 +1,7 @@
+Template: SSE4.2-support/fail
+Type: note
+_Description: Support for SSE4.2 required
+ Alas, your machine doesn't support the SSE4.2 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/tests/test-@NAME@.in b/debian/tests/test-@NAME@.in
new file mode 100644
index 0000000..dd36576
--- /dev/null
+++ b/debian/tests/test-@NAME@.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH_BITS=$(dpkg-architecture -qDEB_HOST_ARCH_BITS)
+
+@QEMU_GOOD@ /usr/libexec/$DEB_HOST_ARCH/isa-support/test-@NAME@
+@QEMU_BAD@ /usr/libexec/$DEB_HOST_ARCH/isa-support/test-@NAME@ || true
diff --git a/debian/vfp-support.lintian-overrides b/debian/vfp-support.lintian-overrides
new file mode 100644
index 0000000..754fe2a
--- /dev/null
+++ b/debian/vfp-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+vfp-support: missing-debconf-dependency-for-preinst
diff --git a/debian/vfp-support.maintscript b/debian/vfp-support.maintscript
new file mode 100644
index 0000000..77ad0e4
--- /dev/null
+++ b/debian/vfp-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/vfp-support isa-support 15.1~
diff --git a/debian/vfp-support.preinst b/debian/vfp-support.preinst
new file mode 100644
index 0000000..028c30c
--- /dev/null
+++ b/debian/vfp-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-VFP"
+ # "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 VFP, 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 VFP, 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 VFP-support/fail seen false ||:
+ db_reset VFP-support/fail ||:
+ db_input critical VFP-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support VFP, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/vfp-support.templates b/debian/vfp-support.templates
new file mode 100644
index 0000000..8829e64
--- /dev/null
+++ b/debian/vfp-support.templates
@@ -0,0 +1,7 @@
+Template: VFP-support/fail
+Type: note
+_Description: Support for VFP required
+ Alas, your machine doesn't support the VFP instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/vfpv2-support.lintian-overrides b/debian/vfpv2-support.lintian-overrides
new file mode 100644
index 0000000..c48dce8
--- /dev/null
+++ b/debian/vfpv2-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+vfpv2-support: missing-debconf-dependency-for-preinst
diff --git a/debian/vfpv2-support.maintscript b/debian/vfpv2-support.maintscript
new file mode 100644
index 0000000..11230ff
--- /dev/null
+++ b/debian/vfpv2-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/vfpv2-support isa-support 15.1~
diff --git a/debian/vfpv2-support.preinst b/debian/vfpv2-support.preinst
new file mode 100644
index 0000000..3efbe36
--- /dev/null
+++ b/debian/vfpv2-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-VFPv2"
+ # "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 VFPv2, 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 VFPv2, 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 VFPv2-support/fail seen false ||:
+ db_reset VFPv2-support/fail ||:
+ db_input critical VFPv2-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support VFPv2, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/vfpv2-support.templates b/debian/vfpv2-support.templates
new file mode 100644
index 0000000..5d3a78b
--- /dev/null
+++ b/debian/vfpv2-support.templates
@@ -0,0 +1,7 @@
+Template: VFPv2-support/fail
+Type: note
+_Description: Support for VFPv2 required
+ Alas, your machine doesn't support the VFPv2 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.
diff --git a/debian/vfpv3-support.lintian-overrides b/debian/vfpv3-support.lintian-overrides
new file mode 100644
index 0000000..4cc9111
--- /dev/null
+++ b/debian/vfpv3-support.lintian-overrides
@@ -0,0 +1,2 @@
+# debconf is optional, for nicer fail messages
+vfpv3-support: missing-debconf-dependency-for-preinst
diff --git a/debian/vfpv3-support.maintscript b/debian/vfpv3-support.maintscript
new file mode 100644
index 0000000..86ef513
--- /dev/null
+++ b/debian/vfpv3-support.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/vfpv3-support isa-support 15.1~
diff --git a/debian/vfpv3-support.preinst b/debian/vfpv3-support.preinst
new file mode 100644
index 0000000..d6c093a
--- /dev/null
+++ b/debian/vfpv3-support.preinst
@@ -0,0 +1,50 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-VFPv3"
+ # "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 VFPv3, 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 VFPv3, 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 VFPv3-support/fail seen false ||:
+ db_reset VFPv3-support/fail ||:
+ db_input critical VFPv3-support/fail ||:
+ db_go ||:
+ db_stop ||:
+ fi
+
+ cat >&2 <<END
+This machine doesn't support VFPv3, sorry.
+Aborting.
+END
+ exit 2
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/vfpv3-support.templates b/debian/vfpv3-support.templates
new file mode 100644
index 0000000..1cbb25e
--- /dev/null
+++ b/debian/vfpv3-support.templates
@@ -0,0 +1,7 @@
+Template: VFPv3-support/fail
+Type: note
+_Description: Support for VFPv3 required
+ Alas, your machine doesn't support the VFPv3 instruction set. It is
+ needed by software that depends on this dummy package. Sorry.
+ .
+ Aborting installation.