Package: fontconfig2-dev Version: 2.14.2 Revision: 1 Description: Font configuration library License: Restrictive/Distributable Maintainer: The Gnome Core Team Depends: << fontconfig2-shlibs (= %v-%r) << BuildDepends: << expat1, fink (>= 0.32), fink-package-precedence, freetype219 (>= 2.10.2-1), json-c5, libgettext8-dev, libiconv-dev, ppkg-config << # looks for python3 interp (autoconf macro only knows up to 3.9) # python3 | python39 | python38 | python37 | python36 | python35 | python34 # but doesn't actually seem to use it for anything (generating files # that are pregenerated in tarball), so we short-circuit the tst. BuildDependsOnly: true Source: http://www.fontconfig.org/release/fontconfig-%v.tar.xz Source-Checksum: SHA256(dba695b57bce15023d2ceedef82062c2b925e51f5d4cc4aef736cf13f60a468b) PatchFile: %n.patch PatchFile-MD5: 62115bc99f5d3558031230f66e8619bd SetCFLAGS: -fno-common -g -Os ConfigureParams: << --prefix=%p/lib/fontconfig2 \ --with-baseconfigdir=%p/etc/fonts \ --with-templatedir=%p/etc/fonts/conf.avail \ --with-xmldir=%p/etc/fonts \ --disable-docs \ --enable-dependency-tracking \ --with-cache-dir=%p/var/cache/fontconfig-2.4 \ --with-default-fonts=/System/Library/Fonts \ --with-add-fonts=/Library/Fonts,/Network/Library/Fonts,/System/Library/Fonts,/opt/X11/lib/X11/fonts,/usr/X11/lib/X11/fonts,/usr/share/fonts \ --disable-silent-rules \ --disable-static \ --enable-iconv \ --with-libiconv=%p \ ac_cv_path_PYTHON=/usr/bin/false \ am_cv_pathless_PYTHON=false \ PKG_CONFIG=%p/bin/ppkg-config << CompileScript: << %{default_script} fink-package-precedence --prohibit-bdep %n . << InstallScript: << #!/bin/sh -ev make -j1 install DESTDIR=%d mkdir -p %i/share/man/man1 install -m 0644 fc-*/*.1 %i/share/man/man1 mkdir -p %i/share/man/man3 install -m 0644 doc/*.3 %i/share/man/man3 mkdir -p %i/share/man/man5 install -m 0644 doc/*.5 %i/share/man/man5 # everything is buried in a private hierarchy... # now symlink from the default places # must not symlink dirs...risk of confusing dpkg pushd %i/lib/fontconfig2 # 1. clone actual directory structure # NB: will fail miserably if space in %i or %p # but fink hopelessly can't handle that anyway /usr/bin/find . -type d -print0 | /usr/bin/xargs -0 -n 1 -I" " mkdir -pv "%i/ " # 2. symlink the individual files /usr/bin/find . \( -type f -o -type l \) -print0 | /usr/bin/xargs -0 -n 1 -I" " ln -sv "%p/lib/fontconfig2/ " "%i/ " # adjust to emit paths pointing to the default places #must edit actual files...perl-pie replaces symlink #with actual file (!= acting through the symlink) perl -pi -e 's,%p/lib/fontconfig2,%p,g' lib/pkgconfig/* # lib/*.la #Scared of libtool! popd # only keep the main ld file, not all the underlying pieces rm %i/lib/libfontconfig.1.* << DocFiles: AUTHORS COPYING ChangeLog NEWS README SplitOff: << Package: fontconfig2-shlibs Depends: << fontconfig-config (= %v-%r), expat1-shlibs, freetype219-shlibs (>= 2.10.2-1), libgettext8-shlibs, libiconv << DocFiles: AUTHORS COPYING ChangeLog NEWS README Files: << bin lib/fontconfig2/bin lib/fontconfig2/lib/libfontconfig.1*dylib share/man/man1 << Shlibs: %p/lib/fontconfig2/lib/libfontconfig.1.dylib 14.0.0 %n (>= 2.14.2-1) PostInstScript: %p/bin/fc-cache --force >/tmp/fc-cache.log 2>&1 || : << SplitOff2: << Package: fontconfig-config Description: Configuration files for fontconfig DocFiles: AUTHORS COPYING ChangeLog NEWS README Files: << %p/etc/fonts << ConfFiles: << %p/etc/fonts/fonts.conf %p/etc/fonts/fonts.dtd %p/etc/fonts/conf.avail/05-reset-dirs-sample.conf %p/etc/fonts/conf.avail/09-autohint-if-no-hinting.conf %p/etc/fonts/conf.avail/10-autohint.conf %p/etc/fonts/conf.avail/10-hinting-full.conf %p/etc/fonts/conf.avail/10-hinting-medium.conf %p/etc/fonts/conf.avail/10-hinting-none.conf %p/etc/fonts/conf.avail/10-hinting-slight.conf %p/etc/fonts/conf.avail/10-no-antialias.conf %p/etc/fonts/conf.avail/10-scale-bitmap-fonts.conf %p/etc/fonts/conf.avail/10-sub-pixel-bgr.conf %p/etc/fonts/conf.avail/10-sub-pixel-none.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/10-yes-antialias.conf %p/etc/fonts/conf.avail/11-lcdfilter-default.conf %p/etc/fonts/conf.avail/11-lcdfilter-legacy.conf %p/etc/fonts/conf.avail/11-lcdfilter-light.conf %p/etc/fonts/conf.avail/20-unhint-small-vera.conf %p/etc/fonts/conf.avail/25-unhint-nonlatin.conf %p/etc/fonts/conf.avail/30-metric-aliases.conf %p/etc/fonts/conf.avail/35-lang-normalize.conf %p/etc/fonts/conf.avail/40-nonlatin.conf %p/etc/fonts/conf.avail/45-generic.conf %p/etc/fonts/conf.avail/45-latin.conf %p/etc/fonts/conf.avail/48-spacing.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-generic.conf %p/etc/fonts/conf.avail/60-latin.conf %p/etc/fonts/conf.avail/65-fonts-persian.conf %p/etc/fonts/conf.avail/65-khmer.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 << << PreInstScript: << [ -L "%p/lib/fontconfig2/include/fontconfig" ] && rm "%p/lib/fontconfig2/include/fontconfig" << 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 its own configuration files in %p/etc/fonts, but is also configured to use a configuration in /opt/X11/lib/X11/fonts/local.conf, /usr/X11/lib/X11/fonts/local.conf and /etc/fonts/local.conf if they exist. << DescPackaging: << This package is not intended to replace the system fontconfig. It is, however, patched to use its 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 up through 10.7 and /opt/X11/lib/X11/fonts/local.conf on 10.8 and beyond for the standard X11 flavor for each OS X version. Just copy included manpages instead of regenerating from sgml sources to avoid needing dockbook chain as BuildDepends Formerly maintained by Benjamin Reed Previously, the package on OS X 10.5/10.6 was just symlinks to the components supplied by system X11. Upgrading back to a real fink-supplied package, we need to replace those symlinks with real files and directories, but dpkg cannot cope with "replace symlink with dir of same name". Remove the symlink in *this* PreInst, so installing this package's actual files doesn't follow it and install in system location. No longer supply static (as of 2.8.0-5), therefore no longer need to propagate linking against libs that are not in public ABI. Not sure if we should move freetype2 from Requires: to Requires.private: in the .pc file. It's in fcfreetype.h public header, but maybe we shouldn't also force consumers to link its library. Older versions defaulted to including iconv use. Default changed, so now explicitly specify it for consistency. No idea if this is a useful or good thing or not, so inertia wins until someone complains. A bunch of conf dirs are also set to put various file "where they were in previous versions". Need flag tricks to detect iconv in standard location? See: http://lists.freedesktop.org/archives/fontconfig/2012-December/004499.html <<