Re: New pango1-xft2-ft219 INFO file – and PATCH

Peter Dyballa <[email protected]> Wed, 29 Feb 2012 00:08:11 +0100
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
--Apple-Mail-4--24026256
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hello!

I tried to install PANGO with the patch applied via Perl =96 this works =
pretty good on intel Mac OS X 10.6.8 and PPC Mac OS X 10.5.8 and =
10.4.11. Except of Tiger I could build ImageMagick 6.7.5 with PANGO =
1.28.3. On Tiger I have to wait a few hours to be able to try that. Here =
is the recent version of the INFO file:


--Apple-Mail-4--24026256
Content-Disposition: attachment;
	filename=pango1-xft2-ft219.info
Content-Type: application/octet-stream;
	name="pango1-xft2-ft219.info"
Content-Transfer-Encoding: 7bit

Package: pango1-xft2-ft219
Version: 1.28.3
# configure:18111: checking pkg-config is at least version 0.9.0
# configure:18132: $PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0"
# configure:18299: $PKG_CONFIG --exists --print-errors "xft >= 2.0.0 xrender"
# configure:18981: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5"
# configure:19580: $PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0"
Revision: 2
Description: GTK+ - i18n libs (for freetype >= 2.1.9)
License: LGPL
Maintainer: The Gnome Core Team <[email protected]>

Depends: <<
	%N-shlibs (= %v-%r),
	cairo-shlibs (>= 1.8.8-3),
	dpkg-base-files,
	fontconfig2-shlibs (>= 2.8.0-4),
	freetype219-shlibs (>= 2.3.12-1),
	glib2-shlibs (>= 2.22.0-1),
	x11-shlibs,
	xft2-shlibs (>= 2.1.14-1)
<<
BuildDepends: <<
	cairo (>= 1.8.8-3),
	fink (>= 0.24.12-1),
	fink-package-precedence,
	fontconfig2-dev (>= 2.8.0-4),
	freetype219 (>= 2.3.12-1),
	glib2-dev (>= 2.22.0-1),
	glitz,
	gtk-doc (>= 1.8-1),
	libthai-dev (>= 0.1.12-1),
	pixman (>= 0.16.0-1),
	pkgconfig (>= 0.23),
	x11-dev,
	xft2-dev (>= 2.1.14-1)
<<

Source: mirror:gnome:sources/pango/1.28/pango-%v.tar.bz2
Source-MD5: caa74baea47e7e16bc73c89f9089d522
# 8f3eaab506f613dd25bb1fa65ea87a145d523d066d90c227bdb3016523451bc2  pango-1.28.1.tar.bz2	bab5b4eb3fde6b0a5bfe98d25e668741
# 5e278bc9430cc7bb00270f183360d262c5006b51248e8b537ea904573f200632  pango-1.28.3.tar.bz2	caa74baea47e7e16bc73c89f9089d522
# 7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f  pango-1.28.4.tar.bz2	3f3989700f04e9117d30544a9078b3a0	GLib 2.24
PatchFile: %n.patch
PatchFile-MD5: 52f10af4f6eac9650c6ed48a6da69832
PatchScript: <<
	#!/bin/bash -ev
	perl -pi -e 's,(-dynamiclib)( +-single_module)*,$1 -single_module,g' configure
	# no need to patch aclocal.m4...causes regeneration of autotools
	#perl -pi -e 's,(-dynamiclib)( +-single_module)*,$1 -single_module,g' aclocal.m4
	SYSCONFDIR=%p/lib/pango-ft219/etc
	perl -p -e 'BEGIN{$s=shift} s|\@SYSCONFDIR\@|$s|' $SYSCONFDIR <%{PatchFile} | patch -p1
	sed -e 's|query|ft219-query|' update-pango-modules > update-pango-ft219-modules

	cat <<'END' >xrender.pc
prefix=/usr/X11R6
exec_prefix=/usr/X11R6/bin
libdir=/usr/X11R6/lib
includedir=/usr/X11R6/include

