Status: New
Owner: lidaobing
Labels: Type-Defect Priority-Medium

New issue 452 by lidaobing: patch for common.py
http://code.google.com/p/ibus/issues/detail?id=452

From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537685

patch as follows:

--- ibus-1.2.0.20090719.orig/ibus/common.py
+++ ibus-1.2.0.20090719/ibus/common.py
@@ -94,7 +94,7 @@
  #         return None
  #     return address

-libibus = ctypes.CDLL("libibus.so")
+libibus = ctypes.CDLL("libibus.so.1")
  get_address = libibus.ibus_get_address
  get_address.restype=ctypes.c_char_p


reason:

1. sometimes we need installed libraries in two versions, so the libibus1
does not contain /usr/lib/libibus.so (in order to avoid conflict with
libibus0). and the /ur/lib/libibus.so is contained in the libibus-dev
package.

2. so common.py does not work without libibus-dev.




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复