Update of xft2-dev package to 2.2.0

Peter Dyballa <[email protected]> Sat, 2 Apr 2011 18:08:29 +0200
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
--Apple-Mail-2--816721498
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hello!

I updated the package (MacPorts is already 2.2.0). The most important  
(the only?) change is that xft-config was removed to rely on pkg- 
config. Maybe one of the next days I'll learn how to build GNU Emacs  
24.0.50 to use Fink's libXft instead of that from the X11-2.6.1 package.

Because of the change xft-config -> pkg-config I added to the INFO  
file another component to PKG_CONFIG_PATH. Here are the files:


--Apple-Mail-2--816721498
Content-Disposition: attachment;
	filename=xft2-dev.info
Content-Type: application/octet-stream; x-unix-mode=0644; name="xft2-dev.info"
Content-Transfer-Encoding: 7bit

Package: xft2-dev
Version: 2.2.0
Revision: 1l
Maintainer: The Gnome Core Team <[email protected]>
BuildDependsOnly: true
BuildDepends: <<
	fink (>= 0.24.12),
	fink-package-precedence,
	fontconfig2-dev (>= 2.8.0-4),
	freetype219 (>= 2.3.12-1),
	pkgconfig,
	x11-dev
<<
Depends: xft2-shlibs (= %v-%r)
Source-MD5: cce3c327258116493b753f157e0360c7
Source: http://xorg.freedesktop.org/releases/individual/lib/libXft-%v.tar.bz2
PatchFile: %n.patch
PatchFile-MD5: e6daf1b90aa75c9bf9012b39888ed24f
#ConfigureParams: --prefix=%p/lib/xft2 --mandir=%p/share/man
CompileScript: <<
#!/bin/sh -ev
	export PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH:/usr/X11R6/share/pkgconfig"
	./configure --prefix=%p/lib/xft2 --mandir=%p/share/man --disable-silent-rules --enable-dependency-tracking
	make
	fink-package-precedence --prohibit-bdep %n .
<<
InstallScript: make install DESTDIR=%d
DocFiles: AUTHORS COPYING ChangeLog NEWS README
SplitOff: <<
	Package: xft2-shlibs
	Depends: <<
		dpkg-base-files,
		fontconfig2-shlibs (>= 2.8.0-4),
		freetype219-shlibs (>= 2.3.12-1),
		x11-shlibs
	<<
	Files: lib/xft2/lib/libXft.2.*dylib
	Shlibs: %p/lib/xft2/lib/libXft.2.dylib 4.0.0 %n (>= 2.2.0-1)
	DocFiles: AUTHORS COPYING ChangeLog NEWS README
<<
Description: FreeType font support for X11 apps
DescPackaging: <<
We do NOT want this to replace the system Xft.

Don't want --prefix=%p, so don't use %c

Formerly maintained by Alexander Strange <[email protected]>

	Prior to 2.1.14-1, was static-only. Now have shared, so use
	dpkg-base-files to avoid further propagation of this
	new/changed dependency via dependant pkgs' .la files (if
	.dylib is available, will default to that, regardless of
	whatever .a might be available).

	xproto and xrender are not necessarily available via
	pkg-config. Don't need their -l or -L (probably, unless user
	specifically calls static lib, in which case he's already
	doing hacking to pass non-default linker flags--shared libs
	already fully resolve all internal-implementation symbols and
	these are not in public ABI). Add -I explicitly for x11ish
	#include in public API headers.
<<
License: Restrictive/Distributable
Homepage: http://www.fontconfig.org

--Apple-Mail-2--816721498
Content-Disposition: attachment;
	filename=xft2-dev.patch
Content-Type: application/octet-stream; x-unix-mode=0644; name="xft2-dev.patch"
Content-Transfer-Encoding: 7bit

--- libXft-2.2.0/xft.pc.in.orig	2010-10-20 23:10:30.000000000 +0200
+++ libXft-2.2.0/xft.pc.in	2011-04-02 17:03:28.000000000 +0200
@@ -6,7 +6,6 @@
 Name: Xft
 Description: X FreeType library
 Version: @VERSION@
-Requires: xproto
-Requires.private: xrender, fontconfig, freetype2
-Cflags: -I${includedir}
+Requires: fontconfig, freetype2
+Cflags: -I${includedir} -I/usr/X11/include -I/usr/X11R6/include
 Libs: -L${libdir} -lXft
--- libXft-2.2.0/src/Makefile.in.orig	2010-10-30 01:22:06.000000000 +0200
+++ libXft-2.2.0/src/Makefile.in	2011-04-02 16:57:45.000000000 +0200
@@ -254,8 +254,7 @@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-AM_CFLAGS = $(FONTCONFIG_CFLAGS) $(FREETYPE_CFLAGS) $(XRENDER_CFLAGS) \
-            $(CWARNFLAGS) -I$(top_builddir)/include/X11/Xft
+AM_CPPFLAGS =  -I$(top_builddir)/include/X11/Xft $(FONTCONFIG_CFLAGS) $(FREETYPE_CFLAGS) $(XRENDER_CFLAGS) $(CWARNFLAGS)
 
 lib_LTLIBRARIES = libXft.la
 libXft_la_SOURCES = xftint.h \

--Apple-Mail-2--816721498
Content-Type: text/plain;
	charset=WINDOWS-1252;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable




Mac OS X 10.5.8, PPC.

--
Greetings

   Pete

Imbecility, n.:
	A kind of divine inspiration, or sacred fire affecting =
censorious =20
critics of this dictionary.
				=96 Ambrose Bierce: _The Devil's =
Dictionary_


--Apple-Mail-2--816721498
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf

--Apple-Mail-2--816721498
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
fink-gnome-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.gnome
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-gnome-core
--Apple-Mail-2--816721498--