[oe-commits] Tick Chen : madbutterfly: adding madbutterfly bb file

GIT User account git at amethyst.openembedded.net
Tue Apr 14 09:44:31 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: a2151a9e98d98aa051d14c53fca0303d76e819b6
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a2151a9e98d98aa051d14c53fca0303d76e819b6

Author: Tick Chen <ticktock35 at gmail.com>
Date:   Tue Apr 14 17:36:46 2009 +0800

madbutterfly: adding madbutterfly bb file

---

 conf/distro/include/sane-srcrevs.inc               |    1 +
 .../madbutterfly/001_makefile.am_bugs.patch        |   66 ++++++++++++++++++++
 recipes/madbufferfly/madbutterfly_git.bb           |   16 +++++
 3 files changed, 83 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index 1f7a5fd..d606b51 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -118,6 +118,7 @@ SRCREV_pn-linux-openmoko-devel ?= "b9aa5bf345a0b802af0d10b6cf1079738fe4fd12"
 SRCREV_pn-linux-eten ?= "ab2d414f4f13816af0ec0401b608133ca946624a"
 SRCREV_pn-llvm-gcc4 ?= "374"
 SRCREV_pn-llvm-gcc4-cross ?= "374"
+SRCREV_pn-madbutterfly ?= "ecd1842714b5e982f3138cbdd358517d57be6aa3"
 SRCREV_pn-maemo-mapper ?= "118"
 SRCREV_pn-mamonaim_e_applet ?= "51c747849f71981bd1dc9eb1807df4993ad97d04"
 SRCREV_pn-mamona_input_methods ?= "7e6a8cc947689a045d0fba90015da599275347d9"
diff --git a/recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch b/recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch
new file mode 100644
index 0000000..783cf09
--- /dev/null
+++ b/recipes/madbufferfly/madbutterfly/001_makefile.am_bugs.patch
@@ -0,0 +1,66 @@
+Index: git/src/Makefile.am
+===================================================================
+--- git.orig/src/Makefile.am	2009-04-08 02:24:01.000000000 +0800
++++ git/src/Makefile.am	2009-04-08 02:28:53.000000000 +0800
+@@ -2,18 +2,49 @@
+ 
+ lib_LTLIBRARIES = libmbfly.la
+ 
+-noinst_PROGRAMS = X_main
+ MBAF_SOURCES=mbaf/mbapp.c mbaf/mbbutton.c mbaf/mbobject.c mbaf/animated_menu.c
+-libmbfly_la_SOURCES = animate.c chgcolor.c coord.c event.c geo.c	\
+-	observer.c paint.c redraw_man.c rotate.c shape_path.c		\
+-	shape_rect.c shape_text.c shift.c subtree_free.c timer.c 	\
+-	timertool.c tools.c visibility.c X_supp.c prop.c sprite.c	\
+-	mouse.c shape_image.c img_ldr.c $(MBAF_SOURCES)
++libmbfly_la_SOURCES =	animate.c \
++		      	chgcolor.c \
++			coord.c  \
++			event.c \
++			geo.c	\
++			observer.c \
++			paint.c \
++			redraw_man.c \
++			rotate.c \
++			shape_path.c \
++			shape_rect.c \
++			shape_text.c \
++			shift.c \
++			subtree_free.c \
++			timer.c \
++			timertool.c \
++			tools.c \
++			visibility.c \
++			X_supp.c \
++			prop.c \
++			sprite.c \
++			mouse.c \
++			shape_image.c \
++			img_ldr.c \
++			$(MBAF_SOURCES)
++
++libmbfly_la_CFLAGS = @cairo_CFLAGS@ \
++		     @pangocairo_CFLAGS@
++libmbfly_la_LDFLAGS = @cairo_LIBS@ \
++		      @pangocairo_LIBS@
+ 
+-libmbfly_la_CPPFLAGS = @cairo_CFLAGS@ @pangocairo_CFLAGS@
+-libmbfly_la_LDFLAGS = @cairo_LIBS@ @pangocairo_LIBS@
++bin_PROGRAMS = X_main
++noinst_PROGRAMS = X_main
+ 
+ X_main_SOURCES = X_main.c
+-X_main_LDADD = $(top_builddir)/src/libmbfly.la
+-X_main_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_builddir)/src
+-X_main_LDFLAGS = @pangocairo_LIBS@
++X_main_LDADD = ${top_builddir}/src/libmbfly.la
++X_main_CFLAGS = @pangocairo_CFLAGS@ \
++                 @cairo_CFLAGS@ \
++                 -I${top_builddir}/include
++X_main_LDFLAGS = @pangocairo_LIBS@ \
++                @cairo_LIBS@
++
++X_main: libmbfly.la
++	$(LIBTOOL) --tag=CC   --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(X_main_CFLAGS) $(X_main_LIBADD) X_main.c -o $@ $<
++
+
diff --git a/recipes/madbufferfly/madbutterfly_git.bb b/recipes/madbufferfly/madbutterfly_git.bb
new file mode 100644
index 0000000..a0f3169
--- /dev/null
+++ b/recipes/madbufferfly/madbutterfly_git.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "MadButterfly is a SVG browser. It can be used to be GUI environment of embedded system or desktop."
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "BSD"
+DEPENDS = "cairo pango"
+PV = "0.0.1+gitr${SRCREV}"
+
+SRC_URI = "git://git.gitorious.org/madbutterfly/mainline.git;protocol=git \
+           file://001_makefile.am_bugs.patch;patch=1"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+FILES_${PN} += "/bin/* ${libdir}/*.so"
+FILES_${PN}-dev += "${libdir}/*a ${libdir}/pkgconfig/* ${includedir}/* ${datadir}/*"





More information about the Openembedded-commits mailing list