diff options
-rw-r--r-- | print/libgnomeprint/Makefile | 71 | ||||
-rw-r--r-- | print/libgnomeprint/distinfo | 3 | ||||
-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 | 183 |
6 files changed, 281 insertions, 0 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile new file mode 100644 index 000000000..721e35340 --- /dev/null +++ b/print/libgnomeprint/Makefile @@ -0,0 +1,71 @@ +# New ports collection makefile for: libgnomeprint +# Date created: 15 Jan 1999 +# Whom: Vanilla I. Shu <vanilla@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= libgnomeprint +PORTVERSION= 2.12.1 +PORTREVISION?= 3 +CATEGORIES= print gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.12 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Gnome print support library + +USE_BZIP2= yes + +.if !defined(REFERENCE_PORT) + +LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ + popt.0:${PORTSDIR}/devel/popt + +USE_BISON= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix intlhack gnomehack gnomehier glib20 pango libxml2 \ + libartlgpl2 ltverhack +USE_GETTEXT= yes +USE_XLIB= yes +INSTALLS_SHLIB= yes +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +PLIST_SUB= VERSION=${PORTVERSION} \ + LIBVERSION=2.2 + +.include <bsd.port.pre.mk> + +.if defined(WITH_CUPS) || exists(${LOCALBASE}/lib/libcups.so) +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 + +pre-everything:: +.if !defined(WITH_CUPS) + @${ECHO_MSG} " Enable cups support by defining" + @${ECHO_MSG} " WITH_CUPS" + @${ECHO_MSG} "" +.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 + @${REINPLACE_CMD} -e "/^SUBDIRS =/s|doc||" ${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> + +.endif diff --git a/print/libgnomeprint/distinfo b/print/libgnomeprint/distinfo new file mode 100644 index 000000000..1a85a86e0 --- /dev/null +++ b/print/libgnomeprint/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/libgnomeprint-2.12.1.tar.bz2) = ea729d4968fe2169c84efb12ace5f6cc +SHA256 (gnome2/libgnomeprint-2.12.1.tar.bz2) = f7b8c74faf6eaa145de94791e1d87233ccce5a068de0b8ff5c6fb4c66919295d +SIZE (gnome2/libgnomeprint-2.12.1.tar.bz2) = 787980 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..6dab88cda --- /dev/null +++ b/print/libgnomeprint/pkg-plist @@ -0,0 +1,183 @@ +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-pgl.h +include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-config.h +include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-filter.h +include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-job.h +include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-meta.h +include/libgnomeprint-%%LIBVERSION%%/libgnomeprint/gnome-print-pango.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-path.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.la +lib/libgnomeprint-2-2.so +lib/libgnomeprint-2-2.so.0 +%%CUPS:%%lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintcups.a +%%CUPS:%%lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintcups.la +%%CUPS:%%lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintcups.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-clip.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-clip.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-clip.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-draft.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-draft.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-draft.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-frgba.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-frgba.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-frgba.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-multipage.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-multipage.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-multipage.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-position.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-position.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-position.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-reorder.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-reorder.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-reorder.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-rotate.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-rotate.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-rotate.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-select.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-select.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-select.so +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-zoom.a +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-zoom.la +lib/libgnomeprint/%%VERSION%%/modules/filters/libgnomeprint-zoom.so +lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintlpd.a +lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintlpd.la +lib/libgnomeprint/%%VERSION%%/modules/libgnomeprintlpd.so +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-custom.a +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-custom.la +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-custom.so +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-file.a +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-file.la +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-file.so +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-lpr.a +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-lpr.la +lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-lpr.so +libdata/pkgconfig/libgnomeprint-%%LIBVERSION%%.pc +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/gl/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/te/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 +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@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 lib/libgnomeprint/%%VERSION%%/modules/transports +@dirrm lib/libgnomeprint/%%VERSION%%/modules/filters +@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 |