libxslt stable port information

Package: libxslt
Version: 1.1.26
Revision: 1
BuildDependsOnly: true
Maintainer: The Gnome Core Team
BuildDepends: <<
fink (>= 0.24.12-1),
fink-package-precedence,
gdbm3,
libiconv-dev,
libxml2 (>= 2.7.8-1)
<<
Depends: %N-bin (= %v-%r), %N-shlibs (= %v-%r)
#Source: mirror:gnome:sources/%n/1.1/%n-%v.tar.bz2
Source: http://xmlsoft.org/sources/%n-%v.tar.gz
Source-MD5: e61d0364a30146aaa3001296f853b2b9
PatchFile: %n.patch
PatchFile-MD5: 9fc15862f6cf8a228ee5c2005803f03c
PatchScript: <<
%{default_script}
perl -pi -e 's,/etc,%p/etc,g' doc/*.html doc/*.1 xsltproc/xsltproc.c
perl -pi -e 's/MAKEFLAGS\+=--silent//' `find . -name Makefile.in`
<<
SetLDFLAGS: -no-undefined
ConfigureParams: --mandir=%p/share/man --without-python --without-crypto --enable-dependency-tracking --with-html-subdir=libxslt XSLTPROC=/usr/bin/xsltproc
CompileScript: <<
./configure %c
make
fink-package-precedence --prohibit-bdep=%n .
<<
InfoTest: TestScript: make check || exit 2
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: README COPYING AUTHORS ChangeLog Copyright FEATURES NEWS TODO
SplitOff: <<
Package: %N-shlibs
Replaces: %N (<< 1.0.15-2)
Depends: <<
libiconv,
libxml2-shlibs (>= 2.7.8-1)
<<
Description: XML stylsheet transformation shared libraries
Files: lib/libexslt.0*.dylib lib/libxslt.1*.dylib lib/libxslt-plugins
Shlibs: <<
%p/lib/libexslt.0.dylib 9.0.0 %n (>= 1.1.0-1)
%p/lib/libxslt.1.dylib 3.0.0 %n (>= 1.1.0-1)
<<
DocFiles: README COPYING AUTHORS ChangeLog Copyright FEATURES NEWS TODO
<<
SplitOff2: <<
Package: %N-bin
Replaces: %N (<= 1.1.8-1)
Depends: <<
%N-shlibs (= %v-%r),
libiconv,
libxml2-shlibs (>= 2.7.8-1)
<<
Description: XML stylsheet transformation utility (xsltproc)
Files: bin/xsltproc share/man/man1/xsltproc.1
DocFiles: README COPYING AUTHORS ChangeLog Copyright FEATURES NEWS TODO
<<
Description: XML stylesheet transformation library
DescDetail: <<
This set of packages does *not* contain the python bindings.
<<
DescPackaging: <<
xsltproc moved from %N in 1.1.8-1 to %N-bin in 1.1.8-2 because pkgs
need it at runtime but %N is the headers and is BuildDepensOnly:true
so cannot be listed in a Depends. Added %N:Depends:%N-bin so that
pkgs that depended on %N because they need xsltproc don't have to be
changed.

All crypto support in libexslt is disabled to avoid needing
libgcrypt, so that libxslt can remain out of Section:crypto.
See: http://bugzilla.gnome.org/show_bug.cgi?id=538358

Avoid circular dependency with xsltproc: use system's at
compile-time (for building included docs)
<<
DescPort: <<
Patching Makefile in doc to install it correctly

Patch libexslt/date.c to allow to declare some functions.
See: http://bugzilla.gnome.org/show_bug.cgi?id=340590

Ignoring two regession tests for now (look like long-standing
problems?). See:
http://bugzilla.gnome.org/show_bug.cgi?id=551838
http://bugzilla.gnome.org/show_bug.cgi?id=551839
<<
License: BSD
Homepage: http://www.xmlsoft.org/XSLT/

libxslt stable port .patch

diff -Nurd -x'*~' libxslt-1.1.26.orig/doc/Makefile.in libxslt-1.1.26/doc/Makefile.in
--- libxslt-1.1.26.orig/doc/Makefile.in 2009-09-24 10:43:14.000000000 -0400
+++ libxslt-1.1.26/doc/Makefile.in 2011-03-10 00:21:41.000000000 -0500
@@ -670,13 +670,18 @@
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)
-@INSTALL@ -m 0644 $(srcdir)/*.html $(DESTDIR)$(HTML_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/*.xml $(DESTDIR)$(HTML_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/*.xsl $(DESTDIR)$(HTML_DIR)
-@INSTALL@ -m 0644 $(srcdir)/*.gif $(DESTDIR)$(HTML_DIR)
$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/html
-@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html
-@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html
- -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(HTML_DIR)/html
$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/EXSLT
-@INSTALL@ -m 0644 $(srcdir)/EXSLT/*.html $(DESTDIR)$(HTML_DIR)/EXSLT
+ -@INSTALL@ -m 0644 $(srcdir)/EXSLT/*.xml $(DESTDIR)$(HTML_DIR)/EXSLT
+ $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/EXSLT/html
+ -@INSTALL@ -m 0644 $(srcdir)/EXSLT/html/*.html $(DESTDIR)$(HTML_DIR)/EXSLT/html
+ -@INSTALL@ -m 0644 $(srcdir)/EXSLT/html/*.png $(DESTDIR)$(HTML_DIR)/EXSLT/html
$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial
-@INSTALL@ -m 0644 $(srcdir)/tutorial/* $(DESTDIR)$(HTML_DIR)/tutorial
$(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial2
diff -Nurd -x'*~' libxslt-1.1.26.orig/libexslt/date.c libxslt-1.1.26/libexslt/date.c
--- libxslt-1.1.26.orig/libexslt/date.c 2009-09-17 10:51:10.000000000 -0400
+++ libxslt-1.1.26/libexslt/date.c 2011-03-10 00:19:04.000000000 -0500
@@ -28,11 +28,6 @@
#include "config.h"
#endif

-#if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */
-#ifndef _AIX51 /* but on AIX we're not using gnu libc */
-#define _POSIX_SOURCE
-#endif
-#endif

#include
#include

libxslt _unstable_ port .patch