unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 92fc3237bb5a2b2e483965d70c273b4785d25d32 2639 bytes (raw)
name: gnu/packages/patches/openimageio-boost-1.60.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
From 875fbbd92695397bfc83d1cd5fdd4094e1d50199 Mon Sep 17 00:00:00 2001
From: Larry Gritz <lg@larrygritz.com>
Date: Mon, 28 Dec 2015 11:46:07 -0800
Subject: [PATCH] Python ImageCache binding fixes -- disable broken calls

Some of these calls (thankfully undocumented and presumably unused)
are horribly broken. They compiled before, but with new Boost 1.60
they don't even compile properly. So just comment them out on this
obsolete branch. They are fully fixed in RB-1.6 and beyond.

--- a/src/python/py_imagecache.cpp
+++ b/src/python/py_imagecache.cpp
@@ -199,23 +199,24 @@ void declare_imagecache()
         .def("destroy", &ImageCacheWrap::destroy)
         .staticmethod("destroy")
         .def("clear", &ImageCacheWrap::clear)
-        .def("attribute", &ImageCacheWrap::attribute)
+        // .def("attribute", &ImageCacheWrap::attribute)
         .def("attribute", &ImageCacheWrap::attribute_int)
         .def("attribute", &ImageCacheWrap::attribute_float)
-        .def("attribute", &ImageCacheWrap::attribute_double)
-        .def("attribute", &ImageCacheWrap::attribute_char)
+        // .def("attribute", &ImageCacheWrap::attribute_double)
+        // .def("attribute", &ImageCacheWrap::attribute_char)
         .def("attribute", &ImageCacheWrap::attribute_string)
-        .def("getattribute", &ImageCacheWrap::attribute)
+        // .def("getattribute", &ImageCacheWrap::attribute)
         .def("getattribute", &ImageCacheWrap::getattribute_int)
         .def("getattribute", &ImageCacheWrap::getattribute_float)
-        .def("getattribute", &ImageCacheWrap::getattribute_double)
-        .def("getattribute", &ImageCacheWrap::getattribute_char)
+        // .def("getattribute", &ImageCacheWrap::getattribute_double)
+        // .def("getattribute", &ImageCacheWrap::getattribute_char)
         .def("getattribute", &ImageCacheWrap::getattribute_string)
-        .def("resolve_filename", &ImageCacheWrap::resolve_filename)
-        .def("get_image_info", &ImageCacheWrap::get_image_info)
-        .def("get_image_info", &ImageCacheWrap::get_image_info_old)
+        // .def("get_image_info", &ImageCacheWrap::get_image_info)
+        // .def("get_image_info", &ImageCacheWrap::get_image_info_old)
         .def("get_imagespec", &ImageCacheWrap::get_imagespec)
-        .def("get_pixels", &ImageCacheWrap::get_pixels)
+        // .def("get_pixels", &ImageCacheWrap::get_pixels)
+        .def("resolve_filename", &ImageCacheWrap::resolve_filename)
+
 //      .def("get_tile", &ImageCacheWrap::get_tile)
 //      .def("release_tile", &ImageCacheWrap::release_tile)
 //      .def("tile_pixels", &ImageCacheWrap::tile_pixels)

debug log:

solving 92fc323 ...
found 92fc323 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).