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

2017-09-08 Thread Jan Steffens
Date: Friday, September 8, 2017 @ 17:05:11
  Author: heftig
Revision: 305074

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

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

---+
 testing-i686/PKGBUILD |   63 
 testing-i686/fontconfig.hook  |   11 ++
 testing-i686/fontconfig.install   |   38 +
 testing-x86_64/PKGBUILD   |   63 
 testing-x86_64/fontconfig.hook|   11 ++
 testing-x86_64/fontconfig.install |   38 +
 6 files changed, 224 insertions(+)

Copied: fontconfig/repos/testing-i686/PKGBUILD (from rev 305073, 
fontconfig/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-09-08 17:05:11 UTC (rev 305074)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Jan de Groot 
+
+pkgname=fontconfig
+pkgver=2.12.4+29+g92da67a
+pkgrel=1
+pkgdesc="A library for configuring and customizing font access"
+arch=(i686 x86_64)
+url="https://www.freedesktop.org/wiki/Software/fontconfig/";
+license=(custom)
+depends=(expat freetype2)
+makedepends=(git autoconf-archive gperf python-lxml python-six docbook-utils 
docbook-sgml
+ perl-sgmls 'texlive-formatsextra>=2017' lynx)
+install=fontconfig.install
+_commit=92da67a9fcf9fa48ebb40f2032d47291d5427d41  # master
+source=("git+https://anongit.freedesktop.org/git/fontconfig#commit=$_commit";
+fontconfig.hook)
+sha256sums=('SKIP'
+'672f6a1c5e164671955ce807e670306194142a1794ce88df653aa717a972e274')
+
+# a nice page to test font matching:
+# http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
+# http://getemoji.com/
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./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/local/share/fonts
+  make
+}
+
+check() {
+  cd $pkgname
+  make -k check
+}
+
+_install_conf() {
+  install -m644 "$1" "$pkgdir/etc/fonts/conf.avail"
+  ln -s "../conf.avail/${1##*/}" "$pkgdir/etc/fonts/conf.d"
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 ../fontconfig.hook 
"$pkgdir/usr/share/libalpm/hooks/fontconfig.hook"
+}

Copied: fontconfig/repos/testing-i686/fontconfig.hook (from rev 305073, 
fontconfig/trunk/fontconfig.hook)
===
--- testing-i686/fontconfig.hook(rev 0)
+++ testing-i686/fontconfig.hook2017-09-08 17:05:11 UTC (rev 305074)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/fonts/*
+
+[Action]
+Description = Updating fontconfig cache...
+When = PostTransaction
+Exec = /usr/bin/fc-cache -s

Copied: fontconfig/repos/testing-i686/fontconfig.install (from rev 305073, 
fontconfig/trunk/fontconfig.install)
===
--- testing-i686/fontconfig.install (rev 0)
+++ testing-i686/fontconfig.install 2017-09-08 17:05:11 UTC (rev 305074)
@@ -0,0 +1,38 @@
+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
+
+  post_upgrade $1
+}
+
+post_upgrade() {
+  echo -n "Rebuilding fontconfig cache..."
+  # a full forced directory scan is required here
+  /u

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

2017-07-07 Thread Andreas Radke
Date: Friday, July 7, 2017 @ 10:48:03
  Author: andyrtr
Revision: 299801

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

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

---+
 testing-i686/PKGBUILD |   63 
 testing-i686/fontconfig.hook  |   11 ++
 testing-i686/fontconfig.install   |   38 +
 testing-x86_64/PKGBUILD   |   63 
 testing-x86_64/fontconfig.hook|   11 ++
 testing-x86_64/fontconfig.install |   38 +
 6 files changed, 224 insertions(+)

Copied: fontconfig/repos/testing-i686/PKGBUILD (from rev 299800, 
fontconfig/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-07-07 10:48:03 UTC (rev 299801)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Jan de Groot 
+
+pkgname=fontconfig
+pkgver=2.12.4
+pkgrel=1
+pkgdesc="A library for configuring and customizing font access"
+arch=(i686 x86_64)
+url="https://www.freedesktop.org/wiki/Software/fontconfig/";
+license=(custom)
+depends=(expat freetype2)
+makedepends=(git autoconf-archive gperf python-lxml python-six docbook-utils 
docbook-sgml
+ perl-sgmls 'texlive-formatsextra>=2017' lynx)
+install=fontconfig.install
+_commit=01085e07857cddf382db736a9e061f92f50397d6  # tags/2.12.4
+source=("git+https://anongit.freedesktop.org/git/fontconfig#commit=$_commit";
+fontconfig.hook)
+sha256sums=('SKIP'
+'672f6a1c5e164671955ce807e670306194142a1794ce88df653aa717a972e274')
+
+# a nice page to test font matching:
+# http://zipcon.net/~swhite/docs/computers/browsers/fonttest.html
+# http://getemoji.com/
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./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/local/share/fonts
+  make
+}
+
+check() {
+  cd $pkgname
+  make -k check
+}
+
+_install_conf() {
+  install -m644 "$1" "$pkgdir/etc/fonts/conf.avail"
+  ln -s "../conf.avail/${1##*/}" "$pkgdir/etc/fonts/conf.d"
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 ../fontconfig.hook 
"$pkgdir/usr/share/libalpm/hooks/fontconfig.hook"
+}

