[arch-commits] Commit in fontconfig/repos (8 files)

Andreas Radke andyrtr at nymeria.archlinux.org
Fri Aug 30 08:46:58 UTC 2013


    Date: Friday, August 30, 2013 @ 10:46:58
  Author: andyrtr
Revision: 193756

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  fontconfig/repos/testing-i686/
  fontconfig/repos/testing-i686/29-replace-bitmap-fonts.conf
    (from rev 193755, fontconfig/trunk/29-replace-bitmap-fonts.conf)
  fontconfig/repos/testing-i686/PKGBUILD
    (from rev 193755, fontconfig/trunk/PKGBUILD)
  fontconfig/repos/testing-i686/fontconfig.install
    (from rev 193755, fontconfig/trunk/fontconfig.install)
  fontconfig/repos/testing-x86_64/
  fontconfig/repos/testing-x86_64/29-replace-bitmap-fonts.conf
    (from rev 193755, fontconfig/trunk/29-replace-bitmap-fonts.conf)
  fontconfig/repos/testing-x86_64/PKGBUILD
    (from rev 193755, fontconfig/trunk/PKGBUILD)
  fontconfig/repos/testing-x86_64/fontconfig.install
    (from rev 193755, fontconfig/trunk/fontconfig.install)

---------------------------------------------+
 testing-i686/29-replace-bitmap-fonts.conf   |   18 ++++++++
 testing-i686/PKGBUILD                       |   56 ++++++++++++++++++++++++++
 testing-i686/fontconfig.install             |   39 ++++++++++++++++++
 testing-x86_64/29-replace-bitmap-fonts.conf |   18 ++++++++
 testing-x86_64/PKGBUILD                     |   56 ++++++++++++++++++++++++++
 testing-x86_64/fontconfig.install           |   39 ++++++++++++++++++
 6 files changed, 226 insertions(+)

Copied: fontconfig/repos/testing-i686/29-replace-bitmap-fonts.conf (from rev 193755, fontconfig/trunk/29-replace-bitmap-fonts.conf)
===================================================================
--- testing-i686/29-replace-bitmap-fonts.conf	                        (rev 0)
+++ testing-i686/29-replace-bitmap-fonts.conf	2013-08-30 08:46:58 UTC (rev 193756)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <!-- Prefer Microsoft versions of PostScript fonts, as these typically render a lot better on-screen 
+       30-metric-aliases.conf will then also add the free clones of these fonts -->
+  <alias binding="same">
+    <family>Helvetica</family>
+    <prefer><family>Arial</family></prefer>
+  </alias>
+  <alias binding="same">
+    <family>Times</family>
+    <prefer><family>Times New Roman</family></prefer>
+  </alias>
+  <alias binding="same">
+    <family>Courier</family>
+    <prefer><family>Courier New</family></prefer>
+  </alias>
+</fontconfig>

Copied: fontconfig/repos/testing-i686/PKGBUILD (from rev 193755, fontconfig/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-08-30 08:46:58 UTC (rev 193756)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=fontconfig
+pkgver=2.10.94
+pkgrel=1
+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.bz2
+        29-replace-bitmap-fonts.conf)
+sha256sums=('bf2c8504e015a955a4dbd1cb869968209fa321b8da2e55740a8064c7a89af63c'
+            '2325c478783659e8fce79f5754119934d6ce21f81552f878b740c7b18f9fe0d6')
+
+  # a nice page to test font matching:
+  # http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
+
+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 -fi
+
+  ./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
+
+  install -m644 "$srcdir/29-replace-bitmap-fonts.conf" "$pkgdir/etc/fonts/conf.avail"
+  ln -s ../conf.avail/29-replace-bitmap-fonts.conf \
+    "$pkgdir/etc/fonts/conf.d/29-replace-bitmap-fonts.conf"
+
+  #Install license
+  install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
+}

Copied: fontconfig/repos/testing-i686/fontconfig.install (from rev 193755, fontconfig/trunk/fontconfig.install)
===================================================================
--- testing-i686/fontconfig.install	                        (rev 0)
+++ testing-i686/fontconfig.install	2013-08-30 08:46:58 UTC (rev 193756)
@@ -0,0 +1,39 @@
+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
+}

Copied: fontconfig/repos/testing-x86_64/29-replace-bitmap-fonts.conf (from rev 193755, fontconfig/trunk/29-replace-bitmap-fonts.conf)
===================================================================
--- testing-x86_64/29-replace-bitmap-fonts.conf	                        (rev 0)
+++ testing-x86_64/29-replace-bitmap-fonts.conf	2013-08-30 08:46:58 UTC (rev 193756)
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <!-- Prefer Microsoft versions of PostScript fonts, as these typically render a lot better on-screen 
+       30-metric-aliases.conf will then also add the free clones of these fonts -->
+  <alias binding="same">
+    <family>Helvetica</family>
+    <prefer><family>Arial</family></prefer>
+  </alias>
+  <alias binding="same">
+    <family>Times</family>
+    <prefer><family>Times New Roman</family></prefer>
+  </alias>
+  <alias binding="same">
+    <family>Courier</family>
+    <prefer><family>Courier New</family></prefer>
+  </alias>
+</fontconfig>

Copied: fontconfig/repos/testing-x86_64/PKGBUILD (from rev 193755, fontconfig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-08-30 08:46:58 UTC (rev 193756)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=fontconfig
+pkgver=2.10.94
+pkgrel=1
+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.bz2
+        29-replace-bitmap-fonts.conf)
+sha256sums=('bf2c8504e015a955a4dbd1cb869968209fa321b8da2e55740a8064c7a89af63c'
+            '2325c478783659e8fce79f5754119934d6ce21f81552f878b740c7b18f9fe0d6')
+
+  # a nice page to test font matching:
+  # http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
+
+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 -fi
+
+  ./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
+
+  install -m644 "$srcdir/29-replace-bitmap-fonts.conf" "$pkgdir/etc/fonts/conf.avail"
+  ln -s ../conf.avail/29-replace-bitmap-fonts.conf \
+    "$pkgdir/etc/fonts/conf.d/29-replace-bitmap-fonts.conf"
+
+  #Install license
+  install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
+}

Copied: fontconfig/repos/testing-x86_64/fontconfig.install (from rev 193755, fontconfig/trunk/fontconfig.install)
===================================================================
--- testing-x86_64/fontconfig.install	                        (rev 0)
+++ testing-x86_64/fontconfig.install	2013-08-30 08:46:58 UTC (rev 193756)
@@ -0,0 +1,39 @@
+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
+}




More information about the arch-commits mailing list