Bug#1127832: asymptote: Please update to latest version

Bastian Germann <[email protected]>
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <aaBkE88Pqz2i3I6u__5579.65862551413$1772119195$gmane$org@duagon-BXN3S64.localdomain>
Control: tags -1 patch

Please find three patches attached which allow me to build v3.09.
This also gets rid of most LspCpp files because it would be a pain to
properly document them in d/copyright. If you want this component
enabled please package it as its own package.
0001-Disable-unpackaged-LSP-support.patch (text/x-diff, 651 B)
>From 1e223bd769f896b80643647a899dfd6527053eed Mon Sep 17 00:00:00 2001
From: Bastian Germann <[email protected]>
Date: Thu, 26 Feb 2026 15:58:09 +0100
Subject: [PATCH 1/3] Disable unpackaged LSP support

---
 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4387ffd4..27e56c07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,7 @@ include /usr/share/dpkg/architecture.mk
 include /usr/share/dpkg/buildflags.mk
 include /usr/share/dpkg/pkg-info.mk
 
-#ifeq ($(DEB_HOST_ARCH), hurd-i386)
-#  LSPSERVER=--disable-lsp
-#endif
+LSPSERVER=--disable-lsp
 
 %:
 	dh $@ --with python3
0002-Exclude-more-files.patch (text/x-diff, 2.9 KB)
>From 70c9fee17c4e8c4849f2957a74e93d638ae4e491 Mon Sep 17 00:00:00 2001
From: Bastian Germann <[email protected]>
Date: Thu, 26 Feb 2026 15:59:49 +0100
Subject: [PATCH 2/3] Exclude more files

---
 debian/copyright | 43 +++++++++++--------------------------------
 1 file changed, 11 insertions(+), 32 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index e71407c4..aa314751 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,24 +3,15 @@ Upstream-Name: Andy Hammerlindl, John Bowman, and Tom Prince
 Upstream-Contact: [email protected]
 Source: http://asymptote.sourceforge.net
 Files-Excluded:
+ autom4te.cache
  asy.list
- LspCpp/third_party/rapidjson/bin/jsonchecker
- LspCpp/third_party/uri/CMakeFiles/CMakeDirectoryInformation.cmake
- LspCpp/third_party/uri/CMakeFiles/doc.dir/build.make
- LspCpp/third_party/uri/Doxyfile
- LspCpp/third_party/uri/Makefile
- LspCpp/third_party/uri/cmake_install.cmake
- LspCpp/third_party/uri/src/CMakeFiles/CMakeDirectoryInformation.cmake
- LspCpp/third_party/uri/src/CMakeFiles/network-uri.dir/DependInfo.cmake
- LspCpp/third_party/uri/src/CMakeFiles/network-uri.dir/build.make
- LspCpp/third_party/uri/src/CMakeFiles/network-uri.dir/compiler_depend.internal
- LspCpp/third_party/uri/src/CMakeFiles/network-uri.dir/compiler_depend.make
- LspCpp/third_party/uri/src/CMakeFiles/network-uri.dir/flags.make
- LspCpp/third_party/uri/src/CMakeFiles/network-uri.dir/link.txt
- LspCpp/third_party/uri/src/Makefile
- LspCpp/third_party/uri/src/cmake_install.cmake
- LspCpp/third_party/uri/src/libnetwork-uri.a
- GUI/icons_rc.py
+ doc/*.pdf
+ LspCpp/examples
+ LspCpp/src
+ LspCpp/support
+ LspCpp/third_party
+ GUI/xasyicons/icons_rc.py
+ GUI/xasyversion/version.py
  asy-keywords.el
  base/v3dheadertypes.asy
  base/v3dtypes.asy
@@ -29,6 +20,8 @@ Files-Excluded:
  gc
  revision.cc
  tinyexr
+Files-Included:
+ doc/pixel.pdf
 
 Files: *
 Copyright: Copyright (C) 2004-2021 Andy Hammerlindl, John Bowman, Tom Prince
@@ -38,21 +31,7 @@ Files: LspCpp/*
 Copyright: Copyright (C) 2020 kuafuwang
 License: Expat
 
-Files: LspCpp/third_party/uri/deps/googlemock/* LspCpp/third_party/uri/deps/googletest/* LspCpp/third_party/uri/deps/BUILD.bazel LspCpp/third_party/uri/deps/ci/*
-Copyright: Copyright (C) 2008, Google Inc.
-License: BSD-3-clause
-
-Files: LspCpp/third_party/rapidjson/include/rapidjson/msinttypes/*
-Copyright: Copyright (c) 2006-2013 Alexander Chemeris
-License: BSD-3-clause
-
-Files: LspCpp/third_party/uri/include/* LspCpp/third_party/uri/src/* LspCpp/third_party/uri/test/* LspCpp/third_party/utfcpp/source/*
-Copyright: Copyright (C) 2012-2016 Glyn Matthews
-           Copyright (C) 2012 Dean Michael Berris <[email protected]>
-           Copyright (C) 2012 Google, Inc.
-License: BSL-1.0
-
-Files: LspCpp/include/LibLsp/JsonRpc/* LspCpp/src/jsonrpc/* LspCpp/src/lsp/*
+Files: LspCpp/include/LibLsp/JsonRpc/*
 Copyright: Copyright 2019 Google LLC
 License: Apache-2.0
0003-Prepare-the-update-to-pyside6-based-version-Closes-1.patch (text/x-diff, 1.4 KB)
>From 9e61feb48955808476a8e45ce9ec598fe9fd2c42 Mon Sep 17 00:00:00 2001
From: Bastian Germann <[email protected]>
Date: Thu, 26 Feb 2026 16:14:13 +0100
Subject: [PATCH 3/3] Prepare the update to pyside6-based version (Closes:
 #1127832)

---
 debian/control        | 6 +++---
 debian/patches/series | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index d329d122..fb1b41fb 100644
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@ Build-Depends: bison,
                libtirpc-dev,
                python3,
                python3-click,
-               pyqt5-dev-tools,
+               pyside6-tools,
                rapidjson-dev,
                tex-common,
                doxygen,
@@ -81,8 +81,8 @@ Depends: ${misc:Depends},
          librsvg2-bin,
          python3-cson,
          python3-numpy,
-         python3-pyqt5,
-         python3-pyqt5.qtsvg
+         python3-pyside6,
+         python3-pyside6.qtsvg
 Suggests: gv,
           evince | pdf-viewer
 Breaks: asymptote (<= 2.49-2)
diff --git a/debian/patches/series b/debian/patches/series
index c1029312..153489ea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,4 +10,3 @@ fix_date_in_doc.patch
 #3852538e0b43aab6abab1e159651513087452994.patch
 #8c3541c6bb652c45922ed50b21e0ab086af9ea8f.patch
 #de2cd40c6a9cb461ce5bdec903f813811af0b263.patch
-gentoo_960289.patch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.