summaryrefslogtreecommitdiffstats
path: root/print/libgnomeprintmm
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-18 09:04:26 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-18 09:04:26 +0800
commitd57b219e8e5329f011f33bf19ed3bdbc1fa7905f (patch)
treeaf9dfaceb1e78c300e4721859c3d8b7d1d780d51 /print/libgnomeprintmm
parentee51425050aee2d33c5e90d5ce74a577dba6dc09 (diff)
downloadmarcuscom-ports-d57b219e8e5329f011f33bf19ed3bdbc1fa7905f.tar
marcuscom-ports-d57b219e8e5329f011f33bf19ed3bdbc1fa7905f.tar.gz
marcuscom-ports-d57b219e8e5329f011f33bf19ed3bdbc1fa7905f.tar.bz2
marcuscom-ports-d57b219e8e5329f011f33bf19ed3bdbc1fa7905f.tar.lz
marcuscom-ports-d57b219e8e5329f011f33bf19ed3bdbc1fa7905f.tar.xz
marcuscom-ports-d57b219e8e5329f011f33bf19ed3bdbc1fa7905f.tar.zst
marcuscom-ports-d57b219e8e5329f011f33bf19ed3bdbc1fa7905f.zip
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
Diffstat (limited to 'print/libgnomeprintmm')
-rw-r--r--print/libgnomeprintmm/Makefile31
-rw-r--r--print/libgnomeprintmm/distinfo1
-rw-r--r--print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc11
-rw-r--r--print/libgnomeprintmm/pkg-descr2
-rw-r--r--print/libgnomeprintmm/pkg-plist29
5 files changed, 74 insertions, 0 deletions
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 <marcus@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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> 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<GnomeFontWeight>(weight), static_cast<int>(italic), size));
++ return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), (GnomeFontWeight)(weight), static_cast<int>(italic), size));
+ }
+
+ Glib::RefPtr<Pango::Font> Font::get_closest_pango_font(const Glib::RefPtr<Pango::FontMap>& 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%%