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

Added Files:
        tgif.info tgif.patch 
Log Message:
Move to stable by request


--- NEW FILE: tgif.info ---
Package: tgif
Version: 4.1.45
Revision: 5
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), xmkmf
Depends: x11, rman, app-defaults, netpbm-bin, libgettext3-shlibs
PatchFile: %n.patch
PatchFile-MD5: c548d62fd9e786b2358897e8f4f36733
PatchScript: <<
sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1
rm -f Tgif.tmpl
cp Tgif.tmpl-darwin Tgif.tmpl
<<
CompileScript: <<
#!/bin/sh -ev
 export PATH=%p/lib/xmkmf/bin:$PATH
 xmkmf
 make TGIFDIR=%p/share/tgif
 cd po; xmkmf ; make Makefile Makefiles depend all
<<
InstallScript: <<
 make install install.man DESTDIR=%d LIBDIR=%p/lib BINDIR=%p/bin 
MANDIR=%p/share/man/man1 DOCDIR=%p/share/doc/%n CONFDIR=%p/etc 
TGIFDIR=%p/share/tgif INSTALLFLAGS=""
install -m 755 -d             %i/etc/app-defaults
install -m 755 tgif.Xdefaults %i/etc/app-defaults/Tgif
cd po; make install NLSDIR=%i/share/locale INSTALLFLAGS=""
<<
Description: Xlib based interactive 2-D drawing tool
DescDetail: <<
* Tgif (pronounced t-g-i-f) is an Xlib based interactive 2-D drawing tool 
under X11 on Linux and most UNIX platforms.
* Tgif became a hyper-structured-graphics (or hyper-graphics) editor/browser
on the World-Wide-Web in version 2.16 (released on Dec 3, 1994).
<<
DescPackaging:  <<
Since Apple's X11 is dropping xmkmf on 10.5, depend on Fink's package
Natural language support patch from Tomoaki Okayama
(Originally suggested by Asari Takashi)
Original version by Jeff Whitaker
<<
DocFiles: README HISTORY LICENSE.QPL
ConfFiles: %p/etc/app-defaults/Tgif
License: OSI-Approved
Homepage: http://bourbon.usc.edu:8001/tgif/
Maintainer: Alexander K. Hansen <[EMAIL PROTECTED]>

--- NEW FILE: tgif.patch ---
diff -Naur tgif-QPL-4.1.44.orig/Tgif.tmpl-darwin 
tgif-QPL-4.1.44/Tgif.tmpl-darwin
--- tgif-QPL-4.1.44.orig/Tgif.tmpl-darwin       Sat Jan 15 09:26:22 2005
+++ tgif-QPL-4.1.44/Tgif.tmpl-darwin    Sat Mar 19 23:16:50 2005
@@ -53,14 +53,15 @@
 MISCDEFINES    = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\
                   -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP \@@\
                  -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\"
-MOREDEFINES    =
+MOREDEFINES    = -D_DONT_USE_MKTEMP -DA4PAPER -DENABLE_NLS \@@\
+                  -DUSE_XT_INITIALIZE
 
 XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above
 XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 DEPLIBS                = $(DEPXLIB)
-LOCAL_LIBRARIES        = $(XLIB)
-XCOMM LOCAL_LIBRARIES  = $(XMULIB) $(XTOOLLIB) $(XLIB)
+XCOMM LOCAL_LIBRARIES  = $(XLIB)
+LOCAL_LIBRARIES        = $(XMULIB) $(XTOOLLIB) $(XLIB) [EMAIL PROTECTED]@/lib 
-lintl
 XCOMM SYS_LIBRARIES    = -lm
 SYS_LIBRARIES  = -lm
diff -Naur tgif-QPL-4.1.44.orig/po/ja/ja.po tgif-QPL-4.1.44/po/ja/ja.po
--- tgif-QPL-4.1.44.orig/po/ja/ja.po    Sat Jun 19 08:12:02 2004
+++ tgif-QPL-4.1.44/po/ja/ja.po Sat Mar 19 23:16:50 2005
@@ -2,7 +2,6 @@
 #
 # @(#)$Header: /mm2/home/cvs/bc-src/tgif/po/ja/ja.po,v 1.1 2004/06/18 23:12:02 
william Exp $
 #
-#, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: tgif-4.0.17\n"
@@ -11,7 +10,7 @@
 "Last-Translator: Jun Nishii <[EMAIL PROTECTED]>\n"
 "Language-Team: Project Vine <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=JISX-0208-1983-0\n"
+"Content-Type: text/plain; charset=euc-jp\n"
 "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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to