SPECS: xorg-lib-libXft.spec - xorg-lib-libXft-lcd-filter.patch: us...

qrczak qrczak at pld-linux.org
Tue Feb 20 16:10:18 CET 2007


Author: qrczak                       Date: Tue Feb 20 15:10:18 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- xorg-lib-libXft-lcd-filter.patch: use freetype-2.3.0's LCD filtering
  (based on http://david.freetype.org/lcd/libXft-2.1.7-lcd-filter-2.patch)
- Release 2

---- Files affected:
SPECS:
   xorg-lib-libXft.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/xorg-lib-libXft.spec
diff -u SPECS/xorg-lib-libXft.spec:1.25 SPECS/xorg-lib-libXft.spec:1.26
--- SPECS/xorg-lib-libXft.spec:1.25	Mon Feb 12 23:09:24 2007
+++ SPECS/xorg-lib-libXft.spec	Tue Feb 20 16:10:13 2007
@@ -1,17 +1,24 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	lcd             # use own LCD filtering instead of freetype's
+#
 Summary:	X Font Rendering library
 Summary(pl.UTF-8):	Biblioteka do renderowania fontów
 Name:		xorg-lib-libXft
 Version:	2.1.12
-Release:	1
+Release:	2
 License:	MIT
 Group:		X11/Libraries
 Source0:	http://xorg.freedesktop.org/archive/individual/lib/libXft-%{version}.tar.bz2
 # Source0-md5:	1309301e2d979bd475dc58325cb8c056
+Patch0:		%{name}-lcd-filter.patch
 URL:		http://xorg.freedesktop.org/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
 BuildRequires:	fontconfig-devel >= 2.2
+%{?with_lcd:BuildRequires:	freetype-devel >= 1:2.3.0}
+%{!?with_lcd:BuildRequires:	freetype-devel}
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	xorg-lib-libXrender-devel >= 0.8.2
@@ -71,6 +78,7 @@
 
 %prep
 %setup -q -n libXft-%{version}
+%{?with_lcd:%patch0 -p1}
 
 %build
 %{__libtoolize}
@@ -120,6 +128,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2007/02/20 15:10:13  qrczak
+- xorg-lib-libXft-lcd-filter.patch: use freetype-2.3.0's LCD filtering
+  (based on http://david.freetype.org/lcd/libXft-2.1.7-lcd-filter-2.patch)
+- Release 2
+
 Revision 1.25  2007/02/12 22:09:24  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xorg-lib-libXft.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list