[Debian GNUstep maintainers] Bug#645927: charmap.app: Hangs on startup

Jonathan Nieder jrnieder at gmail.com
Sun Jan 8 22:24:41 UTC 2012


tags 645927 + patch
quit

Hi Yavor,

Yavor Doganov wrote:

> Starting the applications results in showing the app icon, but no
> menu or main window.

Thanks for fixing it in sid.  Here's a backported patch, just for
kicks.  Untested.  What do you think?  Does squeeze need a fix, and
if so will this work?

Thanks,
Jonathan
(who would like a less buggy stable, but with no opinion about this
particular package)

-- >8 --
From: Yavor Doganov <yavor at gnu.org>
Date: Sat, 22 Oct 2011 12:34:53 +0300
Subject: load-gorm-file.patch: New, fixes startup issues with gnustep-gui/0.20.

commit fffac9c779a031f0c345fc5fafd1a28057375665 upstream.
---
 debian/changelog                    |    9 +++++++++
 debian/patches/load-gorm-file.patch |   15 +++++++++++++++
 debian/patches/series               |    1 +
 3 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/load-gorm-file.patch

diff --git a/debian/changelog b/debian/changelog
index 44bf3fa2..5b1838c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+charmap.app (0.2-10+squeeze0.1) stable; urgency=low
+
+  [ Yavor Doganov ]
+  * debian/patches/load-gorm-file.patch: New, fixes startup issues with
+    gnustep-gui/0.20 (Closes: #645927).
+  * debian/patches/series: Update.
+
+ -- Jonathan Nieder <jrnieder at gmail.com>  Sun, 08 Jan 2012 16:22:12 -0600
+
 charmap.app (0.2-10) unstable; urgency=low
 
   * debian/compat: Set to 7.
diff --git a/debian/patches/load-gorm-file.patch b/debian/patches/load-gorm-file.patch
new file mode 100644
index 00000000..0a2ee104
--- /dev/null
+++ b/debian/patches/load-gorm-file.patch
@@ -0,0 +1,15 @@
+2011-10-22  Yavor Doganov  <yavor at gnu.org>
+
+	* main.m (main): Explicitly load the gorm file.
+
+
+--- charmap.app.orig/main.m
++++ charmap.app/main.m
+@@ -30,6 +30,7 @@
+ 
+   [NSApplication sharedApplication];
+   [NSApp setDelegate: [[Controller alloc] init]];
++  [NSBundle loadNibNamed: @"Charmap" owner: NSApp];
+   [NSApp run];
+ 
+   RELEASE(pool);
diff --git a/debian/patches/series b/debian/patches/series
index 922dd030..8f14c0b9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+load-gorm-file.patch
 Controller-generateCharmap.patch
-- 
1.7.8.2






More information about the pkg-GNUstep-maintainers mailing list