[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1050485: marked as done (nx-libs: Please add support for new arch Loongarch64)



Your message dated Sun, 27 Aug 2023 11:26:05 +0000
with message-id <E1qaDu9-001hgW-Q5@fasolo.debian.org>
and subject line Bug#1050485: fixed in nx-libs 2:3.5.99.27-1
has caused the Debian Bug report #1050485,
regarding nx-libs: Please add support for new arch Loongarch64
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 owner@bugs.debian.org
immediately.)


-- 
1050485: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050485
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: nx-libs
Version: 2:3.5.99.26-5
Severity: wishlist
Tags: patch
User: debian-devel@lists.debian.org
Usertags: loongarch64

Dear maintainers,

   When I compiled nx-libs for loongarch architecture, it reported 
missing architecture support.
We have added loongarch architecture support for nx-libs, the patch
can be found in the attachment.

If you have any questions, you can contact me at any time.
--- nx-libs-3.5.99.26.orig/nx-X11/config/cf/Imake.cf
+++ nx-libs-3.5.99.26/nx-X11/config/cf/Imake.cf
@@ -883,6 +883,18 @@ XCOMM Keep cpp from replacing path eleme
 #   define Riscv64Architecture
 #  endif
 # endif
+# if defined(__loongarch__)
+#   undef __loongarch__
+#   if __loongarch_grlen == 64
+#     undef __loongarch_grlen
+#     undef __loongarch_lp64
+#     define LoongArch64Architecture
+#   endif
+#   if __loongarch_grlen == 32
+#     undef __loongarch_grlen
+#     define LoongArch32Architecture
+#   endif
+# endif
 # ifdef sparc
 #  define SparcArchitecture
 #  undef sparc
--- nx-libs-3.5.99.26.orig/nx-X11/config/cf/Imake.tmpl
+++ nx-libs-3.5.99.26/nx-X11/config/cf/Imake.tmpl
@@ -517,6 +517,8 @@ XCOMM the platform-specific parameters -
 #define ByteOrder		X_LITTLE_ENDIAN
 #elif defined(SuperHebArchitecture)
 #define ByteOrder		X_BIG_ENDIAN
+#elif defined(LoongArch64Architecture) || defined(LoongArch32Architecture)
+#define ByteOrder               X_LITTLE_ENDIAN
 #endif
 #endif /* ByteOrder */
 X_BYTE_ORDER = ByteOrder
