Received: from theta.ikke.info (mail.theta.ikke.info [IPv6:2a02:2308:0:2e1:2::3]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 39FDC22370F for <~alpine/devel@lists.alpinelinux.org>; Tue, 28 Feb 2023 20:52:29 +0000 (UTC) Received: from ce636b1666f0 (mutt_mutt_run_c4efa5bdf336.postfix_default [192.168.80.4]) by theta.ikke.info (Postfix) with ESMTPS id B6E7A140344; Tue, 28 Feb 2023 20:52:28 +0000 (UTC) Date: Tue, 28 Feb 2023 20:52:28 +0000 From: Kevin Daudt To: Steven Hum Cc: ~alpine/devel@lists.alpinelinux.org Subject: Re: Add ttfautohint to testing? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Feb 28, 2023 at 02:21:32PM -0500, Steven Hum wrote: > i think i solved it.. > > Using the latest source version 1.8.4: > > For some reason "make" fails if not executed by root.. (not sure why). > But config.h is not created unless doing so (permissions problem). > > There was still an issue with the make which required injecting > "#define _Bool signed char" into lib/llrb.h (again, don't know why). > > With that patch, and running make as root, the build completed. > > It seems to work in the couple of Iosevka font builds i have tried -- at > least npm is not complaining. > > Not a cozy feeling having to kludge the header file as a person who > knows nothing about the sw -- just that it is a dependency for my use > case. i am not well versed in makefiles and all that goes into packaging > a substantial app such as this. > > Thank you for responding so quickly. > > Regards, > Steven > You could take a look at how it is being built for [archlinux][0] to get an idea what you should do (not that not everything maps directly to Alpine Linux, but you should get an idea., [0]:https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttfautohint