summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-05-20 12:12:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-20 12:12:39 +0000
commitef655f681eefccbe8f16d76f954c434c52cb99a4 (patch)
tree75fd577fc2f526756205fb539d577daee85eaa5c /packages
parentf4a6a0341f8a5cb6bf30fbb3b83a225f9e2af2e9 (diff)
parent775ad19d1e712b2cdff21226820f8535964a9f70 (diff)
merge of 08292c00115e7d304ae354db337ee4feee93fd17
and 2a1f8d42cf0a5906c34ed8cd233648587be12c64
Diffstat (limited to 'packages')
-rw-r--r--packages/directfb/++dfb_0.9.23.bb15
-rw-r--r--packages/directfb/dfb++_0.9.23.bb30
-rw-r--r--packages/directfb/directfb-examples_0.9.23.bb1
-rw-r--r--packages/directfb/directfb_0.9.25.1.bb6
-rw-r--r--packages/directfb/files/.mtn2git_empty0
-rw-r--r--packages/directfb/files/fix-pkgconfig-specs.patch13
-rw-r--r--packages/lcdproc/lcdproc_0.5.0.bb65
7 files changed, 84 insertions, 46 deletions
diff --git a/packages/directfb/++dfb_0.9.23.bb b/packages/directfb/++dfb_0.9.23.bb
index 4574b8eb4c..4c1f6bc482 100644
--- a/packages/directfb/++dfb_0.9.23.bb
+++ b/packages/directfb/++dfb_0.9.23.bb
@@ -1,30 +1,19 @@
DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
HOMEPAGE = "http://directfb.org"
SECTION = "libs"
-PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
DEPENDS = "directfb"
LICENSE = "LGPL"
-# needs a g++4 patch
-BROKEN = "1"
-
SRC_URI = "http://www.directfb.org/downloads/Extras/++DFB-${PV}.tar.gz"
S = "${WORKDIR}/++DFB-${PV}"
inherit autotools pkgconfig
do_stage() {
- oe_runmake -C include 'libdir=/lib' 'includedir=/include/dfb++' \
- 'oldincludedir=/include' 'datadir=/share' \
- 'DESTDIR=${STAGING_LIBDIR}/..' \
- install-dfbppincludeHEADERS
- oe_runmake -C dfb++ 'libdir=/lib' 'includedir=/include/dfb++' \
- 'oldincludedir=/include' 'datadir=/share' \
- 'DESTDIR=${STAGING_LIBDIR}/..' \
- install-libLTLIBRARIES
+ autotools_stage_all
}
-
do_install() {
oe_runmake 'DESTDIR=${D}' install
}
diff --git a/packages/directfb/dfb++_0.9.23.bb b/packages/directfb/dfb++_0.9.23.bb
deleted file mode 100644
index 0e0772da94..0000000000
--- a/packages/directfb/dfb++_0.9.23.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
-HOMEPAGE = "http://directfb.org"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = "directfb"
-LICENSE = "LGPL"
-
-# needs a g++4 patch
-BROKEN = "1"
-
-SRC_URI = "http://www.directfb.org/downloads/Extras/DFB++-${PV}.tar.gz"
-S = "${WORKDIR}/DFB++-${PV}"
-
-inherit autotools pkgconfig
-
-do_stage() {
- oe_runmake -C include 'libdir=/lib' 'includedir=/include/dfb++' \
- 'oldincludedir=/include' 'datadir=/share' \
- 'DESTDIR=${STAGING_LIBDIR}/..' \
- install-dfbppincludeHEADERS
- oe_runmake -C dfb++ 'libdir=/lib' 'includedir=/include/dfb++' \
- 'oldincludedir=/include' 'datadir=/share' \
- 'DESTDIR=${STAGING_LIBDIR}/..' \
- install-libLTLIBRARIES
-}
-
-
-do_install() {
- oe_runmake 'DESTDIR=${D}' install
-}
diff --git a/packages/directfb/directfb-examples_0.9.23.bb b/packages/directfb/directfb-examples_0.9.23.bb
index 423e888fd8..5357b55b6d 100644
--- a/packages/directfb/directfb-examples_0.9.23.bb
+++ b/packages/directfb/directfb-examples_0.9.23.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "DirectFB examples"
DEPENDS = "directfb"
SECTION = "devel/examples"
LICENSE = "GPL"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de"
SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz"
S = "${WORKDIR}/DirectFB-examples-${PV}"
diff --git a/packages/directfb/directfb_0.9.25.1.bb b/packages/directfb/directfb_0.9.25.1.bb
index 9d5566405a..76e849d14b 100644
--- a/packages/directfb/directfb_0.9.25.1.bb
+++ b/packages/directfb/directfb_0.9.25.1.bb
@@ -5,14 +5,14 @@ translucent windows and multiple display layers on top of the \
Linux framebuffer device."
SECTION = "libs"
LICENSE = "LGPL"
-PRIORITY = "optional"
HOMEPAGE = "http://directfb.org"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
DEPENDS = "jpeg libpng freetype zlib"
PR = "r1"
RV = "0.9.25"
-SRC_URI = "http://directfb.org/downloads/Core/DirectFB-${PV}.tar.gz"
+SRC_URI = "http://directfb.org/downloads/Core/DirectFB-${PV}.tar.gz \
+ file://fix-pkgconfig-specs.patch;patch=1"
S = "${WORKDIR}/DirectFB-${PV}"
inherit autotools pkgconfig
@@ -31,5 +31,5 @@ do_install() {
FILES_directfb_append = " ${libdir}/directfb-${RV}/systems/*.so \
${libdir}/directfb-${RV}/inputdrivers/*.so \
${libdir}/directfb-${RV}/interfaces/*/*.so \
- ${libdir}/directfb-${RV}/wm/*.so \
+ ${libdir}/directfb-${RV}/wm/*.so \
${datadir}/directfb-${RV}"
diff --git a/packages/directfb/files/.mtn2git_empty b/packages/directfb/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/directfb/files/.mtn2git_empty
diff --git a/packages/directfb/files/fix-pkgconfig-specs.patch b/packages/directfb/files/fix-pkgconfig-specs.patch
new file mode 100644
index 0000000000..401d7fa443
--- /dev/null
+++ b/packages/directfb/files/fix-pkgconfig-specs.patch
@@ -0,0 +1,13 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- DirectFB-0.9.25.1/directfb.pc.in~fix-pkgconfig-specs 2005-10-19 01:14:04.000000000 +0200
++++ DirectFB-0.9.25.1/directfb.pc.in 2006-05-20 01:02:37.000000000 +0200
+@@ -8,4 +8,4 @@
+ Version: @VERSION@
+ Requires: fusion direct
+ Libs: -L${libdir} -ldirectfb @THREADLIB@ @DYNLIB@ @ZLIB_LIBS@ @OSX_LIBS@
+-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@
++Cflags: @THREADFLAGS@ -I${includedir}/directfb
diff --git a/packages/lcdproc/lcdproc_0.5.0.bb b/packages/lcdproc/lcdproc_0.5.0.bb
new file mode 100644
index 0000000000..4d933fc064
--- /dev/null
+++ b/packages/lcdproc/lcdproc_0.5.0.bb
@@ -0,0 +1,65 @@
+DESCRIPTION = "LCDproc is a client/Server suite to drive all kinds of LCD (-like) devices. The client \
+shipped with this package can be used to acquire various kinds of system stats."
+HOMEPAGE = "http://lcdproc.org"
+LICENSE = "GPL"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "utils"
+
+DEPENDS = "${@((bb.data.getVar('LCDPROC_DRIVERS',d) or 'all').find('curses') != -1) and 'ncurses' or ''}"
+RRECOMMENDS_lcdproc = "lcdd"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/lcdproc/lcdproc-${PV}.tar.gz"
+
+inherit autotools update-rc.d
+
+PACKAGES =+ "lcdd"
+
+CONFFILES_lcdd = "${sysconfdir}/LCDd.conf"
+CONFFILES_lcdproc = "${sysconfdir}/lcdproc.conf"
+
+FILES_lcdd = "${CONFFILES_lcdd} \
+ ${sbindir}/LCDd \
+ ${sysconfdir}/init.d/lcdd \
+ ${libdir}/lcdproc/"
+FILES_lcdproc = "${CONFFILES_lcdproc} \
+ ${bindir}/lcdproc \
+ ${sysconfdir}/init.d/lcdproc"
+
+INITSCRIPT_PACKAGES = "lcdd lcdproc"
+INITSCRIPT_NAME_lcdd = "lcdd"
+INITSCRIPT_NAME_lcdproc = "lcdproc"
+INITSCRIPT_PARAMS_lcdd = "defaults 70 21"
+INITSCRIPT_PARAMS_lcdproc = "defaults 71 20"
+
+EXTRA_OECONF = "${@'--enable-drivers=' + (bb.data.getVar('LCDPROC_DRIVERS',d) or 'all')}"
+
+do_install () {
+ # binaries
+ install -D -m 0755 server/LCDd ${D}${sbindir}/LCDd
+ install -D -m 0755 clients/lcdproc/lcdproc ${D}${bindir}/lcdproc
+
+ # init scripts
+ install -d ${D}${sysconfdir}/init.d
+ # so far, not fixed :-( and now even uglier :-((
+ cat scripts/init-LCDd.debian | sed -e s'/--oknodo//' -e 's/ -s -f / -s 1 -f 1 /' -e 's/force-reload/force-restart/' -e 's/sleep 1/sleep 4/' > ${D}${sysconfdir}/init.d/lcdd
+ chmod 0755 ${D}${sysconfdir}/init.d/lcdd
+ # prevent lcdproc from starting if no SCREENS are set.
+ # will be fixed in next upstream release
+ cat scripts/init-lcdproc.debian | sed -e 's/C X//' | sed -e 's/case/[ -n "$SCREENS" ] || exit 0\n\ncase/' | sed -e s'/--oknodo//' > ${D}${sysconfdir}/init.d/lcdproc
+ chmod 0755 ${D}${sysconfdir}/init.d/lcdproc
+
+ # configuration files
+ install -D -m 0644 LCDd.conf ${D}${sysconfdir}/LCDd.conf
+ # don't start lcdproc by default
+ # will be fixed in next upstream release
+ cat scripts/lcdproc.conf | sed -e 's/C X//' > ${D}${sysconfdir}/lcdproc.conf
+ chmod 0644 ${D}${sysconfdir}/lcdproc.conf
+
+ # driver library files
+ install -d ${D}${libdir}/lcdproc
+ for i in server/drivers/*.so; do
+ install -m 0644 $i ${D}${libdir}/lcdproc/
+ done
+}
+