--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bookworm-pu: package renaissance/0.9.0-4.1+deb12u1
- From: Yavor Doganov <yavor@gnu.org>
- Date: Thu, 6 Mar 2025 17:35:17 +0200
- Message-id: <Z8nAtTTaPHLPaGdk@yavor.doganov.org>
Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: renaissance@packages.debian.org
Control: affects -1 + src:renaissance
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
I would like to fix #1095596 in bookworm. Technically it could
qualify for RC severity but as this is the much less important and
rarely used app (compared to GSMarkupBrowser) I filed it with non-RC
severity.
[ Impact ]
The GSMarkupLocalizableStrings program will continue to be completely
unusable.
[ Tests ]
Only manual tests on a bookworm machine. Running the program with a
.gsmarkup file as argument returns an array of translatable strings,
as expected.
[ Risks ]
No risks AFAICT. This is the recommended way to fix issues like these
in the Renaissance manual, and it's a change made upstream nearly 10
years ago. Although it was made for another OS it affects Debian as
well because of the -Wl,--as-needed default.
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the package in stable
[X] the issue is verified as fixed in unstable
[ Changes ]
An addition of one tiny patch.
diff -u renaissance-0.9.0/debian/changelog renaissance-0.9.0/debian/changelog
--- renaissance-0.9.0/debian/changelog
+++ renaissance-0.9.0/debian/changelog
@@ -1,3 +1,10 @@
+renaissance (0.9.0-4.1+deb12u1) bookworm; urgency=medium
+
+ * debian/patches/GSMarkupLocalizableStrings-force-linking.patch: New;
+ force linking to avoid exception on startup (Closes: #1095596).
+
+ -- Yavor Doganov <yavor@gnu.org> Thu, 06 Mar 2025 13:16:53 +0200
+
renaissance (0.9.0-4.1) unstable; urgency=medium
* Non maintainer upload by the Reproducible Builds team.
diff -u renaissance-0.9.0/debian/patches/series renaissance-0.9.0/debian/patches/series
--- renaissance-0.9.0/debian/patches/series
+++ renaissance-0.9.0/debian/patches/series
@@ -1 +1,2 @@
link-libs.patch
+GSMarkupLocalizableStrings-force-linking.patch
only in patch2:
unchanged:
--- renaissance-0.9.0.orig/debian/patches/GSMarkupLocalizableStrings-force-linking.patch
+++ renaissance-0.9.0/debian/patches/GSMarkupLocalizableStrings-force-linking.patch
@@ -0,0 +1,18 @@
+Description: Force linking to avoid exception.
+Bug-Debian: https://bugs.debian.org/1095596
+Origin: upstream, commit:480ec72
+Forwarded: not-needed
+Last-Update: 2025-02-09
+---
+
+--- renaissance.orig/Tools/GSMarkupLocalizableStrings.m
++++ renaissance/Tools/GSMarkupLocalizableStrings.m
+@@ -29,6 +29,8 @@
+ # include <Renaissance/Renaissance.h>
+ #endif
+
++int (*linkRenaissanceIn)(int, const char **) = GSMarkupApplicationMain;
++
+ @interface GSMarkupLocalizableStrings : NSObject
+ {
+ NSString *fileName;
--- End Message ---