summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-08 12:14:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-08 12:14:48 +0800
commitb9bdc3c0da8619bf1abf1eae07d43db3059c6712 (patch)
treee44316aa0cfb8364dfe67310fbe0cb1e8941c863 /print
parentc876bf102d2edd33cb0bc753f526f7643101976f (diff)
downloadmarcuscom-ports-b9bdc3c0da8619bf1abf1eae07d43db3059c6712.tar
marcuscom-ports-b9bdc3c0da8619bf1abf1eae07d43db3059c6712.tar.gz
marcuscom-ports-b9bdc3c0da8619bf1abf1eae07d43db3059c6712.tar.bz2
marcuscom-ports-b9bdc3c0da8619bf1abf1eae07d43db3059c6712.tar.lz
marcuscom-ports-b9bdc3c0da8619bf1abf1eae07d43db3059c6712.tar.xz
marcuscom-ports-b9bdc3c0da8619bf1abf1eae07d43db3059c6712.tar.zst
marcuscom-ports-b9bdc3c0da8619bf1abf1eae07d43db3059c6712.zip
Add libgnomeprint.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print')
-rw-r--r--print/libgnomeprint/Makefile44
-rw-r--r--print/libgnomeprint/distinfo1
-rw-r--r--print/libgnomeprint/files/patch-ab14
-rw-r--r--print/libgnomeprint/files/patch-configure22
-rw-r--r--print/libgnomeprint/files/patch-libgnomeprint::drivers::Makefile.in21
-rw-r--r--print/libgnomeprint/files/patch-libgnomeprint::transports::Makefile.in29
-rw-r--r--print/libgnomeprint/pkg-comment1
-rw-r--r--print/libgnomeprint/pkg-descr4
-rw-r--r--print/libgnomeprint/pkg-plist102
9 files changed, 238 insertions, 0 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
new file mode 100644
index 000000000..a3ee142a9
--- /dev/null
+++ b/print/libgnomeprint/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: libgnomeprint
+# Date created: 15 Jan 1999
+# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD: ports/print/libgnomeprint/Makefile,v 1.63 2002/09/20 17:07:15 marcus Exp $
+#
+
+PORTNAME= libgnomeprint
+PORTVERSION= 1.116.1
+PORTREVISION= 1
+CATEGORIES= print gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.116
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= bonobo-2.0:${PORTSDIR}/devel/libbonobo \
+ art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
+ gtk-x11-2.0.100:${PORTSDIR}/x11-toolkits/gtk20
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
+ 's|<malloc[.]h>|<stdlib.h>|'
+
+post-install:
+ @${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts
+ @${TOUCH} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
+
+.include <bsd.port.mk>
diff --git a/print/libgnomeprint/distinfo b/print/libgnomeprint/distinfo
new file mode 100644
index 000000000..11d580f1a
--- /dev/null
+++ b/print/libgnomeprint/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/libgnomeprint-1.116.1.tar.bz2) = de58f804997e1bb39b06661e4fb2dcd2
diff --git a/print/libgnomeprint/files/patch-ab b/print/libgnomeprint/files/patch-ab
new file mode 100644
index 000000000..70a4f965b
--- /dev/null
+++ b/print/libgnomeprint/files/patch-ab
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/print/libgnomeprint/files/patch-ab,v 1.6 2002/06/11 08:15:26 marcus Exp $
+
+--- Makefile.in.orig Mon Jun 10 22:13:33 2002
++++ Makefile.in Mon Jun 10 22:14:58 2002
+@@ -105,7 +105,7 @@
+ WARN_CFLAGS = @WARN_CFLAGS@
+ cxxflags_set = @cxxflags_set@
+
+-SUBDIRS = libgnomeprint fonts installer tests data po doc
++SUBDIRS = libgnomeprint fonts installer data po doc
+
+ EXTRA_DIST = message-of-doom ChangeLog ChangeLog.old ChangeLog.old.2
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/print/libgnomeprint/files/patch-configure b/print/libgnomeprint/files/patch-configure
new file mode 100644
index 000000000..1add6e710
--- /dev/null
+++ b/print/libgnomeprint/files/patch-configure
@@ -0,0 +1,22 @@
+
+$FreeBSD: ports/print/libgnomeprint/files/patch-configure,v 1.5 2002/04/26 10:00:58 sobomax Exp $
+
+--- configure.orig Fri Apr 26 12:49:10 2002
++++ configure Fri Apr 26 12:49:40 2002
+@@ -5591,6 +5591,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'
+@@ -7180,7 +7181,7 @@
+ INSTALL_FONTS_TRUE='#'
+ INSTALL_FONTS_FALSE=
+ fi
+-FONTMAPDIR_STATIC=$datadir/gnome/libgnomeprint-2.0/fonts
++FONTMAPDIR_STATIC=$datadir/libgnomeprint-2.0/fonts
+ FONTMAPDIR_DYNAMIC=$sysconfdir/gnome/libgnomeprint-2.0/fonts
+
+
diff --git a/print/libgnomeprint/files/patch-libgnomeprint::drivers::Makefile.in b/print/libgnomeprint/files/patch-libgnomeprint::drivers::Makefile.in
new file mode 100644
index 000000000..c617228e5
--- /dev/null
+++ b/print/libgnomeprint/files/patch-libgnomeprint::drivers::Makefile.in
@@ -0,0 +1,21 @@
+
+$FreeBSD: ports/print/libgnomeprint/files/patch-libgnomeprint::drivers::Makefile.in,v 1.1 2002/03/19 16:57:19 sobomax Exp $
+
+--- libgnomeprint/drivers/Makefile.in 2002/03/19 16:44:23 1.1
++++ libgnomeprint/drivers/Makefile.in 2002/03/19 16:48:12
+@@ -118,13 +118,13 @@
+ OMNI2_SRC = gnome-print-omni2.cpp gnome-print-omni2.hpp
+ OMNI2_LAD = -L$(OMNI_LIBDIR) -lomni
+ libgnomeprint_omni2_la_SOURCES = $(OMNI2_SRC)
+-libgnomeprint_omni2_la_LDFLAGS = -version-info 0:0:0 -module
++libgnomeprint_omni2_la_LDFLAGS = -avoid-version -module
+ libgnomeprint_omni2_la_LIBADD = $(OMNI2_LAD)
+
+ FAX_LIB = libgnomeprint-fax.la
+ FAX_SRC = gnome-print-fax.c gnome-print-fax.h gnome-print-fax-g3.h
+ libgnomeprint_fax_la_SOURCES = $(FAX_SRC)
+-libgnomeprint_fax_la_LDFLAGS = -version-info 0:0:0 -module
++libgnomeprint_fax_la_LDFLAGS = -avoid-version -module
+ libgnomeprint_fax_la_LIBADD =
+
+ libexecdir = $(libdir)/gnome-print-2.0/drivers
diff --git a/print/libgnomeprint/files/patch-libgnomeprint::transports::Makefile.in b/print/libgnomeprint/files/patch-libgnomeprint::transports::Makefile.in
new file mode 100644
index 000000000..fd2c0da7e
--- /dev/null
+++ b/print/libgnomeprint/files/patch-libgnomeprint::transports::Makefile.in
@@ -0,0 +1,29 @@
+--- libgnomeprint/transports/Makefile.in.orig Mon Jun 10 22:16:36 2002
++++ libgnomeprint/transports/Makefile.in Mon Jun 10 22:22:35 2002
+@@ -121,7 +121,7 @@
+
+ libgnomeprint_file_la_SOURCES = $(FILE_SRC)
+
+-libgnomeprint_file_la_LDFLAGS = -version-info 0:0:0 -module
++libgnomeprint_file_la_LDFLAGS = -avoid-version -module
+
+ libgnomeprint_file_la_LIBADD =
+
+@@ -132,7 +132,7 @@
+
+ libgnomeprint_lpr_la_SOURCES = $(LPR_SRC)
+
+-libgnomeprint_lpr_la_LDFLAGS = -version-info 0:0:0 -module
++libgnomeprint_lpr_la_LDFLAGS = -avoid-version -module
+
+ libgnomeprint_lpr_la_LIBADD =
+
+@@ -143,7 +143,7 @@
+
+ libgnomeprint_custom_la_SOURCES = $(CUSTOM_SRC)
+
+-libgnomeprint_custom_la_LDFLAGS = -version-info 0:0:0 -module
++libgnomeprint_custom_la_LDFLAGS = -avoid-version -module
+
+ libgnomeprint_custom_la_LIBADD =
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/print/libgnomeprint/pkg-comment b/print/libgnomeprint/pkg-comment
new file mode 100644
index 000000000..7ab03ca6b
--- /dev/null
+++ b/print/libgnomeprint/pkg-comment
@@ -0,0 +1 @@
+Gnome print support library
diff --git a/print/libgnomeprint/pkg-descr b/print/libgnomeprint/pkg-descr
new file mode 100644
index 000000000..f7ae47f42
--- /dev/null
+++ b/print/libgnomeprint/pkg-descr
@@ -0,0 +1,4 @@
+This is a prototype implementation of the Gnome Printing Architecture,
+as described in:
+
+WWW: http://www.gnome.org/projects/gnome-print/
diff --git a/print/libgnomeprint/pkg-plist b/print/libgnomeprint/pkg-plist
new file mode 100644
index 000000000..56b28ca46
--- /dev/null
+++ b/print/libgnomeprint/pkg-plist
@@ -0,0 +1,102 @@
+bin/libgnomeprint-2.0-font-install
+etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
+include/libgnomeprint-2.0/libgnomeprint/gnome-font-face.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-font.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-glyphlist.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-pgl.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-print-config.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-print-master.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-print-paper.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-print-unit.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-print.h
+include/libgnomeprint-2.0/libgnomeprint/gnome-rfont.h
+include/libgnomeprint-2.0/libgnomeprint/gp-gc.h
+include/libgnomeprint-2.0/libgnomeprint/private/gnome-font-private.h
+include/libgnomeprint-2.0/libgnomeprint/private/gnome-print-private.h
+include/libgnomeprint-2.0/libgnomeprint/private/gp-gc-private.h
+include/libgnomeprint-2.0/libgnomeprint/private/gpa-private.h
+lib/gnome-print-2.0/drivers/libgnomeprint-fax.so
+lib/gnome-print-2.0/transports/libgnomeprint-custom.so
+lib/gnome-print-2.0/transports/libgnomeprint-file.so
+lib/gnome-print-2.0/transports/libgnomeprint-lpr.so
+lib/libgnomeprint-2.a
+lib/libgnomeprint-2.so
+lib/libgnomeprint-2.so.0
+libdata/pkgconfig/libgnomeprint-2.0.pc
+share/doc/libgnomeprint/index.html
+share/doc/libgnomeprint/index.sgml
+share/doc/libgnomeprint/libgnomeprint-building.html
+share/doc/libgnomeprint/libgnomeprint-compiling.html
+share/doc/libgnomeprint/libgnomeprint-gnome-font-face.html
+share/doc/libgnomeprint/libgnomeprint-gnome-font.html
+share/doc/libgnomeprint/libgnomeprint-gnome-glyphlist.html
+share/doc/libgnomeprint/libgnomeprint-gnome-pgl.html
+share/doc/libgnomeprint/libgnomeprint-gnome-print-config.html
+share/doc/libgnomeprint/libgnomeprint-gnome-print-master.html
+share/doc/libgnomeprint/libgnomeprint-gnome-print-paper.html
+share/doc/libgnomeprint/libgnomeprint-gnome-print-unit.html
+share/doc/libgnomeprint/libgnomeprint-gnome-print.html
+share/doc/libgnomeprint/libgnomeprint-gnome-rfont.html
+share/doc/libgnomeprint/libgnomeprint-question-index.html
+share/doc/libgnomeprint/libgnomeprint-resources.html
+share/doc/libgnomeprint/libgnomeprint.html
+share/doc/libgnomeprint/libgnomeprintunsorted.html
+share/gnome/fonts/README.installer
+share/gnome/gnome-print-2.0/media/media.xml
+share/gnome/gnome-print-2.0/models/GNOME-GENERIC-PS.model
+share/gnome/gnome-print-2.0/models/HP-LASERJET-4ML.model
+share/gnome/gnome-print-2.0/models/STYLUS-COLOR-740.model
+share/gnome/gnome-print-2.0/printers/GENERIC.printer
+share/gnome/gnome-print-2.0/vendors/EPSON.vendor
+share/gnome/gnome-print-2.0/vendors/GNOME.vendor
+share/gnome/gnome-print-2.0/vendors/HP.vendor
+share/gnome/libgnomeprint-2.0/fonts/adobe-urw.font
+share/gnome/libgnomeprint-2.0/fonts/defaults.fontmap
+share/locale/ar/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/az/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/bg/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/ca/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/cs/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/es/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/et/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/fr/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/he/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/hu/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/hi/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/it/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/ja/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/ko/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/lv/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/ms/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/nl/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/nn/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/no/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/pl/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/pt/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/ro/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/ru/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/sk/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/sl/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/sv/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/ta/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/tr/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/uk/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/vi/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/wa/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/libgnomeprint-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/libgnomeprint-2.0.mo
+@dirrm share/gnome/libgnomeprint-2.0/fonts
+@dirrm share/gnome/libgnomeprint-2.0
+@dirrm share/gnome/gnome-print-2.0/vendors
+@dirrm share/gnome/gnome-print-2.0/printers
+@dirrm share/gnome/gnome-print-2.0/models
+@dirrm share/gnome/gnome-print-2.0/media
+@dirrm share/gnome/gnome-print-2.0
+@dirrm share/doc/libgnomeprint
+@dirrm lib/gnome-print-2.0/transports
+@dirrm lib/gnome-print-2.0/drivers
+@dirrm lib/gnome-print-2.0
+@dirrm include/libgnomeprint-2.0/libgnomeprint/private
+@dirrm include/libgnomeprint-2.0/libgnomeprint
+@dirrm include/libgnomeprint-2.0