Fri Jun 13 22:10:25 2014 UTC ()
Additional patches to allow libgnomecups to use the "old style" direct access
into the ipp_attribute_t structure. Ultimately, it should be updated to
use the new (with CUPS 1.7?) accessors, however, this gets it building
before the 2014Q2 branch.


(schnoebe)
diff -r1.8 -r1.9 pkgsrc/print/libgnomecups/distinfo
diff -r0 -r1.1 pkgsrc/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-printer.h
diff -r0 -r1.1 pkgsrc/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-queue.h
diff -r0 -r1.1 pkgsrc/print/libgnomecups/patches/patch-libgnomecups_gnome-cups-request.h

cvs diff -r1.8 -r1.9 pkgsrc/print/libgnomecups/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/print/libgnomecups/Attic/distinfo 2012/05/07 00:31:46 1.8
+++ pkgsrc/print/libgnomecups/Attic/distinfo 2014/06/13 22:10:24 1.9
@@ -1,7 +1,10 @@ @@ -1,7 +1,10 @@
1$NetBSD: distinfo,v 1.8 2012/05/07 00:31:46 dholland Exp $ 1$NetBSD: distinfo,v 1.9 2014/06/13 22:10:24 schnoebe Exp $
2 2
3SHA1 (libgnomecups-0.2.3.tar.gz) = f7e9a2be39e4e52b346a121d738dc935f45dcee1 3SHA1 (libgnomecups-0.2.3.tar.gz) = f7e9a2be39e4e52b346a121d738dc935f45dcee1
4RMD160 (libgnomecups-0.2.3.tar.gz) = 13215f0304440f53a3e91f0b0a02d6fcef626c44 4RMD160 (libgnomecups-0.2.3.tar.gz) = 13215f0304440f53a3e91f0b0a02d6fcef626c44
5Size (libgnomecups-0.2.3.tar.gz) = 455261 bytes 5Size (libgnomecups-0.2.3.tar.gz) = 455261 bytes
6SHA1 (patch-libgnomecups_gnome-cups-i18n_c) = d67cebfe703ac2a283c5096c8af30ddab79de725 6SHA1 (patch-libgnomecups_gnome-cups-i18n_c) = d67cebfe703ac2a283c5096c8af30ddab79de725
7SHA1 (patch-libgnomecups_gnome-cups-init_h) = 0613660a334235db366c4d4d4cd22abc96f6dbff 7SHA1 (patch-libgnomecups_gnome-cups-init_h) = 0613660a334235db366c4d4d4cd22abc96f6dbff
 8SHA1 (patch-libgnomecups_gnome-cups-printer.h) = 32617afb03d57aba56af0202428fc275ed04b8fe
 9SHA1 (patch-libgnomecups_gnome-cups-queue.h) = 73c6b06e96b93a2db7e1b2ab820bc65eeb8c60dc
 10SHA1 (patch-libgnomecups_gnome-cups-request.h) = 4c820e3cd2315a4304184d5f9cd6ccbcb89b707f

File Added: pkgsrc/print/libgnomecups/patches/Attic/patch-libgnomecups_gnome-cups-printer.h
$NetBSD: patch-libgnomecups_gnome-cups-printer.h,v 1.1 2014/06/13 22:10:24 schnoebe Exp $

--- libgnomecups/gnome-cups-printer.h.orig	2007-01-02 00:18:51.000000000 +0000
+++ libgnomecups/gnome-cups-printer.h
@@ -3,6 +3,10 @@
 
 #include <glib.h>
 #include <glib-object.h>
+/* transitional, until modified to use the ipp_attribute_t accessors */
+#ifndef _IPP_PRIVATE_STRUCTURES
+# define _IPP_PRIVATE_STRUCTURES 1
+#endif
 #include <cups/ipp.h>
 #include <cups/ppd.h>
 

File Added: pkgsrc/print/libgnomecups/patches/Attic/patch-libgnomecups_gnome-cups-queue.h
$NetBSD: patch-libgnomecups_gnome-cups-queue.h,v 1.1 2014/06/13 22:10:24 schnoebe Exp $

--- libgnomecups/gnome-cups-queue.h.orig	2007-01-02 00:18:51.000000000 +0000
+++ libgnomecups/gnome-cups-queue.h
@@ -3,6 +3,10 @@
 
 #include <glib.h>
 #include <glib-object.h>
+/* transitional, until modified to use the ipp_attribute_t accessors */
+#ifndef _IPP_PRIVATE_STRUCTURES
+# define _IPP_PRIVATE_STRUCTURES 1
+#endif
 #include <cups/ipp.h>
 
 G_BEGIN_DECLS

File Added: pkgsrc/print/libgnomecups/patches/Attic/patch-libgnomecups_gnome-cups-request.h
$NetBSD: patch-libgnomecups_gnome-cups-request.h,v 1.1 2014/06/13 22:10:24 schnoebe Exp $

--- libgnomecups/gnome-cups-request.h.orig	2007-01-02 00:18:51.000000000 +0000
+++ libgnomecups/gnome-cups-request.h
@@ -1,6 +1,10 @@
 #ifndef GNOME_CUPS_REQUEST_H
 #define GNOME_CUPS_REQUEST_H
 
+/* transitional, until modified to use the ipp_attribute_t accessors */
+#ifndef _IPP_PRIVATE_STRUCTURES
+# define _IPP_PRIVATE_STRUCTURES 1
+#endif
 #include <cups/ipp.h>
 #include <glib.h>
 #include "gnome-cups-init.h"