All of lore.kernel.org
 help / color / mirror / Atom feed
* org.openembedded.dev fixes
@ 2007-03-27 20:14 Lorn Potter
  2007-03-27 20:31 ` Marcin Juszkiewicz
  2007-03-28  6:14 ` Holger Freyther
  0 siblings, 2 replies; 5+ messages in thread
From: Lorn Potter @ 2007-03-27 20:14 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 6855 bytes --]

* file needs a version update to 4.19 (4.17 doesn't exist)
* tslib needs url update and svn.bb as well

files attached.


oh and linux-hotplug fails at this:

age/etc/hotplug.d/default/default.hotplug
| for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \
|           install $F 
/projects/Embedded/oe/build/tmp/work/armv5te-linux-gnueabi/linux-hotplug-20040920-r8/image/etc/hotplug 
; \
|           done
| install: cannot stat `etc/hotplug/{*.{agent,rc},hotplug.functions}': 
No such file or directory


This line seems to be the offending one:
  install -d 
/projects/Embedded/oe/build/tmp/work/armv5te-linux-gnueabi/linux-hotplug-20040920-r8/image/etc/hotplug/{usb,pci}

(on my machine, it creates one directory that is named: /{usb,pci}

Ideas how to fix?

-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, MES, Trolltech
DESCRIPTION = "File attempts to classify files depending \
on their contents and prints a description if a match is found."
SECTION = "console/utils"
LICENSE = "BSD-ADV"
DEPENDS = "file-native"

SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz"
S = "${WORKDIR}/file-${PV}"

inherit autotools 

do_configure_prepend() {
	sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am
}

do_stage() {
	autotools_stage_all
}
include file_${PV}.bb
inherit native

# avoid dependency loop
DEPENDS = ""
PR = "r1"

SRC_URI += "file://native-fix.diff;patch=1"
SECTION = "base"
DESCRIPTION = "tslib is a touchscreen access library."
#PV = ""
PR = "r1"

SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}"
PACKAGE_ARCH_mnci = "${MACHINE_ARCH}"
SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
	   file://ts.conf file://ts-2.6.conf \
	   file://ts.conf-h3600-2.4 file://ts.conf-simpad-2.4 \
           file://ts.conf-corgi-2.4 file://ts.conf-collie-2.4 \
	   file://tslib.sh"
SRC_URI_append_mnci += " file://devfs.patch;patch=1"
SRC_URI_append_mnci += " file://event1.patch;patch=1"
S = "${WORKDIR}/tslib-${PV}"
LICENSE = "LGPL"
CONFFILES_${PN} = "${sysconfdir}/ts.conf"

inherit autotools pkgconfig

PACKAGES = "tslib-conf libts libts-dev tslib-tests tslib-calibrate"
EXTRA_OECONF        = "--enable-shared"
EXTRA_OECONF_mnci   = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 "
EXTRA_OECONF_beagle = "--enable-shared --enable-h3600 --disable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 "

do_stage () {
autotools_stage_all
}

do_install_prepend () {
	install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
}

do_install_append() {
	install -d ${D}${sysconfdir}/profile.d/
	install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
	case ${MACHINE} in
	h3600 | h3900 | h1940 | h6300 | h2200 | ipaq-pxa270 | blueangel)
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-h3600-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;
	c7x0 | spitz | akita | tosa )
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-corgi-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;
	collie | poodle )
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-collie-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;

	simpad )
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-simpad-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;
	*)
		;;
	esac
}

RDEPENDS_libts = "tslib-conf"

FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib"
FILES_libts = "${libdir}/*.so.* ${libdir}/ts/*.so*"
FILES_libts-dev = "${FILES_tslib-dev}"
FILES_tslib-calibrate += "${bindir}/ts_calibrate"
FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"
SECTION = "base"
DESCRIPTION = "tslib is a touchscreen access library."
PV = "0.0+cvs${SRCDATE}"
PR = "r33"

SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}"
PACKAGE_ARCH_mnci = "${MACHINE_ARCH}"
SRC_URI = "svn://svn.berlios.de/tslib/trunk/tslib;module=tslib;proto=http \
	   file://ts.conf file://ts-2.6.conf \
	   file://ts.conf-h3600-2.4 file://ts.conf-simpad-2.4 \
           file://ts.conf-corgi-2.4 file://ts.conf-collie-2.4 \
	   file://tslib.sh"
SRC_URI_append_mnci += " file://devfs.patch;patch=1"
SRC_URI_append_mnci += " file://event1.patch;patch=1"
S = "${WORKDIR}/tslib"
LICENSE = "LGPL"
CONFFILES_${PN} = "${sysconfdir}/ts.conf"

inherit autotools pkgconfig

PACKAGES = "tslib-conf libts libts-dev tslib-tests tslib-calibrate"
EXTRA_OECONF        = "--enable-shared"
EXTRA_OECONF_mnci   = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 "
EXTRA_OECONF_beagle = "--enable-shared --enable-h3600 --disable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 "

do_stage () {
autotools_stage_all
}

do_install_prepend () {
	install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
}

do_install_append() {
	install -d ${D}${sysconfdir}/profile.d/
	install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
	case ${MACHINE} in
	h3600 | h3900 | h1940 | h6300 | h2200 | ipaq-pxa270 | blueangel)
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-h3600-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;
	c7x0 | spitz | akita | tosa )
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-corgi-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;
	collie | poodle )
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-collie-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;

	simpad )
		install -d ${D}${datadir}/tslib
		for f in ts-2.6.conf ts.conf-simpad-2.4; do
			install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
		done
		rm -f ${D}${sysconfdir}/ts.conf
		;;
	*)
		;;
	esac
}

RDEPENDS_libts = "tslib-conf"

FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib"
FILES_libts = "${libdir}/*.so.* ${libdir}/ts/*.so*"
FILES_libts-dev = "${FILES_tslib-dev}"
FILES_tslib-calibrate += "${bindir}/ts_calibrate"
FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org.openembedded.dev fixes
  2007-03-27 20:14 org.openembedded.dev fixes Lorn Potter
@ 2007-03-27 20:31 ` Marcin Juszkiewicz
  2007-03-28  0:06   ` Lorn Potter
  2007-03-28  6:14 ` Holger Freyther
  1 sibling, 1 reply; 5+ messages in thread
From: Marcin Juszkiewicz @ 2007-03-27 20:31 UTC (permalink / raw)
  To: openembedded-devel

Dnia wtorek, 27 marca 2007, Lorn Potter napisał:
> * file needs a version update to 4.19 (4.17 doesn't exist)

We updated to 4.20 some time ago.

> * tslib needs url update and svn.bb as well

For tslib we use 1.0 release tarball. SVN version is nice addon but please 
split common stuff into tslib.inc and make both recipe use it.

Linux-hotplug probably need "install -d" first.

For future: please update first to check does work was done and send 
updates as 'diff -up' patches (or "mtn diff").

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

         Someday I'm gonna die but it won't be from boredom [Pink]





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org.openembedded.dev fixes
  2007-03-27 20:31 ` Marcin Juszkiewicz
@ 2007-03-28  0:06   ` Lorn Potter
  2007-03-28  9:48     ` Michael 'Mickey' Lauer
  0 siblings, 1 reply; 5+ messages in thread
From: Lorn Potter @ 2007-03-28  0:06 UTC (permalink / raw)
  To: openembedded-devel

> For future: please update first to check does work was done and send 
> updates as 'diff -up' patches (or "mtn diff").

ummm,.. I did update. Don't always assume something you do not know.

Not sure why it isn't updating locally.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org.openembedded.dev fixes
  2007-03-27 20:14 org.openembedded.dev fixes Lorn Potter
  2007-03-27 20:31 ` Marcin Juszkiewicz
@ 2007-03-28  6:14 ` Holger Freyther
  1 sibling, 0 replies; 5+ messages in thread
From: Holger Freyther @ 2007-03-28  6:14 UTC (permalink / raw)
  To: openembedded-devel


Am 27.03.2007 um 22:14 schrieb Lorn Potter:

> * file needs a version update to 4.19 (4.17 doesn't exist)
> * tslib needs url update and svn.bb as well

Hi Lorn,

welcome :)

z.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org.openembedded.dev fixes
  2007-03-28  0:06   ` Lorn Potter
@ 2007-03-28  9:48     ` Michael 'Mickey' Lauer
  0 siblings, 0 replies; 5+ messages in thread
From: Michael 'Mickey' Lauer @ 2007-03-28  9:48 UTC (permalink / raw)
  To: Lorn Potter; +Cc: openembedded-devel

Lorn Potter wrote:
>> For future: please update first to check does work was done and send 
>> updates as 'diff -up' patches (or "mtn diff").

> ummm,.. I did update. Don't always assume something you do not know.

> Not sure why it isn't updating locally.

Well, Marcin has a point here, newcomers to Monotone often forget that
Monotone needs two steps to update, which are:

mtn pull && mtn update

as opposed to just one command for svn and cvs.

Regards,

:M:
-- 
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-28  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-27 20:14 org.openembedded.dev fixes Lorn Potter
2007-03-27 20:31 ` Marcin Juszkiewicz
2007-03-28  0:06   ` Lorn Potter
2007-03-28  9:48     ` Michael 'Mickey' Lauer
2007-03-28  6:14 ` Holger Freyther

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.