Name: Xrender
Description: X Render Library
Version: 0.8.4
Requires: 
Cflags: -I${includedir}  
Libs: -L${libdir} -lXrender -lX11 -lXext
END
<<

SetCPPFLAGS: -I%p/lib/fontconfig2/include
SetLDFLAGS: -L%p/lib/fontconfig2/lib -no-undefined -bind_at_load -Wl,-t
SetCFLAGS: -O0 -H
ConfigureParams: --mandir=%p/share/man --enable-dependency-tracking --includedir=%p/lib/pango-ft219/include --libdir=%p/lib/pango-ft219/lib --sysconfdir=%p/lib/pango-ft219/etc --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-explicit-deps --disable-silent-rules --enable-gtk-doc
CompileScript: <<
	#!/bin/bash -ev
	export PKG_CONFIG_PATH=%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/xft2/lib/pkgconfig
	if [ `uname -r | cut -d. -f1` = 8 ]; then
		# apple x11 ships lib but no .pc on 10.4, so hack a local one
		PKG_CONFIG_PATH=%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH:`pwd`
	fi
	LD_TWOLEVEL_NAMESPACE=1 ac_cv_header_Carbon_Carbon_h=no ./configure %c
	make -j8
#	make check
	fink-package-precedence --prohibit-bdep %n-dev .
<<
InfoTest: <<
	TestDepends: glib2-dev (>= 2.22.0-1), glib2-shlibs (>= 2.22.0-1)
	TestScript: make check XFAIL_TESTS=check.docs || exit 2
<<

