Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11421 - we need libfreetype.a to build blender

Attached to Project: Arch Linux
Opened by Tobias Kieslich (tobias) - Sunday, 07 September 2008, 23:35 GMT
Last edited by Jan de Groot (JGC) - Sunday, 30 November 2008, 14:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Hi Jan, I know you try to get rid of the static libraries where appropriate, but I just found out that blender needs libfreetype.a. They ship with sources of all kind of packages but not for freetype. So it becomes a lot of hassle to build blender and libfreetype.a in one package. If yopu don't mind I would like to have that included again. Thanks.
PS.
I cheated on the curretn blender build so any user whou will try to rebuild it for themself will fail.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 30 November 2008, 14:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  Looks like this patch was already implenented using sed.
Comment by Jan de Groot (JGC) - Monday, 08 September 2008, 06:33 GMT
Blender should link with -lfreetype, not by linking to a libfreetype.a file. This can be fixed in blender itself.
Comment by Tobias Kieslich (tobias) - Monday, 08 September 2008, 06:41 GMT
one of their make targets is fixed to /usr/lib/libfreetype.a. It seems all pretty hard wired to me and a bitch to fix. having libfreetype.a make sthings way easier for now.
Comment by Jan de Groot (JGC) - Monday, 08 September 2008, 06:48 GMT
Changing it to /usr/lib/libfreetype.so should work fine.
Comment by Glenn Matthys (RedShift) - Monday, 08 September 2008, 19:36 GMT
But the real question remains unanswered: will it blend?
Comment by Tobias Kieslich (tobias) - Monday, 08 September 2008, 21:56 GMT
It doesn't. Jan changing these lines does not work and blender fails. You can give it a shot and build blender, once it craps out you grep -r 'libfreetype.a' src/ and change things. It really is a bitch to change. Note that the build system is a different one for 64bit because I only have a 32 bit machine.
Comment by Mikael Eriksson (miffe) - Wednesday, 15 October 2008, 03:13 GMT
Attaching a simple patch to make it link with freetype.so. Builds and works correctly here.

Loading...