2010-07-22 02:20:52 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2010 Intel Corporation
|
|
|
|
#
|
|
|
|
|
2012-08-31 14:43:49 +00:00
|
|
|
SUMMARY = "Linux Standard Base (LSB)"
|
|
|
|
DESCRIPTION = "Packages required to satisfy the Linux Standard Base (LSB) specification"
|
2012-11-22 03:25:46 +00:00
|
|
|
PR = "r10"
|
2010-07-22 02:20:52 +00:00
|
|
|
|
2015-05-11 02:30:03 +00:00
|
|
|
inherit packagegroup distro_features_check
|
|
|
|
|
|
|
|
# The libxt, libxtst and others require x11 in DISTRO_FEATURES
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11"
|
2012-07-26 17:16:14 +00:00
|
|
|
|
2017-01-04 22:57:55 +00:00
|
|
|
# libglu needs virtual/libgl, which requires opengl in DISTRO_FEATURES
|
|
|
|
REQUIRED_DISTRO_FEATURES += "opengl"
|
|
|
|
|
2015-04-24 03:35:19 +00:00
|
|
|
#
|
|
|
|
# We will skip parsing this packagegeoup for non-glibc systems
|
|
|
|
#
|
|
|
|
python __anonymous () {
|
2016-12-14 21:13:04 +00:00
|
|
|
if d.getVar('TCLIBC') != "glibc":
|
2015-04-24 03:35:19 +00:00
|
|
|
raise bb.parse.SkipPackage("incompatible with %s C library" %
|
2016-12-14 21:13:04 +00:00
|
|
|
d.getVar('TCLIBC'))
|
2015-04-24 03:35:19 +00:00
|
|
|
}
|
|
|
|
|
2010-07-22 02:20:52 +00:00
|
|
|
PACKAGES = "\
|
2012-08-29 10:38:34 +00:00
|
|
|
packagegroup-core-lsb \
|
|
|
|
packagegroup-core-sys-extended \
|
|
|
|
packagegroup-core-db \
|
|
|
|
packagegroup-core-perl \
|
|
|
|
packagegroup-core-python \
|
|
|
|
packagegroup-core-tcl \
|
2012-09-03 01:04:28 +00:00
|
|
|
packagegroup-core-lsb-misc \
|
|
|
|
packagegroup-core-lsb-core \
|
|
|
|
packagegroup-core-lsb-perl \
|
|
|
|
packagegroup-core-lsb-python \
|
|
|
|
packagegroup-core-lsb-desktop \
|
2012-08-29 10:38:34 +00:00
|
|
|
packagegroup-core-lsb-runtime-add \
|
2010-07-22 02:20:52 +00:00
|
|
|
"
|
|
|
|
|
2011-02-23 08:29:44 +00:00
|
|
|
|
2012-08-29 10:38:34 +00:00
|
|
|
RDEPENDS_packagegroup-core-lsb = "\
|
|
|
|
packagegroup-core-sys-extended \
|
|
|
|
packagegroup-core-db \
|
|
|
|
packagegroup-core-perl \
|
|
|
|
packagegroup-core-python \
|
|
|
|
packagegroup-core-tcl \
|
2012-09-03 01:04:28 +00:00
|
|
|
packagegroup-core-lsb-misc \
|
|
|
|
packagegroup-core-lsb-core \
|
|
|
|
packagegroup-core-lsb-perl \
|
|
|
|
packagegroup-core-lsb-python \
|
|
|
|
packagegroup-core-lsb-desktop \
|
2012-08-29 10:38:34 +00:00
|
|
|
packagegroup-core-lsb-runtime-add \
|
2010-07-22 02:20:52 +00:00
|
|
|
"
|
|
|
|
|
2012-09-03 01:04:28 +00:00
|
|
|
|
2012-08-29 10:38:34 +00:00
|
|
|
RDEPENDS_packagegroup-core-sys-extended = "\
|
2010-07-22 02:20:52 +00:00
|
|
|
curl \
|
2010-11-22 13:57:13 +00:00
|
|
|
dhcp-client \
|
2010-08-09 18:49:20 +00:00
|
|
|
hdparm \
|
2015-06-02 09:06:19 +00:00
|
|
|
lighttpd \
|
2010-08-31 21:56:45 +00:00
|
|
|
libaio \
|
2010-08-09 18:49:20 +00:00
|
|
|
lrzsz \
|
|
|
|
lzo \
|
2010-11-22 13:57:13 +00:00
|
|
|
mc \
|
2013-06-27 22:11:42 +00:00
|
|
|
mc-fish \
|
|
|
|
mc-helpers \
|
|
|
|
mc-helpers-perl \
|
|
|
|
mc-helpers-python \
|
2010-08-31 21:56:45 +00:00
|
|
|
mdadm \
|
2010-08-09 18:49:20 +00:00
|
|
|
minicom \
|
2010-07-22 02:20:52 +00:00
|
|
|
neon \
|
2010-08-09 18:49:20 +00:00
|
|
|
parted \
|
|
|
|
quota \
|
2010-08-31 21:56:45 +00:00
|
|
|
screen \
|
2010-08-09 18:49:20 +00:00
|
|
|
setserial \
|
2010-08-16 20:44:21 +00:00
|
|
|
sysstat \
|
2013-05-03 21:12:00 +00:00
|
|
|
udev-extraconf \
|
2010-08-09 18:49:20 +00:00
|
|
|
unzip \
|
2010-08-31 21:56:45 +00:00
|
|
|
watchdog \
|
2012-09-06 18:38:23 +00:00
|
|
|
wget \
|
2010-08-09 18:49:20 +00:00
|
|
|
which \
|
2010-11-22 13:57:13 +00:00
|
|
|
xinetd \
|
2010-08-09 18:49:20 +00:00
|
|
|
zip \
|
2010-07-22 02:20:52 +00:00
|
|
|
"
|
|
|
|
|
2012-08-29 10:38:34 +00:00
|
|
|
RDEPENDS_packagegroup-core-db = "\
|
2010-08-09 18:49:20 +00:00
|
|
|
db \
|
2010-07-22 02:20:52 +00:00
|
|
|
sqlite3 \
|
2010-08-09 18:49:20 +00:00
|
|
|
"
|
2010-07-22 02:20:52 +00:00
|
|
|
|
2012-08-29 10:38:34 +00:00
|
|
|
RDEPENDS_packagegroup-core-perl = "\
|
2010-07-22 02:20:52 +00:00
|
|
|
gdbm \
|
|
|
|
perl \
|
|
|
|
zlib \
|
|
|
|
"
|
|
|
|
|
2010-08-09 18:49:20 +00:00
|
|
|
|
2012-08-29 10:38:34 +00:00
|
|
|
RDEPENDS_packagegroup-core-python = "\
|
2010-07-22 02:20:52 +00:00
|
|
|
expat \
|
|
|
|
gdbm \
|
|
|
|
gmp \
|
|
|
|
ncurses \
|
|
|
|
openssl \
|
|
|
|
python \
|
|
|
|
readline \
|
2010-08-09 18:49:20 +00:00
|
|
|
zip \
|
|
|
|
"
|
|
|
|
|
2012-08-29 10:38:34 +00:00
|
|
|
RDEPENDS_packagegroup-core-tcl = "\
|
2010-08-09 18:49:20 +00:00
|
|
|
tcl \
|
|
|
|
"
|
|
|
|
|
2012-09-03 01:04:28 +00:00
|
|
|
# Miscellaneous packages required by LSB (or LSB tests)
|
|
|
|
RDEPENDS_packagegroup-core-lsb-misc = "\
|
|
|
|
chkconfig \
|
2010-08-09 18:49:20 +00:00
|
|
|
gettext \
|
2011-05-05 07:58:14 +00:00
|
|
|
gettext-runtime \
|
2010-11-22 13:57:13 +00:00
|
|
|
groff \
|
2012-09-03 01:04:28 +00:00
|
|
|
lsbinitscripts \
|
2012-02-24 06:53:56 +00:00
|
|
|
lsbtest \
|
2010-08-09 18:49:20 +00:00
|
|
|
lsof \
|
|
|
|
strace \
|
|
|
|
libusb1 \
|
|
|
|
usbutils \
|
2012-09-03 01:04:28 +00:00
|
|
|
rpm \
|
2010-07-22 02:20:52 +00:00
|
|
|
"
|
2011-02-23 08:29:44 +00:00
|
|
|
|
2012-09-03 01:04:28 +00:00
|
|
|
SUMMARY_packagegroup-core-lsb-core = "LSB Core"
|
|
|
|
DESCRIPTION_packagegroup-core-lsb-core = "Packages required to support commands/libraries \
|
|
|
|
specified in the LSB Core specification"
|
|
|
|
RDEPENDS_packagegroup-core-lsb-core = "\
|
|
|
|
at \
|
|
|
|
bash \
|
|
|
|
bc \
|
|
|
|
binutils \
|
|
|
|
binutils-symlinks \
|
|
|
|
coreutils \
|
|
|
|
cpio \
|
|
|
|
cronie \
|
|
|
|
cups \
|
|
|
|
diffutils \
|
|
|
|
ed \
|
2014-08-28 06:13:57 +00:00
|
|
|
glibc-utils \
|
2012-09-03 01:04:28 +00:00
|
|
|
elfutils \
|
|
|
|
file \
|
|
|
|
findutils \
|
2011-02-23 08:29:44 +00:00
|
|
|
fontconfig-utils \
|
2012-09-03 01:04:28 +00:00
|
|
|
foomatic-filters \
|
|
|
|
gawk \
|
|
|
|
ghostscript \
|
|
|
|
grep \
|
|
|
|
gzip \
|
|
|
|
localedef \
|
|
|
|
lsb \
|
|
|
|
m4 \
|
2011-02-23 08:29:44 +00:00
|
|
|
mailx \
|
2012-09-03 01:04:28 +00:00
|
|
|
make \
|
|
|
|
man \
|
|
|
|
man-pages \
|
|
|
|
mktemp \
|
2011-02-23 08:29:44 +00:00
|
|
|
msmtp \
|
2012-09-03 01:04:28 +00:00
|
|
|
patch \
|
|
|
|
pax \
|
|
|
|
procps \
|
|
|
|
psmisc \
|
|
|
|
sed \
|
|
|
|
shadow \
|
|
|
|
tar \
|
|
|
|
time \
|
|
|
|
util-linux \
|
2011-04-27 09:14:38 +00:00
|
|
|
xdg-utils \
|
2012-09-03 01:04:28 +00:00
|
|
|
\
|
2014-08-28 06:13:57 +00:00
|
|
|
glibc \
|
2012-09-03 01:04:28 +00:00
|
|
|
libgcc \
|
|
|
|
libpam \
|
|
|
|
libxml2 \
|
|
|
|
ncurses \
|
|
|
|
zlib \
|
2013-03-25 10:21:36 +00:00
|
|
|
nspr \
|
2013-04-09 03:16:38 +00:00
|
|
|
libpng12 \
|
2013-07-10 07:27:27 +00:00
|
|
|
nss \
|
2011-02-23 08:29:44 +00:00
|
|
|
"
|
|
|
|
|
2012-09-03 01:04:28 +00:00
|
|
|
SUMMARY_packagegroup-core-lsb-perl = "LSB Runtime Languages (Perl)"
|
|
|
|
DESCRIPTION_packagegroup-core-lsb-perl = "Packages required to support libraries \
|
|
|
|
specified in the LSB Runtime languages specification (Perl parts)"
|
|
|
|
RDEPENDS_packagegroup-core-lsb-perl = "\
|
|
|
|
perl \
|
2011-02-23 08:29:44 +00:00
|
|
|
perl-modules \
|
|
|
|
perl-misc \
|
|
|
|
perl-pod \
|
2012-09-06 18:38:23 +00:00
|
|
|
perl-dev \
|
|
|
|
perl-doc \
|
2011-02-23 08:29:44 +00:00
|
|
|
"
|
|
|
|
|
2012-09-03 01:04:28 +00:00
|
|
|
SUMMARY_packagegroup-core-lsb-python = "LSB Runtime Languages (Python)"
|
|
|
|
DESCRIPTION_packagegroup-core-lsb-python = "Packages required to support libraries \
|
|
|
|
specified in the LSB Runtime languages specification (Python parts)"
|
|
|
|
RDEPENDS_packagegroup-core-lsb-python = "\
|
|
|
|
python \
|
2011-02-23 08:29:44 +00:00
|
|
|
python-modules \
|
2011-03-04 02:00:40 +00:00
|
|
|
python-misc \
|
2011-02-23 08:29:44 +00:00
|
|
|
"
|
|
|
|
|
2014-03-29 22:49:39 +00:00
|
|
|
QT4PKGS = " \
|
2011-02-23 08:29:44 +00:00
|
|
|
libqtcore4 \
|
|
|
|
libqtgui4 \
|
|
|
|
libqtsql4 \
|
|
|
|
libqtsvg4 \
|
|
|
|
libqtxml4 \
|
|
|
|
libqtnetwork4 \
|
2014-03-29 22:49:39 +00:00
|
|
|
qt4-plugin-sqldriver-sqlite \
|
2014-04-24 18:59:20 +00:00
|
|
|
${@bb.utils.contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \
|
2014-03-29 22:49:39 +00:00
|
|
|
"
|
|
|
|
QT4PKGS_mips64 = ""
|
2015-01-22 04:45:28 +00:00
|
|
|
QT4PKGS_mips64n32 = ""
|
2014-03-29 22:49:39 +00:00
|
|
|
|
2015-11-27 14:01:45 +00:00
|
|
|
def get_libqt4(d):
|
|
|
|
if 'linuxstdbase' in d.getVar('DISTROOVERRIDES', False) or "":
|
|
|
|
if 'qt4' in d.getVar('BBFILE_COLLECTIONS', False) or "":
|
|
|
|
return d.getVar('QT4PKGS', False)
|
|
|
|
|
2016-04-28 13:27:45 +00:00
|
|
|
bb.warn('The meta-qt4 layer should be added, this layer provides Qt 4.x ' \
|
|
|
|
'libraries. Its intended use is for passing LSB tests as Qt4 is ' \
|
2015-11-27 14:01:45 +00:00
|
|
|
'a requirement for LSB.')
|
|
|
|
return ''
|
2017-03-16 09:09:43 +00:00
|
|
|
# We don't want this to rebuild every time you change your layer config
|
|
|
|
get_libqt4[vardepsexclude] += "BBFILE_COLLECTIONS"
|
2015-11-27 14:01:45 +00:00
|
|
|
|
2014-03-29 22:49:39 +00:00
|
|
|
SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop"
|
|
|
|
DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \
|
|
|
|
specified in the LSB Desktop specification"
|
|
|
|
RDEPENDS_packagegroup-core-lsb-desktop = "\
|
2011-02-23 08:29:44 +00:00
|
|
|
libxt \
|
|
|
|
libxxf86vm \
|
|
|
|
libdrm \
|
|
|
|
libglu \
|
|
|
|
libxi \
|
|
|
|
libxtst \
|
2011-03-04 09:38:13 +00:00
|
|
|
libx11-locale \
|
|
|
|
xorg-minimal-fonts \
|
2011-03-11 10:03:06 +00:00
|
|
|
gdk-pixbuf-loader-ico \
|
|
|
|
gdk-pixbuf-loader-bmp \
|
|
|
|
gdk-pixbuf-loader-ani \
|
2012-05-11 07:23:12 +00:00
|
|
|
gdk-pixbuf-xlib \
|
2011-04-29 09:34:52 +00:00
|
|
|
liberation-fonts \
|
2011-06-22 05:18:59 +00:00
|
|
|
gtk+ \
|
|
|
|
atk \
|
|
|
|
libasound \
|
2015-11-27 14:01:45 +00:00
|
|
|
${@get_libqt4(d)} \
|
2011-05-17 05:49:29 +00:00
|
|
|
"
|
2011-02-26 18:50:15 +00:00
|
|
|
|
2012-08-29 10:38:34 +00:00
|
|
|
RDEPENDS_packagegroup-core-lsb-runtime-add = "\
|
2011-02-23 08:29:44 +00:00
|
|
|
ldd \
|
|
|
|
pam-plugin-wheel \
|
|
|
|
e2fsprogs-mke2fs \
|
|
|
|
mkfontdir \
|
|
|
|
liburi-perl \
|
|
|
|
libxml-parser-perl \
|
|
|
|
libxml-perl \
|
2011-05-05 07:58:14 +00:00
|
|
|
libxml-sax-perl \
|
2014-08-28 06:13:57 +00:00
|
|
|
glibc-localedatas \
|
|
|
|
glibc-gconvs \
|
|
|
|
glibc-charmaps \
|
|
|
|
glibc-binaries \
|
|
|
|
glibc-localedata-posix \
|
|
|
|
glibc-extra-nss \
|
|
|
|
glibc-pcprofile \
|
2012-09-06 18:38:23 +00:00
|
|
|
libclass-isa-perl \
|
|
|
|
libenv-perl \
|
|
|
|
libdumpvalue-perl \
|
|
|
|
libfile-checktree-perl \
|
|
|
|
libi18n-collate-perl \
|
|
|
|
libpod-plainer-perl \
|
2011-02-23 08:29:44 +00:00
|
|
|
"
|