Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12176

Modified Files:
        ptex.info dvipdfmx.info 
Log Message:
Dependency fix.

Index: dvipdfmx.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text/dvipdfmx.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dvipdfmx.info       12 Mar 2006 14:59:25 -0000      1.3
+++ dvipdfmx.info       22 Mar 2006 17:55:22 -0000      1.4
@@ -1,7 +1,7 @@
 Package: dvipdfmx
 Version: 20050627
-Revision: 5
-Depends: ptex3-base, libkpathsea4-shlibs, libpng3-shlibs, ghostscript, 
appleotffonts, applesystemfonts
+Revision: 6
+Depends: ptex3-base, libkpathsea4-shlibs, libpng3-shlibs, ghostscript-nox | 
ghostscript
 BuildDepends: libkpathsea4, libpng3, fink (>= 0.24.12)
 Source: http://project.ktug.or.kr/dvipdfmx/snapshot/release/%n-%v.tar.gz
 Source-MD5: 5a02f615401052f67b13a250c6bbe9ec
@@ -16,11 +16,6 @@
  mkdir -p                                   %i/share/texmf/fonts/map/dvipdfm
  mv %i/share/texmf/dvipdfm/config/cid-x.map %i/share/texmf/fonts/map/dvipdfm/
 
- mkdir -p                        %i/share/texmf/fonts/truetype
- ln -s %p/lib/X11/fonts/applettf %i/share/texmf/fonts/truetype
- mkdir -p                        %i/share/texmf/fonts/opentype
- ln -s %p/lib/X11/fonts/appleotf %i/share/texmf/fonts/opentype
-
  mv %i/share/texmf/dvipdfm/config/glyphlist.txt %i/share/texmf/dvipdfm/
 <<
 DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
@@ -34,7 +29,7 @@
 PostInstScript:<<
   cd %p/share/texmf/fonts/cmap/dvipdfm
   res=`find %p/share/ghostscript -type d -name Resource | sort -r | head -1`
-  if test -d $res ; then
+  if test -d "$res" ; then
     ln -s $res .
   fi
   [ -x %p/bin/mktexlsr ] && %p/bin/mktexlsr

Index: ptex.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/text/ptex.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ptex.info   14 Mar 2006 16:17:53 -0000      1.3
+++ ptex.info   22 Mar 2006 17:55:22 -0000      1.4
@@ -2,7 +2,7 @@
 Package: ptex%type_pkg[-nox]
 Type: -nox (boolean)
 Version: 3.1.9
-Revision: 13
+Revision: 14
 GCC: 4.0
 Description: ASCII publishing TeX
 Depends: %N-base (= %v-%r), texinfo, debianutils, texi2html
@@ -125,6 +125,8 @@
  echo "---------- start installing mendexk ----------"
  ( cd texk/mendexk ; make install prefix=%i texmf=%i/share/texmf )
 
+ install -m 755 -d %i/share/texmf/fonts/{opentype,truetype}
+
 echo "Removing files that belong to the libkpathsea4 package..."
 
  rm -R %i/include
@@ -177,6 +179,7 @@
   t1lib5-shlibs, libpng3-shlibs (>= 1:1.2.8-1), 
   libwww-bin, libncurses5-shlibs, ncurses,
   fink (>= 0.12.0-1), libkpathsea4-shlibs (>= 3.0-1), ptex-texmf (>= 2.3-4),
+  (%type_raw[-nox] = .) applesystemfonts,
   (%type_raw[-nox] = .) appleotffonts,
   (%type_raw[-nox] = -nox) ghostscript-nox,
   (%type_raw[-nox] = .) ghostscript,
@@ -223,6 +226,9 @@
   rm -Rf %p/etc/texmf-var
 
   rm -Rf %p/var/lib/texmf
+
+  rm -f %p/share/texmf/fonts/truetype/applettf
+  rm -f %p/share/texmf/fonts/opentype/appleotf
  <<
  PostInstScript: <<
   if [ ! -e %p/share/texmf-dist/tex/context ] ; then
@@ -248,6 +254,15 @@
   chmod -R a+rwX %p/var/lib/texmf
   chmod -R a+rwX %p/etc/texmf-config
   if [ -f ~/Library/texmf/ls-R ]; then chmod a+rw ~/Library/texmf/ls-R; fi
+
+  if [ -d %p/lib/X11/fonts/applettf ]
+  then
+    ln -s %p/lib/X11/fonts/applettf %p/share/texmf/fonts/truetype
+  fi
+  if [ -d %p/lib/X11/fonts/appleotf ]
+  then
+    ln -s %p/lib/X11/fonts/appleotf %p/share/texmf/fonts/opentype
+  fi
  <<
  PreRmScript: <<
   if [ $1 != "upgrade" ]; then
@@ -255,6 +270,8 @@
       update-alternatives --remove xdvi %p/bin/xdvik
       update-alternatives --remove xdvizilla %p/bin/xdvizillak
     fi
+    rm -f %p/share/texmf/fonts/truetype/applettf
+    rm -f %p/share/texmf/fonts/opentype/appleotf
   fi
  <<
  DescDetail: <<



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to