Skip to contentSkip to conversation

Add packagegroup-core-buildessential

PATCH Applied Colin Walters 3 participants 3 messages Sep 25, 2012 – Oct 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add packagegroup-core-buildessential

[Not heavily tested, but sent for discussion]

task-core-sdk is too big - for example, I simply don't want to ship tcl, ever =) Historically distcc caused a large dependency graph explosion because it has a utility which uses gtk+, although that was fixed.

packagegroup-core-sdk also includes coreutils, which is a bit confusing; conceptually things dependent on coreutils should pull it in explicitly, or possibly we just declare coreutils to be in the minimal build set.

So packagegroup-core-buildessential is intended to be similar to Debian's "build-essential" package. It's the stuff needed by say 80+% of components, not worth repeating over and over.

---
 .../packagegroup-core-buildessential.bb            | 30 ++++++++++++++++++++++
 .../packagegroups/packagegroup-core-sdk.bb         | 17 +-----------
 2 files changed, 31 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb

From 80a199a2fd34cca08324f228fc1272086a476e61 Mon Sep 17 00:00:00 2001
From: Colin Walters <[email protected]>
Date: Mon, 24 Sep 2012 19:46:01 -0400
Subject: [PATCH] Add packagegroup-core-buildessential

task-core-sdk is too big - for example, I simply don't want to ship tcl, ever =) Historically distcc caused a large dependency graph explosion because it has a utility which uses gtk+, although that was fixed.

packagegroup-core-sdk also includes coreutils, which is a bit confusing; conceptually things dependent on coreutils should pull it in explicitly, or possibly we just declare coreutils to be in the minimal build set.

So packagegroup-core-buildessential is intended to be similar to Debian's "build-essential" package. It's the stuff needed by say 80+% of components, not worth repeating over and over.

---
 .../packagegroup-core-buildessential.bb            | 30 ++++++++++++++++++++++
 .../packagegroups/packagegroup-core-sdk.bb         | 17 +-----------
 2 files changed, 31 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb
meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb new file +30 -0
new file mode 100644
index 0000000..164da36
@@ -0,0 +1,30 @@
+#
+# Copyright (C) 2007 OpenedHand Ltd.
+# Copyright (C) 2012 Red Hat, Inc.
+#
+
+SUMMARY = "Essential build dependencies"
+LICENSE = "MIT"
+PR = "r0"
+
+inherit packagegroup
+
+RDEPENDS_packagegroup-core-buildessential = "\
+    autoconf \
+    automake \
+    binutils \
+    binutils-symlinks \
+    cpp \
+    cpp-symlinks \
+    gcc \
+    gcc-symlinks \
+    g++ \
+    g++-symlinks \
+    gettext \
+    make \
+    libstdc++ \
+    libstdc++-dev \
+    libtool \
+    pkgconfig \
+    "
+
meta/recipes-core/packagegroups/packagegroup-core-sdk.bb +1 -16
index b00bf07..985bebd 100644
@@ -16,28 +16,13 @@ RREPLACES_packagegroup-core-sdk = "task-core-sdk"
 RCONFLICTS_packagegroup-core-sdk = "task-core-sdk"
 
 RDEPENDS_packagegroup-core-sdk = "\
-    autoconf \
-    automake \
-    binutils \
-    binutils-symlinks \
+    packagegroup-core-buildessential \
     coreutils \
-    cpp \
-    cpp-symlinks \
     ccache \
     diffutils \
-    gcc \
-    gcc-symlinks \
-    g++ \
-    g++-symlinks \
-    gettext \
-    make \
     intltool \
-    libstdc++ \
-    libstdc++-dev \
-    libtool \
     perl-module-re \
     perl-module-text-wrap \
-    pkgconfig \
     findutils \
     quilt \
     less \
Signature · 1 line
1.7.11.4
#1 lore raw
Quoted 3 lines · Colin Walters

So packagegroup-core-buildessential is intended to be similar to Debian's "build-essential" package. It's the stuff needed by say 80+% of components, not worth repeating over and over.

Makes sense to me.

Ross

Applied
#2 lore raw
In reply to Colin Walters
Quoted 15 lines · Colin Walters

[Not heavily tested, but sent for discussion]

task-core-sdk is too big - for example, I simply don't want to ship tcl, ever =) Historically distcc caused a large dependency graph explosion because it has a utility which uses gtk+, although that was fixed.

packagegroup-core-sdk also includes coreutils, which is a bit confusing; conceptually things dependent on coreutils should pull it in explicitly, or possibly we just declare coreutils to be in the minimal build set.

So packagegroup-core-buildessential is intended to be similar to Debian's "build-essential" package. It's the stuff needed by say 80+% of components, not worth repeating over and over.

Quoted 8 lines
---
  .../packagegroup-core-buildessential.bb            | 30 ++++++++++++++++++++++
  .../packagegroups/packagegroup-core-sdk.bb         | 17 +-----------
  2 files changed, 31 insertions(+), 16 deletions(-)

create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb

Merged into OE-Core

Thanks
Sau!

Quoted 7 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core