--- nx-libs-3.5.99.26.orig/nx-X11/config/cf/linux.cf
+++ nx-libs-3.5.99.26/nx-X11/config/cf/linux.cf
@@ -792,6 +792,24 @@ XCOMM binutils:	(LinuxBinUtilsMajorVersi
 # define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
 #endif /* Riscv64Achitecture */
 
+#ifdef LoongArch64Architecture
+# ifndef OptimizedCDebugFlags
+#  define OptimizedCDebugFlags -O2 GccAliasingArgs
+# endif
+# define LinuxMachineDefines	-D__loongarch__ -D__loongarch_grlen=64 -D__loongarch_lp64
+# define ServerOSDefines	XFree86ServerOSDefines
+# define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
+#endif /* LoongArch64Architecture */
+
+#ifdef LoongArch32Architecture
+# ifndef OptimizedCDebugFlags
+#  define OptimizedCDebugFlags -O2 GccAliasingArgs
+# endif
+# define LinuxMachineDefines	-D__loongarch__ -D__loongarch_grlen=32
+# define ServerOSDefines	XFree86ServerOSDefines
+# define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
+#endif /* LoongArch32Architecture */
+
 #ifdef s390Architecture
 # ifndef OptimizedCDebugFlags
 #  define OptimizedCDebugFlags	-O2 -fomit-frame-pointer GccAliasingArgs

--- End Message ---
--- Begin Message ---
Source: nx-libs
Source-Version: 2:3.5.99.27-1
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
nx-libs, 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 1050485@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated nx-libs 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 27 Aug 2023 10:49:34 +0200
Source: nx-libs
Architecture: source
Version: 2:3.5.99.27-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Remote Maintainers <debian-remote@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1006662 1048385 1050485
Changes:
 nx-libs (2:3.5.99.27-1) unstable; urgency=medium
 .
   * New upstream release.
   * debian/control:
     + Bump Standards-Version: to 4.6.2. No changes needed.
   * debian/patches:
     + Drop patches 0001 - 0006. All applied upstream.
     + Add 0007_nx-X11-Add-support-for-loongarch64-architecture.patch. Add
       support for loongarch64 architecture. (Closes: #1050485).
     + Add 0008_nx-X11-programs-Xserver-hw-nxagent-man-nxagent.1-Fix.patch.
       Fix groff error in man page, properly show all text in the keystrokes.cfg
       passage. Thanks, lintian.
     + Mark 200*.patch as Debian-specific.
   * debian/nx-x11-common.{dir,links}:
     + Assure that a symlink from /usr/share/nx/fonts to /usr/share/fonts/X11
       gets provided by the nx-x11-common bin:pkg. (Closes: #1006662).
   * debian/copyright:
     + Update auto-generated copyright.in file.
     + Update copyright attributions.
   * debian/rules:
     + Remove left-over files after upstream's distclean Makefile target.
       (Closes: #1048385).
   * debian/libnx-x11-6.symbols:
     + Update symbols.
   * lintian:
     + source: Override warning about LICENSE.nxcomp not being listed in
       d/copyright.
     + nxagent: Add custom-library-search-path override for /usr/bin/nxagent.
     + libxcompshad3: Adjust custom-library-search-path override's path syntax.
Checksums-Sha1:
 0eb9b3d194be673af14c6ec9de8236885d760953 3972 nx-libs_3.5.99.27-1.dsc
 00d8a3a63978b50f56c7265078ccc5ca16758c08 5319047 nx-libs_3.5.99.27.orig.tar.gz
 7dd38db55963805b7399fd6cc50ddf85661ab1d3 833 nx-libs_3.5.99.27.orig.tar.gz.asc
 451f1e1fa0fab062c53d87c227a804ad22a0bb7d 62872 nx-libs_3.5.99.27-1.debian.tar.xz
 91846425d126ea21ee5afcec1e84167f73edf12c 8862 nx-libs_3.5.99.27-1_source.buildinfo
Checksums-Sha256:
 947c7d83e0239dfccd2036a58ea1a54f8f507a2a74ce7102420eb28359e8da3f 3972 nx-libs_3.5.99.27-1.dsc
 f9da46812f981e92404cd3dc4e2934d865d2e66b1b1b45ac16107e87371ec207 5319047 nx-libs_3.5.99.27.orig.tar.gz
 df7ec66fa48d4c9ad3352fcab322dc628816eb3949ba840c92cea57734b001ae 833 nx-libs_3.5.99.27.orig.tar.gz.asc
 833b5970fd8727ae412d9657e92a643031423880e043b0c41ec0c8c3c9f7977e 62872 nx-libs_3.5.99.27-1.debian.tar.xz
 39098908531b35fc2f97f00b94c98dfdb03962c80d3b4b80a77003054507eddb 8862 nx-libs_3.5.99.27-1_source.buildinfo
Files:
 a9a7d073c8b9d86240a5e0b4aef7be75 3972 x11 optional nx-libs_3.5.99.27-1.dsc
 5d24c430a06aa30a642393ba0bd4bb7a 5319047 x11 optional nx-libs_3.5.99.27.orig.tar.gz
 117a231ec5401b0973481e605335703f 833 x11 optional nx-libs_3.5.99.27.orig.tar.gz.asc
 4add4e186ffba6d4dc4bd28fb1928030 62872 x11 optional nx-libs_3.5.99.27-1.debian.tar.xz
 f0e87799de9b25e382ac00dd3e318260 8862 x11 optional nx-libs_3.5.99.27-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmTrLaYVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsx1UMP/3HBPQG6/6MZl/At9lQuDn+ppfhQ
MwFViPrRJrvamkSJPQ84rvqIRVjd6AkkJdo/ZjYPe2QtHeDk8aDHMKdmP5mqeJ3q
AM2rlV/CLRJr7kJl2syq32av8tau/aNZSqrJ5lnhdqJyh7jHyx9YAnIyqB8qf5Y6
zkdR9CmWRy6bp/gMgKCsUJdEhl75n2i9vwXg/OYm8T1XRk4F91gkskLBeKqWHl2m
cjaz9rCwj3vhilU0TxeXEQhCuIxUBoHzBCPVosqlTeE7emLQuWK/4vhKYFUJw15D
kcHa/9d47Tft2yEAsy+LcIlPWDY4NY3dZDqcUv6YX3ctdjrQRcBBDlv5WjtU5gTS
f+IfwyLEJBF4XIopCJA5sCKSByC7elfyMLVLHssQ/m/ecKHxQfGCspE5SxMgF26P
jLIjU+cVHYzHeo1p8WgOIVtvv44KRZLcxJZaH9YFfutm0z3zx/7PKKJRyEw89XPt
Kom4ZmUq/M5MSGWTCAMczQF8kFOymjg9CX6+9eSCT9/5diL1xv1Kpm67DDNUwGNA
787VdRfS/aYgaOI6h5okSsyaZ5/qposhr9XtHsX5eiV5X624sfZ8cggqj9y+7zSW
GPE1ALYTZ9/q3HHDxSaasAZ5LApIw8POmV4FVMXlwqsihdp7rN0w/b9hsKpU5ZT8
AvF9G/Qqtz8atww/
=FZRP
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: