Package Base Details: font-symbola

Git Clone URL: https://aur.archlinux.org/font-symbola.git (read-only, click to copy)
Submitter: grawlinson
Maintainer: grawlinson (caleb)
Last Packager: caleb
Votes: 72
Popularity: 6.02
First Submitted: 2020-03-21 23:45
Last Updated: 2020-03-27 16:02

Pinned Comments

caleb commented on 2020-03-25 05:53

In the latest release of this package I've introduced a workaround to force fresh downloads whenever we bump the package release number, not just the version. This should work around most people's caching issues resulting from upstream's replacing files without changing the filename or versions.

If you hit a checksum error now please flag this package as out of date.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

brianbrodsky12 commented on 2020-03-24 22:18

I am also getting validity check error, how do I get around?

grawlinson commented on 2020-03-24 21:24

caleb: Added you as a co-maintainer, go wild!

F1nny: Thanks for the notification. :)

caleb commented on 2020-03-24 21:03

@F1nny The upstream doesn't use any file versioning and just posts a new zip file at the same name with updated contents. This makes it a pain to package, and the checksum serves as an "out of date flag", at which point the two sources need comparing to make sure there are not build changes (unlikely in this case) and then updating to whatever version the internal font files show now.

F1nny commented on 2020-03-24 19:17

Build failing due to validity check as the source file (Symbola.zip) has been modified for some reason (? curious on, but looks fine after checking/scanning)

caleb commented on 2020-03-24 08:44

Hey @grawlinson, thanks for applying those patches. It looks pretty good except I missed one thing ... the ttf package should no longer conflict with ttf-symbola-ib. As a matter of fact that package currently depends on it! This is a recent change, I've been on a campaign to cleanup the -ib / -ibx packages to not duplicate so much work across packages. It used to be they were all duplicates of other packages plus a couple config files thrown in. I've been working at getting them merged and renamed such that the base font packages provided the font plus a sub-package provides the optional configs. This way two packages don't have to keep up to date with the font. See for example what I did with otf-erewhon and otf-erewhon-ibx (now -infinality) that used to be two packages that both hosted the fonts, not the latter is a sub-package that just depends on the font package and adds the config.

