diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-06-12 05:13:10 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-06-12 05:13:10 +0800 |
commit | fa206987f2fdf25bb6deee2792326ee2c5b2d8c5 (patch) | |
tree | 7a68a3b36d03605430c97cac1041dc7486f382d0 /print | |
parent | 967e9f7e158a6eeecfec503011cae159a1bd15d5 (diff) | |
download | marcuscom-ports-fa206987f2fdf25bb6deee2792326ee2c5b2d8c5.tar.gz marcuscom-ports-fa206987f2fdf25bb6deee2792326ee2c5b2d8c5.tar.zst marcuscom-ports-fa206987f2fdf25bb6deee2792326ee2c5b2d8c5.zip |
Update to 2.11.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4076 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print')
-rw-r--r-- | print/libgnomeprint/Makefile | 59 | ||||
-rw-r--r-- | print/libgnomeprint/distinfo | 2 | ||||
-rw-r--r-- | print/libgnomeprint/files/patch-libgnomeprint::gnome-meta.c | 10 | ||||
-rw-r--r-- | print/libgnomeprint/files/patch-libgnomeprint_ttsubset_sft.h | 11 | ||||
-rw-r--r-- | print/libgnomeprint/pkg-descr | 3 | ||||
-rw-r--r-- | print/libgnomeprint/pkg-plist | 164 |
6 files changed, 249 insertions, 0 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile new file mode 100644 index 000000000..b274a3b8a --- /dev/null +++ b/print/libgnomeprint/Makefile @@ -0,0 +1,59 @@ +# 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.93 2005/05/22 08:20:18 kwm Exp $ +# + +PORTNAME= libgnomeprint +PORTVERSION= 2.11.0 +CATEGORIES= print gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.11 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Gnome print support library + +LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ + popt.0:${PORTSDIR}/devel/popt + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_GNOME= gnomeprefix intlhack gnomehack gnomehier glib20 pango libxml2 \ + libartlgpl2 +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..6875d4127 --- /dev/null +++ b/print/libgnomeprint/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/libgnomeprint-2.11.0.tar.bz2) = 922afa5f74445ce1f0e3322868b9e1fe +SIZE (gnome2/libgnomeprint-2.11.0.tar.bz2) = 744956 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..df408b02d --- /dev/null +++ b/print/libgnomeprint/pkg-plist @@ -0,0 +1,164 @@ +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/private/gnome-print-path.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/rw/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/xh/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo +share/locale/zh_TW/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo +@unexec rmdir %D/share/locale/xh/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/xh 2>/dev/null || true +@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/rw 2>/dev/null || true +@unexec rmdir %D/share/locale/mr/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/mr 2>/dev/null || true +@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 |