Your message dated Thu, 26 Nov 2015 11:22:58 +0000
with message-id <[email protected]>
and subject line Bug#790317: fixed in nvidia-texture-tools 2.0.8-1+dfsg-6
has caused the Debian Bug report #790317,
regarding Please add ARM64 support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
790317: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790317
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nvidia-texture-tools
Version: 2.0.8-1+dfsg-5
Severity: wishlist
User: [email protected]
Usertags: arm64

It would be great if this package would be built for ARM64, too.
I understand that this is mostly an upstream issue.  I have an initial
patch and I'll forward it to upstream soon, so you may want to hold
off.

But I do have a patch with which the Debian package builds.  Let me
know what you think.

Note that I'm not sure about how to name NV_CPU_.  I used NV_CPU_ARM64
because most people use "ARM64" to refer to this platform, but
technically it's called AARCH64, so maybe NV_CPU_AARCH64 would be
better.  But it seems that's not exposed to the -dev package anyway,
so it shouldn't matter for Debian.

I'll add the upstream URL once I filed a bug there.

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
diff -urN a/nvidia-texture-tools-2.0.8-1+dfsg/debian/control nvidia-texture-tools-2.0.8-1+dfsg/debian/control
--- a/nvidia-texture-tools-2.0.8-1+dfsg/debian/control	2014-10-03 19:28:24.000000000 +0000
+++ nvidia-texture-tools-2.0.8-1+dfsg/debian/control	2015-06-27 23:33:21.040000000 +0000
@@ -20,7 +20,7 @@
 Homepage: http://code.google.com/p/nvidia-texture-tools/
 
 Package: libnvtt2
-Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 powerpc ppc64
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 powerpc ppc64
 Multi-Arch: same
 Pre-Depends: multiarch-support, ${misc:Pre-Depends}
 Depends:
@@ -33,7 +33,7 @@
  normal map generation, format conversion and DXT compression.
 
 Package: libnvtt-bin
-Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 powerpc ppc64
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 powerpc ppc64
 Multi-Arch: foreign
 Depends:
  ${misc:Depends},
@@ -49,7 +49,7 @@
  This package contains the nvidia texture tools.
 
 Package: libnvtt-dev
-Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 powerpc ppc64
+Architecture: amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 powerpc ppc64
 Section: libdevel
 Depends:
  libnvtt2 (= ${binary:Version}),
