Skip to contentSkip to conversation

Naming of different recipes for the same package

DISCUSSION Torsten Sadowski 2 participants 2 messages Mar 17, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I want to turn my Simpad into a satnav. So I did define a custom image including navit. Unluckily, the image is too large. The reason is that speech- dispatcher uses espeak AND flite with flite being a fat 7MB package.

I tried to make my own speech-dispatcher package but how can I name it to coexist with the default? "speech-dispatcher-noflite_0.6.6.bb" breaks the normal ${PN}-${PV} convention and fails during patching:

No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 52
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -aurp speech-dispatcher-0.6.5/src.old/tests/Makefile.am speech- dispatcher-0.6.5/src/tests/Makefile.am
|--- speech-dispatcher-0.6.5/src.old/tests/Makefile.am 2008-01-02
17:06:47.000000000 -0600
|+++ speech-dispatcher-0.6.5/src/tests/Makefile.am 2008-01-02
17:13:55.000000000 -0600
--------------------------

Any hints?

Cheers, Torsten

#1 lore raw
Quoted 4 lines · Torsten Sadowski

I tried to make my own speech-dispatcher package but how can I name it to coexist with the default? "speech-dispatcher-noflite_0.6.6.bb" breaks the normal ${PN}-${PV} convention and fails during patching:
Any hints?

you can set the S variable in the recipe like this

S = "${WORKDIR}/name-of-package-dir"

instead of the default value of S = "${WORKDIR}/${PN}-${PV}"

and it will look there for the unpackaged source

Signature · 4 lines
Elena ``of Valhalla''

homepage: http://www.trueelena.org
email: [email protected]