Source: opensmx-debugger
Version: 0.1~git20230804-1
Severity: normal
Tags: patch
Control: block 1086152 by -1

Dear Maintainer,

Per the #1086152 RM, stx2any should be removed.
opensmx-debugger is one of the two packages that build-depend on stx2any.
Please see patch below that replaces stx2any manual in debian/
with a mdoc(7) manual ‒ I've taken the liberty to also make it
more standard and mdoc--Tlint-clean, while preserving the existing text.

Best,

-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-27-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff --git a/debian/control b/debian/control
index 2e61459..a9f4b73 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: openmsx-debugger
 Section: otherosfs
 Priority: optional
 Maintainer: Bas Wijnen <[email protected]>
-Build-Depends: debhelper (>= 10), qtbase5-dev, stx2any, python3, chrpath
+Build-Depends: debhelper (>= 10), qtbase5-dev, python3, chrpath
 Standards-Version: 4.6.2
 
 Package: openmsx-debugger
diff --git a/debian/openmsx-debugger.1 b/debian/openmsx-debugger.1
new file mode 100644
index 0000000..6c8b6e4
--- /dev/null
+++ b/debian/openmsx-debugger.1
@@ -0,0 +1,29 @@
+.Dd August 10, 2007
+.Dt OPENMSX-DEBUGGER 1
+.Os
+.
+.Sh NAME
+.Nm openmsx-debugger
+.Nd Graphical debugger for openMSX
+.Sh SYNOPSIS
+.Nm
+.Sh DESCRIPTION
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.
+.Sh SEE ALSO
+.Xr openmsx 1 ,
+.Xr openmsx-catapult 1
+.
+.Sh AUTHORS
+This manual page was written by for
+.An Joost Yervante Damad Aq Mt [email protected]
+the Debian system (but may be used by others).
+Permission is
+granted to copy, distribute and/or modify this document under
+the terms of the GNU General Public License, Version 2 or any
+later version published by the Free Software Foundation.
+.Pp
+On Debian systems, the complete text of the GNU General Public
+License can be found in
+.Pa /usr/share/common-licenses/GPL .
diff --git a/debian/openmsx-debugger.txt b/debian/openmsx-debugger.txt
deleted file mode 100644
index 0774d41..0000000
--- a/debian/openmsx-debugger.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-w_title(OPENMSX-DEBUGGER)dnl
-w_doc_id(OPENMSXDEBUGGER)dnl
-w_section(1)dnl
-w_author(Joost Yervante Damad <[email protected]>)dnl
-w_man_desc(Graphical debugger for openMSX)
-
-! DESCRIPTION
-
-This manual page briefly documents the openmsx-debugger
-application.
-! SYNOPSIS
-
-''openmsx-debugger''
-
-This manual page was written for the Debian distribution
-because the original program does not have a manual page.
-
-! SEE ALSO
-
-''openmsx'' (1), ''openmsx-catapult'' (1).
-
-! AUTHOR
-
-This manual page was written by w_author for
-the Debian system (but may be used by others).  Permission is
-granted to copy, distribute and/or modify this document under
-the terms of the GNU General Public License, Version 2 or any
-later version published by the Free Software Foundation.
-
-On Debian systems, the complete text of the GNU General Public
-License can be found in /usr/share/common-licenses/GPL.
diff --git a/debian/rules b/debian/rules
index 5917a93..808b02b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,8 +12,6 @@ override_dh_auto_build:
 		DEB_LINK_FLAGS="$(shell dpkg-buildflags --get LDFLAGS)"
 	# Remove rpath.
 	chrpath -d derived/bin/openmsx-debugger
-	# Generate manpage.
-	stx2any -T man debian/openmsx-debugger.txt > debian/openmsx-debugger.1
 
 override_dh_auto_clean:
 	rm -rf derived debian/openmsx-debugger.1

Attachment: signature.asc
Description: PGP signature

Reply via email to