Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Add ctags and cscope
@ 2015-05-06 21:38 Igor Santos
  2015-05-06 21:38 ` [PATCH 1/2] ctags: add Igor Santos
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Igor Santos @ 2015-05-06 21:38 UTC (permalink / raw)
  To: openembedded-core

Hi, these series add ctags and cscope to the devtools.
It's interesting to add these tools to the stable branches.

Igor Santos (2):
  ctags: add exuberant ctags
  cscope: add cscope

 meta/recipes-devtools/cscope/cscope_15.8b.bb | 24 ++++++++++++++++++++++++
 meta/recipes-devtools/ctags/ctags_5.8.bb     | 27 +++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 meta/recipes-devtools/cscope/cscope_15.8b.bb
 create mode 100644 meta/recipes-devtools/ctags/ctags_5.8.bb

-- 
2.1.0




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

* [PATCH 1/2] ctags: add
  2015-05-06 21:38 [PATCH 0/2] Add ctags and cscope Igor Santos
@ 2015-05-06 21:38 ` Igor Santos
  2015-05-07  6:28   ` Khem Raj
  2015-05-06 21:38 ` [PATCH 2/2] cscope: add Igor Santos
  2015-05-07 15:12 ` [PATCH 0/2] Add ctags and cscope Burton, Ross
  2 siblings, 1 reply; 9+ messages in thread
From: Igor Santos @ 2015-05-06 21:38 UTC (permalink / raw)
  To: openembedded-core

Ctags generates an index (or tag) file of language objects found in
source files that allows these items to be quickly and easily located by
a text editor or other utility. A tag signifies a language object for
which an index entry is available (or, alternatively, the index entry
created for that object).

Signed-off-by: Igor Santos <igor.santos@aker.com.br>
---
 meta/recipes-devtools/ctags/ctags_5.8.bb | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta/recipes-devtools/ctags/ctags_5.8.bb

diff --git a/meta/recipes-devtools/ctags/ctags_5.8.bb b/meta/recipes-devtools/ctags/ctags_5.8.bb
new file mode 100644
index 0000000..fa73cbb
--- /dev/null
+++ b/meta/recipes-devtools/ctags/ctags_5.8.bb
@@ -0,0 +1,27 @@
+# Copyright (C) 2015 Igor Santos <igor.santos@aker.com.br>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Exuberant Ctags"
+DESCRIPTION = "Exuberant Ctags is a multilanguage reimplementation of the \
+               Unix ctags utility. Ctags generates an index of source code \
+               definitions which is used by numerous editors and utilities \
+               to instantly locate the definitions."
+
+HOMEPAGE = "http://ctags.sourceforge.net/"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+inherit autotools-brokensep
+
+SRC_URI = "http://prdownloads.sourceforge.net/${PN}/${PN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "c00f82ecdcc357434731913e5b48630d"
+SRC_URI[sha256sum] = "0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 755 ${B}/ctags ${D}${bindir}/
+    install -d ${D}${mandir}/man1/
+    install -m 644 ${B}/ctags.1 ${D}${mandir}/man1/
+}
-- 
2.1.0




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

* [PATCH 2/2] cscope: add
  2015-05-06 21:38 [PATCH 0/2] Add ctags and cscope Igor Santos
  2015-05-06 21:38 ` [PATCH 1/2] ctags: add Igor Santos
