Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv3774

Modified Files:
        tgif.info tgif.patch 
Log Message:
Update courtesy of Tomoaki Okayama

Index: tgif.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics/tgif.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- tgif.info   23 Dec 2006 15:55:30 -0000      1.6
+++ tgif.info   6 Apr 2008 18:36:12 -0000       1.7
@@ -1,12 +1,12 @@
 Package: tgif
 Version: 4.1.45
-Revision: 2
+Revision: 3
 Source: ftp://bourbon.usc.edu/pub/%n/%n-QPL-%v.tar.gz
 Source-MD5: 5c1eba8291385c630b8099fa9b042455
 BuildDepends: x11-dev, gettext-tools, gettext-bin, libgettext3-dev, fink (>= 
0.24.12)
 Depends: x11, rman, app-defaults, netpbm-bin, libgettext3-shlibs
 PatchFile: %n.patch
-PatchFile-MD5: 818cf82712ecec1fee23656f6b09cd9a
+PatchFile-MD5: c548d62fd9e786b2358897e8f4f36733
 PatchScript: <<
 sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1
 rm -f Tgif.tmpl
@@ -14,7 +14,7 @@
 <<
 CompileScript: <<
  xmkmf
- make
+ make TGIFDIR=%p/share/tgif
  cd po; xmkmf ; make Makefile Makefiles depend all
 <<
 InstallScript: <<

Index: tgif.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/graphics/tgif.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tgif.patch  24 Sep 2006 13:20:39 -0000      1.1
+++ tgif.patch  6 Apr 2008 18:36:12 -0000       1.2
@@ -40,3 +40,37 @@
  "Content-Transfer-Encoding: 8-bit\n"
  
  #: ../../menuinfo.c:71
+diff -Naur tgif-QPL-4.1.45.orig/convxim.c tgif-QPL-4.1.45/convxim.c
+--- tgif-QPL-4.1.45.orig/convxim.c     2006-06-14 07:29:57.000000000 +0900
++++ tgif-QPL-4.1.45/convxim.c  2008-04-03 04:07:49.000000000 +0900
+@@ -183,6 +183,7 @@
+     char      buf[80];
+     XIMStyles *    styles=NULL;
+     Bool      style_flag;
++    int         style_attr;
+     int       i;
+     XPoint spot;
+     XRectangle s_rect;
+@@ -242,9 +243,12 @@
+       if (overthespot) {
+         for(i = 0; i < (int)(styles->count_styles); i ++){
+           if(styles->supported_styles[i] ==
+-             (XIMPreeditPosition | XIMStatusArea)){
++             (XIMPreeditPosition | XIMStatusArea)
++             || (styles->supported_styles[i] ==
++                 (XIMPreeditPosition | XIMStatusNothing))){
+             style_flag = True;
+             style_type = OVERTHESPOT;
++            style_attr = styles->supported_styles[i];
+             Msg(TgLoadString(STID_OVERTHESPOT_CONV));
+           }
+         }
+@@ -290,7 +294,7 @@
+                                       XNFontSet, XIMfs,
+                                       NULL);
+       ic = XCreateIC(im,
+-              XNInputStyle , XIMPreeditPosition | XIMStatusArea,
++              XNInputStyle , style_attr,
+               XNClientWindow, win,
+               XNFocusWindow, win,
+               XNPreeditAttributes, preedit_attr,


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to