Author: ranger
Date: Sat Nov  3 20:32:24 2007
New Revision: 1040

URL: 
http://svn.finkproject.org/websvn/listing.php?sc=1&rev=1040&repname=user%3a+ranger
Log:
validator fix (in unstable)

Added:
    trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.info
    trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.patch
Modified:
    trunk/experimental/common/main/finkinfo/x11/fontconfig2-dev.info

Added: trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.info
URL: 
http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.info&rev=1040&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.info (added)
+++ trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.info Sat Nov  3 
20:32:24 2007
@@ -1,0 +1,111 @@
+Package: fontconfig2-dev
+Version: 2.4.1
+Revision: 1
+Description: Font configuration library
+License: Restrictive/Distributable
+Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
+
+Depends: <<
+       expat1-shlibs,
+       fontconfig2-shlibs (= %v-%r)
+<<
+BuildDepends: <<
+       expat1,
+       x11-dev,
+       freetype219
+<<
+BuildDependsOnly: true
+
+Source: http://www.fontconfig.org/release/fontconfig-%v.tar.gz
+Source-MD5: 108f9a03fa9ed9dd779cc7ca236da557
+Patch: %n.patch
+
+SetCFLAGS: -fno-common -g
+ConfigureParams: 
--with-freetype-config="%p/lib/freetype219/bin/freetype-config" 
--prefix=%p/lib/fontconfig2 --with-confdir=%p/etc/fonts --disable-docs 
--disable-dependency-tracking --with-cache-dir=%p/var/cache/fontconfig-2.4 
--with-default-fonts=/Library/Fonts,/Network/Library/Fonts,/System/Library/Fonts,/usr/X11/lib/X11/fonts,/usr/X11R6/lib/X11/fonts,/usr/share/fonts,/var/root/Library/Fonts
+
+InstallScript: make -j1 install DESTDIR=%d
+DocFiles: README NEWS
+SplitOff: <<
+       Package: fontconfig2-shlibs
+       Description: Fontconfig 2, shared libs
+       Depends: <<
+               fontconfig-config (= %v-%r),
+               expat1-shlibs,
+               freetype219-shlibs
+       <<
+       DocFiles: README
+       Files: <<
+               lib/fontconfig2/bin
+               lib/fontconfig2/lib/libfontconfig.1*dylib
+       <<
+       Shlibs: %p/lib/fontconfig2/lib/libfontconfig.1.dylib 3.0.0 %n (>= 
2.4.1-1)
+       PostInstScript: %p/lib/fontconfig2/bin/fc-cache --force 
>/tmp/fc-cache.log 2>&1 || :
+<<
+SplitOff2: <<
+       Package: fontconfig-config
+       Description: configuration files for fontconfig
+       Files: %p/etc/fonts
+       ConfFiles: <<
+               %p/etc/fonts/fonts.conf
+               %p/etc/fonts/fonts.dtd
+               %p/etc/fonts/conf.avail/10-autohint.conf
+               %p/etc/fonts/conf.avail/10-no-sub-pixel.conf
+               %p/etc/fonts/conf.avail/10-sub-pixel-bgr.conf
+               %p/etc/fonts/conf.avail/10-sub-pixel-rgb.conf
+               %p/etc/fonts/conf.avail/10-sub-pixel-vbgr.conf
+               %p/etc/fonts/conf.avail/10-sub-pixel-vrgb.conf
+               %p/etc/fonts/conf.avail/10-unhinted.conf
+               %p/etc/fonts/conf.avail/20-fix-globaladvance.conf
+               %p/etc/fonts/conf.avail/20-lohit-gujarati.conf
+               %p/etc/fonts/conf.avail/20-unhint-small-vera.conf
+               %p/etc/fonts/conf.avail/30-amt-aliases.conf
+               %p/etc/fonts/conf.avail/30-urw-aliases.conf
+               %p/etc/fonts/conf.avail/40-generic.conf
+               %p/etc/fonts/conf.avail/49-sansserif.conf
+               %p/etc/fonts/conf.avail/50-user.conf
+               %p/etc/fonts/conf.avail/51-local.conf
+               %p/etc/fonts/conf.avail/60-latin.conf
+               %p/etc/fonts/conf.avail/65-fonts-persian.conf
+               %p/etc/fonts/conf.avail/65-nonlatin.conf
+               %p/etc/fonts/conf.avail/69-unifont.conf
+               %p/etc/fonts/conf.avail/70-no-bitmaps.conf
+               %p/etc/fonts/conf.avail/70-yes-bitmaps.conf
+               %p/etc/fonts/conf.avail/80-delicious.conf
+               %p/etc/fonts/conf.avail/90-synthetic.conf
+               %p/etc/fonts/conf.avail/README
+       <<
+<<
+
+Homepage: http://www.fontconfig.org
+DescDetail: <<
+A library for font customization and configuration.
+
+This version is meant to coexist peacefully with the libfontconfig
+provided in Apple's X11.  It has it's own configuration files in
+%p/etc/fonts, but is also configured to use a configuration in
+/usr/X11/lib/X11/fonts/local.conf and /etc/fonts/local.conf if they
+exist.
+<<
+DescUsage: <<
+You may need to pass -lexpat manually when linking to libfontconfig,
+especially if you are using the static (.a) lib and/or are not using
+libtool in order to resolve some _XML_* and _xml* symbols.
+<<
+DescPackaging: <<
+The .pc file is missing -lexpat in its Libs field.  Adding it after
+having it absent for a long time is likely to propagate into packages
+that didn't have it before and create linking noise or failures, so
+we'll just let other packages add the flag manually on the rare
+occasion it is needed.
+
+This package is not intended to replace the system fontconfig.  It is,
+however, patched to use it's own cache and configuration directories,
+but to still be capable of loading the user font configuration, as
+well as /etc/fonts/local.conf on 10.4 (or Leopard upgrades), which is
+the accepted way of modifying the behavior of /etc/fonts/fonts.conf.
+If a user has an edited /etc/fonts/fonts.conf, that edit will not
+affect any Fink apps using this fontconfig package.
+
+The same applies for /usr/X11/lib/X11/fonts/local.conf on Leopard.
+<<
+

