From d57b219e8e5329f011f33bf19ed3bdbc1fa7905f Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 18 Dec 2003 01:04:26 +0000 Subject: Add libgnomeprintmm, C++ wrappers for the GNOME print system. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1491 df743ca5-7f9a-e211-a948-0013205c9059 --- print/libgnomeprintmm/Makefile | 31 ++++++++++++++++++++++ print/libgnomeprintmm/distinfo | 1 + .../patch-libgnomeprint_libgnomeprintmm_font.cc | 11 ++++++++ print/libgnomeprintmm/pkg-descr | 2 ++ print/libgnomeprintmm/pkg-plist | 29 ++++++++++++++++++++ 5 files changed, 74 insertions(+) create mode 100644 print/libgnomeprintmm/Makefile create mode 100644 print/libgnomeprintmm/distinfo create mode 100644 print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc create mode 100644 print/libgnomeprintmm/pkg-descr create mode 100644 print/libgnomeprintmm/pkg-plist (limited to 'print') diff --git a/print/libgnomeprintmm/Makefile b/print/libgnomeprintmm/Makefile new file mode 100644 index 000000000..72c417226 --- /dev/null +++ b/print/libgnomeprintmm/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: libgnomeprintmm +# Date created: 17 December 2003 +# Whom: Joe Marcus Clarke +# +# $FreeBSD$ +# + +PORTNAME= libgnomeprintmm +PORTVERSION= 2.5.0 +CATEGORIES= print gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= C++ bindings for the GNOME print support library + +LIB_DEPENDS= gtkmm-2.3.2:${PORTSDIR}/x11-toolkits/gtk--2 +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack lthack libgnomeprint +INSTALLS_SHLIB= yes +USE_LIBTOOL= yes +CONFIGURE_ARGS= --enable-static + +PLIST_SUB= VERSION="2.5" API_VERSION="2.6" + +.include diff --git a/print/libgnomeprintmm/distinfo b/print/libgnomeprintmm/distinfo new file mode 100644 index 000000000..1c0a58806 --- /dev/null +++ b/print/libgnomeprintmm/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/libgnomeprintmm-2.5.0.tar.bz2) = 61db9f654329c01a0d1f7454eaab7864 diff --git a/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc b/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc new file mode 100644 index 000000000..b8b050cf7 --- /dev/null +++ b/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc @@ -0,0 +1,11 @@ +--- libgnomeprint/libgnomeprintmm/font.cc.orig Wed Dec 17 19:59:13 2003 ++++ libgnomeprint/libgnomeprintmm/font.cc Wed Dec 17 19:59:29 2003 +@@ -180,7 +180,7 @@ + + Glib::RefPtr Font::find_closest(const Glib::ustring& family, FontWeight weight, bool italic, double size) + { +- return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), static_cast(weight), static_cast(italic), size)); ++ return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), (GnomeFontWeight)(weight), static_cast(italic), size)); + } + + Glib::RefPtr Font::get_closest_pango_font(const Glib::RefPtr& map, double dpi) const diff --git a/print/libgnomeprintmm/pkg-descr b/print/libgnomeprintmm/pkg-descr new file mode 100644 index 000000000..56f3bfeae --- /dev/null +++ b/print/libgnomeprintmm/pkg-descr @@ -0,0 +1,2 @@ +This is a set of thin C++ wrappers around the libgnomeprint printing support +system. diff --git a/print/libgnomeprintmm/pkg-plist b/print/libgnomeprintmm/pkg-plist new file mode 100644 index 000000000..bd6ae8140 --- /dev/null +++ b/print/libgnomeprintmm/pkg-plist @@ -0,0 +1,29 @@ +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/config.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/context.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/enums.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/font.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/init.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/job.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/config_p.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/context_p.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/enums_p.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/font_p.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private/job_p.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/types.h +include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/wrap_init.h +lib/libgnomeprintmm-%%VERSION%%.a +lib/libgnomeprintmm-%%VERSION%%.so +lib/libgnomeprintmm-%%VERSION%%.so.1 +lib/libgnomeprintmm-%%API_VERSION%%/include/libgnomeprintmmconfig.h +lib/libgnomeprintmm-%%API_VERSION%%/proc/m4/convert.m4 +lib/libgnomeprintmm-%%API_VERSION%%/proc/m4/convert_libgnomeprintmm.m4 +libdata/pkgconfig/libgnomeprintmm-%%API_VERSION%%.pc +@dirrm lib/libgnomeprintmm-%%API_VERSION%%/proc/m4 +@dirrm lib/libgnomeprintmm-%%API_VERSION%%/proc +@dirrm lib/libgnomeprintmm-%%API_VERSION%%/include +@dirrm lib/libgnomeprintmm-%%API_VERSION%% +@dirrm include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm/private +@dirrm include/libgnomeprintmm-%%API_VERSION%%/libgnomeprintmm +@dirrm include/libgnomeprintmm-%%API_VERSION%% -- cgit v1.2.3