initial commit

This commit is contained in:
Brandon Philips 2013-02-04 18:24:12 -08:00
commit 81921ecf6c
163 changed files with 3939 additions and 0 deletions

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST=http://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/chrome-27.05.11.033811/packages/

View File

@ -0,0 +1 @@
PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/amd64-generic/paladin-R26-3659.0.0-rc7/packages/ https://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/x86-generic/paladin-R26-3659.0.0-rc7/packages/"

View File

@ -0,0 +1 @@
TOT_CHROME_BINHOST="http://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/chrome-26.05.11.214444/packages/"

View File

@ -0,0 +1,3 @@
SDK_LATEST_VERSION="2013.02.04.090227"
BOOTSTRAP_LATEST_VERSION="20130130"
TC_PATH="2013/02/%(target)s-2013.02.04.090227.tar.xz"

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-corei7/chrome-1738.0.0-rc1/packages/"

View File

@ -0,0 +1 @@
PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-corei7/paladin-1742.0.0-rc8/packages/"

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-generic/chrome-R26-3659.0.0-rc1/packages/"

View File

@ -0,0 +1 @@
PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/amd64-generic/paladin-R26-3659.0.0-rc7/packages/"

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/arm-generic/chrome-1415.0.0-rc1/packages/"

View File

@ -0,0 +1 @@
PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/arm-generic/binary-1415.0.0-rc7/packages/"

View File

@ -0,0 +1,3 @@
# Deprecated. TODO(davidjames): Remove this file once everybody has run
# build_packages.
PORTAGE_BINHOST="$PORTAGE_BINHOST $FULL_BINHOST"

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/daisy/chrome-R26-3659.0.0-rc1/packages/"

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/tegra2/chrome-R23-2768.0.0-rc2/packages/"

View File

@ -0,0 +1 @@
PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/tegra2/paladin-R23-2768.0.0-rc8/packages/"

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic/chrome-R26-3659.0.0-rc1/packages/"

View File

@ -0,0 +1 @@
PREFLIGHT_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic/paladin-R26-3659.0.0-rc7/packages/"

View File

@ -0,0 +1 @@
TOT_CHROME_BINHOST="http://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic/chrome-14.09.11.105729/packages/"

View File

@ -0,0 +1 @@
LATEST_RELEASE_CHROME_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/board/x86-generic_aura/chrome-1713.0.0-rc3/packages/"

View File

@ -0,0 +1,6 @@
# Deprecated. TODO(davidjames): Remove this file once everybody has run
# build_packages.
source x86-generic-LATEST_RELEASE_CHROME_BINHOST.conf
source x86-generic-PREFLIGHT_BINHOST.conf
PORTAGE_BINHOST="$PORTAGE_BINHOST $PREFLIGHT_BINHOST $FULL_BINHOST"
PORTAGE_BINHOST="$PORTAGE_BINHOST $LATEST_RELEASE_CHROME_BINHOST"

View File

@ -0,0 +1,9 @@
# /etc/skel/.bash_profile
# This file is sourced by bash for login shells. The following line
# runs your .bashrc and is recommended by the bash info pages.
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Chromium OS build environment settings
export CROS_WORKON_SRCROOT="/home/${USER}/trunk"
export PORTAGE_USERNAME="${USER}"

View File

@ -0,0 +1,26 @@
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# Chromium OS interactive shell settings
# Settings necessary for both users and automation belong in bash_profile,
# while user-specific and site-specific settings belong in ~/.cros_chrootrc
# outside the chroot.
export PS1="(cros-chroot) ${PS1}"
[[ -f /usr/share/crosutils/bash_completion ]] &&
. /usr/share/crosutils/bash_completion

View File

@ -0,0 +1,52 @@
#!/bin/sh
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# ChromeOS version information
#
# This file is usually sourced by other build scripts, but can be run
# directly to see what it would do.
#############################################################################
# SET VERSION NUMBERS
#############################################################################
# Release Build number.
# Increment by 1 for every release build.
export CHROMEOS_BUILD=3659
# Release Branch number.
# Increment by 1 for every release build on a branch.
# Reset to 0 when increasing release build number.
export CHROMEOS_BRANCH=0
# Patch number.
# Increment by 1 in case a non-scheduled branch release build is necessary.
# Reset to 0 when increasing branch number.
export CHROMEOS_PATCH=0
# Major version for Chrome.
export CHROME_BRANCH=26
# Official builds must set CHROMEOS_OFFICIAL=1.
if [ ${CHROMEOS_OFFICIAL:-0} -ne 1 ] && [ "${USER}" != "chrome-bot" ]; then
# For developer builds, overwrite CHROMEOS_VERSION_PATCH with a date string
# for use by auto-updater.
export CHROMEOS_PATCH=$(date +%Y_%m_%d_%H%M)
fi
# Version string. Not indentied to appease bash.
export CHROMEOS_VERSION_STRING=\
"${CHROMEOS_BUILD}.${CHROMEOS_BRANCH}"\
".${CHROMEOS_PATCH}"
# Set CHROME values (Used for releases) to pass to chromeos-chrome-bin ebuild
# URL to chrome archive
export CHROME_BASE=
# export CHROME_VERSION from incoming value or NULL and let ebuild default
export CHROME_VERSION="$CHROME_VERSION"
# Print (and remember) version info.
echo "ChromeOS version information:"
env | egrep '^CHROMEOS_VERSION|CHROME_' | sed 's/^/ /'

View File

@ -0,0 +1,2 @@
PKG_INSTALL_MASK+=" /etc/pam.d/sudo"
INSTALL_MASK+=" /etc/pam.d/sudo"

View File

@ -0,0 +1,6 @@
# The autoconf code needs to be migrated from AC_PATH_PROG to
# AC_PATH_TOOL. http://code.google.com/p/googlemock/issues/detail?id=150
cros_pre_src_configure_gtest_config() {
[[ $(cros_target) != "board_sysroot" ]] && return 0
export ac_cv_path_GTEST_CONFIG=${CROS_BUILD_BOARD_BIN}/${CHOST}-gtest-config
}

View File

@ -0,0 +1,12 @@
export glib_cv_have_qsort_r=yes
# The following ac_cv_alignof_* work around an issue in AC_CHECK_ALIGNOF,
# which fails under cross-compilation with newer gcc.
# See http://lists.gnu.org/archive/html/bug-autoconf/2012-09/msg00001.html
# for more details.
#
# TODO(benchan,vapier): Remove the workaround after the AC_CHECK_ALIGNOF
# issue is fixed.
export ac_cv_alignof_guint32=4
export ac_cv_alignof_guint64=8
export ac_cv_alignof_unsigned_long=8

View File

@ -0,0 +1,7 @@
# The CF_NCURSES_CONFIG m4 helper from ncurses needs to be migrated from
# AC_PATH_PROGS to AC_CHECK_TOOLS. But that'll take a while to filter
# throughout the ecosystem ...
cros_pre_src_configure_ncurses_config() {
[[ $(cros_target) != "board_sysroot" ]] && return 0
export ac_cv_path_NCURSES_CONFIG=${CROS_BUILD_BOARD_BIN}/${CHOST}-ncurses5-config
}

View File

@ -0,0 +1,8 @@
# The libglade code is old and uses a pkg-config search which
# does not respect --host, so force it ourselves.
export ac_cv_path_PKG_CONFIG=${PKG_CONFIG}
# The current version of pango is old and does not build w/out
# the deprecated glib macros, so make sure we undo that when
# building glade.
export CPPFLAGS+=" -UG_DISABLE_DEPRECATED"

View File

@ -0,0 +1,7 @@
# ncurses5_config needs to be set for cross compiling on arm
# Version 1.0.26 should use pkg-config for ncurses, so we can
# drop this workaround when we upgrade.
cros_pre_src_configure_ncurses_config() {
[[ $(cros_target) != "board_sysroot" ]] && return 0
export ncurses5_config=${ROOT}usr/bin/ncurses5-config
}

View File

@ -0,0 +1,11 @@
# We install these with our chromeos-base package.
if [[ $(cros_target) != "cros_host" ]] ; then
openssh_mask="
/etc/ssh/ssh_config
/etc/ssh/sshd_config
/usr/lib*/misc/ssh-keysign
"
PKG_INSTALL_MASK+=" ${openssh_mask}"
INSTALL_MASK+=" ${openssh_mask}"
unset openssh_mask
fi

View File

@ -0,0 +1,6 @@
PKG_INSTALL_MASK+=" /etc/sysctl.conf"
INSTALL_MASK+=" /etc/sysctl.conf"
# Don't filter out /etc/init.d/functions.sh
PKG_INSTALL_MASK=${PKG_INSTALL_MASK/\/etc\/init.d}
INSTALL_MASK=${INSTALL_MASK/\/etc\/init.d}

View File

@ -0,0 +1,5 @@
# savedconfig by default saves the currently generated config into
# /etc/portage/savedconfig. However we want to avoid placing it here
# so that every re-emerge will pick up the configs from
# chromeos-base/busybox-config
INSTALL_MASK+=" /etc/portage/savedconfig"

View File

@ -0,0 +1,35 @@
# Punt setarch as we don't use it anywhere.
util_linux_mask="
/usr/bin/i386
/usr/bin/x86_64
/usr/bin/linux32
/usr/bin/linux64
/usr/bin/setarch
"
# Punt support for filesystems we don't care about.
util_linux_mask+="
/sbin/fsck.bfs
/sbin/fsck.cramfs
/sbin/fsck.minix
/sbin/mkfs.bfs
/sbin/mkfs.cramfs
/sbin/mkfs.minix
"
# Punt esoteric programs.
util_linux_mask+="
/sbin/raw
/usr/bin/cytune
/usr/bin/ddate
/usr/bin/isosize
/usr/sbin/fdformat
/usr/sbin/tunelp
"
if [[ $(cros_target) != "cros_host" ]] ; then
util_linux_mask+=" /usr/bin/unshare"
fi
PKG_INSTALL_MASK+=" ${util_linux_mask}"
INSTALL_MASK+=" ${util_linux_mask}"

View File

@ -0,0 +1,14 @@
PKG_INSTALL_MASK+=" /etc/grub.d/00_header
/etc/grub.d/10_linux
/etc/grub.d/30_os-prober
/etc/grub.d/40_custom
/etc/grub.d/README
/lib64/grub/grub-mkconfig_lib
/lib64/grub/update-grub_lib"
INSTALL_MASK+=" /etc/grub.d/00_header
/etc/grub.d/10_linux
/etc/grub.d/30_os-prober
/etc/grub.d/40_custom
/etc/grub.d/README
/lib64/grub/grub-mkconfig_lib
/lib64/grub/update-grub_lib"

View File

@ -0,0 +1,4 @@
# Remove the *.la masking since libtool's autoconf detection code
# relies on its existence.
INSTALL_MASK=${INSTALL_MASK/\/usr\/lib\*\/\*.la}
PKG_INSTALL_MASK=${PKG_INSTALL_MASK/\/usr\/lib\*\/\*.la}

View File

@ -0,0 +1,12 @@
# Remove all the build-time helpers leaving just the libraries.
# Not like we can execute them anyways for the target.
if [[ $(cros_target) != "cros_host" ]] ; then
e2fsprogs_mask="
/usr/bin
/usr/share/et
/usr/share/ss
"
PKG_INSTALL_MASK+=" ${e2fsprogs_mask}"
INSTALL_MASK+=" ${e2fsprogs_mask}"
unset e2fsprogs_mask
fi

View File

