* Re: [yocto] newbb.vim vs skeleton recipe in yocto-docs dev manual....
[not found] ` <41DEA4B02DBDEF40A0F3B6D0DDB1237988E52758@ORSMSX101.amr.corp.intel.com>
@ 2014-11-19 3:01 ` Bob Cochran
0 siblings, 0 replies; only message in thread
From: Bob Cochran @ 2014-11-19 3:01 UTC (permalink / raw)
To: Rifenbark, Scott M, Yocto discussion list; +Cc: paul, bitbake-dev
On 11/10/2014 09:28 AM, Rifenbark, Scott M wrote:
> newbb.vim needs to be patched.
I have a patch ready to bring newbb.vim in line with Section 5.3.2 of
the Yocto Project Dev Manual. However, I'm wondering whether I can
drop the initial two lines of the generated file (I think I should):
# Copyright (C) 2014 <user_name> <user_email>
# Released under the MIT license (see COPYING.MIT for the terms)
This seems inconsistent with the recipes I see in the Yocto / OE layers
and the Yocto documentation.
The patch I created, which is provided below for reference, comments out
the generation of these first two lines:
--- a/bitbake/contrib/vim/plugin/newbb.vim
+++ b/bitbake/contrib/vim/plugin/newbb.vim
@@ -44,21 +44,31 @@ fun! NewBBTemplate()
let l:paste = &paste
set nopaste
- " Get the header
- call BBHeader()
+ " Uncomment the line below to enable header generation
+ "call BBHeader()
" New the bb template
+ 0 put ='SUMMARY = \"\"'
put ='DESCRIPTION = \"\"'
put ='HOMEPAGE = \"\"'
put ='LICENSE = \"\"'
- put ='SECTION = \"\"'
+ put ='LIC_FILES_CHKSUM = \"\"'
+ put =''
put ='DEPENDS = \"\"'
put =''
put ='SRC_URI = \"\"'
+ put ='SRC_URI[md5sum] = \"\"'
+ put ='SRC_URI[sha256sum] = \"\"'
+ put =''
+ put ='S = \"${WORKDIR}/${PN}-${PV}\"'
+ put =''
+ put ='#inherit <classes>'
+
+
" Go to the first place to edit
0
- /^DESCRIPTION =/
+ /^SUMMARY =/
exec "normal 2f\""
if paste == 1
thanks
Bob
>
> Scott
>
>> -----Original Message-----
>> From: yocto-bounces@yoctoproject.org [mailto:yocto-
>> bounces@yoctoproject.org] On Behalf Of Bob Cochran
>> Sent: Sunday, November 09, 2014 1:14 PM
>> To: Yocto discussion list
>> Subject: [yocto] newbb.vim vs skeleton recipe in yocto-docs dev manual....
>>
>> Hi,
>>
>> I just noticed that newbb.vim in bitbake/contrib is notably different from the
>> skeleton recipe proposed in the latest Dev Manual.
>>
>> I'll submit a patch if someone can give me some guidance on what should be
>> in newbb.vim (or maybe it's the manual that needs to be patched).
>>
>> Bob
>>
>>
>> From yocto-docs: Dev Manual (modify the following skeleton recipe):
>>
>> SUMMARY = ""
>> HOMEPAGE = ""
>> LICENSE = ""
>> LIC_FILES_CHKSUM = ""
>> SRC_URI = ""
>> SRC_URI[md5sum] = ""
>> SRC_URI[sha256sum] = ""
>> S = "${WORKDIR}/${PN}-${PV}"
>>
>>
>>
>> From newbb.vim:
>>
>> DESCRIPTION = ""
>> HOMEPAGE = ""
>> LICENSE = ""
>> SECTION = ""
>> DEPENDS = ""
>>
>> SRC_URI = ""
>>
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-19 3:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <545FD907.2070003@mindchasers.com>
[not found] ` <41DEA4B02DBDEF40A0F3B6D0DDB1237988E52758@ORSMSX101.amr.corp.intel.com>
2014-11-19 3:01 ` [yocto] newbb.vim vs skeleton recipe in yocto-docs dev manual Bob Cochran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox