# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.74 2011/08/27 20:30:39 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.75 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: cmake-utils.eclass
# @MAINTAINER:
# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES_LIST
# @DESCRIPTION:
-# Space-separated list of CMake modules that will be removed in $S during src_prepare,
+# Space-separated list of CMake modules that will be removed in $S during src_prepare,
# in order to force packages to use the system version.
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST:-FindBLAS FindLAPACK}"
SET(CMAKE_PREFIX_PATH "${EPREFIX}${PREFIX:-/usr}" CACHE STRING ""FORCE)
SET(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE)
SET(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE)
- SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE CACHE BOOL "" FORCE)
+ SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE CACHE BOOL "" FORCE)
SET(CMAKE_INSTALL_RPATH "${EPREFIX}${PREFIX:-/usr}/lib;${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" CACHE STRING "" FORCE)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE)
SET(CMAKE_INSTALL_NAME_DIR "${EPREFIX}${PREFIX:-/usr}/lib" CACHE STRING "" FORCE)
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.42 2011/07/08 11:36:00 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.43 2011/08/29 01:28:10 vapier Exp $
# This is a common location for functions used in the sys-libs/db ebuilds
#
# Bugs: pauldv@gentoo.org
for t in \
../test/test.tcl \
../test/tcl/test.tcl \
- ; do
+ ; do
[[ -f "${t}" ]] && testbase="${t}" && break
done
echo "source ${t}" > testrunner.tcl
sed -e "s/.*-j\([0-9]\+\).*/\1/"`
if [[ ${testJobs} =~ [[:digit:]]+ ]]; then
echo "run_parallel ${testJobs} run_std" >> testrunner.tcl
- else
+ else
echo 'run_std' >>testrunner.tcl
fi
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.53 2011/08/22 04:46:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.54 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: font.eclass
# @MAINTAINER:
# The font pkg_postrm function.
font_pkg_postrm() {
font_cleanup_dirs
-
+
# unreadable font files = fontconfig segfaults
find "${EROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \
| xargs -0 chmod -v 0644 2>/dev/null
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnat.eclass,v 1.39 2010/01/13 15:06:11 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnat.eclass,v 1.40 2011/08/29 01:28:10 vapier Exp $
#
# Author: George Shapovalov <george@gentoo.org>
# Belongs to: ada herd <ada@gentoo.org>
#
# params:
# $1 - the requested gnat profile in usual form (e.g. x86_64-pc-linux-gnu-gnat-gcc-4.1)
-# $2 - Ada standard specification, as would be specified in DEPEND.
+# $2 - Ada standard specification, as would be specified in DEPEND.
# Valid values: ada-1995, ada-2005, ada
#
# This used to treat ada-1995 and ada alike, but some packages (still
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.52 2011/05/23 14:09:04 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.53 2011/08/29 01:28:10 vapier Exp $
#
# Author: George Shapovalov <george@gentoo.org>
# Belongs to: ada herd <ada@gentoo.org>
# so tc-* functions are of no use here. The present versioning scheme makes
# GCCVER basically a part of PV, but *this may change*!!
#
-# GCCVER can be set in the ebuild.
+# GCCVER can be set in the ebuild.
[[ -z ${GCCVER} ]] && GCCVER="${GNATRELEASE}"
gnatbuild_pkg_postrm() {
- # "eselect gnat update" now removes the env.d file if the corresponding
+ # "eselect gnat update" now removes the env.d file if the corresponding
# gnat profile was unmerged
eselect gnat update
elog "If you just unmerged the last gnat in this SLOT, your active gnat"
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-osgi.eclass,v 1.5 2009/01/12 22:58:36 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-osgi.eclass,v 1.6 2011/08/29 01:28:10 vapier Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
# This is an internal function, not to be called directly.
#
# @example
-# _java-osgi_makejar "dist/${PN}.jar" "com.jcraft.jsch" "JSch" "com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true"
+# _java-osgi_makejar "dist/${PN}.jar" "com.jcraft.jsch" "JSch" "com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true"
#
# @param $1 - name of jar to repackage with OSGi
# @param $2 - bundle symbolic name
# java-osgi_newjar-fromfile "dist/${PN}.jar" "${FILESDIR}/MANIFEST.MF" "Standard Widget Toolkit for GTK 2.0"
#
# @param $opt
-# --no-auto-version - This option disables automatic rewriting of the
+# --no-auto-version - This option disables automatic rewriting of the
# version in the Manifest file#
# @param $1 - name of jar to repackage with OSGi
# @param $2 (optional) - name of the target jar. It will default to package name if not specified.
# java-osgi_dojar-fromfile "dist/${PN}.jar" "${FILESDIR}/MANIFEST.MF" "Standard Widget Toolkit for GTK 2.0"
#
# @param $opt
-# --no-auto-version - This option disables automatic rewriting of the
+# --no-auto-version - This option disables automatic rewriting of the
# version in the Manifest file
# @param $1 - name of jar to repackage with OSGi
# @param $2 - path to the Manifest file
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.141 2011/07/08 11:35:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.142 2011/08/29 01:28:10 vapier Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
local version="${1}"
local bcp
- case "${version}" in
+ case "${version}" in
auto)
bcp="$(java-config -g BOOTCLASSPATH)"
;;
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.259 2011/08/19 13:26:12 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.260 2011/08/29 01:28:10 vapier Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
KV_PATCH_ARR=(${KV_PATCH//\./ })
# at this point 080811, Linus is putting 3.1 kernels in 3.0 directory
- # revisit when 3.1 is released
+ # revisit when 3.1 is released
if [[ ${KV_PATCH} -gt 0 ]]; then
KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))"
else
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.21 2011/07/08 11:36:00 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.22 2011/08/29 01:28:10 vapier Exp $
#
# mozcoreconf.eclass : core options for mozilla
# inherit mozconfig-2 if you need USE flags
# Strip optimization so it does not end up in compile string
filter-flags '-O*'
- # Strip over-aggressive CFLAGS
+ # Strip over-aggressive CFLAGS
use custom-cflags || strip-flags
# Additional ARCH support
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.164 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.165 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: mysql.eclass
# @MAINTAINER:
| xargs -0 sed -r -n \
-e '/^MYSQL_STORAGE_ENGINE/{
s~MYSQL_STORAGE_ENGINE\([[:space:]]*\[?([-_a-z0-9]+)\]?.*,~\1 ~g ;
- s~^([^ ]+).*~\1~gp;
+ s~^([^ ]+).*~\1~gp;
}' \
| tr -s '\n' ' '
)"
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.15 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.16 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: php-ext-source-r2.eclass
# @MAINTAINER:
if [[ "${PHP_EXT_SKIP_PHPIZE}" != 'yes' ]] ; then
# Create configure out of config.m4
# I wish I could run this to solve #329071, but I cannot
- #autotools_run_tool ${PHPIZE}
+ #autotools_run_tool ${PHPIZE}
${PHPIZE}
# force run of libtoolize and regeneration of related autotools
# files (bug 220519)
# Add the needed lines to the <ext>.ini files
local file
if [[ "${PHP_EXT_INI}" = "yes" ]] ; then
- for file in ${PHPINIFILELIST}; do
+ for file in ${PHPINIFILELIST}; do
php-ext-source-r2_addextension "${PHP_EXT_NAME}.so" "${file}"
done
fi
-
# Symlink the <ext>.ini files from ext/ to ext-active/
local inifile
# Add support for installing PHP files into a version dependant directory
PHP_EXT_SHARED_DIR="/usr/share/php/${PHP_EXT_NAME}"
done
-
}
php-ext-source-r2_addextension() {
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.93 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.94 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
MY_PV=${PV/_/-}
if version_is_at_least 4.5.99999999; then
MY_P=qt-everywhere-opensource-src-${MY_PV}
- [[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] &&
- [[ ${CATEGORY}/${PN} != x11-themes/qgtkstyle ]] &&
+ [[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] &&
+ [[ ${CATEGORY}/${PN} != x11-themes/qgtkstyle ]] &&
IUSE="+exceptions"
else
MY_P=qt-x11-opensource-src-${MY_PV}
qt4-build_src_prepare() {
setqtenv
cd "${S}"
-
+
# fix qt 4.7 regression that skips -fvisibility=hidden
if version_is_at_least "4.7.0_beta1"; then
sed -e "s/^gcc|g++)/*gcc|*g++)/" \
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/rox-0install.eclass,v 1.2 2007/12/04 21:26:55 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/rox-0install.eclass,v 1.3 2011/08/29 01:28:10 vapier Exp $
# ROX-0install eclass Version 1
#
# 0install_native_feed <src> <destpath>
# src - The XML file we will edit, install, and point at
-# path - The path where the implementation will be installed
+# path - The path where the implementation will be installed
# IE, the final edited xml will be at <path>/<basename of src>
0install_native_feed() {
local src=$1 path=$2
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.33 2010/04/01 17:03:47 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.34 2011/08/29 01:28:10 vapier Exp $
# ROX eclass Version 3
# APPMIME="a/foo-1;a/foo-2
# $(usemime three "a/three")
# text/plain"
-# will be expanded to either "a/foo-1;a/foo-2;a/three;text/plain" if
+# will be expanded to either "a/foo-1;a/foo-2;a/three;text/plain" if
# USE=three or "a/foo-1;a/foo-2;text/plain" if not.
# WARNING: the 'usemime' function cannot be used in global scope. You should
# set APPMIME (or at least the USE-dependant parts) in your own src_install
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/scons-utils.eclass,v 1.5 2011/04/15 20:08:13 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/scons-utils.eclass,v 1.6 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: scons-utils.eclass
# @MAINTAINER:
#
# @CODE
# inherit scons-utils toolchain-funcs
-#
+#
# src_compile() {
# tc-export CC CXX
# escons \
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.10 2011/08/22 19:51:33 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.11 2011/08/29 01:28:10 vapier Exp $
# Eclass for installing SELinux policy, and optionally
# reloading the reference-policy based modules.
# Patch the reference policy sources with our set of enhancements. Start with
# the base patchbundle referred to by the ebuilds through the BASEPOL variable,
# then apply the additional patches as offered by the ebuild.
-#
+#
# Next, extract only those files needed for this particular module (i.e. the .te
# and .fc files for the given module in the MODS variable).
-#
+#
# Finally, prepare the build environments for each of the supported SELinux
# types (such as targeted or strict), depending on the POLICY_TYPES variable
# content.
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.7 2011/07/28 13:47:50 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.8 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
#
# @CODE
# inherit autotools-utils systemd
-#
+#
# src_configure() {
# local myeconfargs=(
# --enable-foo
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.15 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.16 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: texlive-common.eclass
# @MAINTAINER:
}
# @FUNCTION: etexlinks
-# @USAGE: < file >
+# @USAGE: < file >
# @DESCRIPTION:
# Mimic texlinks on a fmtutil format file
#
}
# @FUNCTION: dobin_texmf_scripts
-# @USAGE: < file1 file2 ... >
+# @USAGE: < file1 file2 ... >
# @DESCRIPTION:
# Symlinks a script from the texmf tree to /usr/bin. Requires permissions to be
-# correctly set for the file that it will point to.
+# correctly set for the file that it will point to.
dobin_texmf_scripts() {
while [ $# -gt 0 ] ; do
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.59 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.60 2011/08/29 01:28:10 vapier Exp $
# @ECLASS: texlive-module.eclass
# @MAINTAINER:
texlive-module_src_unpack() {
if has "${EAPI:-0}" 0 1 2 ; then
local i s
- # Avoid installing world writable files
+ # Avoid installing world writable files
# Bugs #309997, #310039, #338881
umask 022
for i in ${A}
# Generates the config files that are to be installed in /etc/texmf;
# texmf-update script will take care of merging the different config files for
# different packages in a single one used by the whole tex installation.
-#
+#
# Once the config files are generated, we build the format files using fmtutil
# (provided by texlive-core). The compiled format files will be sent to
# texmf-var/web2c, like fmtutil defaults to but with some trick to stay in the
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.73 2011/03/13 19:06:26 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.74 2011/08/29 01:28:10 vapier Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
DVB_INCLUDE_DIR="/usr/include"
TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
- if has_version ">=media-video/vdr-1.7.17"; then
+ if has_version ">=media-video/vdr-1.7.17"; then
LOCDIR="/usr/share/locale"
else
LOCDIR="/usr/share/vdr/locale"
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.120 2010/09/09 11:19:51 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.121 2011/08/29 01:28:10 vapier Exp $
#
# @DEPRECATED
# This eclass has been superseded by xorg-2
# @FUNCTION: install_driver_hwdata
# @USAGE:
# @DESCRIPTION:
-# Installs device-to-driver mappings for system-config-display and
+# Installs device-to-driver mappings for system-config-display and
# anything else that uses hwdata.
install_driver_hwdata() {
insinto /usr/share/hwdata/videoaliases