@ 2015-05-06 21:38 ` Igor Santos
  2015-05-07 21:20   ` Otavio Salvador
  2015-05-07 15:12 ` [PATCH 0/2] Add ctags and cscope Burton, Ross
  2 siblings, 1 reply; 9+ messages in thread
From: Igor Santos @ 2015-05-06 21:38 UTC (permalink / raw)
  To: openembedded-core

Cscope is an interactive, screen-oriented tool that allows the user to
browse through C source files for specified elements of code.

Signed-off-by: Igor Santos <igor.santos@aker.com.br>
---
 meta/recipes-devtools/cscope/cscope_15.8b.bb | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta/recipes-devtools/cscope/cscope_15.8b.bb

diff --git a/meta/recipes-devtools/cscope/cscope_15.8b.bb b/meta/recipes-devtools/cscope/cscope_15.8b.bb
new file mode 100644
index 0000000..ecf7e6c
--- /dev/null
+++ b/meta/recipes-devtools/cscope/cscope_15.8b.bb
@@ -0,0 +1,24 @@
+# Copyright (C) 2015 Igor Santos <igor.santos@aker.com.br>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Cscope is a text screen based source browser"
+DESCRIPTION = "Cscope is a developer's tool for browsing source code. \
+               It has an impeccable Unix pedigree, having been originally \
+               developed at Bell Labs back in the days of the PDP-11. \
+               Cscope was part of the official AT&T Unix distribution for \
+               many years, and has been used to manage projects involving 20 \
+               million lines of code!"
+
+HOMEPAGE = "http://cscope.sourceforge.net/"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d4667b67b483823043fcffa489ea343b"
+
+inherit autotools
+
+DEPENDS += "ncurses"
+
+SRC_URI = "http://downloads.sourceforge.net/project/cscope/cscope/${PV}/${PN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "8f9409a238ee313a96f9f87fe0f3b176"
+SRC_URI[sha256sum] = "4889d091f05aa0845384b1e4965aa31d2b20911fb2c001b2cdcffbcb7212d3af"
-- 
2.1.0




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

* Re: [PATCH 1/2] ctags: add
  2015-05-06 21:38 ` [PATCH 1/2] ctags: add Igor Santos
@ 2015-05-07  6:28   ` Khem Raj
  2015-05-07 16:48     ` Igor de Souza Santos
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2015-05-07  6:28 UTC (permalink / raw)
  To: Igor Santos; +Cc: openembedded-core

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


> On May 6, 2015, at 2:38 PM, Igor Santos <igor.santos@aker.com.br> wrote:
> 
> +do_install() {
> +    install -d ${D}${bindir}
> +    install -m 755 ${B}/ctags ${D}${bindir}/
> +    install -d ${D}${mandir}/man1/
> +    install -m 644 ${B}/ctags.1 ${D}${mandir}/man1/
> +}

you could just bundle whole function into two lines

install -Dm 0755 ${B}/ctags ${D}${bindir}/ctags
install -Dm 0644 ${B}/ctags.1 ${D}${mandir}/man1/ctags.1

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [PATCH 0/2] Add ctags and cscope
  2015-05-06 21:38 [PATCH 0/2] Add ctags and cscope Igor Santos
  2015-05-06 21:38 ` [PATCH 1/2] ctags: add Igor Santos
  2015-05-06 21:38 ` [PATCH 2/2] cscope: add Igor Santos
@ 2015-05-07 15:12 ` Burton, Ross
  2015-05-07 16:30   ` Otavio Salvador
  2 siblings, 1 reply; 9+ messages in thread
From: Burton, Ross @ 2015-05-07 15:12 UTC (permalink / raw)
  To: Igor Santos; +Cc: OE-core

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

On 6 May 2015 at 22:38, Igor Santos <igor.santos@aker.com.br> wrote:

> Hi, these series add ctags and cscope to the devtools.
> It's interesting to add these tools to the stable branches.
>

Why should these be in oe-core instead of another layer such as meta-oe?

Ross

