* [STABLE][PATCH] fbprogress: make it work better
@ 2009-06-17 12:07 Marcin Juszkiewicz
2009-06-17 12:12 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Juszkiewicz @ 2009-06-17 12:07 UTC (permalink / raw)
To: openembedded-devel; +Cc: Marcin Juszkiewicz
From: Marcin Juszkiewicz <marcin@buglabs.net>
- images are kept in /usr/share/fbprogress
- proper framebuffer is used
- include paths and libraries to link with are given in recipe instead
of makefile
Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net>
---
recipes/fbprogress/fbprogress_1.1.bb | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/recipes/fbprogress/fbprogress_1.1.bb b/recipes/fbprogress/fbprogress_1.1.bb
index 8d603b8..855d1ca 100644
--- a/recipes/fbprogress/fbprogress_1.1.bb
+++ b/recipes/fbprogress/fbprogress_1.1.bb
@@ -3,8 +3,8 @@ AUTHOR = "Angel Roman"
HOMEPAGE = "http://www.buglabs.net/"
LICENSE = "GPL"
DEPENDS = "freetype zlib virtual/kernel"
-SRCREV = "9118"
-PR = "r1"
+SRCREV = "9405"
+PR = "r2"
SRC_URI = "svn://svn.buglabs.net/bug/trunk;module=com.buglabs.bug.native.fbprogress;proto=svn \
file://fbprogress-init"
@@ -13,14 +13,17 @@ S = "${WORKDIR}/com.buglabs.bug.native.fbprogress"
inherit update-rc.d
-EXTRA_OEMAKE = "BUG_LINUX_SRC=${STAGING_KERNEL_DIR}"
+TARGET_CXXFLAGS += "-I${STAGING_INCDIR}/freetype2 -I${STAGING_KERNEL_DIR}/include"
+TARGET_LDFLAGS += "-L${STAGING_LIBDIR} -lfreetype -lz"
do_install() {
- install -d ${D}/${sysconfdir}/fbprogress
- install -m 0644 ${S}/images/* ${D}/${sysconfdir}/fbprogress/
- install -d ${D}${layout_bindir}
- install -m 0755 fbprogress ${D}${layout_bindir}
- install -m 0755 fbprogress.sh ${D}${layout_bindir}
+ install -d ${D}/${datadir}/fbprogress
+ install -m 0644 ${S}/images/* ${D}/${datadir}/fbprogress/
+
+ install -d ${D}${bindir}
+ install -m 0755 fbprogress ${D}${bindir}
+ install -m 0755 fbprogress.sh ${D}${bindir}
+
install -d ${D}/${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/fbprogress-init ${D}/${sysconfdir}/init.d/fbprogress
}
--
1.6.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [STABLE][PATCH] fbprogress: make it work better
2009-06-17 12:07 [STABLE][PATCH] fbprogress: make it work better Marcin Juszkiewicz
@ 2009-06-17 12:12 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2009-06-17 12:12 UTC (permalink / raw)
To: openembedded-devel
On 17-06-09 14:07, Marcin Juszkiewicz wrote:
> From: Marcin Juszkiewicz<marcin@buglabs.net>
>
> - images are kept in /usr/share/fbprogress
> - proper framebuffer is used
> - include paths and libraries to link with are given in recipe instead
> of makefile
>
> Signed-off-by: Marcin Juszkiewicz<marcin@buglabs.net>
Acked-by: Koen Kooi <koen@openembedded.org>
> ---
> recipes/fbprogress/fbprogress_1.1.bb | 19 +++++++++++--------
> 1 files changed, 11 insertions(+), 8 deletions(-)
>
> diff --git a/recipes/fbprogress/fbprogress_1.1.bb b/recipes/fbprogress/fbprogress_1.1.bb
> index 8d603b8..855d1ca 100644
> --- a/recipes/fbprogress/fbprogress_1.1.bb
> +++ b/recipes/fbprogress/fbprogress_1.1.bb
> @@ -3,8 +3,8 @@ AUTHOR = "Angel Roman"
> HOMEPAGE = "http://www.buglabs.net/"
> LICENSE = "GPL"
> DEPENDS = "freetype zlib virtual/kernel"
> -SRCREV = "9118"
> -PR = "r1"
> +SRCREV = "9405"
> +PR = "r2"
>
> SRC_URI = "svn://svn.buglabs.net/bug/trunk;module=com.buglabs.bug.native.fbprogress;proto=svn \
> file://fbprogress-init"
> @@ -13,14 +13,17 @@ S = "${WORKDIR}/com.buglabs.bug.native.fbprogress"
>
> inherit update-rc.d
>
> -EXTRA_OEMAKE = "BUG_LINUX_SRC=${STAGING_KERNEL_DIR}"
> +TARGET_CXXFLAGS += "-I${STAGING_INCDIR}/freetype2 -I${STAGING_KERNEL_DIR}/include"
> +TARGET_LDFLAGS += "-L${STAGING_LIBDIR} -lfreetype -lz"
>
> do_install() {
> - install -d ${D}/${sysconfdir}/fbprogress
> - install -m 0644 ${S}/images/* ${D}/${sysconfdir}/fbprogress/
> - install -d ${D}${layout_bindir}
> - install -m 0755 fbprogress ${D}${layout_bindir}
> - install -m 0755 fbprogress.sh ${D}${layout_bindir}
> + install -d ${D}/${datadir}/fbprogress
> + install -m 0644 ${S}/images/* ${D}/${datadir}/fbprogress/
> +
> + install -d ${D}${bindir}
> + install -m 0755 fbprogress ${D}${bindir}
> + install -m 0755 fbprogress.sh ${D}${bindir}
> +
> install -d ${D}/${sysconfdir}/init.d
> install -m 0755 ${WORKDIR}/fbprogress-init ${D}/${sysconfdir}/init.d/fbprogress
> }
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-17 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 12:07 [STABLE][PATCH] fbprogress: make it work better Marcin Juszkiewicz
2009-06-17 12:12 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.