Blame SOURCES/libgxps-0.2.5-private-methods.patch

75766d
--- libgxps-0.3.0/libgxps/gxps-archive.h
75766d
+++ libgxps-0.3.0/libgxps/gxps-archive.h
75766d
@@ -38,14 +38,20 @@ G_BEGIN_DECLS
75766d
 typedef struct _GXPSArchive      GXPSArchive;
75766d
 typedef struct _GXPSArchiveClass GXPSArchiveClass;
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GType             gxps_archive_get_type       (void) G_GNUC_CONST;
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GXPSArchive      *gxps_archive_new            (GFile            *filename,
75766d
 					       GError          **error);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean          gxps_archive_has_entry      (GXPSArchive      *archive,
75766d
 					       const gchar      *path);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GXPSResources    *gxps_archive_get_resources  (GXPSArchive      *archive);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GInputStream     *gxps_archive_open           (GXPSArchive      *archive,
75766d
 					       const gchar      *path);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean          gxps_archive_read_entry     (GXPSArchive      *archive,
75766d
 					       const gchar      *path,
75766d
 					       guchar          **buffer,
75766d
--- libgxps-0.2.5/libgxps/gxps-brush.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-brush.h
75766d
@@ -33,12 +33,16 @@ struct _GXPSBrush {
75766d
         gdouble            opacity;
75766d
 };
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GXPSBrush *gxps_brush_new               (GXPSRenderContext   *ctx);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void       gxps_brush_free              (GXPSBrush           *brush);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean   gxps_brush_solid_color_parse (const gchar         *data,
75766d
                                          GXPSArchive         *zip,
75766d
                                          gdouble              alpha,
75766d
                                          cairo_pattern_t    **pattern);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void       gxps_brush_parser_push       (GMarkupParseContext *context,
75766d
                                          GXPSBrush           *brush);
75766d
 
75766d
--- libgxps-0.2.5/libgxps/gxps-color.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-color.h
75766d
@@ -34,6 +34,7 @@ typedef struct _GXPSColor {
75766d
         gdouble blue;
75766d
 } GXPSColor;
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_color_new_for_icc (GXPSArchive *zip,
75766d
                                  const gchar *icc_profile_uri,
75766d
                                  gdouble     *values,
75766d
--- libgxps-0.2.5/libgxps/gxps-fonts.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-fonts.h
75766d
@@ -25,6 +25,7 @@
75766d
 
75766d
 G_BEGIN_DECLS
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 cairo_font_face_t *gxps_fonts_get_font (GXPSArchive *zip,
75766d
 					const gchar *font_uri,
75766d
 					GError     **error);
75766d
--- libgxps-0.2.5/libgxps/gxps-glyphs.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-glyphs.h
75766d
@@ -45,12 +45,15 @@ struct _GXPSGlyphs {
75766d
         guint              italic      : 1;
75766d
 };
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GXPSGlyphs *gxps_glyphs_new             (GXPSRenderContext     *ctx,
75766d
                                          gchar                 *font_uri,
75766d
                                          gdouble                font_size,
75766d
                                          gdouble                origin_x,
75766d
                                          gdouble                origin_y);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void        gxps_glyphs_free            (GXPSGlyphs            *glyphs);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean    gxps_glyphs_to_cairo_glyphs (GXPSGlyphs            *gxps_glyphs,
75766d
                                          cairo_scaled_font_t   *scaled_font,
75766d
                                          const gchar           *utf8,
75766d
@@ -59,6 +62,7 @@ gboolean    gxps_glyphs_to_cairo_glyphs
75766d
                                          cairo_text_cluster_t **clusters,
75766d
                                          int                   *num_clusters,
75766d
                                          GError               **error);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void        gxps_glyphs_parser_push     (GMarkupParseContext   *context,
75766d
                                          GXPSGlyphs            *glyphs);
75766d
 
75766d
--- libgxps-0.2.5/libgxps/gxps-images.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-images.h
75766d
@@ -25,6 +25,7 @@
75766d
 
75766d
 G_BEGIN_DECLS
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 cairo_surface_t *gxps_images_get_image (GXPSArchive  *zip,
75766d
                                         const gchar  *image_uri,
75766d
                                         GError      **error);
75766d
--- libgxps-0.2.5/libgxps/gxps-matrix.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-matrix.h
75766d
@@ -32,10 +32,14 @@ struct _GXPSMatrix {
75766d
         cairo_matrix_t     matrix;
75766d
 };
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GXPSMatrix *gxps_matrix_new         (GXPSRenderContext   *ctx);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void        gxps_matrix_free        (GXPSMatrix          *matrix);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean    gxps_matrix_parse       (const gchar         *data,
75766d
                                      cairo_matrix_t      *matrix);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void        gxps_matrix_parser_push (GMarkupParseContext *context,
75766d
                                      GXPSMatrix          *matrix);
75766d
 
75766d
--- libgxps-0.2.5/libgxps/gxps-page-private.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-page-private.h
75766d
@@ -58,9 +58,11 @@ struct _GXPSRenderContext {
75766d
         GXPSBrushVisual *visual;
75766d
 };
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 cairo_surface_t *gxps_page_get_image          (GXPSPage            *page,
75766d
                                                const gchar         *image_uri,
75766d
                                                GError             **error);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void       gxps_page_render_parser_push (GMarkupParseContext *context,
75766d
                                          GXPSRenderContext   *ctx);
75766d
 
75766d
--- libgxps-0.2.5/libgxps/gxps-parse-utils.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-parse-utils.h
75766d
@@ -24,9 +24,11 @@
75766d
 
75766d
 G_BEGIN_DECLS
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_parse_stream                  (GMarkupParseContext  *context,
75766d
                                              GInputStream         *stream,
75766d
                                              GError              **error);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void     gxps_parse_error                   (GMarkupParseContext  *context,
75766d
                                              const gchar          *source,
75766d
                                              GMarkupError          error_type,
75766d
@@ -34,21 +36,29 @@ void     gxps_parse_error
75766d
                                              const gchar          *attribute_name,
75766d
                                              const gchar          *content,
75766d
                                              GError              **error);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_value_get_int                 (const gchar          *value,
75766d
                                              gint                 *int_value);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_value_get_double              (const gchar          *value,
75766d
                                              gdouble              *double_value);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_value_get_double_positive     (const gchar          *value,
75766d
                                              gdouble              *double_value);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_value_get_double_non_negative (const gchar          *value,
75766d
                                              gdouble              *double_value);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_value_get_boolean             (const gchar          *value,
75766d
                                              gboolean             *boolean_value);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean gxps_point_parse                   (const gchar          *point,
75766d
                                              gdouble              *x,
75766d
                                              gdouble              *y);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void     gxps_parse_skip_number             (gchar               **iter,
75766d
                                              const gchar          *end);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gchar   *gxps_resolve_relative_path         (const gchar          *source,
75766d
                                              const gchar          *target);
75766d
 
75766d
--- libgxps-0.2.5/libgxps/gxps-path.h
75766d
+++ libgxps-0.2.5/libgxps/gxps-path.h
75766d
@@ -50,12 +50,16 @@ struct _GXPSPath {
75766d
         gboolean           is_closed  : 1;
75766d
 };
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 GXPSPath *gxps_path_new         (GXPSRenderContext   *ctx);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void      gxps_path_free        (GXPSPath            *path);
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 gboolean  gxps_path_parse       (const gchar         *data,
75766d
                                  cairo_t             *cr,
75766d
                                  GError             **error);
75766d
 
75766d
+GXPS_AVAILABLE_IN_ALL
75766d
 void      gxps_path_parser_push (GMarkupParseContext *context,
75766d
                                  GXPSPath            *path);
75766d