Package Base Details: unifont

Git Clone URL: https://aur.archlinux.org/unifont.git (read-only, click to copy)
Keywords:
Submitter: felix.s
Maintainer: neeshy
Last Packager: neeshy
Votes: 20
Popularity: 0.43
First Submitted: 2013-11-30 09:46 (UTC)
Last Updated: 2022-09-15 16:54 (UTC)

Latest Comments

1 2 3 Next › Last »

txtsd commented on 2022-09-18 08:14 (UTC)

Wow I specifically ran it three times yesterday to make sure. Could've been the Internet.

Sorry about that orz

neeshy commented on 2022-09-18 03:33 (UTC) (edited on 2022-09-18 03:44 (UTC) by neeshy)

@txtsd

Huh? What are you talking about?

~ % wget http://unifoundry.com/pub/unifont/unifont-15.0.01/unifont-15.0.01.tar.gz
--2022-09-17 23:16:45--  http://unifoundry.com/pub/unifont/unifont-15.0.01/unifont-15.0.01.tar.gz
Resolving unifoundry.com... 107.180.4.157
Connecting to unifoundry.com|107.180.4.157|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27490811 (26M) [application/x-gzip]
Saving to: 'unifont-15.0.01.tar.gz'

unifont-15.0.01.tar.gz            100%[==========================================================>]  26.22M  18.9MB/s    in 1.4s

2022-09-17 23:16:49 (18.9 MB/s) - 'unifont-15.0.01.tar.gz' saved [27490811/27490811]

~ % sha256sum unifont-15.0.01.tar.gz
7d11a924bf3c63ea7fdf2da2b96d6d4986435bedfd1e6816c8ac2e6db47634d5  unifont-15.0.01.tar.gz

I know how to use updpkgsums. You probably got an incomplete download or something. Maybe you got a bitflip because your RAM is failing, I don't know.

txtsd commented on 2022-09-16 05:15 (UTC) (edited on 2022-09-16 05:16 (UTC) by txtsd)

Not sure how you generated an incorrect hash. updpkgsums should handle it automatically for you.

I do this:

λ updpkgsums && makepkg --printsrcinfo >| .SRCINFO

Anyway, here's a patch:

From b9d66602e9a7459159ca677c4b7b9334b92ac9b7 Mon Sep 17 00:00:00 2001
From: txtsd <thexerothermicsclerodermoid@gmail.com>
Date: Fri, 16 Sep 2022 10:43:12 +0530
Subject: [PATCH] fix: Rectify checksums

Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
---
 .SRCINFO | 2 +-
 PKGBUILD | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index a718c36..bf9cc36 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,7 +9,7 @@ pkgbase = unifont
    source = http://unifoundry.com/pub/unifont/unifont-15.0.01/unifont-15.0.01.tar.gz
    source = http://unifoundry.com/pub/unifont/unifont-15.0.01/unifont-15.0.01.tar.gz.sig
    validpgpkeys = 95D2E9AB8740D8046387FD151A09227B1F435A33
-   sha256sums = 7d11a924bf3c63ea7fdf2da2b96d6d4986435bedfd1e6816c8ac2e6db47634d5
+   sha256sums = 009ab1921a7057adecd9c6547ecf03399b8503d77bd86969a2c071da7ec11e45
    sha256sums = SKIP

 pkgname = pcf-unifont
diff --git a/PKGBUILD b/PKGBUILD
index 965eaae..736df0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ arch=('any')
 url="http://unifoundry.com/"
 license=('GPL2' 'custom:OFL')
 source=("http://unifoundry.com/pub/unifont/unifont-$pkgver/unifont-$pkgver.tar.gz"{,.sig})
