summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-08 16:21:22 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-08 16:21:22 +0800
commit6bb6f8f3b2626a9d3d60f52a2176bbb780cee606 (patch)
tree82b7751722bc5f461350a772d96c29ad056f667f
parent2a1c326b2beb2fba74681520cdc74eee077f7d3c (diff)
downloadmarcuscom-ports-6bb6f8f3b2626a9d3d60f52a2176bbb780cee606.tar
marcuscom-ports-6bb6f8f3b2626a9d3d60f52a2176bbb780cee606.tar.gz
marcuscom-ports-6bb6f8f3b2626a9d3d60f52a2176bbb780cee606.tar.bz2
marcuscom-ports-6bb6f8f3b2626a9d3d60f52a2176bbb780cee606.tar.lz
marcuscom-ports-6bb6f8f3b2626a9d3d60f52a2176bbb780cee606.tar.xz
marcuscom-ports-6bb6f8f3b2626a9d3d60f52a2176bbb780cee606.tar.zst
marcuscom-ports-6bb6f8f3b2626a9d3d60f52a2176bbb780cee606.zip
- Add libgnomeprint at version 2.10.0
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3882 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--print/libgnomeprint/Makefile56
-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_ttsubset_sft.h11
-rw-r--r--print/libgnomeprint/pkg-descr3
-rw-r--r--print/libgnomeprint/pkg-plist155
6 files changed, 237 insertions, 0 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
new file mode 100644
index 000000000..aaf9c653e
--- /dev/null
+++ b/print/libgnomeprint/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: libgnomeprint
+# Date created: 15 Jan 1999
+# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libgnomeprint
+PORTVERSION= 2.10.0
+CATEGORIES= print gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.10
+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
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+PLIST_SUB= VERSION=${PORTVERSION} \
+ LIBVERSION=2.2
+
+.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+= gnomecups-1.0:${PORTSDIR}/print/libgnomecups
+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..ca72064cb
--- /dev/null
+++ b/print/libgnomeprint/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/libgnomeprint-2.10.0.tar.bz2) = a8cd7e55c5ee9da019b2257eff83ce35
+SIZE (gnome2/libgnomeprint-2.10.0.tar.bz2) = 723285
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_ttsubset_sft.h b/print/libgnomeprint/files/patch-libgnomeprint_ttsubset_sft.h
new file mode 100644
index 000000000..9a4a49782
--- /dev/null
+++ b/print/libgnomeprint/files/patch-libgnomeprint_ttsubset_sft.h
@@ -0,0 +1,11 @@
+--- libgnomeprint/ttsubset/sft.h.orig Thu Jul 1 13:18:38 2004
++++ libgnomeprint/ttsubset/sft.h Thu Jul 1 13:20:14 2004
+@@ -103,7 +103,7 @@
+ #endif
+ #endif
+
+-#ifdef __i386
++#if defined(__i386) || defined(__alpha__)
+ #ifndef G_LITTLE_ENDIAN
+ #define G_LITTLE_ENDIAN
+ #endif
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..5951b019c
--- /dev/null
+++ b/print/libgnomeprint/pkg-plist
@@ -0,0 +1,155 @@
+etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-font-face.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-font.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-glyphlist.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-pango.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-pgl.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-config.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-job.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-meta.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-paper.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-transport.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-unit.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-rfont.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gp-gc.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/libgnomeprint-enum-types.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gnome-font-private.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gnome-fontmap.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gnome-glyphlist-private.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gnome-print-config-private.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gnome-print-private.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gp-gc-private.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-config.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-key.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-list.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-model.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-node-private.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-node.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-option.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-printer.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-reference.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-root.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-settings.h
+include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/private/gpa-state.h
+include/libgnomeprint-%%LIBVERSION%%/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/libgnomeprintlpd.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-%%LIBVERSION%%.pc
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/libgnomeprint-Pango-Integration.html
+%%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-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.devhelp
+%%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-%%LIBVERSION%%.mo
+share/locale/ar/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/az/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/be/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/bg/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/bn/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/bs/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ca/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/cs/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/cy/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/da/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/de/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/el/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/en_CA/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/en_GB/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/es/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/et/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/eu/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/fa/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/fi/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/fr/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ga/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/gu/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/he/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/hi/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/hr/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/hu/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/id/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/is/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/it/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ja/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ko/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/lt/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/lv/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/mk/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ml/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/mn/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/mr/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ms/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/nb/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ne/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/nl/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/nn/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/no/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/pa/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/pl/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/pt/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/pt_BR/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ro/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ru/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/sk/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/sl/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/sq/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/sr/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/sr@Latn/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/sv/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/ta/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/th/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/tr/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/uk/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/vi/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/wa/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/zh_CN/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
+share/locale/zh_TW/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.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-%%LIBVERSION%%/libgnomeprint/private
+@dirrm include/libgnomeprint-%%LIBVERSION%%/libgnomeprint
+@dirrm include/libgnomeprint-%%LIBVERSION%%
+@dirrm etc/gnome/libgnomeprint-2.0/fonts
+@dirrm etc/gnome/libgnomeprint-2.0