[oe-commits] org.oe.dev gtkhtml-3.8_3.12.3.bb : update gtkhtml with patch stolen from debian for
xora commit
oe at amethyst.openembedded.net
Tue Mar 25 03:18:58 UTC 2008
gtkhtml-3.8_3.12.3.bb : update gtkhtml with patch stolen from debian for
glib API changes
Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: bfbb7a4b91b1cef9bf586944b836302144e3c8b0
ViewMTN: http://monotone.openembedded.org/revision/info/bfbb7a4b91b1cef9bf586944b836302144e3c8b0
Files:
1
packages/gtkhtml/gtkhtml-3.8
packages/gtkhtml/gtkhtml-3.8/60_glib-2.15-g-gnuc-function.patch
packages/gtkhtml/gtkhtml-3.8_3.12.3.bb
Diffs:
#
# mt diff -rf98d5fb7ff32cc1cdb2d7338a2b10010f29b9d1b -rbfbb7a4b91b1cef9bf586944b836302144e3c8b0
#
#
#
# add_dir "packages/gtkhtml/gtkhtml-3.8"
#
# add_file "packages/gtkhtml/gtkhtml-3.8/60_glib-2.15-g-gnuc-function.patch"
# content [b1b1fae7207eeac786b8ee9ea7f0b098b2de0009]
#
# add_file "packages/gtkhtml/gtkhtml-3.8_3.12.3.bb"
# content [8472e2a38e79fa83c7aac126c8fbd65d7797528e]
#
============================================================
--- packages/gtkhtml/gtkhtml-3.8/60_glib-2.15-g-gnuc-function.patch b1b1fae7207eeac786b8ee9ea7f0b098b2de0009
+++ packages/gtkhtml/gtkhtml-3.8/60_glib-2.15-g-gnuc-function.patch b1b1fae7207eeac786b8ee9ea7f0b098b2de0009
@@ -0,0 +1,39 @@
+diff -Nur gtkhtml3.8-3.12.3/src/htmlengine-edit-clueflowstyle.c gtkhtml3.8-3.12.3.new/src/htmlengine-edit-clueflowstyle.c
+--- gtkhtml3.8-3.12.3/src/htmlengine-edit-clueflowstyle.c 2007-01-29 10:50:59.000000000 +0100
++++ gtkhtml3.8-3.12.3.new/src/htmlengine-edit-clueflowstyle.c 2008-02-15 10:07:22.000000000 +0100
+@@ -175,7 +175,7 @@
+ while (p != NULL) {
+ if (HTML_OBJECT_TYPE (obj->parent) != HTML_TYPE_CLUEFLOW) {
+ g_warning ("(%s:%s) Eeeek! Unknown parent type `%s'.",
+- __FILE__, G_GNUC_FUNCTION,
++ __FILE__, G_STRFUNC,
+ html_type_name (HTML_OBJECT_TYPE (obj->parent)));
+ break;
+ }
+@@ -209,7 +209,7 @@
+ /* This should not happen. */
+ g_warning ("(%s:%s) There were not enough paragraphs for "
+ "setting the paragraph style.",
+- __FILE__, G_GNUC_FUNCTION);
++ __FILE__, G_STRFUNC);
+ break;
+ }
+ } while (obj != NULL && HTML_CLUEFLOW (obj->parent) == clueflow);
+@@ -217,7 +217,7 @@
+
+ if (prop_list == NULL) {
+ /* This should not happen. */
+- g_warning ("%s:%s Eeek! Nothing done?", __FILE__, G_GNUC_FUNCTION);
++ g_warning ("%s:%s Eeek! Nothing done?", __FILE__, G_STRFUNC);
+ return;
+ }
+
+@@ -280,7 +280,7 @@
+ while (p != NULL) {
+ if (HTML_OBJECT_TYPE (p->parent) != HTML_TYPE_CLUEFLOW) {
+ g_warning ("(%s:%s) Eeeek! Unknown parent type `%s'.",
+- __FILE__, G_GNUC_FUNCTION,
++ __FILE__, G_STRFUNC,
+ html_type_name (HTML_OBJECT_TYPE (p->parent)));
+ break;
+ }
============================================================
--- packages/gtkhtml/gtkhtml-3.8_3.12.3.bb 8472e2a38e79fa83c7aac126c8fbd65d7797528e
+++ packages/gtkhtml/gtkhtml-3.8_3.12.3.bb 8472e2a38e79fa83c7aac126c8fbd65d7797528e
@@ -0,0 +1,29 @@
+DESCRIPTION = "HTML rendering/editing library"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "gtk+ gail libbonoboui libgnomeprintui libgnomeui"
+
+SRC_URI = "${GNOME_MIRROR}/gtkhtml/3.12/gtkhtml-${PV}.tar.bz2 \
+ file://60_glib-2.15-g-gnuc-function.patch;patch=1"
+
+S = "${WORKDIR}/gtkhtml-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+ORBIT_IDL = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
+
+do_configure_append() {
+ find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
+ find ${S} -name Makefile | xargs sed -i s:'-I${prefix}/include':'-I.':g
+ find ${S} -name Makefile | xargs sed -i 's|ORBIT_IDL =.*|ORBIT_IDL = ${ORBIT_IDL}|'
+}
+
+do_stage() {
+ autotools_stage_all
+}
+
+FILES_${PN} += "${datadir}/gtkhtml-3.8"
+
More information about the Openembedded-commits
mailing list