[arch-commits] Commit in ttf-ubuntu-font-family/repos/community-any (4 files)
Jan Steffens
heftig at archlinux.org
Thu Jul 11 16:48:21 UTC 2019
Date: Thursday, July 11, 2019 @ 16:48:20
Author: heftig
Revision: 488923
archrelease: copy trunk to community-any
Added:
ttf-ubuntu-font-family/repos/community-any/81-ubuntu.conf
(from rev 488922, ttf-ubuntu-font-family/trunk/81-ubuntu.conf)
ttf-ubuntu-font-family/repos/community-any/PKGBUILD
(from rev 488922, ttf-ubuntu-font-family/trunk/PKGBUILD)
Deleted:
ttf-ubuntu-font-family/repos/community-any/81-ubuntu.conf
ttf-ubuntu-font-family/repos/community-any/PKGBUILD
----------------+
81-ubuntu.conf | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
PKGBUILD | 48 +++++++++++++++++++---------------------
2 files changed, 89 insertions(+), 25 deletions(-)
Deleted: 81-ubuntu.conf
===================================================================
(Binary files differ)
Copied: ttf-ubuntu-font-family/repos/community-any/81-ubuntu.conf (from rev 488922, ttf-ubuntu-font-family/trunk/81-ubuntu.conf)
===================================================================
--- 81-ubuntu.conf (rev 0)
+++ 81-ubuntu.conf 2019-07-11 16:48:20 UTC (rev 488923)
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+<!-- Fixes for Ubuntu family:
+ - Medium variant is used instead of Regular on Qt apps:
+ https://bugs.launchpad.net/ubuntu-font-family/+bug/744812
+ - Medium and Bold looks the same in certain applications:
+ https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373
+-->
+
+<match target="scan">
+ <test name="fullname" compare="eq">
+ <string>Ubuntu Light</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Ubuntu</string>
+ </edit>
+ <edit name="style" mode="assign">
+ <string>Light</string>
+ </edit>
+</match>
+
+<match target="scan">
+ <test name="fullname" compare="eq">
+ <string>Ubuntu Light Italic</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Ubuntu</string>
+ </edit>
+ <edit name="style" mode="assign">
+ <string>Light Italic</string>
+ </edit>
+</match>
+
+<match target="scan">
+ <test name="fullname" compare="eq">
+ <string>Ubuntu Medium</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Ubuntu</string>
+ </edit>
+ <edit name="style" mode="assign">
+ <string>Medium</string>
+ </edit>
+ <edit name="weight" mode="assign">
+ <const>demibold</const>
+ </edit>
+</match>
+
+<match target="scan">
+ <test name="fullname" compare="eq">
+ <string>Ubuntu Medium Italic</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>Ubuntu</string>
+ </edit>
+ <edit name="style" mode="assign">
+ <string>Medium Italic</string>
+ </edit>
+ <edit name="weight" mode="assign">
+ <const>demibold</const>
+ </edit>
+</match>
+
+</fontconfig>
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-11 16:46:28 UTC (rev 488922)
+++ PKGBUILD 2019-07-11 16:48:20 UTC (rev 488923)
@@ -1,25 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=ttf-ubuntu-font-family
-pkgver=0.83
-pkgrel=4
-pkgdesc="Ubuntu font family"
-arch=('any')
-url="http://font.ubuntu.com/"
-license=('custom:Ubuntu Font Licence 1.0')
-depends=('fontconfig' 'xorg-font-utils')
-provides=('ttf-font')
-backup=(etc/fonts/conf.avail/81-ubuntu.conf)
-source=(https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-$pkgver.zip
- 81-ubuntu.conf)
-sha256sums=('456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42'
- '16e29b1b8d13edddb588e4470f6da4c15870a9a27dd25eb4553c2c575d6dc14e')
-
-package() {
- cd "$srcdir"/ubuntu-font-family-$pkgver
- install -dm755 "$pkgdir"/usr/share/fonts/TTF "$pkgdir"/etc/fonts/conf.d
- install -m644 Ubuntu{,Mono}-*.ttf "$pkgdir"/usr/share/fonts/TTF/
- install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
- install -Dm644 "$srcdir"/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.avail/81-ubuntu.conf
- ln -s ../conf.avail/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.d/81-ubuntu.conf
-}
Copied: ttf-ubuntu-font-family/repos/community-any/PKGBUILD (from rev 488922, ttf-ubuntu-font-family/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-11 16:48:20 UTC (rev 488923)
@@ -0,0 +1,23 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=ttf-ubuntu-font-family
+pkgver=0.83
+pkgrel=5
+pkgdesc="Ubuntu font family"
+arch=('any')
+url="https://design.ubuntu.com/font/"
+license=('custom:Ubuntu Font Licence 1.0')
+backup=(etc/fonts/conf.avail/81-ubuntu.conf)
+source=(https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-$pkgver.zip
+ 81-ubuntu.conf)
+sha256sums=('456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42'
+ '16e29b1b8d13edddb588e4470f6da4c15870a9a27dd25eb4553c2c575d6dc14e')
+
+package() {
+ cd ubuntu-font-family-$pkgver
+ install -dm755 "$pkgdir"/etc/fonts/conf.d
+ install -Dm644 -t "$pkgdir"/usr/share/fonts/ubuntu *.ttf
+ install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+ install -Dm644 "$srcdir"/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.avail/81-ubuntu.conf
+ ln -s ../conf.avail/81-ubuntu.conf "$pkgdir"/etc/fonts/conf.d/81-ubuntu.conf
+}
More information about the arch-commits
mailing list