-sha256sums=('7d11a924bf3c63ea7fdf2da2b96d6d4986435bedfd1e6816c8ac2e6db47634d5'
+sha256sums=('009ab1921a7057adecd9c6547ecf03399b8503d77bd86969a2c071da7ec11e45'
             'SKIP')
 validpgpkeys=('95D2E9AB8740D8046387FD151A09227B1F435A33') # Paul Hardy <unifoundry@unifoundry.com>

-- 
2.37.3

Don't forget to bump pkgrel after.

neeshy commented on 2022-08-07 05:53 (UTC)

@dreieck

Moving the make call into build() kills two birds with one stone, so I just did that. It should work now with MAKEFLAGS="-j4".

dreieck commented on 2022-08-06 13:49 (UTC)

Regarding the issue not finding the binaries:

For me, the MAKEFLAGS="-j4" setting in the /etc/makepkg.conf was triggering it. If I manually had set it to -j1, it worked fine.

So I suggest to change the make calls to make -j1, to force non-parallel build/ install. I have confirmed for me that this works together with MAKEFLAGS="-j4".

By the way, the make call you have in package_unifont-utils() does compile some stuff. Compilation should be in build(), not in a package_*() function. Can you move it to build()?

Regards!

Alad commented on 2022-07-29 11:27 (UTC) (edited on 2022-07-29 11:28 (UTC) by Alad)

Please remove the troll contributor with his rm -rf "email address" from the PKGBUILD.

txtsd commented on 2022-07-29 10:43 (UTC)

Can I have co-maintainer, please? I might have a fix.

neeshy commented on 2022-07-16 19:12 (UTC)

@jfernandz @dreieck

Don't know what to tell you, I can't fix a bug which I can't reproduce. I've tested this package on Arch, Artix, Arch in a container and Arch in a VM with the same result. What I can say from the output that you've posted is that make is skipping over the "bin" and "bin-stamp" recipes in src/Makefile.

jfernandz commented on 2022-07-15 09:20 (UTC)

I've tested a clean build but having the same issue @dreieck reported, not sure why it cannot find the binaries:

   @echo "Run 'make install' from top-level directory" && \
   exit 1 ; \
fi
install -m0755 -d /home/jfernandz/AUR/unifont/pkg/unifont-utils/usr/bin
set -e && \
   cd ../bin && \
   install -m0755 hex2otf unibmp2hex unicoverage unidup unibdf2hex unibmpbump unifont1per unifontpic unigencircles unigenwidth unihex2bmp unihexgen unipagecount /home/jfernandz/AUR/unifont/pkg/unifont-utils/usr/bin
install: cannot stat 'hex2otf': No such file or directory
install: cannot stat 'unibmp2hex': No such file or directory
install: cannot stat 'unicoverage': No such file or directory
install: cannot stat 'unidup': No such file or directory
install: cannot stat 'unibdf2hex': No such file or directory
install: cannot stat 'unibmpbump': No such file or directory
install: cannot stat 'unifont1per': No such file or directory
install: cannot stat 'unifontpic': No such file or directory
install: cannot stat 'unigencircles': No such file or directory
install: cannot stat 'unigenwidth': No such file or directory
install: cannot stat 'unihex2bmp': No such file or directory
install: cannot stat 'unihexgen': No such file or directory
install: cannot stat 'unipagecount': No such file or directory
make: *** [Makefile:72: install] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/jfernandz/AUR/unifont/src/unifont-14.0.04/src'
==> ERROR: A failure occurred in package_unifont-utils().
    Aborting...
❯ find ./ -iname "hex2otf"
./src/unifont-14.0.04/src/hex2otf

but I can't see those either.

neeshy commented on 2022-07-11 17:57 (UTC) (edited on 2022-07-11 17:57 (UTC) by neeshy)

@dreieck

Works on my machine. Make sure you do a clean build.

==> Starting package_unifont-utils()...
make: Entering directory '/home/neeshy/.cache/yay/unifont/src/unifont-14.0.04/src'
gcc -g -O2 -Wall -std=c99 hex2otf.c -o hex2otf
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unibmp2hex.c   -o unibmp2hex
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unicoverage.c   -o unicoverage
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unidup.c   -o unidup
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unibdf2hex.c   -o unibdf2hex
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unibmpbump.c   -o unibmpbump
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unifont1per.c   -o unifont1per
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unifontpic.c   -o unifontpic
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unigencircles.c   -o unigencircles
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unigenwidth.c   -o unigenwidth
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unihex2bmp.c   -o unihex2bmp
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unihexgen.c   -o unihexgen
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  unipagecount.c   -o unipagecount
install -m0755 -d ../bin
install -m0755 hex2otf unibmp2hex unicoverage unidup unibdf2hex unibmpbump unifont1per unifontpic unigencircles unigenwidth unihex2bmp unihexgen unipagecount ../bin
install    -m0755 bdfimplode hex2bdf hex2sfd hexbraille hexdraw hexkinya hexmerge johab2ucs2 unifontchojung unifontksx unihex2png unihexfill unihexrotate unipng2hex unifont-viewer ../bin
\rm -f hex2otf unibmp2hex unicoverage unidup unibdf2hex unibmpbump unifont1per unifontpic unigencircles unigenwidth unihex2bmp unihexgen unipagecount
touch bin-stamp
if [ x/home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr = x ] ; \
then \
   @echo "Fatal error: PREFIX directory is not defined." && \
   @echo "Run 'make install' from top-level directory" && \
   exit 1 ; \
fi
install -m0755 -d /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/bin
set -e && \
   cd ../bin && \
   install -m0755 hex2otf unibmp2hex unicoverage unidup unibdf2hex unibmpbump unifont1per unifontpic unigencircles unigenwidth unihex2bmp unihexgen unipagecount /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/bin
set -e && \
   cd ../bin && \
   install    -m0755 bdfimplode hex2bdf hex2sfd hexbraille hexdraw hexkinya hexmerge johab2ucs2 unifontchojung unifontksx unihex2png unihexfill unihexrotate unipng2hex unifont-viewer /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/bin
make: Leaving directory '/home/neeshy/.cache/yay/unifont/src/unifont-14.0.04/src'
make: Entering directory '/home/neeshy/.cache/yay/unifont/src/unifont-14.0.04/man'
install -m0755 -d /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/share/man
install -m0755 -d /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/share/man/man1
install -m0755 -d /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/share/man/man5
for i in bdfimplode.1 hex2bdf.1 hex2sfd.1 hexbraille.1 hexdraw.1 hexmerge.1 hexkinya.1 johab2ucs2.1 unibdf2hex.1 unibmp2hex.1 unibmpbump.1 unicoverage.1 unidup.1 unifont1per.1 unifontpic.1 unifontchojung.1 unifontksx.1 unigencircles.1 unigenwidth.1 unihex2bmp.1 unihex2png.1 unihexfill.1 unihexgen.1 unihexrotate.1 unipagecount.1 unipng2hex.1 unifont-viewer.1 ; do \
   if [ 1 = 0 ] ; then \
      install -m0644 bdfimplode.1 hex2bdf.1 hex2sfd.1 hexbraille.1 hexdraw.1 hexmerge.1 hexkinya.1 johab2ucs2.1 unibdf2hex.1 unibmp2hex.1 unibmpbump.1 unicoverage.1 unidup.1 unifont1per.1 unifontpic.1 unifontchojung.1 unifontksx.1 unigencircles.1 unigenwidth.1 unihex2bmp.1 unihex2png.1 unihexfill.1 unihexgen.1 unihexrotate.1 unipagecount.1 unipng2hex.1 unifont-viewer.1 /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/share/man/man1 ; \
   else \
      gzip -f -9 -n < $i >$i.gz && \
      chmod 644 $i.gz && \
      mv $i.gz /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/share/man/man1 ; \
   fi \
done
for i in unifont.5 ; do \
   if [ 1 = 0 ] ; then \
      install -m0644 unifont.5 /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/share/man/man5 ; \
   else \
      gzip -f -9 -n < $i >$i.gz && \
      chmod 644 $i.gz && \
      mv $i.gz /home/neeshy/.cache/yay/unifont/pkg/unifont-utils/usr/share/man/man5 ; \
   fi \
done
make: Leaving directory '/home/neeshy/.cache/yay/unifont/src/unifont-14.0.04/man'

@txtsd

I did. It's a problem on your end.