the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libpaps0
Version: 0.6.8
Revision: 2
Description: UTF-8 to PostScript converter (headers)
License: GPL
Homepage: http://paps.sourceforge.net/
Maintainer: Monic Polynomial
Source: mirror:sourceforge:paps/paps-%v.tar.gz
Source-MD5: e9508132bf27609bf2fded2bfd9cb3f1
PatchFile: %n.patch
PatchFile-MD5: d4159c379ddc6768f5744b8fdbd1ef79
BuildDepends: <<
autoconf2.6,
automake1.11,
cairo (>= 1.8-3),
expat1,
fink (>= 0.24.12),
fontconfig2-dev (>= 2.4.1-1),
freetype219 (>= 2.3.8-1),
glib2-dev (>= 2.18.0-1),
glitz,
gtk-doc (>= 1.8-1),
libdatrie,
libgettext8-dev,
libiconv-dev,
libpng14,
libthai-dev (>= 0.1.9-1),
libtool2,
pango1-xft2-ft219-dev (>= 1.22.4-2),
pixman (>= 0.12.0-1),
pkgconfig (>= 0.23),
x11-dev,
xft2-dev (>= 2.1.2-5)
<<
BuildDependsOnly: true
Depends: %n-shlibs (= %v-%r)
PatchScript: <<
patch -p1 < %{PatchFile}
autoreconf -fvi
<<
SetCFLAGS: -Os
ConfigureParams: --prefix=%p --mandir=%p/share/man --disable-dependency-tracking --disable-static
InstallScript: make install DESTDIR=%d
SplitOff: <<
Package: %N-shlibs
Description: UTF-8 to PostScript converter (shared lib)
Depends: freetype219-shlibs (>= 2.3.8-1), glib2-shlibs (>= 2.18.0-1), libgettext8-shlibs, libiconv, pango1-xft2-ft219-shlibs (>= 1.22.4-2)
Files: lib/libpaps.0.dylib
DocFiles: AUTHORS COPYING.LIB NEWS README ChangeLog TODO
Shlibs: <<
%p/lib/libpaps.0.dylib 1.0.0 libpaps0 (>= 0.6.8-1)
<<
<<
SplitOff2: <<
Package: paps-bin
Description: UTF-8 to PostScript converter (CLI)
Depends: %N-shlibs (= %v-%r), freetype219-shlibs (>= 2.3.8-1), glib2-shlibs (>= 2.18.0-1), libgettext8-shlibs, libiconv, pango1-xft2-ft219-shlibs (>= 1.22.4-2)
Files: bin share/man
DocFiles: COPYING.LIB
<<
DocFiles: COPYING.LIB
DescDetail: <<
paps is a UTF-8 to PostScript converter that makes use of pango. It provides
both a stand alone command line tool as well as a library.
<<
DescPackaging: <<
The patch file removes from autotools configuration files the information
relevant to doxygen because this package doesn't provide (Doxygen)
documentation.
<<
DescPort: <<
Both libtool and autotools files in upstream were outdated, hence autoreconf in
PatchScript.
<<
diff -Nurd paps-0.6.8.ori/Makefile.am paps-0.6.8/Makefile.am
--- paps-0.6.8.ori/Makefile.am 2006-11-28 18:54:18.000000000 -0200
+++ paps-0.6.8/Makefile.am 2009-04-13 00:07:01.000000000 -0300
@@ -1,7 +1,5 @@
SUBDIRS = src
-include aminclude.am
-
-EXTRA_DIST = autogen.sh $(DX_CONFIG) doxygen-doc/html
+EXTRA_DIST = autogen.sh
diff -Nurd paps-0.6.8.ori/config.h.in paps-0.6.8/config.h.in
--- paps-0.6.8.ori/config.h.in 2007-01-19 09:06:43.000000000 -0200
+++ paps-0.6.8/config.h.in 2009-04-13 01:03:33.000000000 -0300
@@ -30,6 +30,13 @@
/* Define to 1 if you have the
#undef HAVE_UNISTD_H
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+#undef NO_MINUS_C_MINUS_O
+
/* Name of package */
#undef PACKAGE
diff -Nurd paps-0.6.8.ori/configure.in paps-0.6.8/configure.in
--- paps-0.6.8.ori/configure.in 2007-01-19 09:06:10.000000000 -0200
+++ paps-0.6.8/configure.in 2009-04-13 00:06:52.000000000 -0300
@@ -5,17 +5,7 @@
AC_LANG_C
AC_PROG_CC
+AM_PROG_CC_C_O
AM_PROG_LIBTOOL
-DX_HTML_FEATURE(ON)
-DX_CHM_FEATURE(OFF)
-DX_CHI_FEATURE(OFF)
-DX_MAN_FEATURE(OFF)
-DX_RTF_FEATURE(OFF)
-DX_XML_FEATURE(OFF)
-DX_PDF_FEATURE(OFF)
-DX_PS_FEATURE(OFF)
-
-DX_INIT_DOXYGEN(libpaps, doxygen.cfg, doxygen-doc)
-
AC_OUTPUT(Makefile src/Makefile)
diff -Nurd paps-0.6.8.ori/src/Makefile.am paps-0.6.8/src/Makefile.am
--- paps-0.6.8.ori/src/Makefile.am 2006-04-17 04:42:08.000000000 -0300
+++ paps-0.6.8/src/Makefile.am 2009-04-13 00:50:26.000000000 -0300
@@ -1,27 +1,18 @@
man_MANS = paps.1
-lib_LIBRARIES = libpaps.a
-libpaps_a_SOURCES = libpaps.c
-libpaps_a_inc_HEADERS = libpaps.h
-libpaps_a_incdir = $(includedir)
+lib_LTLIBRARIES = libpaps.la
+libpaps_la_SOURCES = libpaps.c
+libpaps_la_inc_HEADERS = libpaps.h
+libpaps_la_incdir = $(includedir)
bin_PROGRAMS = paps
paps_CFLAGS = -Wall
paps_SOURCES = paps.c
-paps_LDADD = $(lib_LIBRARIES) $(all_libraries)
+paps_LDADD = $(lib_LTLIBRARIES) $(all_libraries)
paps_LDFLAGS = `pkg-config --libs pangoft2`
-paps_DEPENDENCIES = $(lib_LIBRARIES)
+paps_DEPENDENCIES = $(lib_LTLIBRARIES)
-EXTRA_DIST = test_libpaps.c paps.1
+EXTRA_DIST = paps.1
# set the include path found by configure
INCLUDES= $(all_includes) `pkg-config --cflags pangoft2`
-# Test program
-noinst_PROGRAMS = test_libpaps
-
-
-test_libpaps_SOURCES = test_libpaps.c
-test_libpaps_LDADD = $(lib_LIBRARIES) $(all_libraries)
-test_libpaps_LDFLAGS = `pkg-config --libs pangoft2`
-test_libpaps_DEPENDENCIES = $(lib_LIBRARIES)
-
Otherwise a system limit (for SysV at least) may be exceeded.