Copied: fontconfig/repos/testing-i686/fontconfig.hook (from rev 299800, 
fontconfig/trunk/fontconfig.hook)
===
--- testing-i686/fontconfig.hook(rev 0)
+++ testing-i686/fontconfig.hook2017-07-07 10:48:03 UTC (rev 299801)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/fonts/*
+
+[Action]
+Description = Updating fontconfig cache...
+When = PostTransaction
+Exec = /usr/bin/fc-cache -s

Copied: fontconfig/repos/testing-i686/fontconfig.install (from rev 299800, 
fontconfig/trunk/fontconfig.install)
===
--- testing-i686/fontconfig.install (rev 0)
+++ testing-i686/fontconfig.install 2017-07-07 10:48:03 UTC (rev 299801)
@@ -0,0 +1,38 @@
+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
+
+  post_upgrade $1
+}
+
+post_upgrade() {
+  echo -n "Rebuilding fontconfig cache..."
+  # a full forced directory scan is required here
+  /usr/bin/fc-c

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

2013-08-30 Thread Andreas Radke
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 @@
+
+
+
+  
+  
+Helvetica
+Arial
+  
+  
+Times
+Times New Roman
+  
+  
+Courier
+Courier New
+  
+

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 
+
+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 "d

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

2012-09-05 Thread andyrtr
Date: Wednesday, September 5, 2012 @ 07:21:50
  Author: andyrtr
Revision: 166188

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 166187, fontconfig/trunk/29-replace-bitmap-fonts.conf)
  fontconfig/repos/testing-i686/PKGBUILD
(from rev 166187, fontconfig/trunk/PKGBUILD)
  fontconfig/repos/testing-i686/fontconfig.install
(from rev 166187, fontconfig/trunk/fontconfig.install)
  fontconfig/repos/testing-x86_64/
  fontconfig/repos/testing-x86_64/29-replace-bitmap-fonts.conf
(from rev 166187, fontconfig/trunk/29-replace-bitmap-fonts.conf)
  fontconfig/repos/testing-x86_64/PKGBUILD
(from rev 166187, fontconfig/trunk/PKGBUILD)
  fontconfig/repos/testing-x86_64/fontconfig.install
(from rev 166187, fontconfig/trunk/fontconfig.install)

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

Copied: fontconfig/repos/testing-i686/29-replace-bitmap-fonts.conf (from rev 
166187, fontconfig/trunk/29-replace-bitmap-fonts.conf)
===
--- testing-i686/29-replace-bitmap-fonts.conf   (rev 0)
+++ testing-i686/29-replace-bitmap-fonts.conf   2012-09-05 11:21:50 UTC (rev 
166188)
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+Helvetica
+
+
+Arial
+Liberation Sans   
+sans-serif
+
+
+
+
+Courier
+
+
+Courier New
+Liberation Mono
+monospace
+
+
+
+
+Times
+
+
+Times New Roman
+Liberation Serif
+serif
+
+
+

Copied: fontconfig/repos/testing-i686/PKGBUILD (from rev 166187, 
fontconfig/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-09-05 11:21:50 UTC (rev 166188)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Jan de Groot 
+
+pkgname=fontconfig
+pkgver=2.10.1
+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.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, let's drop it for testing - 
should be covered in 30-metric-aliases.conf
+  #install -m644 "$srcdir/29-replace-bitmap-fonts.conf" 
"$pkgdir/etc/fonts/conf.avail"
+
+  # we should keep upstream presettings and not leave them all up to the users 
decision - so FC and Gentoo do
+  #rm -f "$pkgdir"/etc/fonts/conf.d/*.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 166187, 
fontconfig/trunk/fontconfig.install)
===
--- testing-i686/fontconfig.install (rev 0)
+++ testing-i686/fontconfig.install 2012-09-05 11:21:50 UTC (rev 166188)
@@ -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/c