On Thu, Oct 31, 2002 at 12:59:19PM -0500, [EMAIL PROTECTED] wrote:
> Jason,
> 
> Sorry I couldn't help. BTW what was the process you used to re-build the 
> SRPM correctly. I've never had to rebuild an SRPM :) and any help would be 
> appreciated. Thanks!

This is what I did (more than one way to do this):

Install freetype*src.rpm:

rpm -ivh freetype*src.rpm
cd /usr/src/redhat/SPECS

Edit freetype.spec, adding one line to toggle this feature:

 %build
 #hb 10/28/02 added for TT hinting ....
 perl -pi -e 's/^#.*(TT.*BYTECODE_INT.*$)/#define 
$1/'./include/freetype/config/ftoption.h
 # Build Freetype 2
 export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
 make setup CFG="--prefix=/usr"
 make

Then, rebuild:

 rpmbuild -tb freetype.spec

and install the finished binaries (listed in the output near the end).
If you don't change the release or version data in the specfile
(probably a good idea), you'll have to install with the --force
option.

-- 
Hal Burgiss
 




Reply via email to