The remaining error here results from using a non-dependent name that should really be dependent <http://womble.decadentplace.org.uk/c++/template-faq.html#base-lookup>. Adding "this->" in front of the call to set_value() in template <...> renderman_property::property_set_value() will fix it.
There are more errors due to a change in parameter types for Freetype callbacks from FT_Vector * to const FT_Vector * (why now?). The build dependencies for this package also need to be updated: xlibmesa-gl-dev is replaced by libgl1-mesa-dev and xlibmesa-glu-dev by libglu1-mesa-dev. By the way, the version dependency "> 4" for debhelper means the same as ">= 4" and this should probably be made explicit. I'm attaching a patch that fixes all these errors. Ben. -- Ben Hutchings It is easier to change the specification to fit the program than vice versa.
--- k3d-0.5.0.35/debian/control
+++ k3d-0.5.0.35/debian/control
@@ -2,7 +2,7 @@
Section: graphics
Priority: optional
Maintainer: David MartÃnez Moreno <[EMAIL PROTECTED]>
-Build-Depends: debhelper (> 4), libsigc++-2.0-dev, libx11-dev, xlibmesa-gl-dev, xlibmesa-glu-dev, libgtkmm-2.4-dev, xsltproc, libfreetype6-dev, libtiff4-dev, libmagick++9-dev, graphviz, netpbm, libsuperlu3-dev, gettext, python, python2.3-dev, plib1.8.4-dev, libopenexr-dev, libgts-dev, libgtkglext1-dev, libboost-dev, libboost-filesystem-dev, libboost-regex-dev, libboost-date-time-dev, librsvg2-bin (>> 2.9.5-5)
+Build-Depends: debhelper (> 4), libsigc++-2.0-dev, libx11-dev, libgl1-mesa-dev, libglu1-mesa-dev, libgtkmm-2.4-dev, xsltproc, libfreetype6-dev, libtiff4-dev, libmagick++9-dev, graphviz, netpbm, libsuperlu3-dev, gettext, python, python2.3-dev, plib1.8.4-dev, libopenexr-dev, libgts-dev, libgtkglext1-dev, libboost-dev, libboost-filesystem-dev, libboost-regex-dev, libboost-date-time-dev, librsvg2-bin (>> 2.9.5-5)
# Comments for Build-Depends:
# librsvg2-bin (>> 2.9.5-5):
# In versions 2.9.5-5 and before, rsvg did not work with relative paths,
--- k3d-0.5.0.35.orig/modules/blobbies/blobbies.cpp
+++ k3d-0.5.0.35/modules/blobbies/blobbies.cpp
@@ -481,6 +481,9 @@
/////////////////////////////////////////////////////////////////////////////
// blobby_sub_operator_implementation
+const k3d::ienumeration_property::enumeration_values_t& subtract_values();
+const k3d::ienumeration_property::enumeration_values_t& divide_values();
+
class blobby_sub_operator_implementation :
public k3d::mesh_source<k3d::persistent<k3d::node> >
{
--- k3d-0.5.0.35.orig/modules/blobbies/edges_to_blobby.cpp
+++ k3d-0.5.0.35/modules/blobbies/edges_to_blobby.cpp
@@ -116,6 +116,8 @@
/////////////////////////////////////////////////////////////////////////////
// edges_to_blobby_implementation
+const k3d::ienumeration_property::enumeration_values_t& operation_values();
+
class edges_to_blobby_implementation :
public k3d::mesh_modifier<k3d::persistent<k3d::node> >
{
--- k3d-0.5.0.35.orig/modules/freetype2/poly_text.cpp
+++ k3d-0.5.0.35/modules/freetype2/poly_text.cpp
@@ -251,51 +251,51 @@
last_point = To;
}
- const k3d::vector3 convert(FT_Vector* RHS)
+ const k3d::vector3 convert(const FT_Vector* RHS)
{
return (k3d::vector3(RHS->x, RHS->y, 0) * scale) + offset;
}
- int move_to_func(FT_Vector* To)
+ int move_to_func(const FT_Vector* To)
{
begin_contour(convert(To));
return 0;
}
- int line_to_func(FT_Vector* To)
+ int line_to_func(const FT_Vector* To)
{
line_to(convert(To));
return 0;
}
- int conic_to_func(FT_Vector* Control, FT_Vector* To)
+ int conic_to_func(const FT_Vector* Control, const FT_Vector* To)
{
conic_to(last_point, convert(Control), convert(To));
return 0;
}
- int cubic_to_func(FT_Vector* Control1, FT_Vector* Control2, FT_Vector* To)
+ int cubic_to_func(const FT_Vector* Control1, const FT_Vector* Control2, const FT_Vector* To)
{
cubic_to(last_point, convert(Control1), convert(Control2), convert(To));
return 0;
}
- static int raw_move_to_func(FT_Vector* to, void* user)
+ static int raw_move_to_func(const FT_Vector* to, void* user)
{
return reinterpret_cast<freetype_outline*>(user)->move_to_func(to);
}
- static int raw_line_to_func(FT_Vector* to, void* user)
+ static int raw_line_to_func(const FT_Vector* to, void* user)
{
return reinterpret_cast<freetype_outline*>(user)->line_to_func(to);
}
- static int raw_conic_to_func(FT_Vector* control, FT_Vector* to, void* user)
+ static int raw_conic_to_func(const FT_Vector* control, const FT_Vector* to, void* user)
{
return reinterpret_cast<freetype_outline*>(user)->conic_to_func(control, to);
}
- static int raw_cubic_to_func(FT_Vector* control1, FT_Vector* control2, FT_Vector* to, void* user)
+ static int raw_cubic_to_func(const FT_Vector* control1, const FT_Vector* control2, const FT_Vector* to, void* user)
{
return reinterpret_cast<freetype_outline*>(user)->cubic_to_func(control1, control2, to);
}
--- k3d-0.5.0.35.orig/modules/gts/boolean.cpp
+++ k3d-0.5.0.35/modules/gts/boolean.cpp
@@ -98,6 +98,8 @@
/////////////////////////////////////////////////////////////////////////////
// boolean
+const k3d::ienumeration_property::enumeration_values_t& boolean_values();
+
class boolean :
public k3d::material_client<k3d::mesh_source<k3d::persistent<k3d::node> > >
{
--- k3d-0.5.0.35.orig/k3dsdk/renderman_properties.h
+++ k3d-0.5.0.35/k3dsdk/renderman_properties.h
@@ -168,7 +168,7 @@
if(!new_value)
return false;
- set_value(*new_value);
+ this->set_value(*new_value);
return true;
}
--- k3d-0.5.0.35.orig/k3dsdk/vectors.h
+++ k3d-0.5.0.35/k3dsdk/vectors.h
@@ -91,7 +91,7 @@
/// Returns an indexed dimension by reference
double& operator[](int i);
/// Returns an indexed dimension by value
- double vector2::operator[](int i) const;
+ double operator[](int i) const;
/// Returns the vector length
double Length() const;
/// Returns the square of the vector length
signature.asc
Description: This is a digitally signed message part

