Skip to content

Commit

Permalink
gtkhtml2, libxosd_svn.bb: Move the recipe to fetch from git instead o…
Browse files Browse the repository at this point in the history
…f obsolete svn

libxosd_svn.bb fix compilation issue.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Sep 16, 2010
1 parent b0e141c commit 4afbc9e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,23 @@ SECTION = "libs"
DEPENDS = "gtk+ glib-2.0 libxml2"
DESCRIPTION = "A GTK+ HTML rendering library."
LICENSE = "GPL"
SRCREV = "1158"
PV = "2.11.0+svnr${SRCPV}"
SRCREV = "f4a698dbbedbdb2614ca2bfb585095049b57748e"
PV = "2.11.1+gitr${SRCPV}"

SRC_URI = "svn://anonymous@svn.gnome.org/svn/gtkhtml2/;module=trunk \
SRC_URI = "git://git.gnome.org/gtkhtml2;protocol=git;branch=master \
http://svn.o-hand.com/repos/web/trunk/patches/at-import_box-pos.patch;striplevel=0;maxrev=1157;name=patch1 \
http://svn.o-hand.com/repos/web/trunk/patches/css-stylesheet-user.patch;striplevel=0;maxrev=1157;name=patch2 \
http://svn.o-hand.com/repos/web/trunk/patches/css-media.patch;striplevel=0;maxrev=1157;name=patch3 \
http://svn.o-hand.com/repos/web/trunk/patches/add-end-element-signal.patch;striplevel=0;maxrev=1157;name=patch4 \
http://svn.o-hand.com/repos/web/trunk/patches/add-dom-functions.patch;striplevel=0;maxrev=1157;name=patch5 \
http://svn.o-hand.com/repos/web/trunk/patches/iain-mem-leak.patch;striplevel=0;maxrev=1157;name=patch6"

S = "${WORKDIR}/trunk"
S = "${WORKDIR}/git"

inherit pkgconfig autotools

EXTRA_OECONF = " --disable-accessibility"

do_stage() {
oe_libinstall -so -C libgtkhtml libgtkhtml-2 ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml
( for i in css document dom dom/core dom/events dom/html dom/traversal dom/views graphics layout layout/html util view; do install -d ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml/$i; install -m 0644 ${S}/libgtkhtml/$i/*.h ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml/$i; done )
install -m 0644 ${S}/libgtkhtml/*.h ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml
}

SRC_URI[patch1.md5sum] = "160c648e29637f2ed6301f4dfdecce21"
SRC_URI[patch1.sha256sum] = "3ec786e6df9e1a935aff4848b6989cad8f87c1fa8813dc033b338e18b17138d8"
SRC_URI[patch2.md5sum] = "05fc3627ca364095702dc804f41c8391"
Expand Down
13 changes: 13 additions & 0 deletions recipes/libxosd/files/fix_duplicate_xosd_is_onscreen.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: current/man/Makefile.am
===================================================================
--- current.orig/man/Makefile.am 2007-07-27 06:33:14.000000000 -0700
+++ current/man/Makefile.am 2010-09-15 18:05:21.895210000 -0700
@@ -3,7 +3,7 @@ man_MANS = osd_cat.1 xosd-config.1 \
xosd_display.3 xosd_hide.3 xosd_is_onscreen.3 xosd_set_vertical_offset.3 \
xosd_set_pos.3 xosd_set_shadow_offset.3 xosd_show.3 xosd_uninit.3 xosd.3 \
xosd_get_number_lines.3 xosd_set_align.3 xosd_create.3 \
- xosd_set_horizontal_offset.3 xosd_destroy.3 xosd_create.3 xosd_is_onscreen.3 \
+ xosd_set_horizontal_offset.3 xosd_destroy.3 \
xosd_set_bar_length.3

EXTRA_DIST = ${man_MANS}
6 changes: 4 additions & 2 deletions recipes/libxosd/libxosd_svn.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ DEPENDS = "virtual/libx11 libxext"
LICENSE = "LGPL"
SRCREV = "627"
PV = "2.2.15+svnr${SRCPV}"
PR = "r5"
PR = "r6"

SRC_URI = "svn://libxosd.svn.sourceforge.net/svnroot/libxosd/source;module=current;proto=https \
file://autofoo.patch \
file://use-sane-default-font.patch"
file://use-sane-default-font.patch \
file://fix_duplicate_xosd_is_onscreen.patch \
"

S = "${WORKDIR}/current"

Expand Down

0 comments on commit 4afbc9e

Please sign in to comment.