summaryrefslogtreecommitdiffstats
path: root/print/libgnomeprint
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-06-30 10:13:19 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-06-30 10:13:19 +0800
commit7ab3f5fa599a62de653f35b071d112fd94dce565 (patch)
tree46c0859834311dbaed82f6d9ae46a11599637e4f /print/libgnomeprint
parent1976d60559397614f2fd504a1e9d179c4cb718f8 (diff)
downloadmarcuscom-ports-7ab3f5fa599a62de653f35b071d112fd94dce565.tar
marcuscom-ports-7ab3f5fa599a62de653f35b071d112fd94dce565.tar.gz
marcuscom-ports-7ab3f5fa599a62de653f35b071d112fd94dce565.tar.bz2
marcuscom-ports-7ab3f5fa599a62de653f35b071d112fd94dce565.tar.lz
marcuscom-ports-7ab3f5fa599a62de653f35b071d112fd94dce565.tar.xz
marcuscom-ports-7ab3f5fa599a62de653f35b071d112fd94dce565.tar.zst
marcuscom-ports-7ab3f5fa599a62de653f35b071d112fd94dce565.zip
Update to 2.7.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2426 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r--print/libgnomeprint/Makefile55
-rw-r--r--print/libgnomeprint/distinfo2
-rw-r--r--print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c10
-rw-r--r--print/libgnomeprint/files/patch-libgnomeprint_gnome-print-pdf.c13
-rw-r--r--print/libgnomeprint/pkg-descr3
-rw-r--r--print/libgnomeprint/pkg-plist147
6 files changed, 230 insertions, 0 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
new file mode 100644
index 000000000..1040c5e77
--- /dev/null
+++ b/print/libgnomeprint/Makefile
@@ -0,0 +1,55 @@
+# 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.84 2004/06/23 12:56:01 bland Exp $
+#
+
+PORTNAME= libgnomeprint
+PORTVERSION= 2.7.0
+CATEGORIES= print gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.7
+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 intlhack gnomehack gnomehier libbonobo libartlgpl2 \
+ gtk20 lthack
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER=13
+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..24d0067ac
--- /dev/null
+++ b/print/libgnomeprint/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/libgnomeprint-2.7.0.tar.bz2) = 4f81a870ef3ce4ad785826378e344711
+SIZE (gnome2/libgnomeprint-2.7.0.tar.bz2) = 736981
diff --git a/print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c b/print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c
new file mode 100644
index 000000000..5526dceaa
--- /dev/null
+++ b/print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c
@@ -0,0 +1,10 @@
+--- libgnomeprint/gnome-print-meta.c.orig Wed Oct 29 00:53:15 2003
++++ libgnomeprint/gnome-print-meta.c Wed Oct 29 01:06:23 2003
+@@ -312,6 +312,7 @@
+ gpm_encode_int (pc, w);
+ gpm_encode_int (pc, ch);
+
++ gpm_ensure_space(pc, w * ch * h);
+ for (y = 0; y < h; y++){
+ gpm_encode_block (pc, px, w * ch);
+ px += rowstride;
diff --git a/print/libgnomeprint/files/patch-libgnomeprint_gnome-print-pdf.c b/print/libgnomeprint/files/patch-libgnomeprint_gnome-print-pdf.c
new file mode 100644
index 000000000..185e0b3f4
--- /dev/null
+++ b/print/libgnomeprint/files/patch-libgnomeprint_gnome-print-pdf.c
@@ -0,0 +1,13 @@
+--- libgnomeprint/gnome-print-pdf.c.orig Tue Jun 29 22:07:46 2004
++++ libgnomeprint/gnome-print-pdf.c Tue Jun 29 22:07:55 2004
+@@ -1224,9 +1224,9 @@
+ static void
+ gnome_print_embed_all_pdf_fonts (GnomePrintPdf *pdf)
+ {
++ GList *list;
+ g_return_if_fail (pdf != NULL);
+
+- GList *list;
+
+ list = pdf->fonts;
+ while (list) {
diff --git a/print/libgnomeprint/pkg-descr b/print/libgnomeprint/pkg-descr
new file mode 100644
index 000000000..ad9ac2ec1
--- /dev/null
+++ b/print/libgnomeprint/pkg-descr
@@ -0,0 +1,3 @@
+The basis for 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..2e50d23a7
--- /dev/null
+++ b/print/libgnomeprint/pkg-plist
@@ -0,0 +1,147 @@
+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-print-pango.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.so
+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
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/libgnomeprint-building.html
+%%DOCSDIR%%/libgnomeprint-compiling.html
+%%DOCSDIR%%/libgnomeprint-gnome-font-face.html
+%%DOCSDIR%%/libgnomeprint-gnome-font.html
+%%DOCSDIR%%/libgnomeprint-gnome-glyphlist.html
+%%DOCSDIR%%/libgnomeprint-pango-integration.html
+%%DOCSDIR%%/libgnomeprint-gnome-pgl.html
+%%DOCSDIR%%/libgnomeprint-gnome-print-config.html
+%%DOCSDIR%%/libgnomeprint-gnome-print-job.html
+%%DOCSDIR%%/libgnomeprint-gnome-print-paper.html
+%%DOCSDIR%%/libgnomeprint-gnome-print-unit.html
+%%DOCSDIR%%/libgnomeprint-gnome-print.html
+%%DOCSDIR%%/libgnomeprint-gnome-rfont.html
+%%DOCSDIR%%/libgnomeprint-resources.html
+%%DOCSDIR%%/libgnomeprint.html
+%%DOCSDIR%%/libgnomeprintunsorted.html
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/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/am/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/ar/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/az/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/en_CA/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/en_GB/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/eu/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/gu/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/he/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/hi/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/hr/LC_MESSAGES/libgnomeprint-2.2.mo
+share/locale/hu/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/lt/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/mr/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/pa/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/sq/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 %%DOCSDIR%%
+@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