Added: trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.patch
URL: 
http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.patch&rev=1040&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.patch (added)
+++ trunk/experimental/10.4/main/finkinfo/x11/fontconfig2-dev.patch Sat Nov  3 
20:32:24 2007
@@ -1,0 +1,61 @@
+
+--- fontconfig-2.4.1/fonts.conf.in     2006-09-09 23:36:02.000000000 -0400
++++ fontconfig-2.4.1-new/fonts.conf.in 2007-11-03 15:11:57.000000000 -0400
+@@ -30,7 +30,7 @@
+ <!-- Font cache directory list -->
+ 
+       <cachedir>@FC_CACHEDIR@</cachedir>
+-      <cachedir>~/.fontconfig</cachedir>
++      <cachedir>~/.fontconfig-2.4</cachedir>
+ 
+ <!--
+   Accept deprecated 'mono' alias, replacing it with 'monospace'
+@@ -69,10 +69,20 @@
+       </match>
+ 
+ <!--
++  Load per-user customization file
++-->
++      <include ignore_missing="yes">~/.fonts.conf</include>
++
++<!--
+   Load local system customization file
+ -->
+       <include ignore_missing="yes">conf.d</include>
+ 
++<!--
++  Load local (apple) system customization file
++-->
++      <include ignore_missing="yes">/etc/fonts/local.conf</include>
++
+       <config>
+ <!--
+   These are the default Unicode chars that are expected to be blank
+--- fontconfig-2.4.1/src/fcinit.c      2006-09-05 04:56:47.000000000 -0400
++++ fontconfig-2.4.1-new/src/fcinit.c  2007-11-03 15:15:14.000000000 -0400
+@@ -70,6 +70,25 @@
+       return FcInitFallbackConfig ();
+     }
+ 
++    if (config->cacheDirs && config->cacheDirs->num == 0)
++    {
++      fprintf (stderr,
++               "Fontconfig warning: no <cachedir> elements found. Check 
configuration.\n");
++      fprintf (stderr,
++               "Fontconfig warning: adding <cachedir>%s</cachedir>\n",
++               FC_CACHEDIR);
++      fprintf (stderr,
++               "Fontconfig warning: adding 
<cachedir>~/.fontconfig-2.4</cachedir>\n");
++      if (!FcConfigAddCacheDir (config, (FcChar8 *) FC_CACHEDIR) ||
++          !FcConfigAddCacheDir (config, (FcChar8 *) "~/.fontconfig-2.4"))
++      {
++          fprintf (stderr,
++                   "Fontconfig error: out of memory");
++          FcConfigDestroy (config);
++          return FcInitFallbackConfig ();
++      }
++    }
++
+     return config;
+ }
+ 

Modified: trunk/experimental/common/main/finkinfo/x11/fontconfig2-dev.info
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/x11/fontconfig2-dev.info&rev=1040&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/common/main/finkinfo/x11/fontconfig2-dev.info (original)
+++ trunk/experimental/common/main/finkinfo/x11/fontconfig2-dev.info Sat Nov  3 
20:32:24 2007
@@ -24,11 +24,7 @@
        Shlibs: %p/lib/fontconfig2/lib/libfontconfig.1.dylib 3.0.0 %n (>= 
2.4.1-1)
        DocFiles: README 
        Description: Fontconfig 2, shared libs
-       PostInstScript: <<
-#!/bin/sh
-
-%p/lib/fontconfig2/bin/fc-cache --force >/tmp/fc-cache.log 2>&1 || :
-       <<
+       PostInstScript: %p/lib/fontconfig2/bin/fc-cache --force 
>/tmp/fc-cache.log 2>&1 || :
 <<
 SplitOff2: <<
        Package: fontconfig-config


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to