summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libgsf-gnome/Makefile36
-rw-r--r--devel/libgsf-gnome/pkg-descr3
-rw-r--r--devel/libgsf-gnome/pkg-plist11
-rw-r--r--devel/libgsf/Makefile42
-rw-r--r--devel/libgsf/distinfo3
-rw-r--r--devel/libgsf/files/patch-doc_Makefile.in11
-rw-r--r--devel/libgsf/files/patch-gsf-gnome-Makefile.in45
-rw-r--r--devel/libgsf/files/patch-gsf_gsf-shared-memory.c10
-rw-r--r--devel/libgsf/pkg-descr2
-rw-r--r--devel/libgsf/pkg-plist95
10 files changed, 258 insertions, 0 deletions
diff --git a/devel/libgsf-gnome/Makefile b/devel/libgsf-gnome/Makefile
new file mode 100644
index 000000000..63f12c1d6
--- /dev/null
+++ b/devel/libgsf-gnome/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: libgsf
+# Date created: 11 September 2002
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/libgsf-gnome/Makefile,v 1.8 2005/09/08 17:53:00 marcus Exp $
+#
+
+CATEGORIES= devel gnome
+PKGNAMESUFFIX= -gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A GNOME wrapper for libgsf
+
+MASTERDIR= ${.CURDIR}/../libgsf
+DESCR= ${.CURDIR}/pkg-descr
+PLIST= ${.CURDIR}/pkg-plist
+
+USE_GNOME= gnomehack libgsf gnomevfs2 ltverhack intlhack
+CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/gsf \
+ --disable-gtk-doc --with-bz2 --with-gnome
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lgsf-1"
+
+GCONF_SCHEMAS=
+GSF_SLAVE= yes
+
+do-build:
+ @cd ${WRKSRC}/gsf-gnome && ${MAKE}
+
+do-install:
+ cd ${WRKSRC}/gsf-gnome && ${MAKE} ${INSTALL_TARGET}
+ ${MKDIR} ${PREFIX}/libdata/pkgconfig
+ ${INSTALL_DATA} ${WRKSRC}/libgsf-gnome-1.pc ${PREFIX}/libdata/pkgconfig
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/libgsf-gnome/pkg-descr b/devel/libgsf-gnome/pkg-descr
new file mode 100644
index 000000000..0252aadf0
--- /dev/null
+++ b/devel/libgsf-gnome/pkg-descr
@@ -0,0 +1,3 @@
+The library is a bonobo and gnomevfs wrapper for libgsf, providing a high level
+API for GNOME applications to access and exchange various structured file
+formats.
diff --git a/devel/libgsf-gnome/pkg-plist b/devel/libgsf-gnome/pkg-plist
new file mode 100644
index 000000000..4f502a67c
--- /dev/null
+++ b/devel/libgsf-gnome/pkg-plist
@@ -0,0 +1,11 @@
+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-bonobo.h
+include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h
+include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h
+lib/libgsf-gnome-1.a
+lib/libgsf-gnome-1.la
+lib/libgsf-gnome-1.so
+lib/libgsf-gnome-1.so.114
+libdata/pkgconfig/libgsf-gnome-1.pc
+@dirrm include/libgsf-1/gsf-gnome
diff --git a/devel/libgsf/Makefile b/devel/libgsf/Makefile
new file mode 100644
index 000000000..97d19f7bf
--- /dev/null
+++ b/devel/libgsf/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: libgsf
+# Date created: 11 September 2002
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/libgsf/Makefile,v 1.17 2005/10/11 22:08:17 marcus Exp $
+#
+
+PORTNAME= libgsf
+PORTVERSION= 1.14.0
+PORTREVISION?= 0
+CATEGORIES?= devel
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT?= An extensible i/o abstraction for dealing with structured file formats
+
+.if !exists(/usr/lib/libbz2.so)
+LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
+.endif
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+USE_GNOME?= gnomehack glib20 libxml2 gconf2 ltverhack intlhack
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
+ --disable-gtk-doc --without-gnome --with-bz2 \
+ --mandir=${PREFIX}/man \
+ --with-gconf-source=${GCONF_CONFIG_SOURCE}
+CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.if !defined(GSF_SLAVE)
+GCONF_SCHEMAS= gsf-office-thumbnailer.schemas
+MAN1= gsf-office-thumbnailer.1
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/libgsf/distinfo b/devel/libgsf/distinfo
new file mode 100644
index 000000000..9164f4ed7
--- /dev/null
+++ b/devel/libgsf/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/libgsf-1.14.0.tar.bz2) = 2d3b112a2c6e7e1740306c32b1ebf6e6
+SHA256 (gnome2/libgsf-1.14.0.tar.bz2) = 1572b131c4d32527c9adda40faea5a58bd67dfc5e16cdbd7ff9b1e793790568a
+SIZE (gnome2/libgsf-1.14.0.tar.bz2) = 525532
diff --git a/devel/libgsf/files/patch-doc_Makefile.in b/devel/libgsf/files/patch-doc_Makefile.in
new file mode 100644
index 000000000..2d1069fce
--- /dev/null
+++ b/devel/libgsf/files/patch-doc_Makefile.in
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.orig Tue Oct 11 15:56:09 2005
++++ doc/Makefile.in Tue Oct 11 15:56:24 2005
+@@ -293,7 +293,7 @@
+ # if $(DOC_MODULE).types is non-empty.
+ GTKDOC_CFLAGS = -I$(top_srcdir) $(LIBGSF_CFLAGS)
+ GTKDOC_LIBS = $(top_builddir)/gsf/libgsf-1.la $(LIBGSF_LIBS)
+-manpagedir = $(datadir)/man/man1
++manpagedir = $(prefix)/man/man1
+ manpage_DATA = gsf-office-thumbnailer.1
+ @GTK_DOC_INSTALLED_TRUE@@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
+ @GTK_DOC_INSTALLED_TRUE@@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
diff --git a/devel/libgsf/files/patch-gsf-gnome-Makefile.in b/devel/libgsf/files/patch-gsf-gnome-Makefile.in
new file mode 100644
index 000000000..6337cb21d
--- /dev/null
+++ b/devel/libgsf/files/patch-gsf-gnome-Makefile.in
@@ -0,0 +1,45 @@
+--- gsf-gnome/Makefile.in.orig Mon Nov 7 00:22:33 2005
++++ gsf-gnome/Makefile.in Mon Nov 7 00:23:42 2005
+@@ -60,9 +60,7 @@
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+-@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_DEPENDENCIES = \
+-@WITH_LIBGSF_GNOME_TRUE@ $(top_builddir)/gsf/libgsf-1.la \
+-@WITH_LIBGSF_GNOME_TRUE@ $(am__DEPENDENCIES_1)
++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_DEPENDENCIES =
+ am__libgsf_gnome_1_la_SOURCES_DIST = gsf-input-gnomevfs.c \
+ gsf-output-gnomevfs.c gsf-input-bonobo.c gsf-output-bonobo.c \
+ gsf-shared-bonobo-stream.c
+@@ -277,7 +275,7 @@
+ target_alias = @target_alias@
+ AM_CPPFLAGS = -I$(top_srcdir) $(LIBGSF_GNOME_CFLAGS)
+ @WITH_LIBGSF_GNOME_TRUE@lib_LTLIBRARIES = libgsf-gnome-1.la
+-@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_LIBADD = $(top_builddir)/gsf/libgsf-1.la $(LIBGSF_GNOME_LIBS)
++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_LIBADD = $(LIBGSF_GNOME_LIBS)
+ @WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_LDFLAGS = -version-info \
+ @WITH_LIBGSF_GNOME_TRUE@ $(VERSION_INFO) $(am__append_1)
+ @WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_la_SOURCES = \
+@@ -287,13 +285,15 @@
+ @WITH_LIBGSF_GNOME_TRUE@ gsf-output-bonobo.c \
+ @WITH_LIBGSF_GNOME_TRUE@ gsf-shared-bonobo-stream.c
+
+-libgsf_gnome_1_includedir = $(includedir)/libgsf-1/gsf-gnome
+-libgsf_gnome_1_include_HEADERS = \
+- gsf-input-gnomevfs.h \
+- gsf-output-gnomevfs.h \
+- gsf-input-bonobo.h \
+- gsf-output-bonobo.h \
+- gsf-shared-bonobo-stream.h
++@WITH_LIBGSF_GNOME_FALSE@libgsf_gnome_1_includedir =
++@WITH_LIBGSF_GNOME_FALSE@libgsf_gnome_1_include_HEADERS =
++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_includedir = $(includedir)/libgsf-1/gsf-gnome
++@WITH_LIBGSF_GNOME_TRUE@libgsf_gnome_1_include_HEADERS = \
++@WITH_LIBGSF_GNOME_TRUE@ gsf-input-gnomevfs.h \
++@WITH_LIBGSF_GNOME_TRUE@ gsf-output-gnomevfs.h \
++@WITH_LIBGSF_GNOME_TRUE@ gsf-input-bonobo.h \
++@WITH_LIBGSF_GNOME_TRUE@ gsf-output-bonobo.h \
++@WITH_LIBGSF_GNOME_TRUE@ gsf-shared-bonobo-stream.h
+
+ all: all-am
+
diff --git a/devel/libgsf/files/patch-gsf_gsf-shared-memory.c b/devel/libgsf/files/patch-gsf_gsf-shared-memory.c
new file mode 100644
index 000000000..03f4e6379
--- /dev/null
+++ b/devel/libgsf/files/patch-gsf_gsf-shared-memory.c
@@ -0,0 +1,10 @@
+--- gsf/gsf-shared-memory.c.orig Wed Sep 11 23:58:35 2002
++++ gsf/gsf-shared-memory.c Wed Sep 11 23:58:46 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/devel/libgsf/pkg-descr b/devel/libgsf/pkg-descr
new file mode 100644
index 000000000..258f82307
--- /dev/null
+++ b/devel/libgsf/pkg-descr
@@ -0,0 +1,2 @@
+The library aims to provide an efficient extensible i/o abstraction for
+dealing with different structured file formats.
diff --git a/devel/libgsf/pkg-plist b/devel/libgsf/pkg-plist
new file mode 100644
index 000000000..e654b64cf
--- /dev/null
+++ b/devel/libgsf/pkg-plist
@@ -0,0 +1,95 @@
+bin/gsf-office-thumbnailer
+include/libgsf-1/gsf-win32/gsf-input-win32.h
+include/libgsf-1/gsf-win32/gsf-output-win32.h
+include/libgsf-1/gsf/gsf-blob.h
+include/libgsf-1/gsf/gsf-clip-data.h
+include/libgsf-1/gsf/gsf-doc-meta-data.h
+include/libgsf-1/gsf/gsf-docprop-vector.h
+include/libgsf-1/gsf/gsf-impl-utils.h
+include/libgsf-1/gsf/gsf-infile-impl.h
+include/libgsf-1/gsf/gsf-infile-msole.h
+include/libgsf-1/gsf/gsf-infile-msvba.h
+include/libgsf-1/gsf/gsf-infile-stdio.h
+include/libgsf-1/gsf/gsf-infile-zip.h
+include/libgsf-1/gsf/gsf-infile.h
+include/libgsf-1/gsf/gsf-input-bzip.h
+include/libgsf-1/gsf/gsf-input-gzip.h
+include/libgsf-1/gsf/gsf-input-impl.h
+include/libgsf-1/gsf/gsf-input-iochannel.h
+include/libgsf-1/gsf/gsf-input-memory.h
+include/libgsf-1/gsf/gsf-input-proxy.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-libxml.h
+include/libgsf-1/gsf/gsf-meta-names.h
+include/libgsf-1/gsf/gsf-msole-utils.h
+include/libgsf-1/gsf/gsf-opendoc-utils.h
+include/libgsf-1/gsf/gsf-outfile-impl.h
+include/libgsf-1/gsf/gsf-outfile-msole.h
+include/libgsf-1/gsf/gsf-outfile-stdio.h
+include/libgsf-1/gsf/gsf-outfile-zip.h
+include/libgsf-1/gsf/gsf-outfile.h
+include/libgsf-1/gsf/gsf-output-bzip.h
+include/libgsf-1/gsf/gsf-output-csv.h
+include/libgsf-1/gsf/gsf-output-gzip.h
+include/libgsf-1/gsf/gsf-output-iconv.h
+include/libgsf-1/gsf/gsf-output-impl.h
+include/libgsf-1/gsf/gsf-output-iochannel.h
+include/libgsf-1/gsf/gsf-output-memory.h
+include/libgsf-1/gsf/gsf-output-stdio.h
+include/libgsf-1/gsf/gsf-output.h
+include/libgsf-1/gsf/gsf-structured-blob.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.la
+lib/libgsf-1.so
+lib/libgsf-1.so.114
+libdata/pkgconfig/libgsf-1.pc
+share/doc/gsf/GsfBlob.html
+share/doc/gsf/GsfClipData.html
+share/doc/gsf/api.html
+share/doc/gsf/dependencies.html
+share/doc/gsf/gsf-Bononbo.html
+share/doc/gsf/gsf-Compression.html
+share/doc/gsf/gsf-GIOChannel.html
+share/doc/gsf/gsf-GnomeVFS.html
+share/doc/gsf/gsf-Infile-reading-structed-files.html
+share/doc/gsf/gsf-Input-from-unstructured-files.html
+share/doc/gsf/gsf-MS-OLE2.html
+share/doc/gsf/gsf-Outfile-writing-structed-files.html
+share/doc/gsf/gsf-Output-to-unstructured-files.html
+share/doc/gsf/gsf-Reading-and-Writing-from-local-files-and-directories.html
+share/doc/gsf/gsf-Structured-Blobs.html
+share/doc/gsf/gsf-Text.html
+share/doc/gsf/gsf-XML-and-libxml.html
+share/doc/gsf/gsf-Zip.html
+share/doc/gsf/gsf-gsf-opendoc-utils.html
+share/doc/gsf/gsf-memory.html
+share/doc/gsf/gsf-metadata.html
+share/doc/gsf/gsf-users.html
+share/doc/gsf/gsf-utils.html
+share/doc/gsf/gsf.devhelp
+share/doc/gsf/gsf.devhelp2
+share/doc/gsf/history.html
+share/doc/gsf/home.png
+share/doc/gsf/index.html
+share/doc/gsf/index.sgml
+share/doc/gsf/intro.html
+share/doc/gsf/io.html
+share/doc/gsf/ix01.html
+share/doc/gsf/left.png
+share/doc/gsf/misc.html
+share/doc/gsf/parsers.html
+share/doc/gsf/right.png
+share/doc/gsf/sources.html
+share/doc/gsf/style.css
+share/doc/gsf/up.png
+share/locale/es/LC_MESSAGES/libgsf.mo
+share/locale/sv/LC_MESSAGES/libgsf.mo
+@dirrm share/doc/gsf
+@dirrm include/libgsf-1/gsf-win32
+@dirrm include/libgsf-1/gsf
+@dirrm include/libgsf-1