Package: xft2-dev # 2.3.1 seems to give spacing problems # https://bugs.freedesktop.org/show_bug.cgi?id=47178 # and no major new features vs 2.2.0 Version: 2.2.0 Revision: 5 Maintainer: The Gnome Core Team BuildDependsOnly: true BuildDepends: << fink-package-precedence, fontconfig2-dev (>= 2.10.0-1), freetype219 (>= 2.5.5-1), ppkg-config, x11-dev << Depends: xft2-shlibs (= %v-%r) Source-Checksum: SHA256(c8685ae56da0c1dcc2bc1e34607e7d76ae98b86a1a71baba3a6b76dbcf5ff9b2) Source: http://xorg.freedesktop.org/releases/individual/lib/libXft-%v.tar.bz2 PatchFile: %n.patch PatchFile-MD5: 95f1a8efbec3abec682e76e2df8b792a ConfigureParams: --prefix=%p/lib/xft2 --mandir=%p/share/man --disable-silent-rules --enable-dependency-tracking --disable-static # Moved from pkgconfig to ppkg-config for Apple Silicon CompileScript: << #!/bin/sh -ev PKG_CONFIG=%p/bin/ppkg-config %{default_script} fink-package-precedence --prohibit-bdep %n . << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d # everything is buried in a private hierarchy... # now symlink from the default places # must not symlink dirs...risk of confusing dpkg pushd %i/lib/xft2 # 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/xft2/ " "%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/xft2,%p,g' lib/pkgconfig/* # lib/*.la #Scared of libtool! popd # only keep the main ld file, not all the underlying pieces rm %i/lib/libXft.2.* << DocFiles: AUTHORS COPYING ChangeLog NEWS README SplitOff: << Package: xft2-shlibs Depends: << dpkg-base-files, fontconfig2-shlibs (>= 2.10.0-1), freetype219-shlibs (>= 2.5.5-1), x11-shlibs << Files: lib/xft2/lib/libXft.2.*dylib Shlibs: %p/lib/xft2/lib/libXft.2.dylib 5.0.0 %n (>= 2.2.0-1) DocFiles: AUTHORS COPYING ChangeLog NEWS README << Description: FreeType font support for X11 apps DescPackaging: << Formerly maintained by Alexander Strange Prior to 2.1.14-1, was static-only. Now have shared, so use dpkg-base-files to avoid further propagation of this new/changed dependency via dependant pkgs' .la files (if .dylib is available, will default to that, regardless of whatever .a might be available). No longer supply static (as of 2.2.0-1). xft-config went away as of 2.2.0-1 (long-existing .pc approach still available), at which time nothing in fink appears to have still being using the -config approach) Upstream fix for new freetype. See: http://cgit.freedesktop.org/xorg/lib/libXft/commit/?id=4acfdaf95adb0a05c2a25550bdde036c865902f4 << License: Restrictive/Distributable Homepage: http://www.freedesktop.org/wiki/Software/Xft