@ -0,0 +1,63 @@
# See "man make.conf" for the available options.
ACCEPT_KEYWORDS="amd64"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect
-ebuild-locks parallel-install sandbox -strict userfetch userpriv
usersandbox -unknown-features-warn"
# Since our portage comes from version control, we redirect distfiles
DISTDIR="/var/lib/portage/distfiles"
PORTDIR="/usr/local/portage/stable"
# We initialize PORTDIR_OVERLAY here to clobber any redefinitions elsewhere.
# This has to be the first overlay so crossdev finds the correct gcc and
# glibc ebuilds.
PORTDIR_OVERLAY="
/usr/local/portage/crossdev
/usr/local/portage/coreos
"
# Adding packages to the @world set causes people more trouble than it's
# worth in our setup -- we rarely have people add custom packages outside
# of the ChromiumOS set. You can use "--select" to override this.
EMERGE_DEFAULT_OPTS="--oneshot"
# Use parallel bzip2 for portage if available
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_BUNZIP2_COMMAND="pbunzip2 --ignore-trailing-garbage=1"
# Where to store built packages.
PKGDIR="/var/lib/portage/pkgs"
PORT_LOGDIR="/var/log/portage"
source /usr/local/portage/coreos/coreos/binhost/host/amd64-PREFLIGHT_BINHOST.conf
FULL_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/amd64-host/chroot-2013.02.04.090227/packages/"
PORTAGE_BINHOST="$PREFLIGHT_BINHOST $FULL_BINHOST"
# expat needed for XML parsing in GDB, but enable globally as overhead is tiny.
USE="${USE} -cups hardened cros_host multilib pic pie -introspection expat"
GENTOO_MIRRORS="https://commondatastorage.googleapis.com/chromeos-localmirror"
GENTOO_MIRRORS="$GENTOO_MIRRORS https://commondatastorage.googleapis.com/chromeos-mirror/gentoo"
# Remove all .la files for non-plugin libraries.
# Remove Gentoo init files since we use upstart.
# Remove logrotate.d files since we don't use logrotate.
INSTALL_MASK="
/usr/lib*/*.la
/etc/init.d /etc/conf.d
/etc/logrotate.d
"
PKG_INSTALL_MASK="${INSTALL_MASK}"
# This is used by profiles/base/profile.bashrc to figure out that we
# are targeting the cros-sdk (in all its various modes). It should
# be utilized nowhere else!
CROS_SDK_HOST="cros-sdk-host"
source make.conf.host_setup

View File

@ -0,0 +1,28 @@
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] }
source make.conf.board_setup
ACCEPT_KEYWORDS="amd64"
# Common settings across all board targets.
source make.conf.common
# Recommended x86-specific USE flags.
USE="${USE} mmx sse sse2 dri hardened"
# Recommended MARCH_TUNE, CFLAGS, etc.
MARCH_TUNE=""
VIDEO_CARDS="intel vesa"
INPUT_DEVICES="evdev synaptics cmt"
# Allow a board to override or define additional settings.
source make.conf.board
CFLAGS="-O2 -pipe ${MARCH_TUNE} -g"
CXXFLAGS="${CFLAGS}"
# Allow the user to override or define additional settings.
source make.conf.user

View File

@ -0,0 +1,29 @@
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] }
source make.conf.board_setup
E_MACHINE=EM_ARM
ARCH=arm
# Common settings across all board targets.
source make.conf.common
# Recommended arm-specific USE flags.
USE="${USE} hardened"
# Recommended MARCH_TUNE, CFLAGS, etc.
MARCH_TUNE=""
VIDEO_CARDS="fbdev"
INPUT_DEVICES="evdev cmt"
# Allow a board to override or define additional settings.
source make.conf.board
CFLAGS="-O2 -pipe ${MARCH_TUNE} -g"
CXXFLAGS="${CFLAGS}"
# Allow the user to override or define additional settings.
source make.conf.user

View File

@ -0,0 +1,94 @@
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# NOTE: This assumes that the following have already been defined:
# { ROOT, ARCH, CHOST, [BOARD_OVERLAY] }
# TODO: This will have to come from somewhere else when we support a 32-bit
# build host environment.
CBUILD=x86_64-pc-linux-gnu
HOSTCC=x86_64-pc-linux-gnu-gcc
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
ACCEPT_KEYWORDS="${ARCH}"
USE="${ARCH} zlib bindist cros-debug -introspection cmt"
# Be sure we don't overwrite pkgs from another sysroot.
PKGDIR=${ROOT}packages/
PORTAGE_TMPDIR=${ROOT}tmp/
PORT_LOGDIR=${ROOT}tmp/portage/logs/
FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect
-ebuild-locks force-mirror nodoc noinfo noman parallel-install
sandbox splitdebug -strict userfetch userpriv usersandbox
-unknown-features-warn"
PORTAGE_WORKDIR_MODE="0755"
PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/:${ROOT}usr/share/pkgconfig/"
ELIBC="glibc"
PORTDIR="/usr/local/portage/stable"
PORTDIR_OVERLAY="
/usr/local/portage/coreos
${BOARD_OVERLAY}
"
# Adding packages to the @world set causes people more trouble than it's
# worth in our setup -- we rarely have people add custom packages outside
# of the ChromiumOS set. You can use "--select" to override this.
EMERGE_DEFAULT_OPTS="--oneshot"
# Use parallel bzip2 for portage if available
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_BUNZIP2_COMMAND="pbunzip2 --ignore-trailing-garbage=1"
FETCHCOMMAND_GS="bash -c 'BOTO_CONFIG=/home/\${PORTAGE_USERNAME}/.boto gsutil cp \"${URI}\" \"${DISTDIR}/${FILE}\"'"
RESUMECOMMAND_GS="bash -c 'BOTO_CONFIG=/home/\${PORTAGE_USERNAME}/.boto gsutil cp \"${URI}\" \"${DISTDIR}/${FILE}\"'"
FETCHCOMMAND='curl -y 30 -f --retry 9 -L --output \${DISTDIR}/\${FILE} \${URI}'
RESUMECOMMAND='curl -y 30 -f -C - --retry 9 -L --output \${DISTDIR}/\${FILE} \${URI}'
# Print a checkpoint message every 10MB while archiving.
PORTAGE_BINPKG_TAR_OPTS="--checkpoint=1000"
# Since our portage comes from version control, we redirect distfiles.
DISTDIR="/var/lib/portage/distfiles-target"
# Our chromium mirror should be more stable since we won't discard packages.
GENTOO_MIRRORS="https://commondatastorage.googleapis.com/chromeos-localmirror"
GENTOO_MIRRORS="$GENTOO_MIRRORS https://commondatastorage.googleapis.com/chromeos-mirror/gentoo"
# Username and home directory of the shared user.
SHARED_USER_NAME="chronos"
SHARED_USER_HOME="/home/chronos/user"
SHARED_USER_PASSWD_FILE="/etc/shared_user_passwd.txt"
# the AC_FUNC_WAIT3 macro uses runtime-checks for the function, which
# doesn't work when cross-compiling; we know that our targets have it,
# so let's tell about it to autoconf. — Flameeyes
ac_cv_func_wait3_rusage=yes
# When building packages for the target, we need to search the target's
# sysroot for additional m4 files. The autotools.eclass uses this.
AT_SYS_M4DIR="\${SYSROOT}/usr/share/aclocal"
# Native language support is handled inside Chrome itself.
LINGUAS="en"
# Remove all .la files for non-plugin libraries.
# Remove Gentoo init files since we use upstart.
# Remove logrotate.d files since we don't use logrotate.
# Remove sandbox files since we don't use that in the sysroot.
# Remove bash-completion files as we don't install bash-completion.
INSTALL_MASK="
/usr/lib*/*.la
/etc/init.d /etc/conf.d
/etc/logrotate.d
/etc/sandbox.d
/usr/share/bash-completion
"
PKG_INSTALL_MASK="${INSTALL_MASK}"

View File

@ -0,0 +1,29 @@
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] }
source make.conf.board_setup
# E_MACHINE=EM_X86 <- TODO: Some builds use EM_386 so comment this for now.
ARCH=x86
# Common settings across all board targets.
source make.conf.common
# Recommended x86-specific USE flags.
USE="${USE} mmx sse sse2 dri hardened"
# Recommended MARCH_TUNE, CFLAGS, etc.
MARCH_TUNE="-march=atom -mtune=atom -mfpmath=sse"
VIDEO_CARDS="intel vesa"
INPUT_DEVICES="evdev synaptics cmt"
# Allow a board to override or define additional settings.
source make.conf.board
CFLAGS="-O2 -pipe ${MARCH_TUNE} -g"
CXXFLAGS="${CFLAGS}"
# Allow the user to override or define additional settings.
source make.conf.user

View File

@ -0,0 +1,2 @@
stage 20100309/stage3-amd64-20100309.tar.bz2
portage portage-20100310.tar.bz2

View File

@ -0,0 +1,31 @@
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now

View File

@ -0,0 +1 @@
../../../../scripts/build_packages

View File

