re-enable freetype support under modular X11
This commit is contained in:
parent
9e3a1cc1d1
commit
05822583f7
@ -1,7 +1,7 @@
|
|||||||
Summary: xterm terminal emulator for the X Window System
|
Summary: xterm terminal emulator for the X Window System
|
||||||
Name: xterm
|
Name: xterm
|
||||||
Version: 207
|
Version: 207
|
||||||
Release: 1
|
Release: 2
|
||||||
URL: http://dickey.his.com/xterm
|
URL: http://dickey.his.com/xterm
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -12,6 +12,7 @@ Patch1: xterm-resources-redhat.patch
|
|||||||
Patch2: xterm-179-ppc-fix-bug-101472.patch
|
Patch2: xterm-179-ppc-fix-bug-101472.patch
|
||||||
Patch3: xterm-tty-group-name.patch
|
Patch3: xterm-tty-group-name.patch
|
||||||
Patch4: xterm-206-appsdir.patch
|
Patch4: xterm-206-appsdir.patch
|
||||||
|
Patch5: xterm-207-freetype.patch
|
||||||
BuildRequires: libXft-devel
|
BuildRequires: libXft-devel
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: freetype-devel
|
||||||
BuildRequires: libXrender-devel
|
BuildRequires: libXrender-devel
|
||||||
@ -44,6 +45,7 @@ programs that can't use the window system directly.
|
|||||||
%patch1 -p1 -b .resources-redhat
|
%patch1 -p1 -b .resources-redhat
|
||||||
%patch3 -p1 -b .tty-group-name
|
%patch3 -p1 -b .tty-group-name
|
||||||
%patch4 -p1 -b .appsdir
|
%patch4 -p1 -b .appsdir
|
||||||
|
%patch5 -p1 -b .freetype
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-luit \
|
%configure --enable-luit \
|
||||||
@ -52,6 +54,8 @@ programs that can't use the window system directly.
|
|||||||
--with-utempter \
|
--with-utempter \
|
||||||
--disable-tek4014 \
|
--disable-tek4014 \
|
||||||
--enable-narrowproto \
|
--enable-narrowproto \
|
||||||
|
--with-freetype-cflags='-I/usr/include/freetype2 -I/usr/include/freetype2/config' \
|
||||||
|
--with-freetype-libs='-lXft -lX11 -lfreetype -lfontconfig -lXrender' \
|
||||||
--with-app-defaults=%{_sysconfdir}/X11/app-defaults \
|
--with-app-defaults=%{_sysconfdir}/X11/app-defaults \
|
||||||
%{?_with_256_color:--enable-256-color};
|
%{?_with_256_color:--enable-256-color};
|
||||||
export XTERM_TTY_GROUP_NAME=tty;
|
export XTERM_TTY_GROUP_NAME=tty;
|
||||||
|
Loading…
Reference in New Issue
Block a user