Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/editors
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29290

Added Files:
        abiword.info abiword.patch 
Log Message:
Moved from unstable.


--- NEW FILE: abiword.patch ---
--- abiword-2.0.0/abi/src/af/xap/unix/xap_UnixFrameImpl.cpp.orig        Tue Sep 
23 11:58:26 2003
+++ abiword-2.0.0/abi/src/af/xap/unix/xap_UnixFrameImpl.cpp     Tue Sep 23 
11:59:40 2003
@@ -1629,6 +1629,11 @@
        }
        if (fmtstring == 0)
        {
+               if(progExists("open"))
+               {
+                       fmtstring = "open '%s' &";
+                       execstring = g_strdup_printf(fmtstring, szURL);
+               }
                if(progExists("galeon"))
                {
                        fmtstring = "galeon '%s' &";
--- abiword-2.0.0/abi/abiword.sh.orig   Wed Sep 24 14:34:33 2003
+++ abiword-2.0.0/abi/abiword.sh        Wed Sep 24 14:34:25 2003
@@ -0,0 +1,14 @@
+#!/bin/sh
+# make symlinks in ~/.fonts for applettf .ttf files
+# if they are not already there.
+for file in @PREFIX@/lib/X11/fonts/applettf/*ttf; do
+    if [ ! -d ~/.fonts ]; then
+        mkdir ~/.fonts
+    fi
+    symlink=~/.fonts/`basename $file`
+    if [ -f $file ] && [ ! -L $symlink ] && [ ! -f $symlink ] ; then
+        ln -s $file $symlink
+    fi
+done
+# launch abiword
[EMAIL PROTECTED]@/lib/AbiSuite-2.0/AbiWord-2.0 $@

--- NEW FILE: abiword.info ---
Package: abiword
Version: 2.0.6
Revision: 1
Depends:  glib2-shlibs, pango1-xft2-shlibs, atk1-shlibs, gtk+2-shlibs, 
libglade2-shlibs, fribidi-shlibs, libxml2-shlibs, libpng3-shlibs, 
libjpeg-shlibs, popt-shlibs
BuildDepends: pkgconfig, glib2-dev, glib2, pango1-xft2-dev, atk1, gtk+2-dev, 
libglade2, fribidi, fribidi-dev, libxml2, libjpeg, libpng3, gettext-dev, 
gettext-bin, libiconv-dev, applesystemfonts, popt, x11-dev, gcc3.3
PatchScript: <<
 #!/bin/sh
 cd ../
 sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
<<
Description: Open-source word processor
DescUsage: <<
 set the BROWSER environment variable to "open" to
 have your default web browser be the help viewer.
<<
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 6bfd9bb3d11ce7558e9235a427f9883e
GCC: 3.3
SourceDirectory: %n-%v/abi
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --disable-gnome --disable-Cocoa --disable-Carbon 
--with-libxml2 --disable-gucharmap --with-libjpeg  --without-epath
NoSetCPPFLAGS: true
SetCC: gcc-3.3
SetCXX: g++-3.3
CompileScript: <<
 #!/bin/sh
 # set CPPFLAGS so that :freetype2 headers found before freetype headers.
 export CPPFLAGS="-I/usr/X11R6/include/freetype2 -I%p/include"
 ./configure %c
 make
<<
InstallScript: <<
 #!/bin/sh
 make install DESTDIR=%d
 # make abiword a shell script that sets symlinks for applettf
 # fonts in ~/.fonts (if necessary) on launch.
 # remove abiword (a symlink)
 /bin/rm -f %i/bin/abiword
 mkdir -p %i/lib/AbiSuite-2.0
 # move actual abiword executable
 mv %i/bin/AbiWord-2.0 %i/lib/AbiSuite-2.0
 # install abiword startup script
 cp abiword.sh %i/bin/abiword
 chmod 755 %i/bin/abiword
 # install abiword-docs dir.
 mkdir -p %i/share/doc/%n
 cd ../
 cp -R abiword-docs %i/share/doc/%n
 # symlink for man page
 mkdir -p %i/share/man/man8
 ln -s %p/share/doc/abiword/abiword-docs/man/abiword.8 
%i/share/man/man8/abiword.8
 # symlink for help pages
 mkdir -p %i/share/AbiSuite-2.0/AbiWord
 ln -s %p/share/doc/abiword/abiword-docs/help %i/share/AbiSuite-2.0/AbiWord/help
<<
DescPort: <<
 Patch to use 'open' as default help browser (set the BROWSER
 environment variable to override this).
 abiword is a wrapper script that sets up symlinks to applettf
 fonts in ~/.fonts, so that abiword will find them.
<<
DocFiles: BUILD.TXT COPYING README.TXT COPYRIGHT.TXT
License: GPL
Homepage: http://www.abiword.com
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to