[-- Attachment #2: Type: text/html, Size: 696 bytes --]

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

* Re: [PATCH 0/2] Add ctags and cscope
  2015-05-07 15:12 ` [PATCH 0/2] Add ctags and cscope Burton, Ross
@ 2015-05-07 16:30   ` Otavio Salvador
  2015-05-07 16:40     ` Igor de Souza Santos
  0 siblings, 1 reply; 9+ messages in thread
From: Otavio Salvador @ 2015-05-07 16:30 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Thu, May 7, 2015 at 12:12 PM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 6 May 2015 at 22:38, Igor Santos <igor.santos@aker.com.br> wrote:
>>
>> Hi, these series add ctags and cscope to the devtools.
>> It's interesting to add these tools to the stable branches.
>
>
> Why should these be in oe-core instead of another layer such as meta-oe?

meta-oe seems to be the right place for it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: [PATCH 0/2] Add ctags and cscope
  2015-05-07 16:30   ` Otavio Salvador
@ 2015-05-07 16:40     ` Igor de Souza Santos
  0 siblings, 0 replies; 9+ messages in thread
From: Igor de Souza Santos @ 2015-05-07 16:40 UTC (permalink / raw)
  To: Otavio Salvador, Burton, Ross; +Cc: OE-core

On 07-05-2015 13:30, Otavio Salvador wrote:
> On Thu, May 7, 2015 at 12:12 PM, Burton, Ross <ross.burton@intel.com> wrote:
>> On 6 May 2015 at 22:38, Igor Santos <igor.santos@aker.com.br> wrote:
>>> Hi, these series add ctags and cscope to the devtools.
>>> It's interesting to add these tools to the stable branches.
>>
>> Why should these be in oe-core instead of another layer such as meta-oe?
> meta-oe seems to be the right place for it.
>
Ok, I will send the patches to the meta-oe, thank you.



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

* Re: [PATCH 1/2] ctags: add
  2015-05-07  6:28   ` Khem Raj
@ 2015-05-07 16:48     ` Igor de Souza Santos
  0 siblings, 0 replies; 9+ messages in thread
From: Igor de Souza Santos @ 2015-05-07 16:48 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core@lists.openembedded.org

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

On 07-05-2015 03:28, Khem Raj wrote:
>> On May 6, 2015, at 2:38 PM, Igor Santos<igor.santos@aker.com.br>  wrote:
>>
>> +do_install() {
>> +    install -d ${D}${bindir}
>> +    install -m 755 ${B}/ctags ${D}${bindir}/
>> +    install -d ${D}${mandir}/man1/
>> +    install -m 644 ${B}/ctags.1 ${D}${mandir}/man1/
>> +}
> you could just bundle whole function into two lines
>
> install -Dm 0755 ${B}/ctags ${D}${bindir}/ctags
> install -Dm 0644 ${B}/ctags.1 ${D}${mandir}/man1/ctags.1
>
>
>
>
> Para maiores informações, entre em contato com seu administrador de rede
> Pontuação de spam: 0.0%
> Para classificar esta mensagem como spam clique no link a seguir:http://asmg.aker.com.br/webgui/train.php?id=&type=spam
> Para classificar esta mensagem como não spam clique no link a seguir:http://asmg.aker.com.br/webgui/train.php?id=&type=ham
> Gerado por Aker Secure Mail Gateway -http://www.aker.com.br
Thank you for the tip!
-- 

[-- Attachment #2.1: Type: text/html, Size: 1808 bytes --]

[-- Attachment #2.2: Type: image/jpeg, Size: 19700 bytes --]

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

* Re: [PATCH 2/2] cscope: add
  2015-05-06 21:38 ` [PATCH 2/2] cscope: add Igor Santos
@ 2015-05-07 21:20   ` Otavio Salvador
  0 siblings, 0 replies; 9+ messages in thread
From: Otavio Salvador @ 2015-05-07 21:20 UTC (permalink / raw)
  To: Igor Santos; +Cc: Patches and discussions about the oe-core layer

On Wed, May 6, 2015 at 6:38 PM, Igor Santos <igor.santos@aker.com.br> wrote:
> Cscope is an interactive, screen-oriented tool that allows the user to
> browse through C source files for specified elements of code.
>
> Signed-off-by: Igor Santos <igor.santos@aker.com.br>

meta-oe please.

Igor, generally speaking, you shouldn't add new recipes to OE-Core
except if there is a very good reason to do so.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

end of thread, other threads:[~2015-05-07 21:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 21:38 [PATCH 0/2] Add ctags and cscope Igor Santos
2015-05-06 21:38 ` [PATCH 1/2] ctags: add Igor Santos
2015-05-07  6:28   ` Khem Raj
2015-05-07 16:48     ` Igor de Souza Santos
2015-05-06 21:38 ` [PATCH 2/2] cscope: add Igor Santos
2015-05-07 21:20   ` Otavio Salvador
2015-05-07 15:12 ` [PATCH 0/2] Add ctags and cscope Burton, Ross
2015-05-07 16:30   ` Otavio Salvador
2015-05-07 16:40     ` Igor de Souza Santos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox