aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-09-11 13:56:05 +0800
committermarcus <marcus@FreeBSD.org>2002-09-11 13:56:05 +0800
commit45552233490947385d2fb3cf463a66d1842e0a16 (patch)
tree9b4853af6fe3c0fabe57bbcc7ecdccc366e3b84a /x11-toolkits
parent49a7f7f0e3ba9c1773f1ed3347327ad62e7a640e (diff)
downloadfreebsd-ports-gnome-45552233490947385d2fb3cf463a66d1842e0a16.tar.gz
freebsd-ports-gnome-45552233490947385d2fb3cf463a66d1842e0a16.tar.zst
freebsd-ports-gnome-45552233490947385d2fb3cf463a66d1842e0a16.zip
Add libgsf, the GNOME structured file library. This is needed for the
upcoming Gnumeric 2 port.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/libgsf/Makefile37
-rw-r--r--x11-toolkits/libgsf/distinfo1
-rw-r--r--x11-toolkits/libgsf/files/patch-configure10
-rw-r--r--x11-toolkits/libgsf/files/patch-doc_Makefile.in11
-rw-r--r--x11-toolkits/libgsf/files/patch-gsf_gsf-shared-memory.c10
-rw-r--r--x11-toolkits/libgsf/pkg-comment1
-rw-r--r--x11-toolkits/libgsf/pkg-descr2
-rw-r--r--x11-toolkits/libgsf/pkg-plist79
9 files changed, 152 insertions, 0 deletions
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 <marcus@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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 <gsf-config.h>
+ #include <gsf/gsf-shared-memory.h>
+ #include <gsf/gsf-impl-utils.h>
++#include <sys/types.h>
+
+ #ifdef HAVE_MMAP
+ #include <sys/mman.h>
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