summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2003-09-27 21:05:22 +0000
committerdanw <danw@pkgsrc.org>2003-09-27 21:05:22 +0000
commit628549d06a7f33920ff93d7744db6d11ecbf5279 (patch)
treed3886405f06807cdb8d3d730ed7b305bc56513dc /print
parent32aba9c232f7dab66075150e457e99eb452a8f63 (diff)
downloadpkgsrc-628549d06a7f33920ff93d7744db6d11ecbf5279.tar.gz
patches for darwin
Diffstat (limited to 'print')
-rw-r--r--print/libgnomeprint/Makefile8
-rw-r--r--print/libgnomeprint/distinfo4
-rw-r--r--print/libgnomeprint/patches/patch-aa14
-rw-r--r--print/libgnomeprint/patches/patch-ab17
-rw-r--r--print/libgnomeprintui/distinfo3
-rw-r--r--print/libgnomeprintui/patches/patch-aa28
6 files changed, 71 insertions, 3 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
index 62e21f47b2f..070b9924e83 100644
--- a/print/libgnomeprint/Makefile
+++ b/print/libgnomeprint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2003/07/17 22:52:34 grant Exp $
+# $NetBSD: Makefile,v 1.17 2003/09/27 21:05:22 danw Exp $
#
DISTNAME= libgnomeprint-2.2.1.2
@@ -36,6 +36,12 @@ CONFIGURE_ARGS+= --with-cups
CONFIGURE_ARGS+= --without-cups
.endif
+.if ${OPSYS} == "Darwin"
+# AC_LTDL_SHLIBEXT doesn't work on Darwin (and would give the wrong
+# answer here even if it did).
+CONFIGURE_ENV+= libltdl_cv_shlibext=so
+.endif
+
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/libbonobo/buildlink2.mk"
.include "../../devel/pango/buildlink2.mk"
diff --git a/print/libgnomeprint/distinfo b/print/libgnomeprint/distinfo
index 68e457a4f3f..f3e870ade2b 100644
--- a/print/libgnomeprint/distinfo
+++ b/print/libgnomeprint/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.4 2003/03/12 13:03:30 jmmv Exp $
+$NetBSD: distinfo,v 1.5 2003/09/27 21:05:22 danw Exp $
SHA1 (libgnomeprint-2.2.1.2.tar.bz2) = f70ccfa4d0dc009dbaba4aea8e16df3086da7c85
Size (libgnomeprint-2.2.1.2.tar.bz2) = 555140 bytes
+SHA1 (patch-aa) = 54cf15d9caa7834f06cae48a792fc4716bc8a3f9
+SHA1 (patch-ab) = f7ac5151f12e25fa0a4a616a32a5abac963d7a03
diff --git a/print/libgnomeprint/patches/patch-aa b/print/libgnomeprint/patches/patch-aa
new file mode 100644
index 00000000000..b37f131034e
--- /dev/null
+++ b/print/libgnomeprint/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2003/09/27 21:05:22 danw Exp $
+
+--- libgnomeprint/gnome-print.c.orig Mon Sep 1 10:11:58 2003
++++ libgnomeprint/gnome-print.c Mon Sep 1 10:11:35 2003
+@@ -38,8 +38,8 @@
+ #include <libgnomeprint/gnome-print-frgba.h>
+
+ /* For the buffer stuff, remove when the buffer stuff is moved out here */
+-#include <sys/mman.h>
+ #include <sys/types.h>
++#include <sys/mman.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <unistd.h>
diff --git a/print/libgnomeprint/patches/patch-ab b/print/libgnomeprint/patches/patch-ab
new file mode 100644
index 00000000000..8bfde53b060
--- /dev/null
+++ b/print/libgnomeprint/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.3 2003/09/27 21:05:22 danw Exp $
+
+--- libgnomeprint/transports/Makefile.in.orig Mon Sep 1 10:27:21 2003
++++ libgnomeprint/transports/Makefile.in Mon Sep 1 10:27:41 2003
+@@ -144,11 +144,8 @@
+ $(CUSTOM_LIB)
+
+
+-CPPFLAGS = \
+- -DGNOMELOCALEDIR=\""$(datadir)/locale"\"
+-
+-
+ INCLUDES = \
++ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -I$(top_srcdir) \
+ $(LIBGNOMEPRINT_CFLAGS)
+
diff --git a/print/libgnomeprintui/distinfo b/print/libgnomeprintui/distinfo
index 8c872a5bcb0..5f7fd669586 100644
--- a/print/libgnomeprintui/distinfo
+++ b/print/libgnomeprintui/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2003/03/12 13:03:31 jmmv Exp $
+$NetBSD: distinfo,v 1.4 2003/09/27 21:07:03 danw Exp $
SHA1 (libgnomeprintui-2.2.1.2.tar.bz2) = bdeb1ff04790cf7c49c8fdca73f1a4bde2e2a6a5
Size (libgnomeprintui-2.2.1.2.tar.bz2) = 432121 bytes
+SHA1 (patch-aa) = 8b0389e536849d9ababbe58db9a369da77f1b301
diff --git a/print/libgnomeprintui/patches/patch-aa b/print/libgnomeprintui/patches/patch-aa
new file mode 100644
index 00000000000..fe330a346a6
--- /dev/null
+++ b/print/libgnomeprintui/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1 2003/09/27 21:07:03 danw Exp $
+
+--- libgnomeprintui/gpaui/Makefile.in.orig Mon Sep 1 10:41:51 2003
++++ libgnomeprintui/gpaui/Makefile.in Mon Sep 1 10:42:28 2003
+@@ -73,12 +73,6 @@
+ CC = @CC@
+ CFLAGS = @CFLAGS@
+ CPP = @CPP@
+-
+-CPPFLAGS = \
+- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+- -DBINDIR=\""$(bindir)"\" \
+- -DDATADIR=\""$(datadir)"\"
+-
+ CXX = @CXX@
+ DATADIRNAME = @DATADIRNAME@
+ DB2HTML = @DB2HTML@
+@@ -128,7 +122,9 @@
+ -I$(top_srcdir)/libgnomeprintui \
+ -DWE_ARE_LIBGNOMEPRINT_INTERNALS \
+ $(LIBGNOMEPRINTUI_CFLAGS) \
+- \
++ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
++ -DBINDIR=\""$(bindir)"\" \
++ -DDATADIR=\""$(datadir)"\" \
+ -DG_DISABLE_DEPRECATED \
+ -DGDK_DISABLE_DEPRECATED \
+ -DGTK_DISABLE_DEPRECATED \