Package Details: psf-unifont 14.0.04-1

Git Clone URL: https://aur.archlinux.org/unifont.git (read-only, click to copy)
Package Base: unifont
Description: A free bitmap font with wide Unicode support (PCF version)
Upstream URL: http://unifoundry.com/
Keywords:
Licenses: GPL2, custom:OFL
Submitter: felix.s
Maintainer: neeshy
Last Packager: neeshy
Votes: 20
Popularity: 1.09
First Submitted: 2013-11-30 09:46 (UTC)
Last Updated: 2022-08-07 05:52 (UTC)

Latest Comments

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.

txtsd commented on 2022-07-11 03:15 (UTC)

Please also test the PKGBUILD before pushing.

dreieck commented on 2022-07-10 08:45 (UTC)

Please move all commands involving building/ compiling out of package_[...]()-functions into build() function (e.g. the gcc calls).

Thanks for maintaining!

dreieck commented on 2022-07-10 08:40 (UTC)

Packaging of unifont-utils fails:

==> Starting package_unifont-utils()...
make: Entering directory '/[...]/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,--hash-style=gnu  unibmp2hex.c   -o unibmp2hex
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unicoverage.c   -o unicoverage
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unidup.c   -o unidup
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unibdf2hex.c   -o unibdf2hex
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unibmpbump.c   -o unibmpbump
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unifont1per.c   -o unifont1per
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unifontpic.c   -o unifontpic
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unigencircles.c   -o unigencircles
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unigenwidth.c   -o unigenwidth
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unihex2bmp.c   -o unihex2bmp
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unihexgen.c   -o unihexgen
gcc -g -O2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu  unipagecount.c   -o unipagecount
if [ x/[...]/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 /[...]/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 /[...]/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 '/[...]/unifont/src/unifont-14.0.04/src'
==> ERROR: A failure occurred in package_unifont-utils().

Regards!

felix.s commented on 2020-01-09 19:01 (UTC)

There is no such file in the original tarball, so… probably not, I guess?

asmolero commented on 2020-01-09 16:52 (UTC)

Could the lib/wchardata.c be added to the package_unifont-utils function to be installed?

chungy commented on 2019-05-23 17:42 (UTC)

12.1.01 now uses the BSD strlcpy function in unicoverage, which is odd to say the least. Possible resolution includes adding libbsd as a dependency and the following patch:

--- unifont-12.1.01.old/src/Makefile    2019-03-16 15:48:05.000000000 -0700
+++ unifont-12.1.01/src/Makefile    2019-05-23 10:35:10.792070779 -0700
@@ -5,6 +5,8 @@

 CFLAGS   = -g -O2 -Wall

+LDFLAGS = -lbsd
+
 LOCALBINDIR = ../bin

 VPATH = . $(LOCALBINDIR)
diff -ur unifont-12.1.01.old/src/unicoverage.c unifont-12.1.01/src/unicoverage.c
--- unifont-12.1.01.old/src/unicoverage.c   2019-05-11 02:51:46.000000000 -0700
+++ unifont-12.1.01/src/unicoverage.c   2019-05-23 10:35:42.442962692 -0700
@@ -39,7 +39,7 @@

 #include <stdio.h>
 #include <stdlib.h>
-#include <string.h>
+#include <bsd/string.h>

 #define MAXBUF 256

This would add libbsd.so as a dependency on all the built binaries and could be resolved by modifying the Makefile further to have -llbsd only on unicoverage.

dseg commented on 2015-07-16 15:52 (UTC)

@ondoho Thank you for the comment, I've updated the PKGBUILD but I'm not using the XWindows so not sure if this is ok. Please feel free to send me a patch if there is something wrong. Thanks.

ondoho commented on 2015-06-27 07:33 (UTC)

I don't understand why this isn't getting more upvotes... the bdf-unifont from the repos is huge, and urxvt takes more than 1s to open a terminal with it. but with this package (pcf = portable compiled) it's back to near immediate, with all the glyphs. but i had to run "mkfontdir" in /usr/share/fonts/misc to make it available. maybe this could be added to the PKGBUILD? also i'm not sure if /usr/share/fonts/misc is in the fontpath by default...

felix.s commented on 2015-05-21 22:46 (UTC)

They're inside the tarball. Haven't you noticed?

Andy_Crowd commented on 2015-05-16 19:35 (UTC)

where can I find those files: fontconfig-avoid-eye-strain.conf fontconfig-upper.conf ttf.install

felix.s commented on 2014-07-12 17:41 (UTC)

Yes, the AUR interface is somewhat confusing here. Also, now I've got a naming conflict with three other packagers (previously it was not a problem, as my package was named simply "unifont" in AUR). Not sure about the best way to deal with this either.

lfleischer commented on 2014-07-12 17:16 (UTC)

Uh, didn't realize this is a split package. bdf-unifont already is in [extra], the others aren't. Not sure about the best way to deal with this.

lfleischer commented on 2014-07-12 17:14 (UTC)

This already is in [extra].

felix.s commented on 2014-04-14 11:10 (UTC)

Problem solved itself: the bitmap formats don't actually support astral characters.

felix.s commented on 2014-04-13 20:34 (UTC)

Added another fontconfig file which merges the "Unifont Upper" and "Unifont Upper CSUR" subfamilies with "Unifont" and "Unifont CSUR" respectively. Although relevant to all formats, this fontconfig file gets installed with only the TTF. Not sure what would be the best way to package it.

dseg commented on 2014-01-11 04:47 (UTC)

@Vorzard @hagabaka Thanks for the comments. Updated to latest version 6.3.20131221

felix.s commented on 2013-11-30 23:00 (UTC)

Added fontconfig file for the TTF version. I recommend enabling it (just symlink it into /etc/fonts/conf.d). I've seen that some packages (e.g. ttf-dejavu) have an install script which calls fc-cache, mkfontdir and mkfontscale. I'm not sure if that's required; namcap doesn't complain about it, so I didn't put it there. Thoughts?

Vorzard commented on 2013-11-06 16:55 (UTC)

Latest release is 6.3.20131020. http://unifoundry.com/pub/unifont-6.3.20131020/font-builds/unifont-6.3.20131020.pcf.gz

hagabaka commented on 2013-09-28 14:39 (UTC)

6.2.20130831 has been released. http://unifoundry.com/unifont-6.2.20130831.pcf.gz