From 45552233490947385d2fb3cf463a66d1842e0a16 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 11 Sep 2002 05:56:05 +0000 Subject: Add libgsf, the GNOME structured file library. This is needed for the upcoming Gnumeric 2 port. --- x11-toolkits/Makefile | 1 + x11-toolkits/libgsf/Makefile | 37 ++++++++++ x11-toolkits/libgsf/distinfo | 1 + x11-toolkits/libgsf/files/patch-configure | 10 +++ x11-toolkits/libgsf/files/patch-doc_Makefile.in | 11 +++ .../libgsf/files/patch-gsf_gsf-shared-memory.c | 10 +++ x11-toolkits/libgsf/pkg-comment | 1 + x11-toolkits/libgsf/pkg-descr | 2 + x11-toolkits/libgsf/pkg-plist | 79 ++++++++++++++++++++++ 9 files changed, 152 insertions(+) create mode 100644 x11-toolkits/libgsf/Makefile create mode 100644 x11-toolkits/libgsf/distinfo create mode 100644 x11-toolkits/libgsf/files/patch-configure create mode 100644 x11-toolkits/libgsf/files/patch-doc_Makefile.in create mode 100644 x11-toolkits/libgsf/files/patch-gsf_gsf-shared-memory.c create mode 100644 x11-toolkits/libgsf/pkg-comment create mode 100644 x11-toolkits/libgsf/pkg-descr create mode 100644 x11-toolkits/libgsf/pkg-plist (limited to 'x11-toolkits') diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index e3b6053c14df..c50648d3c334 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -69,6 +69,7 @@ SUBDIR += libgail-gnome SUBDIR += libgnomeprintui SUBDIR += libgnomeui + SUBDIR += libgsf SUBDIR += libgtkeditor SUBDIR += libj2dplot SUBDIR += libjparser diff --git a/x11-toolkits/libgsf/Makefile b/x11-toolkits/libgsf/Makefile new file mode 100644 index 000000000000..45eb75a7179b --- /dev/null +++ b/x11-toolkits/libgsf/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: libgsf +# Date created: 11 September 2002 +# Whom: Joe Marcus Clarke +# +# $FreeBSD$ +# + +PORTNAME= libgsf +PORTVERSION= 1.3.0 +CATEGORIES= x11-toolkits gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= unstable/sources/${PORTNAME} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= bonobo-2.0:${PORTSDIR}/devel/libbonobo \ + gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2 + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_PERL5= yes +USE_GMAKE= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack gnomeprefix +USE_REINPLACE= yes +INSTALLS_SHLIB= yes +USE_LIBTOOL= yes +CONFIGURE_ARGS= --enable-compile-warnings=no +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include diff --git a/x11-toolkits/libgsf/distinfo b/x11-toolkits/libgsf/distinfo new file mode 100644 index 000000000000..14256a2e21eb --- /dev/null +++ b/x11-toolkits/libgsf/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/libgsf-1.3.0.tar.bz2) = 49bae0d52e91e98a0c635b595584aa8e diff --git a/x11-toolkits/libgsf/files/patch-configure b/x11-toolkits/libgsf/files/patch-configure new file mode 100644 index 000000000000..0ab5c8b6bf7b --- /dev/null +++ b/x11-toolkits/libgsf/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Wed Sep 11 01:40:20 2002 ++++ configure Wed Sep 11 01:40:47 2002 +@@ -7245,6 +7245,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/x11-toolkits/libgsf/files/patch-doc_Makefile.in b/x11-toolkits/libgsf/files/patch-doc_Makefile.in new file mode 100644 index 000000000000..4c1fd9c24f6a --- /dev/null +++ b/x11-toolkits/libgsf/files/patch-doc_Makefile.in @@ -0,0 +1,11 @@ +--- doc/Makefile.in.orig Wed Sep 11 01:47:50 2002 ++++ doc/Makefile.in Wed Sep 11 01:47:57 2002 +@@ -152,7 +152,7 @@ + GPATH = $(srcdir) + + TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) +-DOC_DIR = $(datadir)/doc$(TARGET_DIR) ++DOC_DIR = $(datadir)/doc/$(TARGET_DIR) + + EXTRA_DIST = $(content_files) $(extra_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) $(DOC_MODULE).types $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt + diff --git a/x11-toolkits/libgsf/files/patch-gsf_gsf-shared-memory.c b/x11-toolkits/libgsf/files/patch-gsf_gsf-shared-memory.c new file mode 100644 index 000000000000..953c229f51d5 --- /dev/null +++ b/x11-toolkits/libgsf/files/patch-gsf_gsf-shared-memory.c @@ -0,0 +1,10 @@ +--- gsf/gsf-shared-memory.c.orig Wed Sep 11 01:44:59 2002 ++++ gsf/gsf-shared-memory.c Wed Sep 11 01:45:19 2002 +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_MMAP + #include diff --git a/x11-toolkits/libgsf/pkg-comment b/x11-toolkits/libgsf/pkg-comment new file mode 100644 index 000000000000..0dad8c3713a5 --- /dev/null +++ b/x11-toolkits/libgsf/pkg-comment @@ -0,0 +1 @@ +The GNOME structured file library diff --git a/x11-toolkits/libgsf/pkg-descr b/x11-toolkits/libgsf/pkg-descr new file mode 100644 index 000000000000..5ec705e46ca7 --- /dev/null +++ b/x11-toolkits/libgsf/pkg-descr @@ -0,0 +1,2 @@ +This library takes a little bit from OLE and VBA. It is used by Gnumeric 2. +It replaces libole2 and gnome-basic. diff --git a/x11-toolkits/libgsf/pkg-plist b/x11-toolkits/libgsf/pkg-plist new file mode 100644 index 000000000000..3eefb91082d6 --- /dev/null +++ b/x11-toolkits/libgsf/pkg-plist @@ -0,0 +1,79 @@ +include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +include/libgsf-1/gsf/gsf-doc-meta-data.h +include/libgsf-1/gsf/gsf-impl-utils.h +include/libgsf-1/gsf/gsf-infile-msole.h +include/libgsf-1/gsf/gsf-infile-msvba.h +include/libgsf-1/gsf/gsf-infile-zip.h +include/libgsf-1/gsf/gsf-infile.h +include/libgsf-1/gsf/gsf-input-gzip.h +include/libgsf-1/gsf/gsf-input-memory.h +include/libgsf-1/gsf/gsf-input-stdio.h +include/libgsf-1/gsf/gsf-input-textline.h +include/libgsf-1/gsf/gsf-input.h +include/libgsf-1/gsf/gsf-io-context.h +include/libgsf-1/gsf/gsf-libxml.h +include/libgsf-1/gsf/gsf-msole-metadata.h +include/libgsf-1/gsf/gsf-outfile-msole.h +include/libgsf-1/gsf/gsf-outfile.h +include/libgsf-1/gsf/gsf-output-stdio.h +include/libgsf-1/gsf/gsf-output.h +include/libgsf-1/gsf/gsf-timestamp.h +include/libgsf-1/gsf/gsf-utils.h +include/libgsf-1/gsf/gsf.h +lib/libgsf-1.a +lib/libgsf-1.so +lib/libgsf-1.so.4 +lib/libgsf-gnome-1.a +lib/libgsf-gnome-1.so +lib/libgsf-gnome-1.so.4 +libdata/pkgconfig/libgsf-1.pc +libdata/pkgconfig/libgsf-gnome-1.pc +share/gnome/doc/gsf/gsf-gsf-impl-utils.html +share/gnome/doc/gsf/gsf-gsf-infile-msole.html +share/gnome/doc/gsf/gsf-gsf-infile-zip.html +share/gnome/doc/gsf/gsf-gsf-infile.html +share/gnome/doc/gsf/gsf-gsf-input-gnomevfs.html +share/gnome/doc/gsf/gsf-gsf-input-gzip.html +share/gnome/doc/gsf/gsf-gsf-input-memory.html +share/gnome/doc/gsf/gsf-gsf-input-stdio.html +share/gnome/doc/gsf/gsf-gsf-input-textline.html +share/gnome/doc/gsf/gsf-gsf-input.html +share/gnome/doc/gsf/gsf-gsf-libxml.html +share/gnome/doc/gsf/gsf-gsf-outfile.html +share/gnome/doc/gsf/gsf-gsf-output.html +share/gnome/doc/gsf/gsf-gsf-shared-memory.html +share/gnome/doc/gsf/gsf-gsf-utils.html +share/gnome/doc/gsf/gsf-gsf.html +share/gnome/doc/gsf/gsf-gsfinfile.html +share/gnome/doc/gsf/gsf-gsfinput.html +share/gnome/doc/gsf/gsf-gsfoutput.html +share/gnome/doc/gsf/gsf.html +share/gnome/doc/gsf/i1970.html +share/gnome/doc/gsf/index.html +share/gnome/doc/gsf/index.sgml +share/gnome/doc/gsf/r1024.html +share/gnome/doc/gsf/r1192.html +share/gnome/doc/gsf/r1282.html +share/gnome/doc/gsf/r14.html +share/gnome/doc/gsf/r1414.html +share/gnome/doc/gsf/r1487.html +share/gnome/doc/gsf/r1520.html +share/gnome/doc/gsf/r171.html +share/gnome/doc/gsf/r1713.html +share/gnome/doc/gsf/r1757.html +share/gnome/doc/gsf/r1879.html +share/gnome/doc/gsf/r305.html +share/gnome/doc/gsf/r338.html +share/gnome/doc/gsf/r437.html +share/gnome/doc/gsf/r530.html +share/gnome/doc/gsf/r56.html +share/gnome/doc/gsf/r792.html +share/gnome/doc/gsf/r913.html +share/gnome/doc/gsf/r931.html +@dirrm share/gnome/doc/gsf +@dirrm include/libgsf-1/gsf +@dirrm include/libgsf-1/gsf-gnome +@dirrm include/libgsf-1 -- cgit