diff -urN a/nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/11-arm64-support.patch nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/11-arm64-support.patch
--- a/nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/11-arm64-support.patch	1970-01-01 00:00:00.000000000 +0000
+++ nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/11-arm64-support.patch	2015-06-27 23:46:20.830000000 +0000
@@ -0,0 +1,59 @@
+Description: Add ARM64 support
+Author: Martin Michlmayr <[email protected]>
+
+---
+
+--- nvidia-texture-tools-2.0.8-1+dfsg.orig/src/nvcore/Debug.cpp
++++ nvidia-texture-tools-2.0.8-1+dfsg/src/nvcore/Debug.cpp
+@@ -221,6 +221,9 @@ namespace
+ #		elif NV_CPU_PPC
+ 			ucontext_t * ucp = (ucontext_t *)secret;
+ 			return (void *) ucp->uc_mcontext.regs->nip;
++#		elif NV_CPU_ARM64
++			ucontext_t * ucp = (ucontext_t *)secret;
++			return (void *) ucp->uc_mcontext.pc;
+ #		endif
+ #	endif
+ 		
+--- nvidia-texture-tools-2.0.8-1+dfsg.orig/src/nvcore/nvcore.h
++++ nvidia-texture-tools-2.0.8-1+dfsg/src/nvcore/nvcore.h
+@@ -65,6 +65,7 @@
+ // NV_CPU_X86_64
+ // NV_CPU_PPC
+ // NV_CPU_ARM
++// NV_CPU_ARM64
+ 
+ #define NV_CPU_STRING 	POSH_CPU_STRING
+ 
+@@ -76,6 +77,8 @@
+ #	define NV_CPU_PPC 1
+ #elif defined POSH_CPU_STRONGARM
+ #	define NV_CPU_ARM 1
++#elif defined POSH_CPU_AARCH64
++#	define NV_CPU_ARM64 1
+ #else
+ #	error "Unsupported CPU"
+ #endif
+--- nvidia-texture-tools-2.0.8-1+dfsg.orig/src/nvcore/poshlib/posh.h
++++ nvidia-texture-tools-2.0.8-1+dfsg/src/nvcore/poshlib/posh.h
+@@ -485,6 +485,11 @@ Metrowerks:
+ #  define POSH_CPU_STRING "ARM"
+ #endif
+ 
++#if defined __aarch64__
++#  define POSH_CPU_AARCH64 1
++#  define POSH_CPU_STRING "ARM64"
++#endif
++
+ #if defined mips || defined __mips__ || defined __MIPS__ || defined _MIPS
+ #  define POSH_CPU_MIPS 1 
+ #  if defined _R5900
+@@ -658,7 +663,7 @@ Metrowerks:
+ ** the MIPS series, so we have to be careful about those.
+ ** ----------------------------------------------------------------------------
+ */
+-#if defined POSH_CPU_X86 || defined POSH_CPU_AXP || defined POSH_CPU_STRONGARM || defined POSH_OS_WIN32 || defined POSH_OS_WINCE || defined __MIPSEL__
++#if defined POSH_CPU_X86 || defined POSH_CPU_AXP || defined POSH_CPU_STRONGARM || POSH_CPU_AARCH64 || defined POSH_OS_WIN32 || defined POSH_OS_WINCE || defined __MIPSEL__
+ #  define POSH_ENDIAN_STRING "little"
+ #  define POSH_LITTLE_ENDIAN 1
+ #else
diff -urN a/nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/series nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/series
--- a/nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/series	2014-10-03 19:28:24.000000000 +0000
+++ nvidia-texture-tools-2.0.8-1+dfsg/debian/patches/series	2015-06-27 23:41:51.940000000 +0000
@@ -8,3 +8,4 @@
 08-fix-wordsize-warning.patch
 09-arm-fix.patch
 10-fix-cxxflags.patch
+11-arm64-support.patch

--- End Message ---
--- Begin Message ---
Source: nvidia-texture-tools
Source-Version: 2.0.8-1+dfsg-6

