summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/librsvg
diff options
context:
space:
mode:
authorMika Laitio <lamikr@cc.jyu.fi>2006-11-21 16:52:14 +0200
committerlamikr <lamikr@iiris.(none)>2006-11-21 16:52:14 +0200
commit95854e60dd750aa5a74d5456afcbc7f436676a30 (patch)
tree8d69e640ab1d127d3fe1e1b9ee9d751cf0b3ff78 /org.handhelds.familiar/packages/librsvg
parenta100e5278075fc85c0c6d73cd582955e37980cd7 (diff)
librsvg: remove the usage of since condition variable because it causes error on some of the jade versions (1.3 for example). Build system uses the jade version installed to os instead of building own native version.
Diffstat (limited to 'org.handhelds.familiar/packages/librsvg')
-rw-r--r--org.handhelds.familiar/packages/librsvg/files/librsvg_sgml_jade13_fix.patch78
-rw-r--r--org.handhelds.familiar/packages/librsvg/librsvg_2.6.5.bb2
2 files changed, 80 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/librsvg/files/librsvg_sgml_jade13_fix.patch b/org.handhelds.familiar/packages/librsvg/files/librsvg_sgml_jade13_fix.patch
new file mode 100644
index 0000000..f11916e
--- /dev/null
+++ b/org.handhelds.familiar/packages/librsvg/files/librsvg_sgml_jade13_fix.patch
@@ -0,0 +1,78 @@
+diff -Naur librsvg-2.6.5_old/rsvg.c librsvg-2.6.5/rsvg.c
+--- librsvg-2.6.5_old/rsvg.c 2004-03-12 04:58:20.000000000 +0200
++++ librsvg-2.6.5/rsvg.c 2006-11-11 01:34:09.000000000 +0200
+@@ -1260,7 +1260,6 @@
+ *
+ * Returns: The SVG's title
+ *
+- * Since: 2.4
+ */
+ G_CONST_RETURN char *rsvg_handle_get_title (RsvgHandle *handle)
+ {
+@@ -1276,7 +1275,6 @@
+ *
+ * Returns: The SVG's description
+ *
+- * Since: 2.4
+ */
+ G_CONST_RETURN char *rsvg_handle_get_desc (RsvgHandle *handle)
+ {
+@@ -1336,7 +1334,6 @@
+ * 72, 90, and 300 DPI. Passing a number <= 0 to #dpi will
+ * reset the DPI to whatever the default value happens to be.
+ *
+- * Since: 2.2
+ */
+ void
+ rsvg_set_default_dpi (double dpi)
+@@ -1356,7 +1353,6 @@
+ * 72, 90, and 300 DPI. Passing a number <= 0 to #dpi will
+ * reset the DPI to whatever the default value happens to be.
+ *
+- * Since: 2.2
+ */
+ void
+ rsvg_handle_set_dpi (RsvgHandle * handle, double dpi)
+diff -Naur librsvg-2.6.5_old/rsvg-file-util.c librsvg-2.6.5/rsvg-file-util.c
+--- librsvg-2.6.5_old/rsvg-file-util.c 2003-09-19 18:59:07.000000000 +0300
++++ librsvg-2.6.5/rsvg-file-util.c 2006-11-11 01:34:30.000000000 +0200
+@@ -217,7 +217,6 @@
+ *
+ * Return value: A newly allocated #GdkPixbuf, or %NULL
+ *
+- * Since: 2.4
+ */
+ GdkPixbuf *
+ rsvg_pixbuf_from_file_at_size_ex (RsvgHandle * handle,
+@@ -248,7 +247,6 @@
+ *
+ * Return value: A newly allocated #GdkPixbuf, or %NULL
+ *
+- * Since: 2.4
+ */
+ GdkPixbuf *
+ rsvg_pixbuf_from_file_ex (RsvgHandle * handle,
+@@ -274,7 +272,6 @@
+ *
+ * Return value: A newly allocated #GdkPixbuf, or %NULL
+ *
+- * Since: 2.4
+ */
+ GdkPixbuf *
+ rsvg_pixbuf_from_file_at_zoom_ex (RsvgHandle * handle,
+@@ -311,7 +308,6 @@
+ *
+ * Return value: A newly allocated #GdkPixbuf, or %NULL
+ *
+- * Since: 2.4
+ */
+ GdkPixbuf *
+ rsvg_pixbuf_from_file_at_max_size_ex (RsvgHandle * handle,
+@@ -348,7 +344,6 @@
+ *
+ * Return value: A newly allocated #GdkPixbuf, or %NULL
+ *
+- * Since: 2.4
+ */
+ GdkPixbuf *
+ rsvg_pixbuf_from_file_at_zoom_with_max_ex (RsvgHandle * handle,
diff --git a/org.handhelds.familiar/packages/librsvg/librsvg_2.6.5.bb b/org.handhelds.familiar/packages/librsvg/librsvg_2.6.5.bb
index 59e8cec..2c646e2 100644
--- a/org.handhelds.familiar/packages/librsvg/librsvg_2.6.5.bb
+++ b/org.handhelds.familiar/packages/librsvg/librsvg_2.6.5.bb
@@ -13,6 +13,8 @@ FILES_rsvg = "${bindir}/rsvg"
FILES_librsvg-gtk = "${libdir}/gtk-2.0/*/*/*.so"
FILES_librsvg-gtk-dev = "${libdir}/gtk-2.0"
+SRC_URI += "file://librsvg_sgml_jade13_fix.patch;patch=1"
+
do_stage() {
install -d ${STAGING_INCDIR}/librsvg-2/librsvg/
install -m 0644 rsvg.h ${STAGING_INCDIR}/librsvg-2/librsvg/