InstallScript: <<
	#!/bin/bash -ev
	make -j1 install DESTDIR=%d
	SYSCONFDIR=%i/lib/pango-ft219/etc
	mv %i/bin/pango-querymodules %i/bin/pango-ft219-querymodules
	mv %i/share/man/man1/pango-querymodules.1 %i/share/man/man1/pango-ft219-querymodules.1
	install -d -m 755 %i/sbin
	install -c -m 755 update-pango-ft219-modules %i/sbin/
	install -d -m 755 $SYSCONFDIR/pango

	# everything is buried in a private hierarchy...
	# now symlink from the default places
	# must not symlink dirs...risk of confusing dpkg

	pushd %i/lib/pango-ft219

		# 1. clone actual directory structure
		# NB: will fail miserably if space in %i or %p
		# but fink hopelessly can't handle that anyway
		/usr/bin/find . -type d -print0 | /usr/bin/xargs -0 -n 1 -I" " mkdir -pv "%i/ "
		# 2. sylink the individual files
		/usr/bin/find . \( -type f -o -type l \) -print0 | /usr/bin/xargs -0 -n 1 -I" " ln -sv "%p/lib/pango-ft219/ " "%i/ "

		# adjust to emit paths pointing to the default places
		#must edit actual files...perl-pie replaces symlink
		#with actual file (!= acting through the symlink)
		perl -pi -e 's,%p/lib/pango-ft219,%p,g' lib/pkgconfig/*
		# lib/*.la #Scared of libtool!


	popd

	# only keep the main ld files, not all the underlying pieces
	# plugins, or support data
	pushd %i
		rm lib/libpango*-1.0.*.dylib
		rm -r lib/pango
		rm -r etc
	popd
<<
DocFiles: AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
SplitOff: <<
	Package: %N-shlibs
	Description: GTK+ - i18n text shared libraries (for freetype >= 2.1.9)
	Depends: <<
		cairo-shlibs (>= 1.8.8-3),
		fontconfig2-shlibs (>= 2.8.0-4),
		freetype219-shlibs (>= 2.3.12-1),
		glib2-shlibs (>= 2.22.0-1),
		libthai-shlibs (>= 0.1.12-1),
		x11-shlibs,
		xft2-shlibs (>= 2.1.14-1)
	<<
	DocFiles: AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
	Files: <<
		lib/pango-ft219/lib/libpango-1.0.*.dylib
		lib/pango-ft219/lib/libpangocairo-1.0.*.dylib
		lib/pango-ft219/lib/libpangoft2-1.0.*.dylib
		lib/pango-ft219/lib/libpangox-1.0.*.dylib
		lib/pango-ft219/lib/libpangoxft-1.0.*.dylib
		lib/pango-ft219/lib/pango
	<<
	Shlibs: <<
		%p/lib/pango-ft219/lib/libpango-1.0.0.dylib      2801.0.0 %n (>= 1.24.2-1)
		%p/lib/pango-ft219/lib/libpangocairo-1.0.0.dylib 2801.0.0 %n (>= 1.24.2-1)
		%p/lib/pango-ft219/lib/libpangoft2-1.0.0.dylib   2801.0.0 %n (>= 1.24.2-1)
		%p/lib/pango-ft219/lib/libpangox-1.0.0.dylib     2801.0.0 %n (>= 1.24.2-1)
		%p/lib/pango-ft219/lib/libpangoxft-1.0.0.dylib   2801.0.0 %n (>= 1.24.2-1)
	<<
<<
SplitOff2: <<
	Package: %N-dev
	Description: GTK+ - i18n text development headers and libraries (for freetype >= 2.1.9)
	Depends: %N (= %v-%r), pkgconfig (>= 0.23)
	BuildDependsOnly: True
	Conflicts: pango1-dev, pango1-xft2-dev
	Replaces: pango1-dev, pango1-xft2-dev
	DocFiles: AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
	Files: <<
		lib/pango-ft219/include
		lib/pango-ft219/lib
		include
		lib/libpango*
		lib/pkgconfig
		share/gtk-doc
	<<
<<

PostInstScript: <<
	if [ configure = "$1" ]; then
		update-pango-ft219-modules
	fi
<<
PostRmScript: <<
	case "$1" in
		purge)
			SYSCONFDIR=%p/lib/pango-ft219/etc
			rm -f $SYSCONFDIR/pango/pango.modules
			rmdir $SYSCONFDIR/pango || true
			;;
	esac
<<
ConfFiles: %p/lib/pango-ft219/etc/pango/pangox.aliases

Homepage: http://www.pango.org
DescDetail: <<
System for layout and rendering of internationalized text.

These packages link against fink's freetype219 instead of the freetype
that comes as part of x11.  They also have cairo support.
<<
DescUsage: <<
Packages which install pango module(s) should call update-pango-ft219-modules
in their PostInstScript and PostRmScript to update the pango.modules file.

The headers and libraries needed at build time are in
%p/lib/pango-ft219/{include,lib}, and also (as of 1.22.0-3) in the
normal places (%p/{include,lib}).
<<
DescPort: <<
	Instead of requiring xslt to build this package, we just manually
	patch the pregenerated manpage target that is included in the
	tarball.

	check uses some C++ but it doesn't leak out into the installed
	package
<<
DescPackaging: <<
	Need to use glib that has errno patches to avoid self-test
	failure.

	Minimize propagation of InheritedBuildDepends

	Make sure we get cairo-1.8 after pdf got re-enabled in it

	Disable atsui because it gives poor font display sometimes
	(not doing subpixel rendering?) See:
	http://bugzilla.gnome.org/show_bug.cgi?id=554740

	Make sure fink-supplied library paths come before x11's.

looks	Make sure local -I come before global. See:
solved	http://bugzilla.gnome.org/show_bug.cgi?id=572529

looks	Ignoring "uninitialized value in concatenation" during gtkdoc
already	processing. See:
fixed	http://bugzilla.gnome.org/show_bug.cgi?id=584952

	Fix for new strictness in gtk-doc-1.17. See:
	http://bugs.gentoo.org/show_bug.cgi?id=357205

	gtk-doc-1.18 is even stricter about...something...and newer-%v
	changes are too complex to backport a solution, so don't worry
	if documentation fails sanity-check
<<

--Apple-Mail-4--24026256
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252



--
Greetings

  Pete

Life is the only flaw in an otherwise perfect nonexistence
				=96 Schopenhauer


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

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
--Apple-Mail-4--24026256
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-4--24026256--