We believe that the bug you reported is fixed in the latest version of
nvidia-texture-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lennart Weller <[email protected]> (supplier of updated nvidia-texture-tools 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 17 Nov 2015 08:44:25 +0100
Source: nvidia-texture-tools
Binary: libnvtt2 libnvtt-bin libnvtt-dev
Architecture: source amd64
Version: 2.0.8-1+dfsg-6
Distribution: unstable
Urgency: low
Maintainer: Lennart Weller <[email protected]>
Changed-By: Lennart Weller <[email protected]>
Description:
 libnvtt-bin - NVIDIA Texture Tools (Binaries)
 libnvtt-dev - NVIDIA Texture Tools (Header)
 libnvtt2   - NVIDIA Texture Tools
Closes: 790317
Changes:
 nvidia-texture-tools (2.0.8-1+dfsg-6) unstable; urgency=low
 .
   [ Martin Michlmayr ]
   * Add ARM64 support (Closes: #790317)
 .
   [ Lennart Weller ]
   * New Standards-Version
   * Updated Homepage/Build-Depends
Checksums-Sha1:
 a40e55f1359f7daead7d693c7258a4a6cbf49600 2504 
nvidia-texture-tools_2.0.8-1+dfsg-6.dsc
 5433e2f51e3a8a8f061c87ecc7f7571d62255ae5 15132 
nvidia-texture-tools_2.0.8-1+dfsg-6.debian.tar.xz
 736125ba75a2a7c37c3b33ff9696fc4fc9ab5192 27946 
libnvtt-bin_2.0.8-1+dfsg-6_amd64.deb
 1d1cde95b8b09f5836397c36617fd29a70a7a1c9 4174 
libnvtt-dev_2.0.8-1+dfsg-6_amd64.deb
 f0c9711c0e28c28ad9b7c9597a3504d4c8376cb7 122810 
libnvtt2_2.0.8-1+dfsg-6_amd64.deb
Checksums-Sha256:
 f4db0042ac82ccd14b2e1bb78e25ec3b3d8606fd977a07e79708ca0c1477c8c2 2504 
nvidia-texture-tools_2.0.8-1+dfsg-6.dsc
 02e3843af1700474f289ac5936e73d9310fabc897686736ecbb1d058c05a1a98 15132 
nvidia-texture-tools_2.0.8-1+dfsg-6.debian.tar.xz
 0ba8660102ef81699c5602ac6146667f0bbdc49075433430d993abcbfed939ac 27946 
libnvtt-bin_2.0.8-1+dfsg-6_amd64.deb
 4a9301ed9a7f188b894394f6777f23a6345d1d0eaafe3cdcd4531073fa73ab57 4174 
libnvtt-dev_2.0.8-1+dfsg-6_amd64.deb
 33a5a146b176771b2a9840877ae516e0f62781fe5324b882d518bd4587640f64 122810 
libnvtt2_2.0.8-1+dfsg-6_amd64.deb
Files:
 c2f9835116236641b44eabc5322d76b9 2504 libs extra 
nvidia-texture-tools_2.0.8-1+dfsg-6.dsc
 c43f1b6e2cef19c24bf2434135c3ded5 15132 libs extra 
nvidia-texture-tools_2.0.8-1+dfsg-6.debian.tar.xz
 7508ea8e1c605b442e15894bbf8925fd 27946 libs extra 
libnvtt-bin_2.0.8-1+dfsg-6_amd64.deb
 99eb1c014710d6b677de17e2f0cd93ec 4174 libdevel extra 
libnvtt-dev_2.0.8-1+dfsg-6_amd64.deb
 ad32458f48c2fd8ad2b9813ff5ceed94 122810 libs extra 
libnvtt2_2.0.8-1+dfsg-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWVt0+AAoJECx/z4D092xDTRYP/inhEPaCmSTkP2VnT+1IhYf0
EkSQLYGY7Rb3AQZ7yYa/Q1fZ1IuQ5QYT+V+Q2xpwfEBIj4lqEJtNguFcuaE8N9Zh
tU45WRbc0O7Tygb2A9ECd/VymCrl6n0uQ/ckZHOM6WPhc8HkYD/6fkDtFaCPz6Pv
kvE7VdWhJd2XNFa7n3cUcA430IFojM64bPdC8LpntO02Yo5BNVBo1vU7WaMW2rle
xHuiCt9of1NtOabYK0TMKm6EKE+em7NVpW5BML1sikYoR+Yb2t7ljyzWdH1MWU9O
P4KFnVYWtwCBtkDYG3coU6vKczwVXvwficdq/iCi2AEmRAmn3sw2sflpC/a3hvWJ
sk5uZclGEkR2lm/i/upBBX+r+h8P4gzYwjTe1s1ic6AdFy9v5pAwWtLERhl+R83I
k4yDawk1dp7NsX4sP5ll0XVU9EoE2bfjYJvwyIQHu2foRgXmDrdkRNplYHDZzn7K
nc8i7YEIzoC9BZTXcczaeX3KJ3FwQTjxh05yOl+St4sSeiZqwgejLVffoecyhyVs
TxXbA/lnngqkD5i5k4gGjTNVi6xsYf2gJPx4Ps5sPfAVBfqSDs+XUP/xX8FNzjbq
9odeoBmes1ubgdJFKjyrVI2XXO5mrufRqZ4TkVxxmmJENqRkp2GTT/u/jBUkTHq5
0WFY6NoZdem3v8NAdlJB
=ENMZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to