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

Jan Steffens heftig at nymeria.archlinux.org
Fri Oct 11 13:51:26 UTC 2013


    Date: Friday, October 11, 2013 @ 15:51:26
  Author: heftig
Revision: 196319

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

Added:
  fontconfig/repos/testing-i686/
  fontconfig/repos/testing-i686/PKGBUILD
    (from rev 196317, fontconfig/trunk/PKGBUILD)
  fontconfig/repos/testing-i686/fontconfig.install
    (from rev 196317, fontconfig/trunk/fontconfig.install)
  fontconfig/repos/testing-x86_64/
  fontconfig/repos/testing-x86_64/PKGBUILD
    (from rev 196317, fontconfig/trunk/PKGBUILD)
  fontconfig/repos/testing-x86_64/fontconfig.install
    (from rev 196317, fontconfig/trunk/fontconfig.install)

-----------------------------------+
 testing-i686/PKGBUILD             |   47 ++++++++++++++++++++++++++++++++++++
 testing-i686/fontconfig.install   |   39 +++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD           |   47 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/fontconfig.install |   39 +++++++++++++++++++++++++++++
 4 files changed, 172 insertions(+)

Copied: fontconfig/repos/testing-i686/PKGBUILD (from rev 196317, fontconfig/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-10-11 13:51:26 UTC (rev 196319)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=fontconfig
+pkgver=2.11.0
+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)
+sha256sums=('cb0e0ef6f03bc8568e95653840bb07d5859dc89d7ce2cade9d94fcccf8c1a467')
+
+  # a nice page to test font matching:
+  # http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
+
+build() {
+  cd $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 $pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: fontconfig/repos/testing-i686/fontconfig.install (from rev 196317, fontconfig/trunk/fontconfig.install)
===================================================================
--- testing-i686/fontconfig.install	                        (rev 0)
+++ testing-i686/fontconfig.install	2013-10-11 13:51:26 UTC (rev 196319)
@@ -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/PKGBUILD (from rev 196317, fontconfig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-10-11 13:51:26 UTC (rev 196319)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=fontconfig
+pkgver=2.11.0
+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)
+sha256sums=('cb0e0ef6f03bc8568e95653840bb07d5859dc89d7ce2cade9d94fcccf8c1a467')
+
+  # a nice page to test font matching:
+  # http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
+
+build() {
+  cd $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 $pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: fontconfig/repos/testing-x86_64/fontconfig.install (from rev 196317, fontconfig/trunk/fontconfig.install)
===================================================================
--- testing-x86_64/fontconfig.install	                        (rev 0)
+++ testing-x86_64/fontconfig.install	2013-10-11 13:51:26 UTC (rev 196319)
@@ -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