summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/packagegroups
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:38:32 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:50:20 +0100
commite2e6f6fe07049f33cb6348780fa975162752e421 (patch)
treeb1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-extended/packagegroups
downloadpoky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-extended/packagegroups')
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-basic.bb137
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb263
2 files changed, 400 insertions, 0 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
new file mode 100644
index 0000000000..2e6f576c9f
--- /dev/null
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
@@ -0,0 +1,137 @@
1#
2# Copyright (C) 2010 Intel Corporation
3#
4
5DESCRIPTION = "Create Basic Image Tasks"
6PR = "r6"
7LICENSE = "MIT"
8
9inherit packagegroup
10
11PACKAGES = "\
12 packagegroup-core-basic \
13 packagegroup-core-basic-libs \
14 packagegroup-core-basic-utils \
15 packagegroup-core-basic-extended \
16 packagegroup-core-dev-utils \
17 packagegroup-core-multiuser \
18 packagegroup-core-initscripts \
19 packagegroup-core-sys-services \
20 "
21
22python __anonymous () {
23 # For backwards compatibility after rename
24 packages = d.getVar("PACKAGES", True).split()
25 for pkg in packages:
26 d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
27 d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
28 d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
29}
30
31
32RDEPENDS_packagegroup-core-basic = "\
33 packagegroup-core-basic-libs \
34 packagegroup-core-basic-utils \
35 packagegroup-core-basic-extended \
36 packagegroup-core-dev-utils \
37 packagegroup-core-multiuser \
38 packagegroup-core-initscripts \
39 packagegroup-core-sys-services \
40 "
41
42RDEPENDS_packagegroup-core-basic-libs = "\
43 glib-2.0 \
44 "
45
46RDEPENDS_packagegroup-core-basic-utils = "\
47 bash \
48 acl \
49 attr \
50 bc \
51 coreutils \
52 cpio \
53 e2fsprogs \
54 ed \
55 file \
56 findutils \
57 gawk \
58 gmp \
59 grep \
60 makedevs \
61 mc \
62 mc-fish \
63 mc-helpers \
64 mc-helpers-perl \
65 mc-helpers-python \
66 mktemp \
67 ncurses \
68 net-tools \
69 pax \
70 popt \
71 procps \
72 psmisc \
73 sed \
74 tar \
75 time \
76 util-linux \
77 zlib \
78 "
79
80RDEPENDS_packagegroup-core-basic-extended = "\
81 iproute2 \
82 iputils \
83 iptables \
84 module-init-tools \
85 openssl \
86 "
87
88RDEPENDS_packagegroup-core-dev-utils = "\
89 byacc \
90 diffutils \
91 m4 \
92 make \
93 patch \
94 "
95
96VIRTUAL-RUNTIME_initscripts ?= "initscripts"
97VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
98VIRTUAL-RUNTIME_login_manager ?= "busybox"
99RDEPENDS_packagegroup-core-initscripts = "\
100 ${VIRTUAL-RUNTIME_initscripts} \
101 ${VIRTUAL-RUNTIME_init_manager} \
102 ethtool \
103 ${VIRTUAL-RUNTIME_login_manager} \
104 sysklogd \
105 "
106
107RDEPENDS_packagegroup-core-multiuser = "\
108 cracklib \
109 gzip \
110 libuser \
111 shadow \
112 sudo \
113 "
114
115RDEPENDS_packagegroup-core-sys-services = "\
116 at \
117 bzip2 \
118 cronie \
119 dbus \
120 dbus-glib \
121 python-dbus \
122 elfutils \
123 gzip \
124 less \
125 libcap \
126 libevent \
127 lighttpd \
128 logrotate \
129 nfs-utils \
130 pciutils \
131 libpcre \
132 rpcbind \
133 sysfsutils \
134 tcp-wrappers \
135 tzdata \
136 "
137
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
new file mode 100644
index 0000000000..68070e4f02
--- /dev/null
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
@@ -0,0 +1,263 @@
1#
2# Copyright (C) 2010 Intel Corporation
3#
4
5SUMMARY = "Linux Standard Base (LSB)"
6DESCRIPTION = "Packages required to satisfy the Linux Standard Base (LSB) specification"
7PR = "r10"
8LICENSE = "MIT"
9
10COMPATIBLE_HOST_mips64 = "mips64.*-linux-gnun32"
11
12inherit packagegroup
13
14PACKAGES = "\
15 packagegroup-core-lsb \
16 packagegroup-core-sys-extended \
17 packagegroup-core-db \
18 packagegroup-core-perl \
19 packagegroup-core-python \
20 packagegroup-core-tcl \
21 packagegroup-core-lsb-misc \
22 packagegroup-core-lsb-core \
23 packagegroup-core-lsb-perl \
24 packagegroup-core-lsb-python \
25 packagegroup-core-lsb-desktop \
26 packagegroup-core-lsb-runtime-add \
27 "
28
29
30RPROVIDES_packagegroup-core-lsb = "task-core-lsb"
31RDEPENDS_packagegroup-core-lsb = "\
32 packagegroup-core-sys-extended \
33 packagegroup-core-db \
34 packagegroup-core-perl \
35 packagegroup-core-python \
36 packagegroup-core-tcl \
37 packagegroup-core-lsb-misc \
38 packagegroup-core-lsb-core \
39 packagegroup-core-lsb-perl \
40 packagegroup-core-lsb-python \
41 packagegroup-core-lsb-desktop \
42 packagegroup-core-lsb-runtime-add \
43 "
44
45
46RDEPENDS_packagegroup-core-sys-extended = "\
47 curl \
48 dhcp-client \
49 gamin \
50 hdparm \
51 libaio \
52 lrzsz \
53 lzo \
54 mc \
55 mc-fish \
56 mc-helpers \
57 mc-helpers-perl \
58 mc-helpers-python \
59 mdadm \
60 minicom \
61 neon \
62 parted \
63 ${PTH} \
64 quota \
65 screen \
66 setserial \
67 sysstat \
68 udev-extraconf \
69 unzip \
70 watchdog \
71 wget \
72 which \
73 xinetd \
74 zip \
75 "
76
77RDEPENDS_packagegroup-core-db = "\
78 db \
79 sqlite3 \
80 "
81
82RDEPENDS_packagegroup-core-perl = "\
83 gdbm \
84 perl \
85 zlib \
86 "
87
88
89RDEPENDS_packagegroup-core-python = "\
90 expat \
91 gdbm \
92 gmp \
93 ncurses \
94 openssl \
95 python \
96 readline \
97 zip \
98 "
99
100RDEPENDS_packagegroup-core-tcl = "\
101 tcl \
102 "
103
104# Miscellaneous packages required by LSB (or LSB tests)
105RDEPENDS_packagegroup-core-lsb-misc = "\
106 chkconfig \
107 gettext \
108 gettext-runtime \
109 groff \
110 lsbinitscripts \
111 lsbtest \
112 lsof \
113 strace \
114 libusb1 \
115 usbutils \
116 rpm \
117 "
118
119SUMMARY_packagegroup-core-lsb-core = "LSB Core"
120DESCRIPTION_packagegroup-core-lsb-core = "Packages required to support commands/libraries \
121 specified in the LSB Core specification"
122RDEPENDS_packagegroup-core-lsb-core = "\
123 at \
124 bash \
125 bc \
126 binutils \
127 binutils-symlinks \
128 coreutils \
129 cpio \
130 cronie \
131 cups \
132 diffutils \
133 ed \
134 eglibc-utils \
135 elfutils \
136 file \
137 findutils \
138 fontconfig-utils \
139 foomatic-filters \
140 gawk \
141 ghostscript \
142 grep \
143 gzip \
144 localedef \
145 lsb \
146 m4 \
147 mailx \
148 make \
149 man \
150 man-pages \
151 mktemp \
152 msmtp \
153 patch \
154 pax \
155 procps \
156 psmisc \
157 sed \
158 shadow \
159 tar \
160 time \
161 util-linux \
162 xdg-utils \
163 \
164 eglibc \
165 libgcc \
166 libpam \
167 libxml2 \
168 ncurses \
169 zlib \
170 nspr \
171 libpng12 \
172 nss \
173"
174
175SUMMARY_packagegroup-core-lsb-perl = "LSB Runtime Languages (Perl)"
176DESCRIPTION_packagegroup-core-lsb-perl = "Packages required to support libraries \
177 specified in the LSB Runtime languages specification (Perl parts)"
178RDEPENDS_packagegroup-core-lsb-perl = "\
179 perl \
180 perl-modules \
181 perl-misc \
182 perl-pod \
183 perl-dev \
184 perl-doc \
185"
186
187SUMMARY_packagegroup-core-lsb-python = "LSB Runtime Languages (Python)"
188DESCRIPTION_packagegroup-core-lsb-python = "Packages required to support libraries \
189 specified in the LSB Runtime languages specification (Python parts)"
190RDEPENDS_packagegroup-core-lsb-python = "\
191 python \
192 python-modules \
193 python-misc \
194"
195
196def get_libqt3(d):
197 if 'linuxstdbase' in d.getVar('DISTROOVERRIDES') or "":
198 if 'qt3' in d.getVar('BBFILE_COLLECTIONS') or "":
199 return 'libqt-mt3'
200
201 bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x')
202 bb.warn('libraries. Its intended use is for passing LSB tests as Qt3 is')
203 bb.warn('a requirement for LSB')
204 return ''
205
206SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
207DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \
208 specified in the LSB Desktop specification"
209RDEPENDS_packagegroup-core-lsb-desktop = "\
210 libqtcore4 \
211 libqtgui4 \
212 libqtsql4 \
213 libqtsvg4 \
214 libqtxml4 \
215 libqtnetwork4 \
216 libxt \
217 libxxf86vm \
218 libdrm \
219 libglu \
220 libxi \
221 libxtst \
222 qt4-plugin-sqldriver-sqlite \
223 libx11-locale \
224 xorg-minimal-fonts \
225 gdk-pixbuf-loader-ico \
226 gdk-pixbuf-loader-bmp \
227 gdk-pixbuf-loader-ani \
228 gdk-pixbuf-xlib \
229 liberation-fonts \
230 gtk+ \
231 atk \
232 libasound \
233 ${@base_contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \
234 ${@get_libqt3(d)} \
235"
236
237RDEPENDS_packagegroup-core-lsb-runtime-add = "\
238 ldd \
239 pam-plugin-wheel \
240 e2fsprogs-mke2fs \
241 mkfontdir \
242 liburi-perl \
243 libxml-parser-perl \
244 libxml-perl \
245 libxml-sax-perl \
246 eglibc-localedatas \
247 eglibc-gconvs \
248 eglibc-charmaps \
249 eglibc-binaries \
250 eglibc-localedata-posix \
251 eglibc-extra-nss \
252 eglibc-pcprofile \
253 libclass-isa-perl \
254 libenv-perl \
255 libdumpvalue-perl \
256 libfile-checktree-perl \
257 libi18n-collate-perl \
258 libpod-plainer-perl \
259"
260
261PTH = "pth"
262PTH_libc-uclibc = ""
263