summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/gnome-print/Makefile51
-rw-r--r--print/gnome-print/distinfo3
-rw-r--r--print/gnome-print/files/patch-ab32
-rw-r--r--print/gnome-print/files/patch-installer_gf-pfb.c12
-rw-r--r--print/gnome-print/files/patch-installer_gf-ttf.c12
-rw-r--r--print/gnome-print/files/patch-installer_gnome-font-install.c12
-rw-r--r--print/gnome-print/files/patch-libgnomeprint_gnome-font-private.h12
-rw-r--r--print/gnome-print/files/patch-libgnomeprint_parseTT.c12
-rw-r--r--print/gnome-print/files/patch-libgnomeprint_parseTT.h12
-rw-r--r--print/gnome-print/pkg-descr4
-rw-r--r--print/gnome-print/pkg-plist153
11 files changed, 315 insertions, 0 deletions
diff --git a/print/gnome-print/Makefile b/print/gnome-print/Makefile
new file mode 100644
index 000000000..5ace94c2e
--- /dev/null
+++ b/print/gnome-print/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: gnomeprint
+# Date created: 15 Jan 1999
+# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/print/gnome-print/Makefile,v 1.2 2006/09/10 00:51:12 mezz Exp $
+#
+
+PORTNAME= gnome-print
+PORTVERSION= 0.37
+PORTREVISION= 4
+CATEGORIES= print gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-print/0.37
+DISTNAME= gnome-print-${PORTVERSION}
+DIST_SUBDIR= gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Gnome print support library
+
+BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
+
+USE_GHOSTSCRIPT_RUN= yes
+
+PLIST_SUB= VERSION=${PORTVERSION}
+
+USE_AUTOTOOLS= libtool:15
+USE_BZIP2= yes
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_PERL5= yes
+USE_GNOME= gnomehack gnomeprefix gnomehier gnomelibs gnomecanvas
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+pre-everything::
+.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
+ @${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one"
+ @${ECHO_MSG} ""
+.endif
+
+post-install:
+ @${TOUCH} ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap
+
+.include <bsd.port.mk>
diff --git a/print/gnome-print/distinfo b/print/gnome-print/distinfo
new file mode 100644
index 000000000..ce464376f
--- /dev/null
+++ b/print/gnome-print/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome/gnome-print-0.37.tar.bz2) = f9e13f4f17b04baceec1cdeed0f88eae
+SHA256 (gnome/gnome-print-0.37.tar.bz2) = 9d901f9ec9991e76e9fcfb53ac71b5351e86d2aeaa6d6b5539c8dd66ab4c174d
+SIZE (gnome/gnome-print-0.37.tar.bz2) = 768373
diff --git a/print/gnome-print/files/patch-ab b/print/gnome-print/files/patch-ab
new file mode 100644
index 000000000..4c7b17b65
--- /dev/null
+++ b/print/gnome-print/files/patch-ab
@@ -0,0 +1,32 @@
+
+$FreeBSD: ports/print/gnome-print/files/patch-ab,v 1.5 2006/10/14 08:54:50 marcus Exp $
+
+--- Makefile.in.orig Fri Oct 5 11:37:00 2001
++++ Makefile.in Fri Oct 5 11:40:45 2001
+@@ -157,7 +157,7 @@
+ @LIBGPA_TRUE@LIBGPA_DIR = libgpa data
+ @LIBGPA_FALSE@LIBGPA_DIR =
+
+-SUBDIRS = intl po $(LIBGPA_DIR) libgnomeprint afms profiles fonts tests $(INSTALLER_DIR)
++SUBDIRS = intl po $(LIBGPA_DIR) libgnomeprint afms profiles fonts $(INSTALLER_DIR)
+
+ INCLUDES = $(GTK_CFLAGS) -I$(top_srcdir)/intl -I$(top_builddir)/intl $(GNOME_INCLUDEDIR) @PRINT_INCLUDEDIR@ -DPROFILEDIR=\""$(profilesdir)"\"
+
+@@ -171,7 +171,7 @@
+ EXTRA_DIST = printConf.sh.in gnome-print.spec.in gnome-print.spec run-gnome-font-install
+
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = printConf.sh
+
+ CLEANFILES = printConf.sh
+@@ -192,7 +192,7 @@
+ TAR = gtar
+ GZIP_ENV = --best
+ DIST_SUBDIRS = intl po libgpa data libgnomeprint afms profiles fonts \
+-tests installer
++installer
+ all: all-redirect
+ .SUFFIXES:
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
diff --git a/print/gnome-print/files/patch-installer_gf-pfb.c b/print/gnome-print/files/patch-installer_gf-pfb.c
new file mode 100644
index 000000000..6774d5012
--- /dev/null
+++ b/print/gnome-print/files/patch-installer_gf-pfb.c
@@ -0,0 +1,12 @@
+--- installer/gf-pfb.c.orig Mon Mar 22 23:33:20 2004
++++ installer/gf-pfb.c Mon Mar 22 23:33:36 2004
+@@ -12,7 +12,8 @@
+ #include <fcntl.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include "gf-pfb.h"
+
+ #define noVERBOSE
diff --git a/print/gnome-print/files/patch-installer_gf-ttf.c b/print/gnome-print/files/patch-installer_gf-ttf.c
new file mode 100644
index 000000000..ad7cf3779
--- /dev/null
+++ b/print/gnome-print/files/patch-installer_gf-ttf.c
@@ -0,0 +1,12 @@
+--- installer/gf-ttf.c.orig Mon Mar 22 23:34:10 2004
++++ installer/gf-ttf.c Mon Mar 22 23:34:23 2004
+@@ -32,7 +32,8 @@
+ #include <fcntl.h>
+ #include <string.h>
+ #include <ctype.h>
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ #include "gf-ttf.h"
+
diff --git a/print/gnome-print/files/patch-installer_gnome-font-install.c b/print/gnome-print/files/patch-installer_gnome-font-install.c
new file mode 100644
index 000000000..d1ee9d152
--- /dev/null
+++ b/print/gnome-print/files/patch-installer_gnome-font-install.c
@@ -0,0 +1,12 @@
+--- installer/gnome-font-install.c.orig Mon Mar 22 23:32:31 2004
++++ installer/gnome-font-install.c Mon Mar 22 23:32:44 2004
+@@ -26,7 +26,8 @@
+ #include <parser.h>
+ #include <xmlmemory.h>
+ /* End of ugly thing */
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include <libgnome/gnome-defs.h>
+ #include <libgnome/gnome-util.h>
+ #include <libgnome/gnome-i18n.h>
diff --git a/print/gnome-print/files/patch-libgnomeprint_gnome-font-private.h b/print/gnome-print/files/patch-libgnomeprint_gnome-font-private.h
new file mode 100644
index 000000000..f2a1a880c
--- /dev/null
+++ b/print/gnome-print/files/patch-libgnomeprint_gnome-font-private.h
@@ -0,0 +1,12 @@
+--- libgnomeprint/gnome-font-private.h.orig Mon Mar 22 23:31:37 2004
++++ libgnomeprint/gnome-font-private.h Mon Mar 22 23:31:52 2004
+@@ -22,7 +22,8 @@
+
+ BEGIN_GNOME_DECLS
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include <libgnomeprint/gp-character-block.h>
+ #include <libgnomeprint/gp-fontmap.h>
+ #include <libgnomeprint/gnome-font.h>
diff --git a/print/gnome-print/files/patch-libgnomeprint_parseTT.c b/print/gnome-print/files/patch-libgnomeprint_parseTT.c
new file mode 100644
index 000000000..218bdd143
--- /dev/null
+++ b/print/gnome-print/files/patch-libgnomeprint_parseTT.c
@@ -0,0 +1,12 @@
+--- libgnomeprint/parseTT.c.orig Mon Mar 22 23:29:57 2004
++++ libgnomeprint/parseTT.c Mon Mar 22 23:30:15 2004
+@@ -107,7 +107,8 @@
+ #include <config.h>
+
+ #include <parseTT.h>
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include <freetype/ftglyph.h>
+ #include <freetype/ftoutln.h>
+ #include <stdio.h>
diff --git a/print/gnome-print/files/patch-libgnomeprint_parseTT.h b/print/gnome-print/files/patch-libgnomeprint_parseTT.h
new file mode 100644
index 000000000..f938cc0d4
--- /dev/null
+++ b/print/gnome-print/files/patch-libgnomeprint_parseTT.h
@@ -0,0 +1,12 @@
+--- libgnomeprint/parseTT.h.orig Mon Mar 22 23:30:50 2004
++++ libgnomeprint/parseTT.h Mon Mar 22 23:31:05 2004
+@@ -22,7 +22,8 @@
+ BEGIN_GNOME_DECLS
+
+ #include <glib.h>
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ /*
+ * Convert loaded Freetype TTF face to Type1
diff --git a/print/gnome-print/pkg-descr b/print/gnome-print/pkg-descr
new file mode 100644
index 000000000..f7ae47f42
--- /dev/null
+++ b/print/gnome-print/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/gnome-print/pkg-plist b/print/gnome-print/pkg-plist
new file mode 100644
index 000000000..06a6d4325
--- /dev/null
+++ b/print/gnome-print/pkg-plist
@@ -0,0 +1,153 @@
+bin/gnome-font-install
+etc/gnome/fonts/gnome-print-ghostscript.fontmap
+etc/gnome/fonts/gnome-print-x11.fontmap
+etc/gnome/fonts/gnome-print.fontmap
+etc/printConf.sh
+include/gnome-1.0/libgnomeprint/gnome-font-dialog.h
+include/gnome-1.0/libgnomeprint/gnome-font-face-private.h
+include/gnome-1.0/libgnomeprint/gnome-font-face.h
+include/gnome-1.0/libgnomeprint/gnome-font.h
+include/gnome-1.0/libgnomeprint/gnome-glyphlist.h
+include/gnome-1.0/libgnomeprint/gnome-pgl.h
+include/gnome-1.0/libgnomeprint/gnome-print-copies.h
+include/gnome-1.0/libgnomeprint/gnome-print-dialog.h
+include/gnome-1.0/libgnomeprint/gnome-print-encode.h
+include/gnome-1.0/libgnomeprint/gnome-print-frgba.h
+include/gnome-1.0/libgnomeprint/gnome-print-master-preview.h
+include/gnome-1.0/libgnomeprint/gnome-print-master.h
+include/gnome-1.0/libgnomeprint/gnome-print-meta.h
+include/gnome-1.0/libgnomeprint/gnome-print-multipage.h
+include/gnome-1.0/libgnomeprint/gnome-print-pdf.h
+include/gnome-1.0/libgnomeprint/gnome-print-pixbuf.h
+include/gnome-1.0/libgnomeprint/gnome-print-preview.h
+include/gnome-1.0/libgnomeprint/gnome-print-rbuf.h
+include/gnome-1.0/libgnomeprint/gnome-print.h
+include/gnome-1.0/libgnomeprint/gnome-printer-dialog.h
+include/gnome-1.0/libgnomeprint/gnome-printer.h
+include/gnome-1.0/libgnomeprint/gnome-rfont.h
+include/gnome-1.0/libgnomeprint/gnome-text.h
+lib/libgnomeprint.a
+lib/libgnomeprint.la
+lib/libgnomeprint.so
+lib/libgnomeprint.so.16
+share/fonts/README.binaries
+share/fonts/README.installer
+share/fonts/afms/adobe/pagd8a.afm
+share/fonts/afms/adobe/pagdo8a.afm
+share/fonts/afms/adobe/pagk8a.afm
+share/fonts/afms/adobe/pagko8a.afm
+share/fonts/afms/adobe/pbkd8a.afm
+share/fonts/afms/adobe/pbkdi8a.afm
+share/fonts/afms/adobe/pbkl8a.afm
+share/fonts/afms/adobe/pbkli8a.afm
+share/fonts/afms/adobe/pcrb8a.afm
+share/fonts/afms/adobe/pcrbo8a.afm
+share/fonts/afms/adobe/pcrr8a.afm
+share/fonts/afms/adobe/pcrro8a.afm
+share/fonts/afms/adobe/phvb8a.afm
+share/fonts/afms/adobe/phvb8an.afm
+share/fonts/afms/adobe/phvbo8a.afm
+share/fonts/afms/adobe/phvbo8an.afm
+share/fonts/afms/adobe/phvl8a.afm
+share/fonts/afms/adobe/phvlo8a.afm
+share/fonts/afms/adobe/phvr8a.afm
+share/fonts/afms/adobe/phvr8an.afm
+share/fonts/afms/adobe/phvro8a.afm
+share/fonts/afms/adobe/phvro8an.afm
+share/fonts/afms/adobe/pncb8a.afm
+share/fonts/afms/adobe/pncbi8a.afm
+share/fonts/afms/adobe/pncr8a.afm
+share/fonts/afms/adobe/pncri8a.afm
+share/fonts/afms/adobe/pplb8a.afm
+share/fonts/afms/adobe/pplbi8a.afm
+share/fonts/afms/adobe/pplr8a.afm
+share/fonts/afms/adobe/pplri8a.afm
+share/fonts/afms/adobe/psyr.afm
+share/fonts/afms/adobe/ptmb8a.afm
+share/fonts/afms/adobe/ptmbi8a.afm
+share/fonts/afms/adobe/ptmr8a.afm
+share/fonts/afms/adobe/ptmri8a.afm
+share/fonts/afms/adobe/putb8a.afm
+share/fonts/afms/adobe/putbi8a.afm
+share/fonts/afms/adobe/putr8a.afm
+share/fonts/afms/adobe/putri8a.afm
+share/fonts/afms/adobe/pzcmi8a.afm
+share/fonts/afms/adobe/pzdr.afm
+%%DATADIR%%/profiles/PostscriptOptimized.profile
+%%DATADIR%%/profiles/fax-g3.profile
+%%DATADIR%%/profiles/pdf.profile
+share/gnome/fonts/adobe-urw.font
+share/gnome/fonts/defaults.fontmap
+share/locale/az/LC_MESSAGES/gnome-print.mo
+share/locale/bg/LC_MESSAGES/gnome-print.mo
+share/locale/ca/LC_MESSAGES/gnome-print.mo
+share/locale/da/LC_MESSAGES/gnome-print.mo
+share/locale/de/LC_MESSAGES/gnome-print.mo
+share/locale/el/LC_MESSAGES/gnome-print.mo
+share/locale/es/LC_MESSAGES/gnome-print.mo
+share/locale/et/LC_MESSAGES/gnome-print.mo
+share/locale/eu/LC_MESSAGES/gnome-print.mo
+share/locale/fi/LC_MESSAGES/gnome-print.mo
+share/locale/fr/LC_MESSAGES/gnome-print.mo
+share/locale/gl/LC_MESSAGES/gnome-print.mo
+share/locale/hr/LC_MESSAGES/gnome-print.mo
+share/locale/hu/LC_MESSAGES/gnome-print.mo
+share/locale/it/LC_MESSAGES/gnome-print.mo
+share/locale/ja/LC_MESSAGES/gnome-print.mo
+share/locale/ko/LC_MESSAGES/gnome-print.mo
+share/locale/lt/LC_MESSAGES/gnome-print.mo
+share/locale/lv/LC_MESSAGES/gnome-print.mo
+share/locale/nl/LC_MESSAGES/gnome-print.mo
+share/locale/nn/LC_MESSAGES/gnome-print.mo
+share/locale/no/LC_MESSAGES/gnome-print.mo
+share/locale/pl/LC_MESSAGES/gnome-print.mo
+share/locale/pt/LC_MESSAGES/gnome-print.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-print.mo
+share/locale/ro/LC_MESSAGES/gnome-print.mo
+share/locale/ru/LC_MESSAGES/gnome-print.mo
+share/locale/sk/LC_MESSAGES/gnome-print.mo
+share/locale/sl/LC_MESSAGES/gnome-print.mo
+share/locale/sv/LC_MESSAGES/gnome-print.mo
+share/locale/tr/LC_MESSAGES/gnome-print.mo
+share/locale/uk/LC_MESSAGES/gnome-print.mo
+share/locale/wa/LC_MESSAGES/gnome-print.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-print.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-print.mo
+@dirrmtry share/gnome/fonts
+@dirrm %%DATADIR%%/profiles
+@dirrm %%DATADIR%%
+@dirrm share/fonts/afms/adobe
+@dirrm share/fonts/afms
+@dirrmtry share/fonts
+@dirrm include/gnome-1.0/libgnomeprint
+@dirrm etc/gnome/fonts
+@dirrmtry share/locale/zh_TW/LC_MESSAGES
+@dirrmtry share/locale/zh_TW
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/zh_CN
+@dirrmtry share/locale/uk/LC_MESSAGES
+@dirrmtry share/locale/uk
+@dirrmtry share/locale/sl/LC_MESSAGES
+@dirrmtry share/locale/sl
+@dirrmtry share/locale/sk/LC_MESSAGES
+@dirrmtry share/locale/sk
+@dirrmtry share/locale/ro/LC_MESSAGES
+@dirrmtry share/locale/ro
+@dirrmtry share/locale/pt/LC_MESSAGES
+@dirrmtry share/locale/pt
+@dirrmtry share/locale/pl/LC_MESSAGES
+@dirrmtry share/locale/pl
+@dirrmtry share/locale/no/LC_MESSAGES
+@dirrmtry share/locale/no
+@dirrmtry share/locale/nn/LC_MESSAGES
+@dirrmtry share/locale/nn
+@dirrmtry share/locale/ko/LC_MESSAGES
+@dirrmtry share/locale/ko
+@dirrmtry share/locale/gl/LC_MESSAGES
+@dirrmtry share/locale/gl
+@dirrmtry share/locale/fi/LC_MESSAGES
+@dirrmtry share/locale/fi
+@dirrmtry share/locale/el/LC_MESSAGES
+@dirrmtry share/locale/el
+@dirrmtry share/locale/ca/LC_MESSAGES
+@dirrmtry share/locale/ca