summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-13 05:30:37 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-13 05:30:37 +0800
commitb5753ffc4481454c56ee5d0d6b52ed49be82a7fd (patch)
tree0bbe1915a2282410573850b9098b61ef5af7fc8b /print
parent831734d298709748bdb54d6e86003f187b147fdf (diff)
downloadmarcuscom-ports-b5753ffc4481454c56ee5d0d6b52ed49be82a7fd.tar
marcuscom-ports-b5753ffc4481454c56ee5d0d6b52ed49be82a7fd.tar.gz
marcuscom-ports-b5753ffc4481454c56ee5d0d6b52ed49be82a7fd.tar.bz2
marcuscom-ports-b5753ffc4481454c56ee5d0d6b52ed49be82a7fd.tar.lz
marcuscom-ports-b5753ffc4481454c56ee5d0d6b52ed49be82a7fd.tar.xz
marcuscom-ports-b5753ffc4481454c56ee5d0d6b52ed49be82a7fd.tar.zst
marcuscom-ports-b5753ffc4481454c56ee5d0d6b52ed49be82a7fd.zip
Add libgnomeprint 2.3.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1060 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print')
-rw-r--r--print/libgnomeprint/Makefile54
-rw-r--r--print/libgnomeprint/distinfo1
-rw-r--r--print/libgnomeprint/files/patch-configure10
-rw-r--r--print/libgnomeprint/files/patch-libgnomeprint_gnome-print.c12
-rw-r--r--print/libgnomeprint/pkg-descr4
-rw-r--r--print/libgnomeprint/pkg-plist138
6 files changed, 219 insertions, 0 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
new file mode 100644
index 000000000..8e96c5ecf
--- /dev/null
+++ b/print/libgnomeprint/Makefile
@@ -0,0 +1,54 @@
+# 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.72 2003/06/26 17:49:39 marcus Exp $
+#
+
+PORTNAME= libgnomeprint
+PORTVERSION= 2.3.1
+CATEGORIES= print gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Gnome print support library
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier libbonobo libartlgpl2 gtk20
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+PLIST_SUB= VERSION=${PORTVERSION}
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libcups.so)
+WITH_CUPS= yes
+.endif
+
+.if defined(WITH_CUPS) && !defined(WITHOUT_CUPS)
+CONFIGURE_ARGS+= --with-cups
+LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
+PLIST_SUB+= CUPS:=""
+.else
+CONFIGURE_ARGS+= --without-cups
+PLIST_SUB+= CUPS:="@comment "
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|<malloc[.]h>|<stdlib.h>|'
+ @${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||" ${WRKSRC}/Makefile.in
+
+post-install:
+ @${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts
+ @${TOUCH} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
+
+.include <bsd.port.post.mk>
diff --git a/print/libgnomeprint/distinfo b/print/libgnomeprint/distinfo
new file mode 100644
index 000000000..c971480b3
--- /dev/null
+++ b/print/libgnomeprint/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/libgnomeprint-2.3.1.tar.bz2) = 5a755924f0bb2dd0a846a6d02acab058
diff --git a/print/libgnomeprint/files/patch-configure b/print/libgnomeprint/files/patch-configure
new file mode 100644
index 000000000..1aa2a531a
--- /dev/null
+++ b/print/libgnomeprint/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Tue Mar 11 18:33:02 2003
++++ configure Wed Mar 12 00:58:23 2003
+@@ -8580,6 +8580,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/print/libgnomeprint/files/patch-libgnomeprint_gnome-print.c b/print/libgnomeprint/files/patch-libgnomeprint_gnome-print.c
new file mode 100644
index 000000000..6aa2b9a4f
--- /dev/null
+++ b/print/libgnomeprint/files/patch-libgnomeprint_gnome-print.c
@@ -0,0 +1,12 @@
+--- libgnomeprint/gnome-print.c.orig Tue Jan 7 14:39:24 2003
++++ libgnomeprint/gnome-print.c Tue Jan 7 14:39:35 2003
+@@ -38,8 +38,8 @@
+ #include <libgnomeprint/gnome-print-frgba.h>
+
+ /* For the buffer stuff, remove when the buffer stuff is moved out here */
+-#include <sys/mman.h>
+ #include <sys/types.h>
++#include <sys/mman.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <unistd.h>
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..c96532fc2
--- /dev/null
+++ b/print/libgnomeprint/pkg-plist
@@ -0,0 +1,138 @@
+etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
+include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-font.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-glyphlist.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-pgl.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-print-config.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-print-paper.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-print-unit.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-print.h
+include/libgnomeprint-2.2/libgnomeprint/gnome-rfont.h
+include/libgnomeprint-2.2/libgnomeprint/gp-gc.h
+include/libgnomeprint-2.2/libgnomeprint/libgnomeprint-enum-types.h
+include/libgnomeprint-2.2/libgnomeprint/private/gnome-font-private.h
+include/libgnomeprint-2.2/libgnomeprint/private/gnome-fontmap.h
+include/libgnomeprint-2.2/libgnomeprint/private/gnome-glyphlist-private.h
+include/libgnomeprint-2.2/libgnomeprint/private/gnome-print-config-private.h
+include/libgnomeprint-2.2/libgnomeprint/private/gnome-print-private.h
+include/libgnomeprint-2.2/libgnomeprint/private/gp-gc-private.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-config.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-key.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-list.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-model.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-node-private.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-node.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-option.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-printer.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-reference.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-root.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-settings.h
+include/libgnomeprint-2.2/libgnomeprint/private/gpa-utils.h
+lib/libgnomeprint-2-2.a
+lib/libgnomeprint-2-2.so
+lib/libgnomeprint-2-2.so.1
+%%CUPS:%%lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintcups.a
+%%CUPS:%%lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintcups.so
+%%CUPS:%%lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintcups.so.0
+lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-custom.so
+lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-file.so
+lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-lpr.so
+libdata/pkgconfig/libgnomeprint-2.2.pc
+share/doc/libgnomeprint/home.png
+share/doc/libgnomeprint/index.html
+share/doc/libgnomeprint/index.sgml
+share/doc/libgnomeprint/left.png
+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-job.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-resources.html
+share/doc/libgnomeprint/libgnomeprint.html
+share/doc/libgnomeprint/libgnomeprintunsorted.html
+share/doc/libgnomeprint/right.png
+share/doc/libgnomeprint/up.png
+share/gnome/libgnomeprint/%%VERSION%%/globals.xml
+share/gnome/libgnomeprint/%%VERSION%%/models/GNOME-GENERIC-PS.xml
+share/gnome/libgnomeprint/%%VERSION%%/models/GNOME-PDF-WRITER.xml
+share/gnome/libgnomeprint/%%VERSION%%/models/uninstalled/GNOME-META.xml
+share/gnome/libgnomeprint/%%VERSION%%/printers/GENERIC.xml
+share/gnome/libgnomeprint/%%VERSION%%/printers/PDF-WRITER.xml
+share/gnome/libgnomeprint/%%VERSION%%/printers/uninstalled/META.xml
+share/locale/az/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/am/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ar/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/be/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/bg/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/bn/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ca/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/cs/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/cy/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/da/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/de/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/el/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/es/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/et/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/fa/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/fi/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/fr/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ga/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/he/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/hu/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/hi/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/id/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/is/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/it/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ja/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ko/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/lv/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/mk/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ml/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/mn/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ms/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/nl/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/nn/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/no/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/pl/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/pt/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/pt_BR/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ro/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ru/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/sk/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/sl/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/sr/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/sr@Latn/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/sv/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ta/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/th/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/tr/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/uk/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/vi/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/wa/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/zh_CN/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/zh_TW/LC_MESSAGES/libgnomeprint-2.2.mo
+@dirrm share/gnome/libgnomeprint/%%VERSION%%/printers/uninstalled
+@dirrm share/gnome/libgnomeprint/%%VERSION%%/printers
+@dirrm share/gnome/libgnomeprint/%%VERSION%%/models/uninstalled
+@dirrm share/gnome/libgnomeprint/%%VERSION%%/models
+@dirrm share/gnome/libgnomeprint/%%VERSION%%
+@dirrm share/gnome/libgnomeprint
+@dirrm share/doc/libgnomeprint
+@dirrm lib/libgnomeprint/%%VERSION%%/modules/transports
+@dirrm lib/libgnomeprint/%%VERSION%%/modules
+@dirrm lib/libgnomeprint/%%VERSION%%
+@dirrm lib/libgnomeprint
+@dirrm include/libgnomeprint-2.2/libgnomeprint/private
+@dirrm include/libgnomeprint-2.2/libgnomeprint
+@dirrm include/libgnomeprint-2.2
+@dirrm etc/gnome/libgnomeprint-2.0/fonts
+@dirrm etc/gnome/libgnomeprint-2.0