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

Bug#499517: marked as done (Stop pauses during startup when scim isn't installed)



Your message dated Mon, 05 Mar 2012 09:29:11 +0000
with message-id <E1S4UEB-0002aC-R0@franck.debian.org>
and subject line Bug#642371: Removed package(s) from unstable
has caused the Debian Bug report #499517,
regarding Stop pauses during startup when scim isn't installed
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.)


-- 
499517: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499517
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: scim-bridge


Qt applications take a long time to start up when scim isn't installed
and scim-bridge-qt4 is.  This patch stop this.

Also attached is another patch to stop unnecessary console output.

Jonathan
#! /bin/sh /usr/share/dpatch/dpatch-run
## 50_check_scim_binary.dpatch by <roderick.greening@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fixes 10-20s delay in launching apps when scim-bridge-client(s) installed but scim is not

@DPATCH@
diff -urNad scim-bridge-0.4.14~/client-common/scim-bridge-client.c scim-bridge-0.4.14/client-common/scim-bridge-client.c
--- scim-bridge-0.4.14~/client-common/scim-bridge-client.c     2008-09-15 11:43:48.000000000 -0230
+++ scim-bridge-0.4.14/client-common/scim-bridge-client.c      2008-09-15 12:00:14.000000000 -0230
@@ -1015,6 +1015,12 @@
         scim_bridge_perrorln ("The messenger has already been opend");
         return RETVAL_SUCCEEDED;
     }
+
+    /* This is a quick fix. "which scim" should probably be defined somewhere instead of coded like below - RG */
+    if (system ("which scim") != 0) {
+        scim_bridge_pdebugln (8, "There is no SCIM binary");
+        return RETVAL_FAILED;
+    }

     int i;
     for (i = 0; i < 10; ++i) {
#! /bin/sh /usr/share/dpatch/dpatch-run
## 51_quiet.dpatch by Jonathan Riddell
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fixes 10-20s delay in launching apps when scim-bridge-client(s) installed but scim is not

@DPATCH@
diff -urNad scim-bridge-0.4.14~/client-common/scim-bridge-client-imcontext-qt.cpp scim-bridge-0.4.14/client-common/scim-bridge-client-imcontext-qt.cpp
--- scim-bridge-0.4.14~client-qt/client-qt/qt4/scim-bridge-client-imcontext-qt.cpp	2007-07-07 03:30:10.000000000 +0100
+++ scim-bridge-0.4.14client-qt/client-qt/qt4/scim-bridge-client-imcontext-qt.cpp	2008-09-19 13:24:48.000000000 +0100
@@ -173,7 +173,7 @@
 #endif
 
     if (!scim_bridge_client_is_messenger_opened ()) {
-        scim_bridge_perrorln ("The messenger is now down");
+        scim_bridge_pdebugln (1, "The messenger is now down");
     } else if (scim_bridge_client_register_imcontext (this)) {
         scim_bridge_perrorln ("Failed to register the IMContext");
     } else {
@@ -189,7 +189,7 @@
     if (this == focused_imcontext) focus_out ();
 
     if (!scim_bridge_client_is_messenger_opened ()) {
-        scim_bridge_perrorln ("The messenger is now down");
+        scim_bridge_pdebugln (1, "The messenger is now down");
     } else if (scim_bridge_client_deregister_imcontext (this)) {
         scim_bridge_perrorln ("Failed to deregister an IMContext");
     } else {

--- End Message ---
--- Begin Message ---
Version: 0.4.16-3+rm

Dear submitter,

as the package scim-bridge has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/642371

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@debian.org.

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl (the ftpmaster behind the curtain)


--- End Message ---

Reply to: