Openembedded Core Discussions
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Tidy up tools-debug package group
@ 2013-03-19 11:41 Paul Eggleton
  2013-03-19 11:41 ` [RFC PATCH 1/2] packagegroup-core-tools-debug: remove rsync Paul Eggleton
  2013-03-19 11:41 ` [RFC PATCH 2/2] packagegroup-core-tools-debug: split out Eclipse packages Paul Eggleton
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Eggleton @ 2013-03-19 11:41 UTC (permalink / raw)
  To: openembedded-core

Remove rsync from packagegroup-core-tools-debug (since it was added for
Anjuta and will now be brought in by anjuta-remote-run), and move the
packages required for Eclipse support to their own packagegroup.

If there's a compelling reason for rsync to be left in or I've missed
something please let me know.


Please review the following changes for suitability for inclusion. If you have
any objections or suggestions for improvement, please respond to the patches. If
you agree with the changes, please provide your Acked-by.

The following changes since commit 7032d559c04bae09e6b7c39ddeb1bf35acc0584c:

  syslinux.bbclass: Add a default serial console option and real boot menu support (2013-03-18 21:42:19 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/eclipse-debug
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/eclipse-debug

Paul Eggleton (2):
  packagegroup-core-tools-debug: remove rsync
  packagegroup-core-tools-debug: split out Eclipse packages

 meta/classes/core-image.bbclass                              |    2 ++
 meta/conf/local.conf.sample                                  |    1 +
 .../packagegroups/packagegroup-core-eclipse-debug.bb         |   10 ++++++++++
 .../packagegroups/packagegroup-core-tools-debug.bb           |    3 ---
 meta/recipes-extended/images/core-image-lsb-sdk.bb           |    2 +-
 meta/recipes-rt/images/core-image-rt-sdk.bb                  |    2 +-
 meta/recipes-sato/images/core-image-sato-sdk.bb              |    2 +-
 7 files changed, 16 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb

-- 
1.7.10.4




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

* [RFC PATCH 1/2] packagegroup-core-tools-debug: remove rsync
  2013-03-19 11:41 [RFC PATCH 0/2] Tidy up tools-debug package group Paul Eggleton
@ 2013-03-19 11:41 ` Paul Eggleton
  2013-03-19 11:41 ` [RFC PATCH 2/2] packagegroup-core-tools-debug: split out Eclipse packages Paul Eggleton
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2013-03-19 11:41 UTC (permalink / raw)
  To: openembedded-core

This was added for supporting Anjuta, which is no longer actively
supported; in any case the anjuta-remote-run package RDEPENDS on rsync
so it will be brought in by that if that is added.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb |    1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
index d49f224..a6280fb 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
@@ -24,7 +24,6 @@ RDEPENDS_${PN} = "\
     gdbserver \
     tcf-agent \
     openssh-sftp-server \
-    rsync \
     strace \
     ${MTRACE} \
     "
-- 
1.7.10.4




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

* [RFC PATCH 2/2] packagegroup-core-tools-debug: split out Eclipse packages
  2013-03-19 11:41 [RFC PATCH 0/2] Tidy up tools-debug package group Paul Eggleton
  2013-03-19 11:41 ` [RFC PATCH 1/2] packagegroup-core-tools-debug: remove rsync Paul Eggleton
@ 2013-03-19 11:41 ` Paul Eggleton
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2013-03-19 11:41 UTC (permalink / raw)
  To: openembedded-core

Split out the packages added for Eclipse remote debugging to a separate
package group so that we can avoid pulling them in if not using Eclipse.

Fixes [YOCTO #3251].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/classes/core-image.bbclass                              |    2 ++
 meta/conf/local.conf.sample                                  |    1 +
 .../packagegroups/packagegroup-core-eclipse-debug.bb         |   10 ++++++++++
 .../packagegroups/packagegroup-core-tools-debug.bb           |    2 --
 meta/recipes-extended/images/core-image-lsb-sdk.bb           |    2 +-
 meta/recipes-rt/images/core-image-rt-sdk.bb                  |    2 +-
 meta/recipes-sato/images/core-image-sato-sdk.bb              |    2 +-
 7 files changed, 16 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb

diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass
index 4c70d32..86df91d 100644
--- a/meta/classes/core-image.bbclass
+++ b/meta/classes/core-image.bbclass
@@ -16,6 +16,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
 # - x11-base            - X server with minimal environment
 # - x11-sato            - OpenedHand Sato environment
 # - tools-debug         - debugging tools
+# - eclipse-debug       - Eclipse remote debugging support
 # - tools-profile       - profiling tools
 # - tools-testapps      - tools usable to make some device tests
 # - tools-sdk           - SDK (C/C++ compiler, autotools, etc.)
@@ -35,6 +36,7 @@ PACKAGE_GROUP_x11 = "packagegroup-core-x11"
 PACKAGE_GROUP_x11-base = "packagegroup-core-x11-base"
 PACKAGE_GROUP_x11-sato = "packagegroup-core-x11-sato"
 PACKAGE_GROUP_tools-debug = "packagegroup-core-tools-debug"
+PACKAGE_GROUP_eclipse-debug = "packagegroup-core-eclipse-debug"
 PACKAGE_GROUP_tools-profile = "packagegroup-core-tools-profile"
 PACKAGE_GROUP_tools-testapps = "packagegroup-core-tools-testapps"
 PACKAGE_GROUP_tools-sdk = "packagegroup-core-sdk packagegroup-core-standalone-sdk-target"
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 18de2dd..e1f8c5b 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -119,6 +119,7 @@ PACKAGE_CLASSES ?= "package_ipk"
 #                     (useful if you want to develop against libs in the image)
 #  "tools-sdk"      - add development tools (gcc, make, pkgconfig etc.)
 #  "tools-debug"    - add debugging tools (gdb, strace)
+#  "eclipse-debug"  - add Eclipse remote debugging support
 #  "tools-profile"  - add profiling tools (oprofile, exmap, lttng, valgrind)
 #  "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
 #  "debug-tweaks"   - make an image suitable for development
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
new file mode 100644
index 0000000..e7b013d
--- /dev/null
+++ b/meta/recipes-core/packagegroups/packagegroup-core-eclipse-debug.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Remote debugging tools for Eclipse integration"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = "\
+    gdbserver \
+    tcf-agent \
+    openssh-sftp-server \
+    "
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
index a6280fb..f72aae4 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
@@ -22,8 +22,6 @@ MTRACE_libc-glibc = "libc-mtrace"
 RDEPENDS_${PN} = "\
     gdb \
     gdbserver \
-    tcf-agent \
-    openssh-sftp-server \
     strace \
     ${MTRACE} \
     "
diff --git a/meta/recipes-extended/images/core-image-lsb-sdk.bb b/meta/recipes-extended/images/core-image-lsb-sdk.bb
index da8c250..c77425f 100644
--- a/meta/recipes-extended/images/core-image-lsb-sdk.bb
+++ b/meta/recipes-extended/images/core-image-lsb-sdk.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "Basic image without X support suitable for Linux Standard Base \
 (LSB) implementations. It includes the full meta-toolchain, plus development \
 headers and libraries to form a standalone SDK."
 
-IMAGE_FEATURES += "tools-sdk dev-pkgs tools-debug tools-profile tools-testapps debug-tweaks"
+IMAGE_FEATURES += "tools-sdk dev-pkgs tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
 
 IMAGE_INSTALL += "kernel-dev"
 
diff --git a/meta/recipes-rt/images/core-image-rt-sdk.bb b/meta/recipes-rt/images/core-image-rt-sdk.bb
index 58f983f..db7d581 100644
--- a/meta/recipes-rt/images/core-image-rt-sdk.bb
+++ b/meta/recipes-rt/images/core-image-rt-sdk.bb
@@ -5,7 +5,7 @@ tools for real-time use. It includes the full meta-toolchain, development \
 headers and libraries to form a standalone SDK."
 DEPENDS = "linux-yocto-rt"
 
-IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug tools-profile tools-testapps debug-tweaks"
+IMAGE_FEATURES += "dev-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
 
 IMAGE_INSTALL += "rt-tests hwlatdetect kernel-dev"
 
diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb
index 1caca40..882c2bf 100644
--- a/meta/recipes-sato/images/core-image-sato-sdk.bb
+++ b/meta/recipes-sato/images/core-image-sato-sdk.bb
@@ -5,7 +5,7 @@ core-image-sato plus meta-toolchain, development headers and libraries to \
 form a standalone SDK."
 
 IMAGE_FEATURES += "dev-pkgs tools-sdk qt4-pkgs \
-	tools-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
+	tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
 
 IMAGE_INSTALL += "kernel-dev"
 
-- 
1.7.10.4




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

end of thread, other threads:[~2013-03-19 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 11:41 [RFC PATCH 0/2] Tidy up tools-debug package group Paul Eggleton
2013-03-19 11:41 ` [RFC PATCH 1/2] packagegroup-core-tools-debug: remove rsync Paul Eggleton
2013-03-19 11:41 ` [RFC PATCH 2/2] packagegroup-core-tools-debug: split out Eclipse packages Paul Eggleton

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