Package Details: alfont 2.0.9-7

Git Clone URL: (read-only, click to copy)
Package Base: alfont
Description: Allegro wrapper for FreeType2 enabling the use of various font formats
Upstream URL:
Licenses: custom: FreeType2
Submitter: None
Maintainer: None
Last Packager: carstene1ns
Votes: 6
Popularity: 0.000000
First Submitted: 2010-05-16 19:51 (UTC)
Last Updated: 2015-07-08 03:21 (UTC)

Latest Comments

carstene1ns commented on 2014-10-03 11:24 (UTC)

Adopted and fixed.

hzu commented on 2013-10-12 16:46 (UTC)

Link for AlFont209.rar is dead, please use the mirror instead:

quantax commented on 2012-06-21 23:18 (UTC)

alfont does not build with Allegro 5. Furthermore all the "|| return 1" statements are no longer required since this has been the default behaviour of makepkg for some time now. Also dynamic libraries are preferred over static ones in Arch Linux. I uploaded a cleaned up PKGBUILD which fixes all the issues above:

<deleted-account> commented on 2012-05-07 16:15 (UTC)

This Worked for me. pkgname=alfont pkgver=2.0.9 pkgrel=4 pkgdesc="AllegroFont is an Allegro wrapper for the wonderful FreeType2 library that makes Allegro (amongst other things) able to load and render TTF and many other famous font..." arch=('i686' 'x86_64') url='' license=('custom:FreeType2 License') depends=('allegro' 'freetype2') makedepends=('unrar') source=('' '') md5sums=('92898c28788d42d0eaa53c607ff40974' '9259678a2598f11b00d83b525fdcefc0') noextract=('AlFont209.rar') build() { #unrar is very verbose... lets shut it up unrar x AlFont209.rar alfont/include alfont/src alfont/docs &> /dev/null || return 1 cd alfont || return 1 #lets build for linux, not windows sed 's/#define ALFONT_WINDOWS//' -i include/alfont.h || return 1 sed 's/\/\/#define ALFONT_LINUX/#define ALFONT_LINUX/' -i include/alfont.h || return 1 #change a microsoft function to a GNU one cp ../alfont.c src/ sed 's/_msize/malloc_usable_size/g' -i src/alfont.c || return 1 gcc -c src/alfont.c -o alfont.o -Iinclude -I/usr/include/freetype2 || return 1 ar rsc libalfont.a alfont.o || return 1 install -Dm644 libalfont.a $pkgdir/usr/lib/libalfont.a || return 1 install -Dm644 include/alfont.h $pkgdir/usr/include/alfont.h || return 1 install -Dm644 include/alfontdll.h $pkgdir/usr/include/alfontdll.h || return 1 install -Dm644 docs/FTL.txt $pkgdir/usr/share/licenses/alfont/FTL.txt || return 1 }

<deleted-account> commented on 2012-02-08 23:22 (UTC)

I think it's a makepkg bug. Makepkg runs bsdtar on a file to see if that file can be unarchived by it. Bsdtar NOW reports that it recognizes the file, but can't open it - causing makepkg to stop building. Before I beleive bsdtar did not recognize RAR and thus makepkg did not try to open RAR files with it. I don't know how to fix it without investigating more...

<deleted-account> commented on 2012-02-04 20:36 (UTC)

Strange, the unrar command apparently invokes bsdtar and aborts the build: ==> Making package: alfont 2.0.9-4 (Sat Feb 4 13:28:44 MST 2012) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Found AlFont209.rar ==> Validating source files with md5sums... AlFont209.rar ... Passed ==> Extracting Sources... -> Extracting AlFont209.rar with bsdtar bsdtar: RAR solid archive support unavailable. bsdtar: Error exit delayed from previous errors. ==> ERROR: Failed to extract AlFont209.rar Aborting... but when I run $unrar x AlFont209.rar from the CLI it unbundles fine. Perhaps need to set a variable in makepkg.conf?