[arch-commits] Commit in fontconfig/repos/extra-x86_64 (6 files)
Jan Steffens
heftig at archlinux.org
Mon Oct 14 13:41:14 UTC 2019
Date: Monday, October 14, 2019 @ 13:41:13
Author: heftig
Revision: 364799
archrelease: copy trunk to extra-x86_64
Added:
fontconfig/repos/extra-x86_64/PKGBUILD
(from rev 364798, fontconfig/trunk/PKGBUILD)
fontconfig/repos/extra-x86_64/fontconfig.hook
(from rev 364798, fontconfig/trunk/fontconfig.hook)
fontconfig/repos/extra-x86_64/fontconfig.install
(from rev 364798, fontconfig/trunk/fontconfig.install)
Deleted:
fontconfig/repos/extra-x86_64/PKGBUILD
fontconfig/repos/extra-x86_64/fontconfig.hook
fontconfig/repos/extra-x86_64/fontconfig.install
--------------------+
PKGBUILD | 125 ++++++++++++++++++++++++---------------------------
fontconfig.hook | 22 ++++----
fontconfig.install | 76 +++++++++++++++----------------
3 files changed, 110 insertions(+), 113 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 13:39:54 UTC (rev 364798)
+++ PKGBUILD 2019-10-14 13:41:13 UTC (rev 364799)
@@ -1,64 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=fontconfig
-pkgver=2.13.91+23+g65087ac
-pkgrel=1
-epoch=2
-pkgdesc="A library for configuring and customizing font access"
-arch=(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 json-c)
-install=fontconfig.install
-_commit=65087ac7ce4cc5f2109967c1380b474955dcb590 # master
-source=("git+https://gitlab.freedesktop.org/fontconfig/fontconfig.git#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/extra-x86_64/PKGBUILD (from rev 364798, fontconfig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-14 13:41:13 UTC (rev 364799)
@@ -0,0 +1,61 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=fontconfig
+pkgver=2.13.91+24+g75eadca
+pkgrel=1
+epoch=2
+pkgdesc="A library for configuring and customizing font access"
+arch=(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 json-c)
+install=fontconfig.install
+_commit=75eadca26648abf69497691ff0f4c7803b9ff23c # master
+source=("git+https://gitlab.freedesktop.org/fontconfig/fontconfig.git#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 fontconfig
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd fontconfig
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd fontconfig
+ ./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 fontconfig
+ make -k check
+}
+
+package() {
+ cd fontconfig
+ make DESTDIR="$pkgdir" install
+
+ install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 ../*.hook
+
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
+}
Deleted: fontconfig.hook
===================================================================
--- fontconfig.hook 2019-10-14 13:39:54 UTC (rev 364798)
+++ fontconfig.hook 2019-10-14 13:41:13 UTC (rev 364799)
@@ -1,11 +0,0 @@
-[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/extra-x86_64/fontconfig.hook (from rev 364798, fontconfig/trunk/fontconfig.hook)
===================================================================
--- fontconfig.hook (rev 0)
+++ fontconfig.hook 2019-10-14 13:41:13 UTC (rev 364799)
@@ -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
Deleted: fontconfig.install
===================================================================
--- fontconfig.install 2019-10-14 13:39:54 UTC (rev 364798)
+++ fontconfig.install 2019-10-14 13:41:13 UTC (rev 364799)
@@ -1,38 +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
-
- post_upgrade $1
-}
-
-post_upgrade() {
- echo -n "Rebuilding fontconfig cache..."
- # a full forced directory scan is required here
- /usr/bin/fc-cache -rs
- echo " done."
-}
-
-post_remove() {
- cat << _EOF
-
- Check for dead symlinks and leftover files
- in /etc/fonts/conf.d/
-
-_EOF
-}
Copied: fontconfig/repos/extra-x86_64/fontconfig.install (from rev 364798, fontconfig/trunk/fontconfig.install)
===================================================================
--- fontconfig.install (rev 0)
+++ fontconfig.install 2019-10-14 13:41:13 UTC (rev 364799)
@@ -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-cache -rs
+ 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