@ -0,0 +1,50 @@
#!/bin/bash
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Wrap all the old style config scripts.
# We'll be working with the env:
# argv[0]: armv7a-cros-linux-gnueabi-ncurses5-config
# CHOST: armv7a-cros-linux-gnueabi
# SYSROOT: /build/arm-generic
# See if there's a wrapper in the SYSROOT for us to execute, let's do
# that, and then filter the output for any -I/-L paths that'd screw us up.
wrap=${0##*/}
if [[ -z ${CHOST} ]] ; then
# Let's figure out the answer from $0. Do it piece by piece as
# we cannot assume the number of components in the target tuple
# or in the config script name. Tuples can have 1, 2, 3, or 4
# components, and config scripts can have as many as they want
# (although most of the time, it's just 2).
parts=( ${wrap//-/ } )
i=$(( ${#parts[@]} - 1 ))
cfg=${parts[${i}]}
while [[ $(( --i )) -ge 0 ]] ; do
cfg="${parts[${i}]}-${cfg}"
if [[ -e ${SYSROOT}/usr/bin/${cfg} ]] ; then
CHOST=${wrap%-${cfg}}
type -P ${CHOST}-gcc >/dev/null && break
unset CHOST
fi
done
else
cfg=${wrap#${CHOST}-}
fi
if [[ -z ${CHOST} ]] || [[ -z ${SYSROOT} ]] ; then
echo "${wrap}: please set CHOST/SYSROOT in the env" 1>&2
exit 1
fi
PATH="${SYSROOT}/usr/bin:${PATH}"
# Some wrappers will dynamically figure out where they're being run from,
# and then output a full path -I/-L path based on that. So we trim any
# expanded sysroot paths that might be in the output already to avoid
# having it be -L${SYSROOT}${SYSROOT}/usr/lib.
set -o pipefail
exec ${cfg} "$@" | sed -r "s:(-[IL])(${SYSROOT})?:\1${SYSROOT}:g"

View File

@ -0,0 +1,78 @@
#!/bin/bash
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Script to set /etc/lsb-release on the root file system. This script is run by
# build_image inside chroot.
readonly COMMON_SH=/usr/lib/crosutils/common.sh
if [ ! -r "${COMMON_SH}" ]; then
echo "ERROR: Run inside chroot."
exit 1
fi
. "${COMMON_SH}"
# Flags
DEFINE_string board "" "The board to build an image for."
DEFINE_string root "" "The root file system to write /etc/lsb-release to."
# Parse command line
FLAGS "$@" || exit 1
eval set -- "${FLAGS_ARGV}"
set -e
ROOT_FS_DIR="$FLAGS_root"
[ -n "$ROOT_FS_DIR" ] || die "--root is required."
[ -d "$ROOT_FS_DIR" ] || die "Root FS does not exist? ($ROOT_FS_DIR)"
[ -n "${CHROMEOS_VERSION_STRING}" ] || die "chromeos_version.sh isn't sourced."
CHROMEOS_VERSION_NAME="Chromium OS"
CHROMEOS_VERSION_AUSERVER=\
${CHROMEOS_VERSION_AUSERVER:-"http://$(hostname --fqdn):8080/update"}
CHROMEOS_VERSION_DEVSERVER=\
${CHROMEOS_VERSION_DEVSERVER:-"http://$(hostname --fqdn):8080"}
# Official builds must set CHROMEOS_OFFICIAL=1.
if [ ${CHROMEOS_OFFICIAL:-0} = 1 ]; then
# Official builds (i.e., buildbot)
CHROMEOS_VERSION_TRACK="dev-channel"
CHROMEOS_VERSION_NAME="Chrome OS"
CHROMEOS_VERSION_DESCRIPTION="${CHROMEOS_VERSION_STRING} (Official Build) \
${CHROMEOS_VERSION_TRACK} $FLAGS_board test"
CHROMEOS_VERSION_AUSERVER="https://tools.google.com/service/update2"
CHROMEOS_VERSION_DEVSERVER=""
elif [ "$USER" = "chrome-bot" ]; then
# Continuous builder
CHROMEOS_VERSION_TRACK="buildbot-build"
CHROMEOS_VERSION_DESCRIPTION="${CHROMEOS_VERSION_STRING} (Continuous Build \
- Builder: ${BUILDBOT_BUILD:-"N/A"}) $FLAGS_board"
else
# Developer hand-builds
CHROMEOS_VERSION_TRACK=${CHROMEOS_VERSION_TRACK:-"developer-build"}
CHROMEOS_VERSION_DESCRIPTION="${CHROMEOS_VERSION_STRING} (Developer Build \
- $USER) ${CHROMEOS_VERSION_TRACK} $FLAGS_board"
fi
# Set google-specific version numbers:
# CHROMEOS_RELEASE_BOARD is the target board identifier.
# CHROMEOS_RELEASE_DESCRIPTION is the version displayed by Chrome; see
# chrome/browser/chromeos/chromeos_version_loader.cc.
# CHROMEOS_RELEASE_NAME is a human readable name for the build.
# CHROMEOS_RELEASE_TRACK and CHROMEOS_RELEASE_VERSION are used by the software
# update service.
# TODO(skrul): Remove GOOGLE_RELEASE once Chromium is updated to look at
# CHROMEOS_RELEASE_VERSION for UserAgent data.
sudo_append "${ROOT_FS_DIR}/etc/lsb-release" <<EOF
CHROMEOS_RELEASE_BOARD=$FLAGS_board
CHROMEOS_RELEASE_DESCRIPTION=$CHROMEOS_VERSION_DESCRIPTION
CHROMEOS_RELEASE_NAME=$CHROMEOS_VERSION_NAME
CHROMEOS_RELEASE_TRACK=$CHROMEOS_VERSION_TRACK
CHROMEOS_RELEASE_VERSION=$CHROMEOS_VERSION_STRING
GOOGLE_RELEASE=$CHROMEOS_VERSION_STRING
CHROMEOS_AUSERVER=$CHROMEOS_VERSION_AUSERVER
CHROMEOS_DEVSERVER=$CHROMEOS_VERSION_DEVSERVER
EOF

View File

@ -0,0 +1 @@
../../../../scripts/setup_board

View File

@ -0,0 +1,41 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/make.defaults,v 1.4 2009/08/16 22:06:33 remi Exp $
ARCH="amd64"
ACCEPT_KEYWORDS="${ARCH}"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
# Multilib settings for all amd64 subprofiles.
MULTILIB_ABIS="amd64 x86"
DEFAULT_ABI="amd64"
# Do not remove this one, or all kinds of hell breaks loose.
ABI="amd64"
# 64bit specific settings.
CHOST_amd64="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
# 32bit specific settings.
CFLAGS_x86="-m32"
LDFLAGS_x86="-m elf_i386"
ASFLAGS_x86="--32"
CHOST_x86="i686-pc-linux-gnu"
CDEFINE_x86="__i386__"
# 2006/10/24 - Simon Stelling <blubb@gentoo.org>
# They are masked, but we can enable them anyway for those who have
# >=portage-2.1.2_pre3-r4
USE="${USE} mmx sse sse2"
# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
# Defaults for video drivers
VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
# 2006/12/22 - Danny van Dyk <kugelfang@gentoo.org>
# Default for ALSA_CARDS USE_EXPAND variable.
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"

View File

@ -0,0 +1,5 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/make.defaults,v 1.1 2008/04/01 17:39:54 wolf31o2 Exp $
MULTILIB_ABIS="amd64"

View File

@ -0,0 +1,205 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/package.mask,v 1.51 2009/09/16 20:18:08 ulm Exp $
# AMD64 Team <amd64@gentoo.org>
# Mask packages that rely on amd64 multilib
app-accessibility/mbrola
app-accessibility/perlbox-voice
app-antivirus/bitdefender-console
app-antivirus/f-prot
<app-arch/rar-3.8.0
app-arch/stuffit
app-benchmarks/cpuburn
=app-editors/emacs-18*
app-emulation/crossover-office-bin
app-emulation/crossover-office-pro-bin
app-emulation/playonlinux
app-emulation/point2play
app-emulation/q4wine
app-emulation/virtualbox-guest-additions
app-emulation/virtualbox-ose
app-emulation/vmware-dsp
app-emulation/vmware-player
app-emulation/vmware-server
app-emulation/vmware-server-console
<app-emulation/vmware-workstation-6.5
>=app-i18n/atokx3-3.0.0
app-i18n/kurso-de-esperanto
app-office/mozilla-sunbird-bin
app-office/ooextras
app-office/openoffice-bin
app-pda/qtopia-desktop-bin
app-emulation/cedega
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-compat
app-emulation/emul-linux-x86-gtklibs
app-emulation/emul-linux-x86-medialibs
app-emulation/emul-linux-x86-qtlibs
app-emulation/emul-linux-x86-sdl
app-emulation/emul-linux-x86-soundlibs
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-java
app-emulation/ies4linux
app-emulation/transgaming-fontinstaller
app-emulation/transgaming-mozctlinstaller
app-emulation/wine
app-emulation/wine-doors
app-text/acroread
app-text/bibus
dev-embedded/libftd2xx
dev-lang/dmd-bin
dev-lang/icc
dev-lang/idb
dev-lang/ifc
dev-lang/realbasic
dev-lang/sunstudioexpress
dev-perl/Archive-Rar
dev-python/skype4py
dev-util/android-sdk
dev-util/biew
dev-util/dialogblocks
dev-util/helpblocks
dev-util/nvidia-cuda-profiler
games-action/descent3
games-action/descent3-demo
games-action/heretic2
games-action/heretic2-demo
games-action/lugaru-demo
games-action/mutantstorm-demo
games-action/phobiaii
games-action/rune
games-action/spacetripper-demo
games-arcade/barbarian-bin
games-arcade/jardinains
games-arcade/gish-demo
games-emulation/caps
games-emulation/goosnes
games-emulation/nestra
games-emulation/snes9express
games-emulation/snes9x
games-emulation/zinc
games-emulation/zsnes
games-emulation/mupen64
games-fps/avp
games-fps/doom3-cdoom
games-fps/doom3-chextrek
games-fps/doom3-data
games-fps/doom3-demo
games-fps/doom3-ducttape
games-fps/doom3-dungeon
games-fps/doom3-eventhorizon
games-fps/doom3-hellcampaign
games-fps/doom3-inhell
games-fps/doom3-lms
games-fps/doom3-mitm
games-fps/doom3-opencoop
games-fps/doom3-phantasm
games-fps/doom3-roe
games-fps/doom3
games-fps/enemy-territory-etpro
games-fps/enemy-territory-fortress
games-fps/enemy-territory-truecombat
games-fps/enemy-territory
games-fps/etqw-bin
games-fps/etqw-data
games-fps/etqw-demo
games-fps/fuhquake-bin
games-fps/glxquake-bin
games-fps/legends
games-fps/postal2
games-fps/postal2mp-demo
games-fps/quake3-alliance
games-fps/quake3-alternatefire
games-fps/quake3-bfp
games-fps/quake3-bin
games-fps/quake3-brainworks
games-fps/quake3-cpma
games-fps/quake3-defrag
games-fps/quake3-demo
games-fps/quake3-matrix
games-fps/quake3-nsco
games-fps/quake3-osp
games-fps/quake3-ra3
games-fps/quake3-ruinhunters
games-fps/quake3-teamarena
games-fps/quake3-threewave
games-fps/quake3-urbanterror
games-fps/quake4-bin
games-fps/quake4-data
games-fps/quake4-deltactf
games-fps/quake4-demo
games-fps/rtcw
games-fps/rtcwmp-demo
games-fps/rtcwsp-demo
games-fps/sauerbraten
games-fps/soldieroffortune
games-fps/soldieroffortune-demo
games-fps/unreal-tournament
games-fps/ut2003
games-fps/ut2003-demo
games-fps/ut2004-demo
games-puzzle/hoh-bin
games-roguelike/adom
games-rpg/nwmouse
games-rpg/nwmovies
games-rpg/nwn
games-rpg/nwn-cep
games-rpg/nwn-data
games-rpg/rain-slick
games-rpg/sacred-gold
games-server/etqw-ded
games-server/greenhouse
games-server/nwn-ded
games-server/ut2003-ded
games-simulation/bcs-demo
games-simulation/secondlife-bin
games-simulation/simutrans
games-strategy/coldwar
games-strategy/coldwar-demo
games-strategy/darwinia
games-strategy/darwinia-demo
games-strategy/defcon-demo
games-strategy/dominions2
games-strategy/heroes3
games-strategy/heroes3-demo
games-strategy/majesty-demo
games-strategy/savage-bin
games-strategy/smac
games-strategy/x2
games-strategy/x2-demo
mail-client/mozilla-thunderbird-bin
mail-filter/MailScanner
media-fonts/acroread-asianfonts
media-gfx/grender
media-gfx/maya
media-gfx/picasa
media-libs/realcodecs
media-libs/win32codecs
media-sound/shoutcast-server-bin
media-sound/shoutcast-trans-bin
media-sound/teamspeak2-client-bin
media-sound/teamspeak2-server-bin
media-sound/ventrilo-server-bin
media-tv/livestation
media-video/binkplayer
net-dialup/slmodem
net-im/skype
net-im/skysentials
net-libs/xulrunner-bin
net-misc/icaclient
net-p2p/sancho-bin
net-voip/wengophone-bin
sci-biology/foldingathome
sci-electronics/eagle
sys-apps/memtest86
sys-apps/memtest86+
sys-block/hpacucli
sys-libs/lib-compat-loki
<www-client/opera-9.62
www-client/mozilla-firefox-bin
www-client/seamonkey-bin
www-plugins/nspluginwrapper
x11-misc/googleearth
x11-misc/qcomicbook

View File

@ -0,0 +1,16 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/package.use.mask,v 1.7 2009/08/01 17:03:49 ssuominen Exp $
# Apr 28, 2008 Sébastien Fabbro <bicatali@gentoo.org>
# ifc masked
sci-libs/acml ifc
# 10 Jul, 2008 Thomas Anderson <gentoofan23@gentoo.org>
# Remask ia32 since parent unmasks it, and no-multilib
# can't use this flag.
www-client/opera ia32
# Robert Buchholz <rbu@gentoo.org> (16 Aug 2008)
# SNES applications are masked in multilib
media-tv/freevo snes

View File

@ -0,0 +1,21 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/use.mask,v 1.6 2009/09/15 18:21:56 ssuominen Exp $
# USE flags masked because providing packages have ABI=x86
# 2007/08/29 Christoph Mende <angelos@gentoo.org>
# app-accessibility/mbrola is x86 only
mbrola
# 2006/05/04 Chris Gianelloni <wolf31o2@gentoo.org>
# games-fps/quake3-teamarena is 32-bit
teamarena
# 2007/08/24 Michael Marineau <marineam@gentoo.org>
# Xen HVM support requires building 32-bit binaries.
hvm
# 2009/05/11 Doug Goldstein <cardoe@gentoo.org>
# Mask 32bit since this will always require emulation packages
32bit

View File

@ -0,0 +1,23 @@
# Note: Additions to this file affect not only the cros sdk
# chroot, but also any amd64 boards. So if you enable flags
# in here for the chroot, you needed to disable them in the
# cros profile: default/linux/amd64/10.0/chromeos/package.use
# Since we execute pbzip2 outside of the chroot, we need to statically
# link this to avoid library mismatch errors. http://crosbug.com/32519
app-arch/bzip2 static-libs
app-arch/pbzip2 static
# Same for pigz.
app-arch/pigz static
sys-libs/zlib static-libs
chromeos-base/update_engine delta_generator
dev-embedded/openocd ftdi
net-misc/openssh kerberos
sys-apps/flashrom dediprog ft2232_spi serprog
dev-lang/python gdbm
# qemu-kvm is statically linked with glib when compiled for the host
# and thus requires glib to be compiled with static-libs.
# See http://crosbug.com/35162 for details.
dev-libs/glib static-libs

View File

@ -0,0 +1,11 @@
# Oct 23th 2006; blubb@gentoo.org
# upstream forces sse2 on regardless of what the use flag is
dev-libs/openssl sse2
media-libs/libsoundtouch sse
# Gustavo Felisberto <humpback@gentoo.org> 19-06-2007
net-im/skype qt-static
# Santiago M. Mola <coldwind@gentoo.org> (17 Sep 2008)
# x86emu is the only backend available for amd64 (bug #224987)
sys-apps/v86d x86emu

View File

@ -0,0 +1,154 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/package.use.mask,v 1.45 2009/10/01 15:26:34 ssuominen Exp $
# When you add an entry to the top of this file, add your name, the date, and
# an explanation of why something is getting masked. Please be extremely
# careful not to commit atoms that are not valid, as it can cause large-scale
# breakage, especially if it ends up in the daily snapshot.
#
## Example:
##
## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
## # Masking foo USE flag until we can get the
## # foo stuff to work properly again (bug 12345)
## =media-video/mplayer-0.90_pre5 foo
## =media-video/mplayer-0.90_pre5-r1 foo
#
#--- END OF EXAMPLES ---
# Samuli Suominen <ssuominen@gentoo.org> (01 Oct 2009)
# No support in emul-linux-x86-sdl, bug 286625
app-emulation/wine openal
# Samuli Suominen <ssuominen@gentoo.org> (30 Sep 2009)
# No support in emul-linux-x86-baselibs, bug 283089
app-emulation/wine jpeg
# Jean-Noël Rivasseau <elvanor@gentoo.org> (23 Sep 2009)
# X use flag only for amd64/x86, bug 285951.
media-gfx/iscan -X
# Jeremy Olexa <darkside@gentoo.org> (06 Sep 2009)
# Mask wine[mp3] because it fails to build. bug 283860
# Mask wine[gsm] because it fails to build. bug 283875
app-emulation/wine gsm mp3
# Dawid Węgliński <cla@gentoo.org>
# Mask amarok2 useflag for net-im/kadu
# See bug #238487 for references
net-im/kadu amarok2
# Samuli Suominen <ssuominen@gentoo.org> (10 May 2009)
# Broken SSE2 detection for x86_64 wrt #262405
media-libs/libsoundtouch sse2
# Bernard Cafarelli <voyageur@gentoo.org> (20 Mar 2009)
# Depends on packages not yet keyworded for amd64, cf bug #22042
app-backup/backup-manager s3
# Jeremy Olexa <darkside@gentoo.org> (07 Feb 2009)
# USE=mmx on imlib2 causes issues with other apps. See bug 218382 (comments
# 11-12)
media-libs/imlib2 mmx
# Serkan Kaba <serkan@gentoo.org> (5 Feb 2009)
# finally a 64bit java plugin
>=dev-java/sun-jre-bin-1.6.0.12 -nsplugin
# Jeremy Olexa <darkside@gentoo.org> (27 Dec 2008)
# Mask static USE flag because it just doesn't work on amd64. See bug 236591
>=app-arch/p7zip-4.58 static
# Jeremy Olexa <darkside@gentoo.org> (24 Dec 2008)
# unmask USE=bindist on amd64 - also unmasking the other flags that were under a
# bad comment heading. see bug #246144
media-video/mplayer -cpudetection -custom-cpuopts -bindist -vdpau
# Vlastimil Babka <caster@gentoo.org> (12 Dec 2008)
# finally a 64bit java plugin
>=dev-java/sun-jdk-1.6.0.12_beta2 -nsplugin
# Tomas Chvatal <scarabeus@gentoo.org> (31 Jan 2009)
# masked in base, unmaks for x86/amd64
sci-misc/boinc -cuda
# Serkan Kaba <serkan@gentoo.org> (20 Jul 2008)
app-text/enchant -zemberek
# assembler-section
# Oct 23th 2006; blubb@gentoo.org
# the asm is 64bit save, but it doesn't compile anyway
games-emulation/visualboyadvance mmx
# Oct 23th 2006; blubb@gentoo.org
# upstream forces sse2 for amd64; mmx flag does nothing
app-crypt/johntheripper mmx
# Oct 23th 2006; blubb@gentoo.org
# x86 asm only:
games-emulation/xmame mmx
games-emulation/xmess mmx
media-gfx/inkscape mmx
media-libs/allegro mmx sse
media-libs/libfame mmx
media-libs/libmovtar mmx
media-libs/sdl-gfx mmx
media-libs/smpeg mmx
media-video/mjpegtools mmx
net-irc/xchat mmx
net-irc/xchat-gnome mmx
net-misc/asterisk mmx
x11-terms/eterm mmx
media-tv/xawtv mmx
# x86_64 opts are enabled with USE sse. so masking the rest
media-sound/mpg123 mmx 3dnow 3dnowext
# Oct 24th 2006; blubb@gentoo.org
# bug 152646
x11-themes/polymer mmx sse2
# Feb 17th 2007; drizzt@gentoo.org
# amd64 does not have an emul libao package
games-emulation/zsnes ao
# Apr 25th 2007: Alexis Ballier <aballier@gentoo.org>
# Mask mmx for media-libs/mlt
# assembler is not 64bits compliant (yet)
media-libs/mlt mmx
# 8 May 2007: Alistair Bush <ali_bush@gentoo.org>
# Mask doc flag for fop as nearly impossible to
# run javadoc target. see #177585
>=dev-java/fop-0.93 doc
# 31 Dec 2007: Peter Weller <welp@gentoo.org>
# Mask dbus, hal, nas and scanner USE flags;
# Bug 203680
# 28 Oct 2008: Diego Pettenò <flameeyes@gentoo.org>
# Mask GnuTLS (not available as 32-bit library)
app-emulation/wine dbus hal ldap nas scanner gnutls gphoto2
# missing the necessary linux-headers dep
>=net-fs/netatalk-2.0.3-r3 xfs
# 28 Jan 2008: Wulf Krueger <philantrop@gentoo.org>
# Mask bluetooth for the KDE 3.5.8 stabilisation.
app-pda/pilot-link bluetooth
# 10 Jul 2008: Thomas Anderson <gentoofan23@gentoo.org>
# Unmask ia32 flag for amd64 arches.
www-client/opera -ia32
# 8 Aug 2008: Alexis Ballier <aballier@gentoo.org>
# x86 asm only, it won't be built on amd64 if mmx useflag is enabled but that
# saves people from needlessly installing nasm
# Refs bug #93279
media-sound/lame mmx
# Robert Buchholz <rbu@gentoo.org> (16 Aug 2008)
# masked in base, unmask for x86/amd64
dev-python/kaa-base -tls

View File

@ -0,0 +1,2 @@
../base
../../features/multilib/lib32

View File

@ -0,0 +1,38 @@
get_sysroot_ld_paths() {
# Default library directories
local paths="$SYSROOT/usr/lib64:$SYSROOT/lib64:$SYSROOT/usr/lib:$SYSROOT/lib"
# Only split on newlines
local IFS="
"
local line
for line in $(cat "$SYSROOT"/etc/ld.so.conf
"$SYSROOT"/etc/ld.so.conf.d/* 2>/dev/null); do
# Ignore lines not starting with '/', e.g. empty lines or comments
if [[ "${line:0:1}" != "/" ]]; then
continue
fi
# Prepend $SYSROOT (/build/<board>) to all library paths
# except for those already prefixed with $SYSROOT
if [[ "${line:0:${#SYSROOT}}" == "$SYSROOT" ]]; then
paths="$paths:$line"
else
paths="$paths:$SYSROOT$line"
fi
done
echo "$paths"
}
cros_pre_src_test_ldpaths() {
# Set LD_LIBRARY_PATH to point to libraries in $SYSROOT, so that tests
# will load libraries from there first
if [[ -n "$SYSROOT" ]] && [[ "$SYSROOT" != "/" ]]; then
if [[ -n "$LD_LIBRARY_PATH" ]]; then
export LD_LIBRARY_PATH="$(get_sysroot_ld_paths):$LD_LIBRARY_PATH"
else
export LD_LIBRARY_PATH="$(get_sysroot_ld_paths)"
fi
fi
}

View File

@ -0,0 +1,2 @@
# Force the flag which corresponds to ARCH.
amd64

View File

@ -0,0 +1,138 @@
# Copyright 2004 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/use.mask,v 1.8 2009/07/31 21:46:35 ssuominen Exp $
# Unmask the flag which corresponds to ARCH.
-amd64
# SECTION: Unmask
# Lilo works on amd64, so ...
-lilo
# 2007/10/09 - Steve Dibb <beandog@gentoo.org>
# Unmask support for SSSE3 (pni) for media-video/mplayer
-ssse3
# 2007/08/19 - Christoph Mende <angelos@gentoo.org>
# Unmask support for dev-db/oracle-instantclient-basic
-oci8-instant-client
# 2007/03/10 - Mike Frysinger <vapier@gentoo.org>
# NVRAM works on x86/amd64 hosts
-nvram
# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
# Profile cleanup: Unmask emul-linux-x86
-emul-linux-x86
# 2005/09/14 - Diego Pettenò <flameeyes@gentoo.org>
# nVidia XvMC support works on amd64
-nvidia
# 2005/12/01 - Daniel Gryniewicz <dang@gentoo.org>
# There is now a kqemu that works and is stable on amd64
-kqemu
# 2006/03/03 - Luca Barbato <lu_zero@gentoo.org>
# codec support x264
-x264
# 2006/01/28 - Donnie Berkholz <dberkholz@gentoo.org>
# Modular X: unmask for architectures on which they are available
-input_devices_synaptics
-input_devices_virtualbox
-input_devices_vmmouse
-input_devices_wacom
-video_cards_nvidia
-video_cards_fglrx
-video_cards_via
-video_cards_virtualbox
-video_cards_vmware
# Diego Pettenò <flameeyes@gentoo.org> (4 Jan 2007)
# Unmask the flags for PHP that are available only on x86/amd64
-oci8
-oracle7
-db2
# Feb 16th 2007; Simon Stelling <blubb@gentoo.org>
# Since this profile forces >=portage-2.1.2, we can unmask all
# SIMD assembler flags
-mmx
-mmxext
-sse
-sse2
-3dnow
-3dnowext
# George Shapovalov <george@gentoo.org> (8 Apr 2007)
# supported on amd64
-ada
# Robert Buchholz <rbu@gentoo.org> (03 Jun 2007)
# Unmask as it works on amd64
-lcd_devices_luise
# SECTION: Unavailable/Broken
# 2007/04/07 - Petteri Räty <betelgeuse@gentoo.org>
# libemf does not build on amd64
emf
# 2007/01/18 - Jeffrey Gardner <je_fro@gentoo.org>
# Mask gamess support temporarily.
gamess
# 2006/12/21 - Diego Pettenò <flameeyes@gentoo.org>
# Mask some ALSA cards that are known broken in AMD64
alsa_cards_cs5535audio
# 2006/09/05 - Tupone Alfredo <tupone@gentoo.org>
# doomsday ebuild is not available on this architecture
doomsday
# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
# Profile cleanup: No info about these
asm
drac
vidix
# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
# Masked due to bug #127328; prohibits DEPENDs on
# this flag makes media-gfx/inkscape dep on media-gfx/pstoedit
# which deps on libemf
plugin
# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
# Modular X: mask for architectures on which they aren't available
video_cards_i740
video_cards_imstt
video_cards_newport
video_cards_nsc
# 2005/09/19 - Olivier Fisette <ribosome@gentoo.org>
# cmucl is not available on amd64. Masking to keep "sci-mathematics/maxima"
# happy.
cmucl
# 2004/10/06 - Jeremy Huddleston <eradicator@gentoo.org>
# sys-cluster/pvm won't build
pvm
# 2004/06/22 - Taken from 2004.0 profile
# masked
3dfx
# 2007/02/02 - Simon Stelling <blubb@gentoo.org>
# we don't have no gcc64; bug 144535
gcc64
# 2007/02/04 - Simon Stelling <blubb@gentoo.org>
# games-emulation/caps is 32bit only, while app-emulation/e-uae is 64bit; bug 158416
capslib
# RealMagic Hollywood+/Creative DXR3 support
-dxr3
# NOT NECESSARY - SECTION

View File

@ -0,0 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/make.defaults,v 1.2 2012/05/25 17:31:48 vapier Exp $
DEFAULT_ABI="x32"
ABI="x32"
MULTILIB_ABIS="amd64 x86 x32"
FEATURES="collision-protect multilib-strict"
SYMLINK_LIB="no"

View File

@ -0,0 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.keywords,v 1.9 2012/08/29 21:56:14 vapier Exp $
# We need newer versions of toolchain packages.
~sys-apps/sandbox-2.6 amd64
~sys-devel/gcc-4.7.1 amd64
~sys-devel/gdb-7.5.1 amd64
~sys-libs/glibc-2.16.0 amd64

View File

@ -0,0 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.mask,v 1.1 2012/10/07 17:58:28 phajdan.jr Exp $
# Pawel Hajdan jr <phajdan.jr@gentoo.org> (07 Oct 2012)
# V8 upstream said they won't support x32, bug #423815
# Masked V8 and reverse dependencies.
dev-lang/v8
dev-lang/v8cgi
net-libs/nodejs
www-client/chromium

View File

@ -0,0 +1,5 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.unmask,v 1.2 2012/08/29 21:55:02 vapier Exp $
~sys-devel/gcc-4.7.1

View File

@ -0,0 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/package.use.mask,v 1.1 2012/10/07 17:58:28 phajdan.jr Exp $
# This file requires >=portage-2.1.1
# Pawel Hajdan jr <phajdan.jr@gentoo.org> (07 Oct 2012)
# V8 upstream said they won't support x32, bug #423815
# Masked V8 and reverse dependencies.
dev-db/mongodb v8

View File

@ -0,0 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/x32/packages,v 1.7 2012/08/29 21:55:02 vapier Exp $
# Min versions that included x32 support
>=sys-apps/sandbox-2.6
>=sys-devel/binutils-2.22
>=sys-kernel/linux-headers-3.4
>=sys-libs/glibc-2.16.0
>=sys-devel/gcc-4.7.1
>=sys-devel/gdb-7.5
>=dev-util/strace-4.7

View File

@ -0,0 +1,3 @@
..
# Need to clobber amd64 pulling in lib32 on us.
../../../features/multilib

View File

@ -0,0 +1,13 @@
# Main ARM profile
ARCH="arm"
ACCEPT_KEYWORDS="arm"
CHOST="arm-unknown-linux-gnu"
CFLAGS="-O2"
CXXFLAGS="${CFLAGS}"
# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
# Defaults for video drivers
VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident \
vga voodoo"

View File

@ -0,0 +1,30 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/arm/package.use.mask,v 1.12 2009/09/27 13:26:40 maekke Exp $
# Markus Meier <maekke@gentoo.org> (27 Sep 2009)
# mask media-gfx/imagemagick[autotrace] as autotrace is not keyworded
media-gfx/imagemagick autotrace
# Jim Ramsay <lack@gentoo.org> (5 Nov 2008)
# app-admin/gkrellm may pull in net-libs/libntlm, which is not keyworded
app-admin/gkrellm ntlm
# Gilles Dartiguelongue <eva@gentoo.org> (19 Oct 2007)
# gdm depends on zenity which is not keyworded
>=gnome-base/gdm-2.20 remote
# Gilles Dartiguelongue <eva@gentoo.org> (23 Oct 2007)
# gdm depends on zenity which is not keyworded
>=media-video/totem-2.20 galago
# Masking this so repoman shuts up about paludis
sys-apps/paludis ruby-bindings
# missing keywords
media-sound/sox amrnb amrwb ladspa
media-plugins/gst-plugins-meta lame taglib
# David Hendricks <dhendrix@chromium.org> (10 Oct 2011)
# libpci will cause program to exit(1) during init if PCI not present in system
sys-apps/flashrom atahpt drkaiser gfxnvidia nic3com nicintel nicintel_spi nicnatsemi nicrealtek ogp_spi rayer_spi satasii satamv

View File

@ -0,0 +1,7 @@
# Copyright 2001-2004 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/arm/packages,v 1.1 2008/04/01 17:39:55 wolf31o2 Exp $
>=sys-devel/binutils-2.13.90.0.4
>=sys-devel/gcc-3.2
>=sys-libs/glibc-2.2.5

View File

@ -0,0 +1 @@
../base

View File

@ -0,0 +1,2 @@
# Force the flag which corresponds to ARCH.
arm

View File

@ -0,0 +1,156 @@
# Unmask the flag which corresponds to ARCH.
-arm
# Raúl Porcel <armin76@gentoo.org>
# I've been told xfs is broken on ARM
xfs
# Mart Raudsepp <leio@gentoo.org>
# net-misc/networkmanager not keyworded
networkmanager
# Raúl Porcel <armin76@gentoo.org>
# Fails to build/work
openexr
# Samuli Suominen <drac@gentoo.org>
# media-libs/amrnb and media-libs/amrwb not tested.
amr
# Samuli Suominen <drac@gentoo.org>
# sci-visualization/grace not tested.
grace
# Samuli Suominen <drac@gentoo.org>
# media-gfx/gimp not tested.
gimp
# Saleem Abdulrasool <compnerd@gentoo.org>
# With vapier's permission masking this.
mozilla
hardened
# Krzysiek Pawlik <nelchael@gentoo.org>
# With vapier's permission masking aoss:
aoss
# Paul de Vrieze <pauldv@gentoo.org>
# There is no java in this profile (if there is it must be available). Without
# this repoman will fail on apps like sys-libs/db
java
java-internal
java-external
# Stuff that doesn't make sense on this arch
3dfx
cpufreq
dell
laptop
dmi
# Stuff we don't want
chicken
clisp
fuse
R
octave
tracker
xindy
lyx
mpi
lasi
fusion
# havent tested yet
cupsddk
gphoto2
mythtv
dvb
qt3
arts
kde
afs
mono
pike
lirc
lm_sensors
netjack
beagle
nvtv
mzscheme
xemacs
scanner
madwifi
libupnp
zvbi
dvd
fluidsynth
gnomecd
lapack
cblas
webkit
prolog
sid
libmms
mtp
ieee1394
# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
# Modular X: mask for architectures on which they aren't available
video_cards_apm
video_cards_ark
video_cards_ast
video_cards_ati
video_cards_cirrus
video_cards_chips
video_cards_cyrix
video_cards_glint
video_cards_i128
video_cards_i740
video_cards_imstt
video_cards_intel
video_cards_mach64
video_cards_mga
video_cards_neomagic
video_cards_newport
video_cards_nsc
video_cards_nv
video_cards_r128
video_cards_radeon
video_cards_radeonhd
video_cards_rendition
video_cards_s3
video_cards_s3virge
video_cards_savage
video_cards_siliconmotion
video_cards_sis
video_cards_tdfx
video_cards_tga
video_cards_trident
video_cards_tseng
video_cards_vesa
video_cards_via
video_cards_voodoo
# 2006/03/07 - Donnie Berkholz <dberkholz@gentoo.org>
# Modular X: mask for architectures lacking direct rendering
dri
# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
# Unmask the ARM-specific ALSA drivers
-alsa_cards_pxa2xx-i2sound
-alsa_cards_pxa2xx-soc
-alsa_cards_pxa2xx-soc-corgi
-alsa_cards_pxa2xx-soc-poodle
-alsa_cards_pxa2xx-soc-spitz
-alsa_cards_pxa2xx-soc-tosa
-alsa_cards_sa11xx-uda1341ts
-alsa_cards_armaaci
-alsa_cards_at91-soc
-alsa_cards_at91-soc-eti-b1-wm8731
# USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
# Bug #184563, 18 Sep 2007
# Robin H. Johnson <robbat2@gentoo.org>
audit

View File

@ -0,0 +1,17 @@
# Mask flags that correspond to all possible ARCH values.
alpha
amd64
amd64-fbsd
arm
hppa
ia64
m68k
mips
ppc
ppc64
s390
sh
sparc
sparc-fbsd
x86
x86-fbsd

View File

@ -0,0 +1,21 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/make.defaults,v 1.4 2009/08/16 22:07:20 remi Exp $
# All extra USE/etc should be specified in sub-profiles.
# DO NOT POLLUTE USE ON THIS PROFILE.
ARCH="x86"
ACCEPT_KEYWORDS="x86"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
# Defaults for video drivers
VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
# 2006/12/21 - Andrej Kacian <ticho@gentoo.org>
# Defaults for audio drivers
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"

View File

@ -0,0 +1,7 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/package.mask,v 1.16 2009/09/05 22:14:54 jmbsvicetto Exp $
# Christian Faulhammer <opfer@gentoo.org> (05 Dec 2006)
# this version is badly broken on x86, see bug #153280
~app-arch/rpm-4.4.7

View File

@ -0,0 +1,2 @@
# These USE flags are needed so that glmark2 can run on 32/32 machines.
media-libs/mesa egl gbm shared-glapi

View File

@ -0,0 +1,41 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/package.use.mask,v 1.20 2009/09/23 10:42:11 elvanor Exp $
# This file requires >=portage-2.1.1
# Jean-Noël Rivasseau <elvanor@gentoo.org> (23 Sep 2009)
# X use flag only for amd64/x86, bug 285951.
media-gfx/iscan -X
# Tomáš Chvátal <scarabeus@gentoo.org> (10 Sep 2009)
# quakeforge has video_cards_voodoo enabled only for x86
games-fps/quakeforge -video_cards_tdfx
# Raúl Porcel <armin76@gentoo.org> (02 Dec 2008)
media-libs/realcodecs win32codecs
# Tomas Chvatal <scarabeus@gentoo.org> (24 Nov 2008)
# masked in base, unmaks for x86/amd64
sci-misc/boinc -cuda
# Robert Buchholz <rbu@gentoo.org> (16 Aug 2008)
# masked in base, unmask for x86/amd64
dev-python/kaa-base -tls
# Serkan Kaba <serkan@gentoo.org> (20 Jul 2008)
app-text/enchant -zemberek
>=dev-java/sun-jdk-1.5 -nsplugin
>=dev-java/sun-jre-bin-1.5 -nsplugin
>=dev-java/ibm-jdk-bin-1.5 -nsplugin
>=dev-java/ibm-jre-bin-1.5 -nsplugin
x11-terms/eterm sse2
# Christian Faulhammer <opfer@gentoo.org> (14 Jan 2008)
# only works on x86
dev-java/ibm-jdk-bin -alsa
dev-java/ibm-jre-bin -alsa
# Steve Dibb <beandog@gentoo.org> (29 Sept 2008)
media-video/mplayer -cpudetection -custom-cpuopts -win32codecs -bindist -vdpau

View File

@ -0,0 +1,14 @@
# Copyright 2001-2004 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/packages,v 1.1 2008/04/01 17:40:04 wolf31o2 Exp $
# For instructions on how this file works (as an inclusion mask, primarily),
# please refer to ${PORTDIR}/profiles/base/packages
# Use this file to lock down specific versions of packages ONLY TO THIS
# SPECIFIC ARCHITECTURE!!
# You can also add files to the base system itself if you prefix them with a
# *
>=sys-devel/binutils-2.13.90.0.4

View File

@ -0,0 +1 @@
../base

View File

@ -0,0 +1,50 @@
function print_ld_paths() {
# Default library directories
local paths="$SYSROOT/usr/lib:$SYSROOT/lib"
# Only split on newlines
local IFS="
"
for line in $(cat "$SYSROOT"/etc/ld.so.conf
"$SYSROOT"/etc/ld.so.conf.d/* 2>/dev/null); do
if [[ "${line:0:1}" != "/" ]]; then
continue
fi
if [[ "${line:0:${#SYSROOT}}" == "$SYSROOT" ]]; then
paths="$paths:$line"
else
paths="$paths:$SYSROOT$line"
fi
done
echo "$paths"
}
# Given the path to ld-linux.so.2, determine it's version.
function libc_version() {
local ld_path=$1
echo $(readlink -f $1/ld-linux.so.2 | sed 's/.*ld-\(.*\).so/\1/g')
}
function cros_pre_src_test_ldpaths() {
# HACK(raymes): If host/target libc versions are different,
# prepend host library path to work around
# http://code.google.com/p/chromium-os/issues/detail?id=19936
local host_library_path=""
local host_libc=$(libc_version /lib32)
local target_libc=$(libc_version "$SYSROOT/lib")
if [[ "$host_libc" != "$target_libc" ]]; then
host_library_path=/lib32
ewarn "Host/target libc mismatch. Using host libs for src_test!"
fi
# Set LD_LIBRARY_PATH to point to libraries in $SYSROOT, so that tests
# will load libraries from there first
if [[ -n "$SYSROOT" ]] && [[ "$SYSROOT" != "/" ]]; then
if [[ -n "$LD_LIBRARY_PATH" ]]; then
export LD_LIBRARY_PATH="$host_library_path:$(print_ld_paths):$LD_LIBRARY_PATH"
else
export LD_LIBRARY_PATH="$host_library_path:$(print_ld_paths)"
fi
fi
}

View File

@ -0,0 +1,2 @@
# Force the flag which corresponds to ARCH.
x86

View File

@ -0,0 +1,105 @@
# Copyright 2004 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/use.mask,v 1.11 2009/07/31 21:47:28 ssuominen Exp $
# Unmask the flag which corresponds to ARCH.
-x86
# This file masks out USE flags that are simply NOT allowed in the default
# x86 profile. This works, for example, if another architecture's
# profile have a USE flag associated with (such as altivec, mmx, etc).
# pbbuttonsd and macbook for KDE and pbuttonsd it
#-pbbuttonsd
-macbook
# Unmask x86 instruction sets
-3dnow
-3dnowext
-lilo
-mmx
-mmxext
-sse
-sse2
-ssse3
-svga
-kqemu
-nvram
# Unmask nvidia XvMC support
-nvidia
# Unmask dev-db/oracle-instantclient-basic support
-oci8-instant-client
# Unmask osp, used by asterisk; bug 115798
-osp
# Unmask yellownet, used by aqbanking (bug 149970)
-yellownet
# Modular X: unmask for architectures on which they are available
-input_devices_synaptics
-input_devices_virtualbox
-input_devices_vmmouse
-input_devices_wacom
-video_cards_nvidia
-video_cards_fglrx
-video_cards_vmware
-video_cards_geode
-video_cards_vermilion
-video_cards_via
-video_cards_virtualbox
-video_cards_xgi
# Modular X: mask for architectures on which they aren't available
video_cards_newport
#codec support
-win32codecs
-x264
# lvm2 cluster
-clvm
-gulm
# psyco works on x86
-psyco
# Diego Pettenò <flameeyes@gentoo.org> (4 Jan 2007)
# Unmask the flags for PHP that are available only on x86
-fdftk
-sybase-ct
-ingres
-birdstep
-adabas
-filepro
-pfpro
-informix
-empress
-empress-bcs
-sybase
-frontbase
-dbmaker
-esoob
-solid
# Shared with amd64
-oci8
-oracle7
-firebird
-db2
# Robert Buchholz <rbu@gentoo.org> (03 Jun 2007)
# Unmask as it works on x86
-lcd_devices_svga
-lcd_devices_luise
# George Shapovalov <george@gentoo.org> (8 Apr 2007)
# supported on x86
-ada
# tcc is x86 only
-tcc
# RealMagic Hollywood+/Creative DXR3 support
-dxr3

View File

@ -0,0 +1,140 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/make.defaults,v 1.90 2012/11/24 21:08:09 mgorny Exp $
#
# System-wide defaults for the Portage system
# See portage(5) manpage
# Profile IUSE injection (applies only to ebuilds which use EAPI 5 or later)
IUSE_IMPLICIT="prefix"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin FreeBSD glibc HPUX Interix mintlib NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
# Env vars to expand into USE vars. Modifying this requires prior
# discussion on gentoo-dev@gentoo.org.
USE_EXPAND="APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES ENLIGHTENMENT_MODULES FOO2ZJS_DEVICES MISDN_CARDS FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS DVB_CARDS LIRC_DEVICES INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS ALSA_CARDS ALSA_PCM_PLUGINS LCD_DEVICES CAMERAS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS RUBY_TARGETS PHP_TARGETS NGINX_MODULES_HTTP NGINX_MODULES_MAIL XFCE_PLUGINS XTABLES_ADDONS GPSD_PROTOCOLS COLLECTD_PLUGINS DRACUT_MODULES OFED_DRIVERS GRUB_PLATFORMS FFTOOLS PYTHON_TARGETS CURL_SSL OPENMPI_FABRICS OPENMPI_RM OPENMPI_OFED_FEATURES LIBREOFFICE_EXTENSIONS VOICEMAIL_STORAGE PYTHON_SINGLE_TARGET"
# USE_EXPAND variables whose contents are not shown in package manager
# output. Changes need discussion on gentoo-dev.
USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS"
# Basic CONFIG_PROTECT is defined by portage make.globals in /usr/share. That is really bad, kill it here.
CONFIG_PROTECT="-/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
# Variables that are set exclusively by the profile
# and not by user configuration files.
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
# 'Sane' defaults
ELIBC="glibc"
KERNEL="linux"
USERLAND="GNU"
INPUT_DEVICES="keyboard mouse"
# Tomáš Chvátal <scarabeus@gentoo.org> (12 Aug 2011)
# By default do not build any grub platform and let it guess.
GRUB_PLATFORMS=""
# Tomáš Chvátal <scarabeus@gentoo.org> (05 May 2013)
# By default enable all extensions with no dependencies
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
# Tomáš Chvátal <scarabeus@gentoo.org> (15 May 2011)
# Andreas K. Hüttel <dilfridge@gentoo.org> (19 Aug 2011, 25 Mar 2012)
# By default build all koffice / calligra features.
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump"
# Pacho Ramos <pacho@gentoo.org> (14 Feb 2010)
# Enable 'ptp2' by default as it is available for most cameras.
CAMERAS="ptp2"
# Ole Markus With <olemarkus@gentoo.org> (09 Oct 2010)
# Default PHP targets (should always be latest stable version)
PHP_TARGETS="php5-3"
# Andreas K. Huettel <dilfridge@gentoo.org> (28 Sep 2010)
# Small default list of enabled plugins for collectd
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
# Tomáš Chvátal <scarabeus@gentoo.org> (26 Oct 2010)
# By default enable all protocols for average GPS user
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
# Diego Pettenò <flameeyes@gentoo.org> (21 Dec 2006)
# Build everything for the average user
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
# Benedikt Böhm <hollow@gentoo.org> (27 Nov 2007)
# Sane defaults for built-in apache modules
# Patrick Lauer <patrick@gentoo.org> (12 Oct 2012)
# extend for apache 2.4
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
# Peter Volkov <pva@gentoo.org> (29 Apr 2010)
# Set some defaults or package will fail to build (Check mconfig in package sources)
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
# Robert Buchholz <rbu@gentoo.org> (17 Jan 2006)
# Some common lcd devices
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
# 2006/10/17 - Daniel Drake <dsd@gentoo.org>
# cracklib is becoming optional in shadow (and removed from system) as of
# today. However, cracklib is very standard across the Linux world so we
# enable it by default.
#
# Diego Pettenò <flameeyes@gentoo.org> (14 Jul 2007)
# Moved to base/ profile from default-linux/ so that it also applies to
# embedded and hardened profiles.
USE="${USE} cracklib"
# Miroslav Šulc <fordfrog@gentoo.org> (19 Nov 2008)
# Netbeans modules/clusters
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
# 2009/09/21 Robin H. Johnson <robbat2@gentoo.org>
# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
# Build kernel modules from linux-mod by default:
USE="${USE} modules"
# Alex Legler <a3li@gentoo.org> (30 Nov 2009)
# Default Ruby build targets
RUBY_TARGETS="ruby18 ruby19"
# Samuli Suominen <ssuominen@gentoo.org> (03 Dec 2009)
# Enable USE cxx by default so base-system and toolchain pkgs can start using USE cxx
# instead of USE nocxx.
# http://archives.gentoo.org/gentoo-dev/msg_a181cd0d36600067b599f4b996c6989f.xml
USE="${USE} cxx"
# Tiziano Müller <dev-zero@gentoo.org> (24 Jan 2010)
# We usually don't want python to (re)write .py[co] files during phase runs
# since it could cause sandbox violations
PYTHONDONTWRITEBYTECODE="1"
# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (16 Nov 2011)
# Add default USE value for bootstrap and rename it from STAGE1_USE to BOOTSTRAP_USE
BOOTSTRAP_USE="cxx unicode"
# Mike Gilbert <floppym@gentoo.org> (15 May 2012)
# Default target(s) for python-r1.eclass
PYTHON_TARGETS="python2_6"
PYTHON_SINGLE_TARGET="python2_6"
# ChromeOS-specific: BOARD_USE for accessing board value in cros-board.eclass
# CROS_WORKON_TREE for cros-workon
# TESTS USE_EXPAND for autotest
# U_BOOT_CONFIG_USE for selecting U-Boot config
# U_BOOT_FDT_USE for selecting U-Boot device tree
USE_EXPAND="${USE_EXPAND} BOARD_USE CROS_WORKON_TREE TESTS U_BOOT_CONFIG_USE U_BOOT_FDT_USE"
USE_EXPAND_HIDDEN="${USE_EXPAND_HIDDEN} CROS_WORKON_TREE"
# Default licenses that are accepted for ChromiumOS builds.
# If you want to accept more, use the --accept_licenses flag
# when running setup_board.
ACCEPT_LICENSE="* -@EULA -@CHROMEOS"

View File

@ -0,0 +1,4 @@
# Upstream portage blocks portage-9999 with package.mask, so we need to unmask
# it manually to allow us to build it. (It's still marked as unstable, so we
# won't use it by default.)
=sys-apps/portage-9999

View File

@ -0,0 +1,13 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.force,v 1.8 2009/08/01 14:55:18 beandog Exp $
# Peter Alfredsen <loki_val@gentoo.org> (11 Apr 2009)
# Forcing w.r.t. bug 265336. When unicode use-flag is
# turned off, ABI is broken without a .so bump.
dev-libs/libpcre unicode
# Samuli Suominen <ssuominen@gentoo.org> (10 May 2009)
# USE X needs to be always enabled to force virtualx
# eclass usage for Xeconf.
media-sound/rubyripper X

View File

@ -0,0 +1,166 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.mask,v 1.97 2009/10/11 20:12:53 ssuominen Exp $
# This file requires >=portage-2.1.1
# New entries go on top.
# Samuli Suominen <ssuominen@gentoo.org> (10 Oct 2009)
# Not ready for stable. Remove this mask when KDE 4.3.2 is stable.
<kde-base/kdeadmin-meta-4.3.2 cups
<kde-base/kdeutils-meta-4.3.2 cups
<kde-base/plasma-workspace-4.3.2 google-gadgets
# Samuli Suominen <ssuominen@gentoo.org> (10 Oct 2009)
# Fix deptree because kopete-facebook is missing KEYWORDS
kde-base/kopete facebook
# Samuli Suominen <ssuominen@gentoo.org> (09 Oct 2009)
# log4cxx has known memory leaking issues wrt bug #287697,
# unmask when log4cxx is fixed and stable.
app-misc/strigi log
# Jean-Noël Rivasseau <elvanor@gentoo.org> (23 Sep 2009)
# X use flag only for amd64/x86, bug 285951.
media-gfx/iscan X
# Nirbheek Chauhan <nirbheek@gentoo.org> (22 Sep 2009)
# Broken with KDE4, mask for now
>=app-office/openoffice-3.1.1 kde
# Alex Legler <a3li@gentoo.org> (16 Sep 2009)
# Maintainer of the kolab patch is not available (wrobel).
# Bump is needed for security bug 285052.
>=www-apps/horde-webmail-1.2.4 kolab
# Tomáš Chvátal <scarabeus@gentoo.org> (10 Sep 2009)
# quakeforge has video_cards_tdfx enabled only for x86
games-fps/quakeforge video_cards_tdfx
# Marijn Schouten <hkBst@gentoo.org> (03 Aug 2009)
# gcl is an old piece of crap that has a lot of problems
sci-mathematics/maxima gcl
# Jeremy Olexa <darkside@gentoo.org> (31 Jul 2009)
# Mask the gnome USE flag globally for app-office/abiword-plugins-2.4.6 because
# it depends on a GLSA affected atom. bug 271708
=app-office/abiword-plugins-2.4.6 gnome
# Petteri Räty <betelgeuse@gentoo.org> (14 Jul 2009)
# Open source Java plugin development happens in IcedTea
# these days.
dev-java/gnu-classpath nsplugin
# Tristan Heaven <nyhm@gentoo.org> (12 Jun 2009)
# media-libs/freeimage is masked for bug #269516
dev-games/cegui freeimage
dev-games/ogre freeimage
# Mounir Lamouri <volkmar@gentoo.org> (21 Apr 2009)
# masking jingle because it's using an old ortp version
# which is blocking stabilization of new ones, bug 206047
=kde-base/kdenetwork-3* jingle
=kde-base/kopete-3* jingle
# Peter Alfredsen <loki_val@gentoo.org> (20 Jan 2008)
# Pango is a Work-In-Progress for libgdiplus
# Bug 255623
dev-dotnet/libgdiplus pango
# Tomas Chvatal <scarabeus@gentoo.org> (31 Jan 2009)
# mask cuda for boinc. Works only on amd64 and x86
sci-misc/boinc cuda
# Robert Buchholz <rbu@gentoo.org> (16 Aug 2008)
# TLS needs dev-libs/cryptlib, which is x86 only
dev-python/kaa-base tls
# Serkan Kaba <serkan@gentoo.org> (20 Jul 2008)
# Java is not supported in most of the arches enchant is keyworded
app-text/enchant zemberek
# Thomas Anderson <gentoofan23@gentoo.org> (04 Jul 2008)
# Mask ia32 USE flag on all architectures but amd64
# as we're the only people who can make use of it.
www-client/opera ia32
# Peter Alfredsen <loki_val@gentoo.org> (25 Jun 2008)
# Php module fails to build due to newer autotools.
>=media-libs/ming-0.4.0_beta5 php
# Ben de Groot <yngwin@gentoo.org> (22 Jun 2008)
# does not work with ffmpeg new headers yet
<www-plugins/gnash-0.8.3 ffmpeg
# Markus Ullmann <jokey@gentoo.org> (21 Mar 2008)
# still work in progress
=net-irc/kvirc-3.4.0 qt4
# Michael Sterrett <mr_bones_@gentoo.org> (09 Mar 2008)
# tcl version necessary has been masked so mask this for now.
~app-editors/nvi-1.81.6 tcl
# Christian Faulhammer <opfer@gentoo.org> (03 Mar 2008)
# This feature is experimental and should be used by people willing to
# test it
app-portage/gatt libpaludis
# Wulf Krueger <philantrop@gentoo.org> (28 Jan 2008)
# Mask bluetooth for the KDE 3.5.8 stabilisation.
app-pda/pilot-link bluetooth
# Christian Hoffmann <hoffie@gentoo.org> (27 Dec 2007)
# Missing dev-php5/php-java-bridge
dev-lang/php java-external
# Donnie Berkholz <dberkholz@gentoo.org> (12 Nov 2007)
# freedesktop.org bug #7459 committed fix breaks 3D apps
# but "fix" is only relevant on USE=nptl
=media-libs/mesa-7.0* nptl
# Robert Buchholz <rbu@gentoo.org> (29 Aug 2007)
# PPTP Plugin doesn't work on amd64
kde-misc/knetworkmanager pptp
dev-java/sun-jdk nsplugin
dev-java/sun-jre-bin nsplugin
dev-java/ibm-jdk-bin nsplugin
dev-java/ibm-jre-bin nsplugin
# Petteri Räty <betelgeuse@gentoo.org> (27 Apr 2007)
# package.use.masked for security bug #161835
# Not removed from ebuilds because this is the only 64 bit plugin
# on amd64.
dev-java/blackdown-jdk nsplugin
dev-java/blackdown-jre nsplugin
# These are for BSD only
net-proxy/squid ipf-transparent pf-transparent
app-admin/sshguard ipfilter
# Linking against libnfsidmap requires libs in /usr #149472
sys-apps/acl nfs
# Christian Faulhammer <opfer@gentoo.org> (14 Jan 2008)
# only works on x86, where this will be unmasked
dev-java/ibm-jdk-bin alsa
dev-java/ibm-jre-bin alsa
# Raúl Porcel <armin76@gentoo.org> (09 Nov 2008)
# CPU opts: This needs amd64, x86 and ppc on some of them
# dvdnav: hard masked dependency
# vdpau: availble on x86, amd64 only
media-video/mplayer cpudetection custom-cpuopts bindist vdpau
# Steve Dibb <beandog@gentoo.org> (26 Feb 2009)
# Unmask internal real player codec support on newer mplayer
>=media-video/mplayer-1.0_rc2_p20090226 -real
# Alexis Ballier <aballier@gentoo.org> (07 Jul 2009)
# The pda interface doesnt build, bug #277037
>=media-video/vlc-1.0.0 pda
# Samuli Suominen <ssuominen@gentoo.org> (31 Jul 2009)
# Security issues wrt #190835
games-fps/doom-data doomsday
games-fps/freedoom doomsday

View File

@ -0,0 +1,25 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/package.use.mask.example,v 1.2 2009/07/31 11:16:52 ssuominen Exp $
# This file requires >=portage-2.1.1
# It's named example so portage doesn't open it and it doesn't do anything yet.
# The syntax is similar to /etc/portage/package.use
###
### Examples!
###
### Masking
# sys-devel/gcc hardened # mask hardened USE flag for sys-devel/gcc
### Unmasking
# sys-devel/gcc -hardened # unmask hardened USE flag for sys-devel/gcc
# DO NOT DO
# -sys-devel/gcc hardened
# This wrong example is here because someone did it (he blamed his copy
# and pasting program).

View File

@ -0,0 +1,75 @@
# Copyright 2004 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/packages,v 1.45 2009/09/29 09:04:29 flameeyes Exp $
# Gentoo Base Profile
# NOTE: THIS IS THE BASE PROFILE FOR *ANY* GENTOO BASED OPERATING SYSTEM.
# NO MODIFICATIONS MAY BE MADE TO THIS FILE WITHOUT PRIOR DISCUSSION. IF
# YOU ARE CREATING A NEW PROFILE, YOU SIMPLY NEED TO INHERIT THIS BASE
# PROFILE IN YOUR PROFILE DIRECTORY'S "parent" FILE.
# OK, you're staring at this file and you have no idea what these stars are
# for. Here's the scoop. An initial "*" marks a package that is part of
# the official BASE system profile. If there is a "*" then `emerge system`
# will use the line in its calculations of what should be installed for the
# base profile. Lines without a "*" prefix will be ignored for profile
# system calculations.
# Please note that this file is rarely used as a package inclusion mask
# file, because it affects EVERY SINGLE gentoo profile. As can be seen,
# we've limited the inclusion mask to a version of portage which supports
# cascaded profiles, but apart from that, there should be no version
# specific information in here. This file serves as a high level description
# of the minimum set of packages needed for any Gentoo based system.
*sys-apps/baselayout
*app-arch/bzip2
*app-arch/cpio
*app-arch/gzip
*app-arch/tar
*app-shells/bash
#*dev-lang/perl
#*dev-lang/python
*net-misc/iputils
*net-misc/rsync
*net-misc/wget
*sys-apps/coreutils
#*sys-apps/debianutils
*sys-apps/diffutils
*sys-apps/file
*sys-apps/findutils
*sys-apps/gawk
*sys-apps/grep
*sys-apps/net-tools
#*>=sys-apps/portage-2.0.51.22
*sys-process/procps
*sys-process/psmisc
*sys-apps/sed
*sys-apps/shadow
*sys-apps/texinfo
*sys-apps/which
*sys-devel/autoconf
*sys-devel/automake
*sys-devel/binutils
*sys-devel/bison
*sys-devel/flex
*sys-devel/gcc
*sys-devel/gnuconfig
*sys-devel/libtool
*sys-devel/m4
*sys-devel/make
*>=sys-devel/patch-2.6.1
*sys-fs/e2fsprogs
*sys-libs/ncurses
*sys-libs/readline
*sys-libs/zlib
*virtual/editor
*virtual/libc
*virtual/man
*virtual/modutils
*virtual/os-headers
*virtual/pager
*virtual/portage
*virtual/ssh

View File

@ -0,0 +1,114 @@
# Copyright 2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v 1.3 2009/07/21 00:08:05 zmedico Exp $
# Set LANG=C globally because it speeds up build times, and we don't need
# localized messages inside of our builds.
export LANG=C
# Since unittests on the buildbots don't automatically get access to an
# X server, don't let local dev stations get access either. If a test
# really needs an X server, they should launch their own with Xvfb.
unset DISPLAY
if ! declare -F elog >/dev/null ; then
elog() {
einfo "$@"
}
fi
# Dumping ground for build-time helpers to utilize since SYSROOT/tmp/
# can be nuked at any time.
CROS_BUILD_BOARD_TREE="${SYSROOT}/build"
CROS_BUILD_BOARD_BIN="${CROS_BUILD_BOARD_TREE}/bin"
CROS_ADDONS_TREE="/usr/local/portage/chromiumos/chromeos"
# Are we merging for the board sysroot, or for the cros sdk, or for
# the target hardware? Returns a string:
# - cros_host (the sdk)
# - board_sysroot
# - target_image
# We can't rely on "use cros_host" as USE gets filtred based on IUSE,
# and not all packages have IUSE=cros_host.
cros_target() {
if [[ ${CROS_SDK_HOST} == "cros-sdk-host" ]] ; then
echo "cros_host"
elif [[ ${ROOT%/} == ${SYSROOT%/} ]] ; then
echo "board_sysroot"
else
echo "target_image"
fi
}
# Load all additional bashrc files we have for this package.
cros_stack_bashrc() {
local cfg cfgd
cfgd="${CROS_ADDONS_TREE}/config/env"
for cfg in ${PN} ${PN}-${PV} ${PN}-${PV}-${PR} ; do
cfg="${cfgd}/${CATEGORY}/${cfg}"
[[ -f ${cfg} ]] && . "${cfg}"
done
}
cros_stack_bashrc
# The standard bashrc hooks do not stack. So take care of that ourselves.
# Now people can declare:
# cros_pre_pkg_preinst_foo() { ... }
# And we'll automatically execute that in the pre_pkg_preinst func.
#
# Note: profile.bashrc's should avoid hooking phases that differ across
# EAPI's (src_{prepare,configure,compile} for example). These are fine
# in the per-package bashrc tree (since the specific EAPI is known).
cros_lookup_funcs() {
declare -f | egrep "^$1 +\(\) +$" | awk '{print $1}'
}
cros_stack_hooks() {
local phase=$1 func
local header=true
for func in $(cros_lookup_funcs "cros_${phase}_[-_[:alnum:]]+") ; do
if ${header} ; then
einfo "Running stacked hooks for ${phase}"
header=false
fi
ebegin " ${func#cros_${phase}_}"
${func}
eend $?
done
}
cros_setup_hooks() {
# Avoid executing multiple times in a single build.
[[ ${cros_setup_hooks_run+set} == "set" ]] && return
local phase
for phase in {pre,post}_{src_{unpack,prepare,configure,compile,test,install},pkg_{{pre,post}{inst,rm},setup}} ; do
eval "${phase}() { cros_stack_hooks ${phase} ; }"
done
export cros_setup_hooks_run="booya"
}
cros_setup_hooks
# Packages that use python will run a small python script to find the
# pythondir. Unfortunately, they query the host python to find out the
# paths for things, which means they inevitably guess wrong. Export
# the cached values ourselves and since we know these are going through
# autoconf, we can leverage ${libdir} that econf sets up automatically.
cros_pre_src_unpack_python_multilib_setup() {
# Avoid executing multiple times in a single build.
[[ ${am_cv_python_version:+set} == "set" ]] && return
local py=${PYTHON:-python}
local py_ver=$(${py} -c 'import sys;sys.stdout.write(sys.version[:3])')
export am_cv_python_version=${py_ver}
export am_cv_python_pythondir="\${libdir}/python${py_ver}/site-packages"
export am_cv_python_pyexecdir=${am_cv_python_pythondir}
}
# Since we're storing the wrappers in a board sysroot, make sure that
# is actually in our PATH.
cros_pre_pkg_setup_sysroot_build_bin_dir() {
PATH+=":${CROS_BUILD_BOARD_BIN}"
}

View File

@ -0,0 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/use.force,v 1.3 2009/07/31 16:42:56 ssuominen Exp $
# Force the GNU/Linux ELIBC, KERNEL, and USERLAND
# flags that apply to the majority of profiles.
elibc_glibc
kernel_linux
userland_GNU

View File

@ -0,0 +1,225 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/base/use.mask,v 1.81 2009/09/10 12:03:43 scarabeus Exp $
# profile specific USE flags
# Don't put hardened in here.
selinux
uclibc
multilib
# amd64/x86 arch specific USE flags
kqemu
3dnow
3dnowext
lilo
mmx
mmxext
sse
sse2
ssse3
svga
win32codecs
real
nvram
# ppc arch specific USE flags
altivec
pbbuttonsd
ppcsha1
# mips arch specific USE flags
n32
n64
fixed-point
# ppc64 arch specific USE flags
ibm
# sparc arch specific USE flags
vis
ultra1
# nVidia XvMC requires nvidia-drivers/nvidia-legacy-drivers
nvidia
# dev-db/oracle-instantclient-basic is only available on x86
oci8-instant-client
# net-libs/osptoolkit is only available on x86 (used by asterisk, bug 115798)
osp
# yellownet is only avaible as a binary blob (bug 149970)
yellownet
# not keyworded on non-x86 systems
video_cards_geode
video_cards_vermilion
video_cards_xgi
video_cards_voodoo
# not needed on non-sparc systems
video_cards_sunbw2
video_cards_suncg14
video_cards_suncg3
video_cards_suncg6
video_cards_sunffb
video_cards_sunleo
video_cards_suntcx
# not needed on non-mips system
video_cards_newport
video_cards_impact
# not needed on non-x86, non-amd64 systems
input_devices_virtualbox
input_devices_vmmouse
video_cards_nvidia
video_cards_fglrx
video_cards_via
video_cards_vmware
video_cards_virtualbox
# not needed on non-x86, non-amd64, non-ppc systems
input_devices_synaptics
input_devices_wacom
# psyco only works on x86
psyco
# Mask ELIBC, KERNEL, and USERLAND flags that apply to specific profiles.
userland_BSD
elibc_AIX
elibc_Darwin
elibc_DragonFly
elibc_FreeBSD
elibc_HPUX
elibc_Interix
elibc_IRIX
elibc_mintlib
elibc_NetBSD
elibc_OpenBSD
elibc_SunOS
elibc_uclibc
kernel_AIX
kernel_Darwin
kernel_FreeBSD
kernel_freemint
kernel_HPUX
kernel_Interix
kernel_IRIX
kernel_NetBSD
kernel_OpenBSD
kernel_SunOS
# Diego Pettenò <flameeyes@gentoo.org> (6 Dec 2006)
# Mask specific Apple drivers
alsa_cards_aoa
alsa_cards_aoa-fabric-layout
alsa_cards_aoa-onyx
alsa_cards_aoa-soundbus
alsa_cards_aoa-soundbus-i2s
alsa_cards_aoa-tas
alsa_cards_aoa-toonie
alsa_cards_powermac
# Mask specific Sun drivers
alsa_cards_sun-amd7930
alsa_cards_sun-cs4231
alsa_cards_sun-dbri
# Mask specific ARM drivers
alsa_cards_pxa2xx-i2sound
alsa_cards_pxa2xx-soc
alsa_cards_pxa2xx-soc-corgi
alsa_cards_pxa2xx-soc-poodle
alsa_cards_pxa2xx-soc-spitz
alsa_cards_pxa2xx-soc-tosa
alsa_cards_sa11xx-uda1341ts
alsa_cards_armaaci
alsa_cards_at91-soc
alsa_cards_at91-soc-eti-b1-wm8731
# Mask specific HPPA drivers
alsa_cards_harmony
# Mask specific MIPS drivers
alsa_cards_au1x00
# Diego Pettenò <flameeyes@gentoo.org> (29 Dec 2006)
# Adobe FDF toolkit is x86 only.
fdftk
# Diego Pettenò <flameeyes@gentoo.org> (30 Dec 2006)
# These are specific of Mac OS X
aqua
coreaudio
# Diego Pettenò <flameeyes@gentoo.org> (4 Jan 2007)
# Mask the flags for PHP that are available only on x86
sybase-ct
ingres
birdstep
adabas
filepro
pfpro
informix
empress
empress-bcs
sybase
frontbase
dbmaker
esoob
solid
# Shared with amd64
oci8
oracle7
firebird
db2
# Robert Buchholz <rbu@gentoo.org> (03 Jun 2007)
# Only works on x86 or amd64
lcd_devices_svga
lcd_devices_luise
# Joseph Jezak <josejx@gentoo.org> (11 Mar 2007)
# Only for x86 and amd64 (in pbbuttonsd)
macbook
# George Shapovalov <george@gentoo.org> (8 Apr 2007)
# Ada is supported only on x86, amd64 and ppc at present
ada
# lvm2 clustered use flags (moved from default-linux)
clvm
gulm
cman
# tcc is x86 only
tcc
# Diego Pettenò <flameeyes@gentoo.org> (15 Nov 2007)
# pam_console was masked for removal for security issue.
# mask the flag too.
pam_console
# Jeremy Olexa <darkside@gentoo.org>
# The prefix USE flag should never be used on non prefix profiles
prefix
# Alexey Shvetsov <alexxy@gentoo.org>
# Mask kdeprefix since its broken by now
kdeprefix
# Diego E. Pettenò <flameeyes@gentoo.org> (6 Jul 2009)
# on behalf of QA Team
# Removal of cman is scheduled for 2009-10-06
cman
# Markus Duft <mduft@gentoo.org> (7 Jul 2009)
# This use flag only applies to _one_ version of interix (all
# versions share the same keyword, that's why i need a USE flag).
# Since this is meaningless for all others, it's globally masked.
i6fork
# Samuli Suominen <ssuominen@gentoo.org> (01 Aug 2009)
# RealMagic Hollywood+/Creative DXR3 support
dxr3

View File

@ -0,0 +1,154 @@
app-accessibility
app-admin
app-antivirus
app-arch
app-backup
app-benchmarks
app-cdr
app-crypt
app-dicts
app-doc
app-editors
app-emacs
app-emulation
app-forensics
app-i18n
app-laptop
app-misc
app-mobilephone
app-office
app-pda
app-portage
app-shells
app-text
app-vim
app-xemacs
chromeos-base
dev-ada
dev-cpp
dev-db
dev-dotnet
dev-embedded
dev-games
dev-haskell
dev-java
dev-lang
dev-libs
dev-lisp
dev-ml
dev-perl
dev-php
dev-php5
dev-python
dev-ruby
dev-scheme
dev-tcltk
dev-tex
dev-texlive
dev-tinyos
dev-util
games-action
games-arcade
games-board
games-emulation
games-engines
games-fps
games-kids
games-misc
games-mud
games-puzzle
games-roguelike
games-rpg
games-server
games-simulation
games-sports
games-strategy
games-util
gnome-base
gnome-extra
gnustep-apps
gnustep-base
gnustep-libs
gpe-base
gpe-utils
java-virtuals
kde-base
kde-misc
lxde-base
mail-client
mail-filter
mail-mta
media-fonts
media-gfx
media-libs
media-plugins
media-radio
media-sound
media-tv
media-video
net-analyzer
net-dialup
net-dns
net-firewall
net-fs
net-ftp
net-im
net-irc
net-libs
net-mail
net-misc
net-nds
net-news
net-nntp
net-p2p
net-print
net-proxy
net-voip
net-wireless
net-zope
perl-core
rox-base
rox-extra
sci-astronomy
sci-biology
sci-calculators
sci-chemistry
sci-electronics
sci-geosciences
sci-libs
sci-mathematics
sci-misc
sci-physics
sci-visualization
sec-policy
sys-apps
sys-auth
sys-block
sys-boot
sys-cluster
sys-devel
sys-freebsd
sys-fs
sys-kernel
sys-libs
sys-power
sys-process
www-apache
www-apps
www-client
www-misc
www-plugins
www-servers
x11-apps
x11-base
x11-drivers
x11-libs
x11-misc
x11-plugins
x11-proto
x11-terms
x11-themes
x11-wm
xfce-base
xfce-extra
virtual

View File

@ -0,0 +1,14 @@
# Need to undo arch/amd64/package.use because that
# profile is shared between the cros sdk chroot and
# amd64 target boards.
app-arch/bzip2 -static-libs
app-arch/pbzip2 -static
app-arch/pigz -static
chromeos-base/update_engine -delta_generator
dev-embedded/openocd -ftdi
net-misc/openssh -kerberos
sys-apps/flashrom -dediprog -ft2232_spi -serprog
dev-libs/glib -static-libs

View File

@ -0,0 +1,2 @@
../no-multilib
../../../../../targets/chromeos

View File

@ -0,0 +1,2 @@
# We don't do multilib.
-multilib

View File

@ -0,0 +1,3 @@
../..
../../../../../../arch/amd64/x32
../../../../../../targets/chromeos

View File

@ -0,0 +1,2 @@
..
../../../../../targets/desktop

View File

@ -0,0 +1,2 @@
..
../../../../../targets/developer

Some files were not shown because too many files have changed in this diff Show More