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.100725
First Submitted: 2013-11-30 09:46 (UTC)
Last Updated: 2022-11-09 09:21 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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?