I started something similar for ttf-infinality-ib (actually before this got updated) such that it just depends on this package for the actual font. What do you think about just merging that package into this one instead of having two packages to maintain? I'd be happy to help co-maintain this one. If you are amenable you can either add me or check out my Github fork again, the latest commit of which is now a merge of the other package. It's kind of tricky to post that as a patch since it merges the history as well, but you can see what I have in mind and if you added it as a remote you can cherry pick that commit (or add me and I'll take care of it).

Thanks for the consideration. Again if you are adverse to adding the split package if you could at least change this so the -ib package isn't broken that would be appreciated:

From be0e16d31b5f7d51014b9d1867fee6e111dc0460 Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <caleb@alerque.com>
Date: Tue, 24 Mar 2020 11:42:26 +0300
Subject: [PATCH] Version limit conflicts with infinality package

Signed-off-by: Caleb Maclennan <caleb@alerque.com>
---
 .SRCINFO | 2 +-
 PKGBUILD | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 8992c06..f1b50b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,7 +15,7 @@ pkgbase = font-symbola
 pkgname = ttf-symbola
    pkgdesc = Font for symbol blocks of the Unicode Standard (TTF)
    provides = font-symbola
-   conflicts = ttf-symbola-ib
+   conflicts = ttf-symbola-ib<=13.00

 pkgname = otf-symbola
    pkgdesc = Font for symbol blocks of the Unicode Standard (OTF)
diff --git a/PKGBUILD b/PKGBUILD
index 5f0a9fd..902141e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ build() {
 }

 package_ttf-symbola() {
-  conflicts=('ttf-symbola-ib')
+  conflicts=('ttf-symbola-ib<=13.00')
   provides=('font-symbola')
   pkgdesc+=" (TTF)"
   install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" Symbola.ttf
-- 
2.26.0

grawlinson commented on 2020-03-23 18:46

Thanks Caleb! Patches have been applied.

caleb commented on 2020-03-23 11:01

One more thing (also in my Github fork if you pull from there), each of these two split packages should provide=('font-symbola') so that other packages can depend on having the font while allowing the user to pick which one they want to use.

From 1daf80f0487736cac3383fa3a5c0b753480ebc8f Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <caleb@alerque.com>
Date: Mon, 23 Mar 2020 13:59:26 +0300
Subject: [PATCH] Add provides=() so user can pick which version to supply for
 depends=()

Signed-off-by: Caleb Maclennan <caleb@alerque.com>
---
 .SRCINFO | 4 +++-
 PKGBUILD | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 631c623..d36b114 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = font-symbola
    pkgdesc = Font for symbol blocks of the Unicode Standard
    pkgver = 13.00
-   pkgrel = 2
+   pkgrel = 3
    url = https://dn-works.com/ufas/
    arch = any
    license = custom
@@ -13,8 +13,10 @@ pkgbase = font-symbola

 pkgname = ttf-symbola
    pkgdesc = Font for symbol blocks of the Unicode Standard (TTF)
+   provides = font-symbola
    conflicts = ttf-symbola-ib

 pkgname = otf-symbola
    pkgdesc = Font for symbol blocks of the Unicode Standard (OTF)
+   provides = font-symbola

diff --git a/PKGBUILD b/PKGBUILD
index b018248..0477dec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 pkgbase=font-symbola
 pkgname=('ttf-symbola' 'otf-symbola')
 pkgver=13.00
-pkgrel=2
+pkgrel=3
 pkgdesc='Font for symbol blocks of the Unicode Standard'
 arch=('any')
 url='https://dn-works.com/ufas/'
@@ -25,12 +25,14 @@ build() {

 package_ttf-symbola() {
   conflicts=('ttf-symbola-ib')
+  provides=('font-symbola')
   pkgdesc+=" (TTF)"
   install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" Symbola.ttf
   install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }

 package_otf-symbola() {
+  provides=('font-symbola')
   pkgdesc+=" (OTF)"
   install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" Symbola.otf
   install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-- 
2.25.2

Rhinoceros commented on 2020-03-23 10:26

What file is Symbola.zip meant to be? I tried downloading from https://dn-works.com/ufas/ (which is where http://users.teilar.gr/~g1951d/ redirects to, so that should be fixed), but this has a different checksum, and is missing things like Symbola_Hinted.ttf. Also, the latest version appears to be 13.00, and dated March 2020.

caleb commented on 2020-03-23 10:06

Thanks for updating this, I'm glad to see a font package that actually builds from source rather than just installing prebuilt font files.

Can you please remove the duplicate provides=() lines that are the same as the package names? I also cleaned up a few other tidbits if you want a patch you can grab from my Github fork or use git am on this:

From 14fe664583a93be6a555cdd8d3cd50dcda9e5187 Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <caleb@alerque.com>
Date: Mon, 23 Mar 2020 13:02:44 +0300
Subject: [PATCH] Enable TTF package, remove redundant provides, cleanup

Signed-off-by: Caleb Maclennan <caleb@alerque.com>
---
 .SRCINFO |  7 +++++--
 PKGBUILD | 30 ++++++++++++++----------------
 2 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 0109cec..631c623 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = font-symbola
    pkgdesc = Font for symbol blocks of the Unicode Standard
    pkgver = 13.00
-   pkgrel = 1
+   pkgrel = 2
    url = https://dn-works.com/ufas/
    arch = any
    license = custom
@@ -11,7 +11,10 @@ pkgbase = font-symbola
    sha512sums = 57f1c72d9fe03da68fee476f6c3d202805ba5eacfb4690ca5e3b10d4d335cbefaebd501f77af28abc2a71cd34a926a79d633689ff8cb54e972d09b5292f5c8b1
    sha512sums = 9afe91785611955511248fd31a86c7e370b23b1b2c37f9345c8f274b3e0e1dbf9c0da8f9edac62d27d318e56485b80966aa7622f167f4da5d5925a7935bfa3da

+pkgname = ttf-symbola
+   pkgdesc = Font for symbol blocks of the Unicode Standard (TTF)
+   conflicts = ttf-symbola-ib
+
 pkgname = otf-symbola
    pkgdesc = Font for symbol blocks of the Unicode Standard (OTF)
-   provides = otf-symbola

diff --git a/PKGBUILD b/PKGBUILD
index 2d3f8d9..b018248 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
 # Maintainer: George Rawlinson <george@rawlinson.net.nz>
+# Contributor: Caleb Maclennan <caleb@alerque.com>
 # Contributor: Morten Linderud <foxboron@archlinux.org>
 # Contributor: Daniel Micay <danielmicay@gmail.com>
 # Contributor: Elena ``of Valhalla'' Grandi <gmail.com: elena.valhalla>
 # Contributor: Jesse Jaara <gmail.com: jesse.jaara>

 pkgbase=font-symbola
-#pkgname=('ttf-symbola' 'otf-symbola')
-pkgname=('otf-symbola')
+pkgname=('ttf-symbola' 'otf-symbola')
 pkgver=13.00
-pkgrel=1
-pkgdesc="Font for symbol blocks of the Unicode Standard"
+pkgrel=2
+pkgdesc='Font for symbol blocks of the Unicode Standard'
 arch=('any')
-url="https://dn-works.com/ufas/"
+url='https://dn-works.com/ufas/'
 license=('custom')
 makedepends=('fontforge')
 source=("${pkgbase}-${pkgver}.zip::https://dn-works.com/wp-content/uploads/2020/UFAS-Fonts/Symbola.zip"
@@ -20,20 +20,18 @@ sha512sums=('57f1c72d9fe03da68fee476f6c3d202805ba5eacfb4690ca5e3b10d4d335cbefaeb
             '9afe91785611955511248fd31a86c7e370b23b1b2c37f9345c8f274b3e0e1dbf9c0da8f9edac62d27d318e56485b80966aa7622f167f4da5d5925a7935bfa3da')

 build() {
-  fontforge -c 'open(argv[1]).generate(argv[2])' Symbola.otf Symbola.ttf
+  fontforge -c 'open(argv[1]).generate(argv[2])' Symbola.{otf,ttf}
 }

-#package_ttf-symbola() {
-#  conflicts=('ttf-symbola-ib')
-#  provides=('ttf-symbola')
-#  pkgdesc+=" (TTF)"
-#  install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/Symbola.ttf" Symbola.ttf
-#  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-#}
+package_ttf-symbola() {
+  conflicts=('ttf-symbola-ib')
+  pkgdesc+=" (TTF)"
+  install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" Symbola.ttf
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}

 package_otf-symbola() {
-  provides=('otf-symbola')
   pkgdesc+=" (OTF)"
-  install -Dm644 Symbola.otf "$pkgdir/usr/share/fonts/OTF/Symbola.otf"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" Symbola.otf
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }
-- 
2.25.2

aiM0a commented on 2020-03-08 16:56

Just out of curiosity, why is the .git/config file point to http://aur..., instead of https://...?