[vala] poppler-glib: Update to 0.23.4
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] poppler-glib: Update to 0.23.4
- Date: Fri, 26 Jul 2013 18:56:06 +0000 (UTC)
commit 78e38d64117511861ae397860967a5727b519211
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Jul 26 20:55:04 2013 +0200
poppler-glib: Update to 0.23.4
vapi/Makefile.am | 2 +-
vapi/poppler-glib.deps | 2 +-
vapi/poppler-glib.vapi | 15 +++++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 3bf27d1..61fdb3e 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -695,7 +695,7 @@ pangocairo:
$(GENVAPI) --library $(srcdir)/pangocairo --metadatadir $(METADATADIR) $(GIRDIR)/PangoCairo-1.0.gir
poppler-glib:
- $(GENVAPI) --library $(srcdir)/poppler-glib --metadatadir $(METADATADIR) $(GIRDIR)/Poppler-0.18.gir
+ $(GENVAPI) --library $(srcdir)/poppler-glib --pkg cairo --pkg gio-2.0 --metadatadir $(METADATADIR)
$(GIRDIR)/Poppler-0.18.gir
purple:
$(GENVAPI) --library $(srcdir)/purple $(PACKAGESDIR)/purple/purple-custom.vala
$(PACKAGESDIR)/purple/purple.gi
diff --git a/vapi/poppler-glib.deps b/vapi/poppler-glib.deps
index 08452cd..32d8c2d 100644
--- a/vapi/poppler-glib.deps
+++ b/vapi/poppler-glib.deps
@@ -1,2 +1,2 @@
-glib-2.0
cairo
+gio-2.0
diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi
index 4479a8b..48df6db 100644
--- a/vapi/poppler-glib.vapi
+++ b/vapi/poppler-glib.vapi
@@ -52,6 +52,7 @@ namespace Poppler {
public int get_page_index ();
public void set_color (Poppler.Color? poppler_color);
public void set_contents (string contents);
+ public void set_flags (Poppler.AnnotFlag flags);
}
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function =
"g_boxed_free", type_id = "poppler_annot_callout_line_get_type ()")]
[Compact]
@@ -183,6 +184,10 @@ namespace Poppler {
public Document.from_data (string data, int length, string? password) throws GLib.Error;
[CCode (has_construct_function = false)]
public Document.from_file (string uri, string? password) throws GLib.Error;
+ [CCode (has_construct_function = false)]
+ public Document.from_gfile (GLib.File file, string? password, GLib.Cancellable? cancellable =
null) throws GLib.Error;
+ [CCode (has_construct_function = false)]
+ public Document.from_stream (GLib.InputStream stream, int64 length, string? password,
GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.List<Poppler.Attachment> get_attachments ();
public string get_author ();
public long get_creation_date ();
@@ -388,6 +393,7 @@ namespace Poppler {
protected Page ();
public void add_annot (Poppler.Annot annot);
public GLib.List<Poppler.Rectangle> find_text (string text);
+ public GLib.List<Poppler.Rectangle> find_text_with_options (string text, Poppler.FindFlags
options);
public static void free_annot_mapping (GLib.List<Poppler.AnnotMapping> list);
public static void free_form_field_mapping (GLib.List<Poppler.FormFieldMapping> list);
public static void free_image_mapping (GLib.List<Poppler.ImageMapping> list);
@@ -413,6 +419,7 @@ namespace Poppler {
public Cairo.Surface get_thumbnail ();
public bool get_thumbnail_size (out int width, out int height);
public Poppler.PageTransition get_transition ();
+ public void remove_annot (Poppler.Annot annot);
public void render ([CCode (type = "cairo_t*")] Cairo.Context cairo);
public void render_for_printing ([CCode (type = "cairo_t*")] Cairo.Context cairo);
public void render_for_printing_with_options ([CCode (type = "cairo_t*")] Cairo.Context
cairo, Poppler.PrintFlags options);
@@ -646,6 +653,14 @@ namespace Poppler {
FITBV,
NAMED
}
+ [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FIND_", type_id =
"poppler_find_flags_get_type ()")]
+ [Flags]
+ public enum FindFlags {
+ DEFAULT,
+ CASE_SENSITIVE,
+ BACKWARDS,
+ WHOLE_WORDS_ONLY
+ }
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FONT_TYPE_", type_id =
"poppler_font_type_get_type ()")]
public enum FontType {
UNKNOWN,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]