diff options
Diffstat (limited to 'testing/fontconfig')
-rw-r--r-- | testing/fontconfig/29-replace-bitmap-fonts.conf | 37 | ||||
-rw-r--r-- | testing/fontconfig/PKGBUILD | 56 | ||||
-rw-r--r-- | testing/fontconfig/fontconfig.install | 39 |
3 files changed, 0 insertions, 132 deletions
diff --git a/testing/fontconfig/29-replace-bitmap-fonts.conf b/testing/fontconfig/29-replace-bitmap-fonts.conf deleted file mode 100644 index 7ac4483c4..000000000 --- a/testing/fontconfig/29-replace-bitmap-fonts.conf +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<fontconfig> - <!-- Replace generic bitmap font names by generic font families. - These font-families will get replaced by other rules and - default to scaled ones. --> - <match target="pattern" name="family"> - <test name="family" qual="any"> - <string>Helvetica</string> - </test> - <edit mode="assign" name="family"> - <string>Arial</string> - <string>Liberation Sans</string> - <string>sans-serif</string> - </edit> - </match> - <match target="pattern" name="family"> - <test name="family" qual="any"> - <string>Courier</string> - </test> - <edit mode="assign" name="family"> - <string>Courier New</string> - <string>Liberation Mono</string> - <string>monospace</string> - </edit> - </match> - <match target="pattern" name="family"> - <test name="family" qual="any"> - <string>Times</string> - </test> - <edit mode="assign" name="family"> - <string>Times New Roman</string> - <string>Liberation Serif</string> - <string>serif</string> - </edit> - </match> -</fontconfig> diff --git a/testing/fontconfig/PKGBUILD b/testing/fontconfig/PKGBUILD deleted file mode 100644 index ffa5f2544..000000000 --- a/testing/fontconfig/PKGBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# $Id: PKGBUILD 166194 2012-09-05 14:35:55Z andyrtr $ -# Maintainer: Jan de Groot <jgc@archlinux.org> - -pkgname=fontconfig -pkgver=2.10.1 -pkgrel=2 -pkgdesc="A library for configuring and customizing font access" -arch=(i686 x86_64) -url="http://www.fontconfig.org/release/" -license=('custom') -depends=('expat' 'freetype2') -options=('!libtool') -install=fontconfig.install -source=(http://www.fontconfig.org/release/$pkgname-$pkgver.tar.gz - 29-replace-bitmap-fonts.conf) -md5sums=('c94e380eea42f2f23ca9537035ef1899' - 'f6b67e8cc79197ed6abd4701911e83da') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # make sure there's no rpath trouble and sane .so versioning - FC and Gentoo do this as well - libtoolize -f - autoreconf -f - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-templatedir=/etc/fonts/conf.avail \ - --with-xmldir=/etc/fonts \ - --localstatedir=/var \ - --disable-static \ - --with-default-fonts=/usr/share/fonts \ - --with-add-fonts=/usr/share/fonts - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - # not upstream, not in FC and not in Gentoo, this should probably go upstream - # meanwhile to satisfy pages like http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html we bring it back - install -m644 "$srcdir/29-replace-bitmap-fonts.conf" "$pkgdir/etc/fonts/conf.avail" - pushd $pkgdir/etc/fonts/conf.d - ln -s /etc/fonts/conf.avail/29-replace-bitmap-fonts.conf . - popd - - #Install license - install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" - install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname" -} diff --git a/testing/fontconfig/fontconfig.install b/testing/fontconfig/fontconfig.install deleted file mode 100644 index 3a0ca573b..000000000 --- a/testing/fontconfig/fontconfig.install +++ /dev/null @@ -1,39 +0,0 @@ -post_install() { - cat << _EOF - - Fontconfig configuration is done via /etc/fonts/conf.avail and conf.d. - Read /etc/fonts/conf.d/README for more information. - - Configuration via /etc/fonts/local.conf is still possible, - but is no longer recommended for options available in conf.avail. - - Main systemwide configuration should be done by symlinks - (especially for autohinting, sub-pixel and lcdfilter): - - cd /etc/fonts/conf.d - ln -s ../conf.avail/XX-foo.conf - - Check also https://wiki.archlinux.org/index.php/Font_Configuration - and https://wiki.archlinux.org/index.php/Fonts. - -_EOF - - echo -n "updating font cache... " - /usr/bin/fc-cache -f - echo "done." -} - -post_upgrade() { - echo -n "updating font cache... " - /usr/bin/fc-cache -f - echo "done." -} - -post_remove() { - cat << _EOF - - Check for dead symlinks and leftover files - in /etc/fonts/conf.d/ - -_EOF -} |