Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44119 - patch to make x11-misc/ttmkfdir compile with latest freetype
Summary: patch to make x11-misc/ttmkfdir compile with latest freetype
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
: 63081 64552 (view as bug list)
Depends on:
Blocks: 49494
  Show dependency tree
 
Reported: 2004-03-09 04:05 UTC by Benoit Boissinot
Modified: 2004-12-21 05:46 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to correct the inclusion of freetype (ttmkfdir-3.0.9-freetype-compat.patch,1.80 KB, patch)
2004-03-09 04:06 UTC, Benoit Boissinot
Details | Diff
ft headers fix (ttmkfdir-3.0.9-ftheads.patch,1.42 KB, patch)
2004-07-26 06:47 UTC, Jackey Yang ("timeout" in forum)
Details | Diff
files/ttmkfdir-3.0.9-fix-freetype217.patch (ttmkfdir-3.0.9-fix-freetype217.patch,1.17 KB, patch)
2004-09-13 23:37 UTC, Dmitry S. Kulyabov
Details | Diff
x11-misc/ttmkfdir-3.0.9-r3.ebuild (ttmkfdir-3.0.9-r2.ebuild,1.20 KB, text/plain)
2004-09-13 23:39 UTC, Dmitry S. Kulyabov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Boissinot 2004-03-09 04:05:41 UTC
This patch correct the inclusion of freetype. Without it, ttmkfdir will not compile with freetype-2.1.7

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Benoit Boissinot 2004-03-09 04:06:03 UTC
Created attachment 27089 [details, diff]
patch to correct the inclusion of freetype
Comment 2 Benoit Boissinot 2004-03-09 07:56:47 UTC
I forgot to say that this patch should be applied after ttmkfdir-3.0.9-zlib.patch

Benoit
Comment 3 Ronald Hummelink 2004-04-09 14:54:38 UTC
The earlier attached patch fixed build vs freetype 2.1.7, and very nicely (verified on more conservative system...) also keeps it working against 2.1.5 ;-)
Comment 4 Jackey Yang ("timeout" in forum) 2004-07-26 06:47:07 UTC
Created attachment 36191 [details, diff]
ft headers fix

fixed ft2 headers with leastest freetype
Comment 5 foser (RETIRED) gentoo-dev 2004-09-07 02:20:15 UTC
*** Bug 63081 has been marked as a duplicate of this bug. ***
Comment 6 Michael Pyne 2004-09-10 11:34:03 UTC
Wow, I was just about to submit a damn near identical patch to get ttmkfdir-3.0.9-r2 to compile...

FWIW, I'm using GCC 3.4.1.
Comment 7 Dmitry S. Kulyabov 2004-09-13 23:37:29 UTC
Created attachment 39553 [details, diff]
files/ttmkfdir-3.0.9-fix-freetype217.patch

This is patch from Fedora
Comment 8 Dmitry S. Kulyabov 2004-09-13 23:39:27 UTC
Created attachment 39555 [details]
x11-misc/ttmkfdir-3.0.9-r3.ebuild

Ebuild with installed version of freetype testing.
Comment 9 Martin Mokrejš 2004-09-17 13:47:53 UTC
Also required for freetype-2.1.9 users. ;)

 g++ -Wall -pedantic -I/usr/include/freetype2 -msse3 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe -c directory.cpp -o directory.o >/dev/null 2>&1
In file included from ttf.h:6,
                 from ttmkfdir.cpp:8:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
In file included from ttmkfdir.cpp:8:
ttf.h:11:31: freetype/ftmodule.h: No such file or directory
libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2  -msse3 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe -o commandline.o -c commandline.cpp
make: *** [ttmkfdir.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 10 foser (RETIRED) gentoo-dev 2004-09-18 12:57:51 UTC
*** Bug 64552 has been marked as a duplicate of this bug. ***
Comment 11 element-82 2004-12-06 20:49:42 UTC
The ebuild still fails for me after trying each of these patches.  Out of curiosity, I cd'd into the work/ttmkfdir src tree and make and make install worked fine.  I think the problem is just the ebuild.  Either way, this is gating since I can't get around it (fresh stage 1 install).
Comment 12 element-82 2004-12-06 20:51:02 UTC
I forgot to paste the error log:

>>> emerge (1 of 6) x11-misc/ttmkfdir-3.0.9-r2 to /
>>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2
>>> Unpacking source...
>>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9-r2/work
 * Applying ttmkfdir-3.0.9-cpp.patch ...                                  [ ok ]
 * Applying ttmkfdir-3.0.9-zlib.patch ...                                 [ ok ]
 * Applying ttmkfdir-3.0.9-ft2.patch ...                                  [ ok ]
 * Applying ttmkfdir-3.0.9-gcc34.patch ...                                [ ok ]
 * Applying ttmkfdir-3.0.9-encoding.patch ...                             [ ok ]
>>> Source unpacked.
libtool --mode=compile x86_64-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2  -march=k8 -pipe -fomit-frame-pointer -o ttmkfdir.o -c ttmkfdir.cpp
libtool --mode=compile x86_64-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2  -march=k8 -pipe -fomit-frame-pointer -o directory.o -c directory.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [ttmkfdir.o] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [directory.o] Error 1
Comment 13 element-82 2004-12-06 21:17:59 UTC
Ok, got Dmitry's (#8) ebuild to work:
# ACCEPT_KEYWORDS="~amd64" emerge =x11-misc/ttmkfdir-3.0.9-r3

thanks dude

Pb
Comment 14 jeremy 2004-12-06 22:34:29 UTC
I did a fresh install with 2004.3 livecd for amd64.  Ran into this problem.

I re-emerged libtool, then re-emerged this  and it worked fine.
Comment 15 Jory A. Pratt 2004-12-12 15:00:43 UTC
aight devs lets wake up we have alot of work done here that really needs to be added to release branch I have noticed the same problem for the past two weeks with some ebuilds so lets wake up and add this info to the release tree so ppl dont have to hunt for fixes...
Comment 16 foser (RETIRED) gentoo-dev 2004-12-13 03:11:49 UTC
you are using a p.masked freetype, aight ? Using p.mask means it is known broken, aight ? You wouldn't be complaining about known broken stuff when you yourself chose to use it, aight ? So let's wake up to a reality you lost touch with here where your comment is utterly useless & disrespectful at best.
Comment 17 foser (RETIRED) gentoo-dev 2004-12-21 05:46:10 UTC
the patch has been added to 3.0.9-r2 , thanks all for the works here.