bump(profiles): sync with upstream

Packages updated:
  eclass
  licenses
  profiles
This commit is contained in:
Michael Marineau 2015-06-22 17:43:45 -07:00
parent 1ca5ce8d5c
commit e7be4fbe3d
281 changed files with 5838 additions and 6551 deletions

View File

@ -1,6 +1,340 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1588 2015/04/14 18:32:51 grknight Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1678 2015/06/22 14:18:19 pesa Exp $
22 Jun 2015; Davide Pesavento <pesa@gentoo.org> qmake-utils.eclass:
Introduce qt{4,5}_get_libdir().
22 Jun 2015; Manuel Rüger <mrueg@gentoo.org> git-r3.eclass:
Fix typo.
19 Jun 2015; James Le Cuirot <chewi@gentoo.org> java-utils-2.eclass:
Allow EANT_GENTOO_CLASSPATH_EXTRA to work when EANT_GENTOO_CLASSPATH is
unset.
18 Jun 2015; William Hubbs <williamh@gentoo.org> golang-vcs.eclass:
Add the EGO_SRC variable for repositories that contain multiple Go
packages.
Change references from ${S} to ${WORKDIR}/${P} to match other eclasses.
Copy the appropriate sources to${WORKDIR}/${P}.
18 Jun 2015; <grknight@gentoo.org> depend.php.eclass:
Remove phpconfutils calls in preparation for its deprecation
17 Jun 2015; <grknight@gentoo.org> depend.php.eclass:
Add require_php_cli to the list of deprecated functions to be removed
17 Jun 2015; <grknight@gentoo.org> php-common-r1.eclass,
php-ext-base-r1.eclass, php-ezc.eclass:
Mark 3 eclasses as deprecated for removal on 2015-07-17 wrt bug 551910
17 Jun 2015; <grknight@gentoo.org> depend.php.eclass
Deprecate unused functions in depend.php.eclass
17 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt5-build.eclass:
Update from qt overlay: allow configuring debug/release on a per-package
basis; add instruction set support (similarly to qt4-build-multilib); use
usex().
17 Jun 2015; James Le Cuirot <chewi@gentoo.org> java-pkg-2.eclass:
Remove eclass dependency on python[xml] and replace with some ugly grep that
should suffice. Closes #552332.
16 Jun 2015; William Hubbs <williamh@gentoo.org> +golang-vcs.eclass:
Add golang-vcs.eclass to retrieve go packages from vcs repositories
for live ebuilds of software written in the Go programming language.
16 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Minor changes to reduce diff with qt5-build.eclass
16 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Drop QT4_VERBOSE_BUILD variable (always true now).
16 Jun 2015; Davide Pesavento <pesa@gentoo.org> qmake-utils.eclass:
Use use_if_iuse().
15 Jun 2015; James Le Cuirot <chewi@gentoo.org> java-utils-2.eclass:
Add java-pkg_addres function for adding resource files to an existing jar.
15 Jun 2015; Justin Lecher <jlec@gentoo.org> intel-sdp.eclass:
Don't install uninstall informations, bug 551638; make use of path_exists()
15 Jun 2015; Michael Palimaka <kensington@gentoo.org> kde4-base.eclass:
Fix SRC_URI for 4.14.3
13 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Export MAKEFLAGS and OBJDUMP.
13 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
sh is "supported", don't fallback to generic. Also, don't die when tc-arch is
unknown, the configure script can handle this internally.
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> perl-module.eclass:
Allow dev-perl/Module-Build in QA check for Module::Build
13 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Workaround gcc-4.8 ICE in qtdeclarative (bug 551560).
13 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
-gnome-python-common.eclass:
Punt obsolete, unused eclass; it had a fixed set of users all of which
have migrated to gnome-python-common-r1 (bug #551914, thanks to Michał
Górny).
13 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Simplify move of .pc files.
13 Jun 2015; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
mozconfig-v4.31.eclass:
last rited mozconfig-v4.31
12 Jun 2015; <grknight@gentoo.org> -mysql.eclass, -mysql-autotools.eclass:
Drop old, unused eclasses; Moved to mysql overlay; bug 551908
12 Jun 2015; Mike Gilbert <floppym@gentoo.org> -zproduct.eclass:
Remove obsolete/broken eclass, bug 551918.
12 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Don't die when trying to rmdir non-existent directory (bug 551676).
11 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Use usex().
10 Jun 2015; <grknight@gentoo.org> mysql-multilib.eclass:
Resolve cirucular dependency for bug 551686; Make USE=cluster die early for
all except dev-db/mysql-cluster; Documentation update for variables, remove 2
unused and add WSREP_REVISION; Clarify mariadb bindist USE
09 Jun 2015; Michael Weber <xmw@gentoo.org> netsurf.eclass:
Update for buildsystem-1.3
09 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Rename some internal functions for consistency.
09 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass,
qt5-build.eclass:
More accurate LICENSE.
09 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt5-build.eclass:
Delete redundant echo.
09 Jun 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Remove two seds that are no longer needed on current Qt versions.
09 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> gnome2.eclass,
vala.eclass:
Add support for newer vala slot.
08 Jun 2015; Manuel Rüger <mrueg@gentoo.org> kde5-functions.eclass:
Sync with kde overlay. Raise minimal Plasma version and minimal KDE
Frameworks version.
07 Jun 2015; Pacho Ramos <pacho@gentoo.org> apache-2.eclass:
mod_macro is now provided by apache itself (#477702)
07 Jun 2015; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
Remove deprecated remove_libtool_files() function.
05 Jun 2015; Michał Górny <mgorny@gentoo.org> freebsd.eclass:
Enable IUSE=profile globally. Use upstream tarball for FreeBSD > 10.0.
04 Jun 2015; Michael Palimaka <kensington@gentoo.org> chromium.eclass,
kde4-base.eclass:
Move various kde-base packages to kde-apps.
04 Jun 2015; Justin Lecher <jlec@gentoo.org> intel-sdp.eclass:
Use path_exists from eutils.eclass
04 Jun 2015; Justin Lecher <jlec@gentoo.org> intel-sdp.eclass:
Fix homepage url for license registration, #538284; do a precheck instead fo
using nonfatal, #551156
03 Jun 2015; Manuel Rüger <mrueg@gentoo.org> kde4-base.eclass:
Sync verbosely with overlay. Add support for kde4 localization package
kde-apps/kde4-l10n. Include URIs to support new kdelibs and kde workspaces
releases. Fix a typo in a comment here. Add support for stable live branches
for kde applications packages.
03 Jun 2015; <grknight@gentoo.org> s6.eclass:
Fix missing comment character and case syntax error
02 Jun 2015; William Hubbs <williamh@gentoo.org> +s6.eclass:
Add s6.eclass for handling s6 services
31 May 2015; Manuel Rüger <mrueg@gentoo.org> kde5.eclass:
Sync verbosely with kde overlay. Drop fetch restriction for unpublished
packages including the pkg_nofetch prompt. This did not work out as expected,
see bug 549012. Add support for split localization packages via
kde-apps/kde4-l10n. Add KDE_BLOCK_SLOT4 variable which makes it possible to
adjust coinstallability of kf5 packages.
31 May 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Blacklist graphite-related flags that cause ICEs on qtwebkit (bug 550780).
31 May 2015; Jason Zaman <perfinion@gentoo.org> kde4-base.eclass, kde5.eclass:
KDE: fix SELinux deps, bug 550824
31 May 2015; Hans de Graaff <graaff@gentoo.org> ruby-single.eclass:
Add virtual/rubygems to dependencies to ensure that it is present in time,
which may not happen since this is a PDEPEND of dev-lang/ruby.
31 May 2015; Hans de Graaff <graaff@gentoo.org> ruby-ng.eclass,
+ruby-single.eclass, +ruby-utils.eclass:
Add ruby-single.eclass to support packages that just need a ruby interpreter
to be present. Refactor code common with ruby-ng.eclass into
ruby-utils.eclass.
30 May 2015; Mike Pagano <mpagano@gentoo.org> kernel-2.eclass:
Drop PDEPEND on virtual/dev-manager. See bug #550086.
30 May 2015; Lars Wendler <polynomial-c@gentoo.org> apache-2.eclass:
Moved selinux dependency from DEPEND to RDEPEND (bug #550822). Fixed
maintainer email in eclass.
28 May 2015; Lars Wendler <polynomial-c@gentoo.org> mozconfig-v5.33.eclass:
Fixed case syntax.
27 May 2015; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
mozconfig-v5.31.eclass, mozconfig-v5.33.eclass, +mozconfig-v5.38.eclass:
updated mozconfig-v5.31.eclass for new libvpx version compatibility, added
mozconfig-v5.38.eclass, last rited mozconfig-v5.33
26 May 2015; Christoph Junghans <ottxor@gentoo.org> multilib.eclass:
export FC/F77 for multilib support (bug #540294)
25 May 2015; Andreas K. Huettel <dilfridge@gentoo.org> perl-module.eclass:
Remove long-deprecated and just dieing function stubs
25 May 2015; Justin Lecher <jlec@gentoo.org> cuda.eclass:
Loose quoting, #550060
24 May 2015; James Le Cuirot <chewi@gentoo.org> java-utils-2.eclass:
The depend-java-query wrapper is raising readonly variable warnings for USE
in Portage 2.2.20. As best I can tell, this wrapper just isn't needed any
more because USE is already exported. I guess it wasn't back in 2006?
24 May 2015; James Le Cuirot <chewi@gentoo.org> java-pkg-simple.eclass:
Remove annoying java-pkg-simple build script check. Most people only use
java-pkg-simple as a last resort and a usable Maven eclass is still some way
off.
24 May 2015; Michał Górny <mgorny@gentoo.org> freebsd.eclass:
Support fetching upstream patches,
https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/121 by nigoro.
21 May 2015; Mike Gilbert <floppym@gentoo.org> chromium.eclass:
Add kernel Check for USER_NS, bug 545078.
17 May 2015; Ulrich Müller <ulm@gentoo.org> latex-package.eclass:
Prevent compression of symlink targets in docdir in EAPIs where this is
possible, bug 549584.
15 May 2015; Michael Palimaka <kensington@gentoo.org> kde4-base.eclass:
Sync with KDE overlay - update SRC_URI.
14 May 2015; Mike Pagano <mpagano@gentoo.org> kernel-2.eclass:
Add back the deblob script functionality to the eclass.
12 May 2015; Bernard Cafarelli <voyageur@gentoo.org> webapp.eclass:
Drop elog in webapp_serverowned, discussed with blueness in bug #542024
10 May 2015; Davide Pesavento <pesa@gentoo.org> qmake-utils.eclass:
Don't prepend EPREFIX for {header,mkspecs}dir since these are mostly used
with insinto and friends.
10 May 2015; Davide Pesavento <pesa@gentoo.org> qmake-utils.eclass:
Add qt{4,5}_get_{header,mkspecs}dir helper functions, bug 525830.
10 May 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Delete obsolete code that is now causing problems on freebsd (bug 493310).
09 May 2015; James Le Cuirot <chewi@gentoo.org> java-utils-2.eclass,
java-virtuals-2.eclass, java-vm-2.eclass:
Bump everyone to java-config 2.2.
09 May 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
graphite support was dropped from gcc-4.7
09 May 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Move workaround for bug 367045 from qtgui ebuild to eclass.
09 May 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Update from qt overlay: overhaul toolchain and *FLAGS handling for proper
multilib support during the configure phase. Fixes bug #545106.
09 May 2015; Manuel Rüger <mrueg@gentoo.org> kde5.eclass:
Sync with overlay.
09 May 2015; Manuel Rüger <mrueg@gentoo.org> kde5-functions.eclass:
Sync with overlay.
09 May 2015; Manuel Rüger <mrueg@gentoo.org> kde5.eclass:
Sync with overlay.
09 May 2015; Ulrich Müller <ulm@gentoo.org>
-tests/autotools:eaclocal_amflags.sh, +tests/autotools_eaclocal_amflags.sh,
-tests/eutils:eshopts.sh, +tests/eutils_eshopts.sh, -tests/eutils:estack.sh,
+tests/eutils_estack.sh, -tests/eutils:evar.sh, +tests/eutils_evar.sh,
-tests/eutils:path_exists.sh, +tests/eutils_path_exists.sh,
-tests/git-r3:GIT_DIR.sh, +tests/git-r3_GIT_DIR.sh,
-tests/git-r3:subrepos.sh, +tests/git-r3_subrepos.sh,
-tests/linux-info:get_running_version.sh,
+tests/linux-info_get_running_version.sh,
-tests/multiprocessing:makeopts_jobs.sh,
+tests/multiprocessing_makeopts_jobs.sh,
-tests/versionator:version_compare.sh, +tests/versionator_version_compare.sh:
Avoid problematic colon char in filenames, bug 548750.
04 May 2015; <grknight@gentoo.org> php-ext-source-r2.eclass:
Fix documentation of 3 variables in php-ext-source-r2 eclass
04 May 2015; <grknight@gentoo.org> php-ext-source-r2.eclass:
Make USE_PHP a REQUIRED variable for the php-ext-source-r2 eclass
02 May 2015; James Le Cuirot <chewi@gentoo.org> java-utils-2.eclass:
Make java-pkg_doso always install with mode 0755, which is more like
dolib.so. Closes bug #225729.
01 May 2015; <grknight@gentoo.org> mysql.eclass, mysql-multilib.eclass,
mysql-v2.eclass:
Update git urls for mysql-extras
29 Apr 2015; Mike Pagano <mpagano@gentoo.org> kernel-2.eclass:
Add kernel-2 env var K_BASE_VER as different versions of git sources use
different base versions.
28 Apr 2015; James Le Cuirot <chewi@gentoo.org> java-pkg-2.eclass,
java-utils-2.eclass, ant-tasks.eclass:
Skip java-dep-check for ant tasks wrt bug #298955. Fix missing ant-core
dependency SLOT. Fix recording of BUILD_DEPEND. Fix java-pkg_ensure-dep
matching and adjust the error message. Fix automatic loading of ant-junit and
junit wrt bug #513522 among others.
28 Apr 2015; Michael Palimaka <kensington@gentoo.org> kde4-base.eclass:
Update SRC_URI.
27 Apr 2015; Mike Pagano <mpagano@gentoo.org> kernel-2.eclass:
Handle 4.1 base kernel. See bug #547894.
25 Apr 2015; Lars Wendler <polynomial-c@gentoo.org> mozconfig-v5.36.eclass:
Adjusted libvpx dependency.
24 Apr 2015; Ulrich Müller <ulm@gentoo.org> elisp-common.eclass:
Fix filename matching in elisp-site-file-install. It should use shortest
match, not longest.
22 Apr 2015; Davide Pesavento <pesa@gentoo.org> qt4-build-multilib.eclass:
Sync with qt overlay: cleanup prefix-related patching and fix bug #542780.
21 Apr 2015; Jason Zaman <perfinion@gentoo.org> selinux-policy-2.eclass:
update git urls and migrate git-2 -> git-r3
19 Apr 2015; Michael Palimaka <kensington@gentoo.org> qt5-build.eclass:
Sync with qt overlay - export AR and OBJDUMP too, use new configure option
'-no-libproxy' beginning with Qt 5.5, and update gtkstyle comment.
18 Apr 2015; Pacho Ramos <pacho@gentoo.org> gnome2.eclass:
Ban eapi2 and 3 for gnome2.eclass (#539118)
14 Apr 2015; <grknight@gentoo.org> php-lib-r1.eclass:
Specify :* as slot by default to silence repoman warnings
@ -28,7 +362,7 @@
accidentally enabled in a previous revision). Fixes bug #545174 by Toralf
Förster.
04 Apr 2015; <jason@gentoo.org> selinux-policy-2.eclass:
04 Apr 2015; Jason Zaman <perfinion@gentoo.org> selinux-policy-2.eclass:
Drop EAPI<5 from selinux-policy-2.eclass
01 Apr 2015; Davide Pesavento <pesa@gentoo.org> qt4-build.eclass,

View File

@ -1,9 +1,9 @@
# Eclass for building dev-java/ant-* packages
#
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Vlastimil Babka <caster@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.16 2013/10/05 12:07:01 caster Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.17 2015/04/28 20:35:40 chewi Exp $
# @ECLASS: ant-tasks.eclass
# @MAINTAINER:
@ -98,7 +98,7 @@ SRC_URI="${UPSTREAM_PREFIX}/${MY_P}-src.tar.bz2
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="~dev-java/ant-core-${PV}"
RDEPEND="~dev-java/ant-core-${PV}:0"
DEPEND="${RDEPEND}"
if [[ -z "${ANT_TASK_DISABLE_VM_DEPS}" ]]; then

View File

@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.39 2014/08/07 07:37:54 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.41 2015/06/07 19:22:36 pacho Exp $
# @ECLASS: apache-2.eclass
# @MAINTAINER:
# apache-devs@gentoo.org
# polynomial-c@gentoo.org
# @BLURB: Provides a common set of functions for apache-2.x ebuilds
# @DESCRIPTION:
# This eclass handles apache-2.x ebuild functions such as LoadModule generation
@ -25,7 +25,8 @@ esac
case $(get_version_component_range 1-2) in
2.4)
DEFAULT_MPM_THREADED="event" #509922
RDEPEND=">=dev-libs/apr-1.5.1" #492578
RDEPEND=">=dev-libs/apr-1.5.1
!www-apache/mod_macro" #492578 #477702
;;
*)
DEFAULT_MPM_THREADED="worker"
@ -105,10 +106,10 @@ DEPEND="dev-lang/perl
apache2_modules_deflate? ( sys-libs/zlib )
apache2_modules_mime? ( app-misc/mime-types )
ldap? ( =net-nds/openldap-2* )
selinux? ( sec-policy/selinux-apache )
ssl? ( >=dev-libs/openssl-0.9.8m )
!=www-servers/apache-1*"
RDEPEND+=" ${DEPEND}"
RDEPEND+=" ${DEPEND}
selinux? ( sec-policy/selinux-apache )"
PDEPEND="~app-admin/apache-tools-${PV}"
S="${WORKDIR}/httpd-${PV}"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.74 2014/07/31 23:24:56 reavertm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.75 2015/06/07 12:55:46 mgorny Exp $
# @ECLASS: autotools-utils.eclass
# @MAINTAINER:
@ -217,81 +217,6 @@ _check_build_dir() {
echo ">>> Working in BUILD_DIR: \"${BUILD_DIR}\""
}
# @FUNCTION: remove_libtool_files
# @USAGE: [all]
# @DESCRIPTION:
# Determines unnecessary libtool files (.la) and libtool static archives (.a)
# and removes them from installation image.
#
# To unconditionally remove all libtool files, pass 'all' as argument.
# Otherwise, libtool archives required for static linking will be preserved.
#
# In most cases it's not necessary to manually invoke this function.
# See autotools-utils_src_install for reference.
remove_libtool_files() {
debug-print-function ${FUNCNAME} "$@"
local removing_all
eqawarn "The remove_libtool_files() function was deprecated."
eqawarn "Please use prune_libtool_files() from eutils eclass instead."
[[ ${#} -le 1 ]] || die "Invalid number of args to ${FUNCNAME}()"
if [[ ${#} -eq 1 ]]; then
case "${1}" in
all)
removing_all=1
;;
*)
die "Invalid argument to ${FUNCNAME}(): ${1}"
esac
fi
local pc_libs=()
if [[ ! ${removing_all} ]]; then
local arg
for arg in $(find "${D}" -name '*.pc' -exec \
sed -n -e 's;^Libs:;;p' {} +); do
[[ ${arg} == -l* ]] && pc_libs+=(lib${arg#-l}.la)
done
fi
local f
find "${D}" -type f -name '*.la' -print0 | while read -r -d '' f; do
local shouldnotlink=$(sed -ne '/^shouldnotlink=yes$/p' "${f}")
local archivefile=${f/%.la/.a}
[[ "${f}" != "${archivefile}" ]] || die 'regex sanity check failed'
# Remove static libs we're not supposed to link against.
if [[ ${shouldnotlink} ]]; then
einfo "Removing unnecessary ${archivefile#${D%/}}"
rm -f "${archivefile}" || die
# The .la file may be used by a module loader, so avoid removing it
# unless explicitly requested.
[[ ${removing_all} ]] || continue
fi
# Remove .la files when:
# - user explicitly wants us to remove all .la files,
# - respective static archive doesn't exist,
# - they are covered by a .pc file already,
# - they don't provide any new information (no libs & no flags).
local removing
if [[ ${removing_all} ]]; then removing='forced'
elif [[ ! -f ${archivefile} ]]; then removing='no static archive'
elif has "$(basename "${f}")" "${pc_libs[@]}"; then
removing='covered by .pc'
elif [[ ! $(sed -n -e \
"s/^\(dependency_libs\|inherited_linker_flags\)='\(.*\)'$/\2/p" \
"${f}") ]]; then removing='no libs & flags'
fi
if [[ ${removing} ]]; then
einfo "Removing unnecessary ${f#${D%/}} (${removing})"
rm -f "${f}" || die
fi
done
}
# @FUNCTION: autotools-utils_src_prepare
# @DESCRIPTION:
# The src_prepare function.

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.174 2015/03/19 19:27:02 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.176 2015/06/03 04:06:08 vapier Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@ -56,7 +56,7 @@ inherit libtool
# Do NOT change this variable in your ebuilds!
# If you want to force a newer minor version, you can specify the correct
# WANT value by using a colon: <PV>:<WANT_AUTOMAKE>
_LATEST_AUTOMAKE=( 1.13:1.13 1.15:1.15 )
_LATEST_AUTOMAKE=( 1.14.1:1.14 1.15:1.15 )
_automake_atom="sys-devel/automake"
_autoconf_atom="sys-devel/autoconf"
@ -591,6 +591,17 @@ _autotools_m4dir_include() {
echo ${include_opts}
}
autotools_m4dir_include() { _autotools_m4dir_include ${AT_M4DIR} ; }
autotools_m4sysdir_include() { _autotools_m4dir_include $(eval echo ${AT_SYS_M4DIR}) ; }
autotools_m4sysdir_include() {
# First try to use the paths the system integrator has set up.
local paths=( $(eval echo ${AT_SYS_M4DIR}) )
if [[ ${#paths[@]} -eq 0 && -n ${SYSROOT} ]] ; then
# If they didn't give us anything, then default to the SYSROOT.
# This helps when cross-compiling.
local path="${SYSROOT}/usr/share/aclocal"
[[ -d ${path} ]] && paths+=( "${path}" )
fi
_autotools_m4dir_include "${paths[@]}"
}
fi

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/bitcoincore.eclass,v 1.3 2015/03/03 23:56:08 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/bitcoincore.eclass,v 1.4 2015/05/27 00:18:02 blueness Exp $
#
# @ECLASS: bitcoincore.eclass
# @MAINTAINER:
@ -62,16 +62,22 @@ if [[ ! ${_BITCOINCORE_ECLASS} ]]; then
# Set this variable before the inherit line, to a space-delimited list of
# supported policies.
MyPV="${PV/_/}"
MyPN="bitcoin"
MyP="${MyPN}-${MyPV}"
# These are expected to change in future versions
DOCS="${DOCS} doc/README.md doc/release-notes.md"
OPENSSL_DEPEND="dev-libs/openssl:0[-bindist]"
WALLET_DEPEND="sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]"
[ -n "${BITCOINCORE_LJR_PV}" ] || BITCOINCORE_LJR_PV="${PV}"
case "${PV}" in
0.10*)
BITCOINCORE_SERIES="0.10.x"
LIBSECP256K1_DEPEND="=dev-libs/libsecp256k1-0.0.0_pre20141212"
BITCOINCORE_RBF_DIFF="e43f25c5b1c7b38d28cd0fba09098a9d56d9ac6b...eb22364e5a7cd2595d98c890e3668e97c0905a06"
BITCOINCORE_RBF_DIFF="16f45600c8c372a738ffef544292864256382601...a23678edc70204599299459a206709a00e039db7"
BITCOINCORE_RBF_PATCHFILE="${MyPN}-rbf-v0.10.2.patch"
BITCOINCORE_XT_DIFF="047a89831760ff124740fe9f58411d57ee087078...d4084b62c42c38bfe302d712b98909ab26ecce2f"
;;
9999*)
@ -83,10 +89,7 @@ case "${PV}" in
;;
esac
MyPV="${PV/_/}"
MyPN="bitcoin"
MyP="${MyPN}-${MyPV}"
LJR_PV() { echo "${MyPV}.${1}${BITCOINCORE_LJR_DATE}"; }
LJR_PV() { echo "${BITCOINCORE_LJR_PV}.${1}${BITCOINCORE_LJR_DATE}"; }
LJR_PATCHDIR="${MyPN}-$(LJR_PV ljr).patches"
LJR_PATCH() { echo "${WORKDIR}/${LJR_PATCHDIR}/${MyPN}-$(LJR_PV ljr).$@.patch"; }
LJR_PATCH_DESC="http://luke.dashjr.org/programs/${MyPN}/files/${MyPN}d/luke-jr/${BITCOINCORE_SERIES}/$(LJR_PV ljr)/${MyPN}-$(LJR_PV ljr).desc.txt"
@ -106,7 +109,6 @@ else
SRC_URI="${SRC_URI} xt? ( https://github.com/bitcoinxt/bitcoinxt/compare/${BITCOINCORE_XT_DIFF}.diff -> ${BITCOINXT_PATCHFILE} )"
fi
if in_bcc_policy rbf; then
BITCOINCORE_RBF_PATCHFILE="${MyPN}-rbf-v${PV}.patch"
SRC_URI="${SRC_URI} bitcoin_policy_rbf? ( https://github.com/petertodd/bitcoin/compare/${BITCOINCORE_RBF_DIFF}.diff -> ${BITCOINCORE_RBF_PATCHFILE} )"
fi
S="${WORKDIR}/${MyPN}-${BITCOINCORE_COMMITHASH}"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.9 2013/12/04 04:23:08 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.12 2015/06/04 18:49:42 kensington Exp $
# @ECLASS: chromium.eclass
# @MAINTAINER:
@ -31,8 +31,9 @@ chromium_suid_sandbox_check_kernel_config() {
# Bug #363987.
ERROR_PID_NS="PID_NS is required for sandbox to work"
ERROR_NET_NS="NET_NS is required for sandbox to work"
ERROR_USER_NS="USER_NS is required for sandbox to work"
ERROR_SECCOMP_FILTER="SECCOMP_FILTER is required for sandbox to work"
CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER"
CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS"
check_extra_config
fi
}
@ -135,7 +136,7 @@ chromium_pkg_postinst() {
elog "Depending on your desktop environment, you may need"
elog "to install additional packages to get icons on the Downloads page."
elog
elog "For KDE, the required package is kde-base/oxygen-icons."
elog "For KDE, the required package is kde-apps/oxygen-icons."
elog
elog "For other desktop environments, try one of the following:"
elog " - x11-themes/gnome-icon-theme"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.6 2014/11/18 19:54:06 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.7 2015/05/25 10:07:33 jlec Exp $
inherit flag-o-matic toolchain-funcs versionator
@ -77,7 +77,7 @@ cuda_gccdir() {
if [[ -n ${gcc_bindir} ]]; then
if [[ -n ${flag} ]]; then
ret="${flag}\\\"${gcc_bindir}\\\""
ret="${flag}\"${gcc_bindir}\""
else
ret="${gcc_bindir}"
fi

View File

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.32 2012/06/02 19:16:31 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.35 2015/06/18 14:22:59 grknight Exp $
# @ECLASS: depend.php.eclass
# @MAINTAINER:
@ -15,7 +15,7 @@
# for specific PHP features, SAPIs etc. Also provides dodoc-php wrapper to install
# documentation for PHP packages to php-specific location.
inherit eutils multilib phpconfutils
inherit eutils multilib
# PHP5-only depend functions
@ -24,6 +24,7 @@ inherit eutils multilib phpconfutils
# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP5
# with cli SAPI.
need_php5_cli() {
eqawarn "(need_php5_cli) Deprecated function call. Set to be removed on 2015-07-17"
DEPEND="${DEPEND} =dev-lang/php-5*"
RDEPEND="${RDEPEND} =dev-lang/php-5*"
PHP_VERSION="5"
@ -34,6 +35,7 @@ need_php5_cli() {
# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP5
# with either cgi or apache2 SAPI.
need_php5_httpd() {
eqawarn "(need_php5_httpd) Deprecated function call. Set to be removed on 2015-07-17"
DEPEND="${DEPEND} =virtual/httpd-php-5*"
RDEPEND="${RDEPEND} =virtual/httpd-php-5*"
PHP_VERSION="5"
@ -75,6 +77,7 @@ uses_php5() {
# Set this after setting DEPEND/RDEPEND in your ebuild if the ebuild requires PHP
# (any version) with cli SAPI.
need_php_cli() {
eqawarn "(need_php_cli) Deprecated function call. Set to be removed on 2015-07-17"
DEPEND="${DEPEND} dev-lang/php"
RDEPEND="${RDEPEND} dev-lang/php"
}
@ -104,6 +107,7 @@ need_php() {
# determined by ${CATEGORY} - any PHP version or PHP5 for dev-php or
# dev-php5, respectively.
need_php_by_category() {
eqawarn "(need_php_by_category) Deprecated function call. Set to be removed on 2015-07-17"
case "${CATEGORY}" in
dev-php) need_php ;;
*) die "Version of PHP required by packages in category ${CATEGORY} unknown"
@ -145,6 +149,7 @@ has_php() {
# and need_php[45]_httpd functions cannot guarantee these requirements.
# See Bug 2272 for details.
require_php_sapi_from() {
eqawarn "(require_php_sapi_from) Deprecated function call. Set to be removed on 2015-07-17"
has_php
local has_sapi="0"
@ -153,7 +158,7 @@ require_php_sapi_from() {
einfo "Checking for compatible SAPI(s)"
for x in $@ ; do
if built_with_use =${PHP_PKG} ${x} || phpconfutils_built_with_use =${PHP_PKG} ${x} ; then
if built_with_use =${PHP_PKG} ${x} ; then
einfo " Discovered compatible SAPI ${x}"
has_sapi="1"
fi
@ -214,7 +219,7 @@ require_php_with_use() {
;;
esac
if ! built_with_use =${PHP_PKG} ${x} && ! phpconfutils_built_with_use =${PHP_PKG} ${x} ; then
if ! built_with_use =${PHP_PKG} ${x} ; then
einfo " Discovered missing USE flag: ${x}"
missing_use="${missing_use} ${x}"
fi
@ -248,6 +253,7 @@ require_php_with_use() {
# any of specified USE flags. Returns if any of the listed USE flags are enabled.
# Dies if all of the listed USE flags are disabled.
require_php_with_any_use() {
eqawarn "(require_php_with_any_use) Deprecated function call. Set to be removed on 2015-07-17"
has_php
local missing_use=""
@ -256,7 +262,7 @@ require_php_with_any_use() {
einfo "Checking for required PHP feature(s) ..."
for x in $@ ; do
if built_with_use =${PHP_PKG} ${x} || phpconfutils_built_with_use =${PHP_PKG} ${x} ; then
if built_with_use =${PHP_PKG} ${x} ; then
einfo " USE flag ${x} is enabled, ok ..."
return
else
@ -296,9 +302,10 @@ require_php_with_any_use() {
# Check if our PHP was compiled with ZTS (Zend Thread Safety) enabled.
# @RETURN: 0 if true, 1 otherwise
has_zts() {
eqawarn "(has_zts) Deprecated function call. Set to be removed on 2015-07-17"
has_php
if built_with_use =${PHP_PKG} apache2 threads || phpconfutils_built_with_use =${PHP_PKG} apache2 threads ; then
if built_with_use =${PHP_PKG} apache2 threads ; then
return 0
fi
@ -310,9 +317,10 @@ has_zts() {
# Check if our PHP was built with debug support enabled.
# @RETURN: 0 if true, 1 otherwise
has_debug() {
eqawarn "(has_debug) Deprecated function call. Set to be removed on 2015-07-17"
has_php
if built_with_use =${PHP_PKG} debug || phpconfutils_built_with_use =${PHP_PKG} debug ; then
if built_with_use =${PHP_PKG} debug ; then
return 0
fi
@ -324,9 +332,10 @@ has_debug() {
# Check if our PHP was built with the concurrentmodphp support enabled.
# @RETURN: 0 if true, 1 otherwise
has_concurrentmodphp() {
eqawarn "(has_concurrentmodphp) Deprecated function call. Set to be removed on 2015-07-17"
has_php
if built_with_use =${PHP_PKG} apache2 concurrentmodphp || phpconfutils_built_with_use =${PHP_PKG} apache2 concurrentmodphp ; then
if built_with_use =${PHP_PKG} apache2 concurrentmodphp ; then
return 0
fi
@ -347,10 +356,11 @@ has_concurrentmodphp() {
# You should use require_php_with_use pdo instead now.
# @RETURN: die if feature is missing
require_pdo() {
eqawarn "(require_pdo) Deprecated function call. Set to be removed on 2015-07-17"
has_php
# Was PHP5 compiled with internal PDO support?
if built_with_use =${PHP_PKG} pdo || phpconfutils_built_with_use =${PHP_PKG} pdo ; then
if built_with_use =${PHP_PKG} pdo ; then
return
else
eerror
@ -370,6 +380,7 @@ require_pdo() {
# depending on the CLI SAPI.
# @RETURN: die if feature is missing
require_php_cli() {
eqawarn "(require_php_cli) Deprecated function call. Set to be removed on 2015-07-17"
# If PHP_PKG is set, then we have remembered our PHP settings
# from last time
if [[ -n ${PHP_PKG} ]] ; then
@ -381,7 +392,7 @@ require_php_cli() {
if has_version '=dev-lang/php-5*' ; then
PHP_PACKAGE_FOUND="1"
pkg="$(best_version '=dev-lang/php-5*')"
if built_with_use =${pkg} cli || phpconfutils_built_with_use =${pkg} cli ; then
if built_with_use =${pkg} cli ; then
PHP_VERSION="5"
fi
fi
@ -416,7 +427,7 @@ require_php_cgi() {
if has_version '=dev-lang/php-5*' ; then
PHP_PACKAGE_FOUND="1"
pkg="$(best_version '=dev-lang/php-5*')"
if built_with_use =${pkg} cgi || phpconfutils_built_with_use =${pkg} cgi ; then
if built_with_use =${pkg} cgi ; then
PHP_VERSION="5"
fi
fi
@ -439,10 +450,11 @@ require_php_cgi() {
# Require a PHP built with SQLite support
# @RETURN: die if feature is missing
require_sqlite() {
eqawarn "(require_sqlite) Deprecated function call. Set to be removed on 2015-07-17"
has_php
# Has our PHP been built with SQLite support?
if built_with_use =${PHP_PKG} sqlite || phpconfutils_built_with_use =${PHP_PKG} sqlite ; then
if built_with_use =${PHP_PKG} sqlite ; then
return
fi
@ -461,15 +473,16 @@ require_sqlite() {
# Require a PHP built with GD support
# @RETURN: die if feature is missing
require_gd() {
eqawarn "(require_gd) Deprecated function call. Set to be removed on 2015-07-17"
has_php
# Do we have the internal GD support installed?
if built_with_use =${PHP_PKG} gd || phpconfutils_built_with_use =${PHP_PKG} gd ; then
if built_with_use =${PHP_PKG} gd ; then
return
fi
# Ok, maybe GD was built using the external library support?
if built_with_use =${PHP_PKG} gd-external || phpconfutils_built_with_use =${PHP_PKG} gd-external ; then
if built_with_use =${PHP_PKG} gd-external ; then
return
fi
@ -494,6 +507,7 @@ require_gd() {
# @DESCRIPTION:
# Executes some checks needed when installing a binary PHP extension.
php_binary_extension() {
eqawarn "(php_binary_extension) Deprecated function call. Set to be removed on 2015-07-17"
has_php
local PUSE_ENABLED=""

View File

@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.90 2014/06/11 09:13:36 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.93 2015/05/25 12:52:56 ulm Exp $
#
# @ECLASS: elisp-common.eclass
# @MAINTAINER:
# Gentoo Emacs team <emacs@gentoo.org>
# Gentoo GNU Emacs project <emacs@gentoo.org>
# @AUTHOR:
# Matthew Kennedy <mkennedy@gentoo.org>
# Jeremy Maitin-Shepard <jbms@attbi.com>
@ -322,7 +322,8 @@ elisp-site-file-install() {
[[ ${sf} == [0-9][0-9]*-gentoo*.el ]] \
|| ewarn "elisp-site-file-install: bad name of site-init file"
sf="${T}/${sf/%-gentoo*.el/-gentoo.el}"
[[ ${sf%-gentoo*.el} != "${sf}" ]] && sf="${sf%-gentoo*.el}-gentoo.el"
sf="${T}/${sf}"
ebegin "Installing site initialisation file for GNU Emacs"
[[ $1 = "${sf}" ]] || cp "$1" "${sf}"
sed -i -e "1{:x;/^\$/{n;bx;};/^;.*${PN}/I!s:^:${header}\n\n:;1s:^:\n:;}" \

View File

@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.58 2014/06/07 10:28:16 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.59 2015/05/24 21:46:16 ulm Exp $
#
# @ECLASS: elisp.eclass
# @MAINTAINER:
# Gentoo Emacs team <emacs@gentoo.org>
# Gentoo GNU Emacs project <emacs@gentoo.org>
# @AUTHOR:
# Matthew Kennedy <mkennedy@gentoo.org>
# Jeremy Maitin-Shepard <jbms@attbi.com>

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.204 2014/12/31 08:26:48 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.206 2015/05/24 07:05:30 vapier Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@ -26,7 +26,7 @@ setup-allowed-flags() {
ALLOWED_FLAGS="-pipe"
ALLOWED_FLAGS+=" -O -O1 -O2 -Os -Og -mcpu -march -mtune"
ALLOWED_FLAGS+=" -fstack-protector* -fsanitize=*"
ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow"
ALLOWED_FLAGS+=" -fbounds-check -fbounds-checking -fno-strict-overflow"
ALLOWED_FLAGS+=" -fno-PIE -fno-pie -nopie -fno-unit-at-a-time"
ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gdwarf-* gstabs -gstabs+"
ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches"
@ -35,7 +35,7 @@ setup-allowed-flags() {
# allow a bunch of flags that negate features / control ABI
ALLOWED_FLAGS+=" -fno-stack-protector* -fabi-version=* \
-fno-strict-aliasing -fno-bounds-checking -fstrict-overflow \
-fno-strict-aliasing -fno-bounds-check -fno-bounds-checking -fstrict-overflow \
-fno-omit-frame-pointer -fno-builtin*"
ALLOWED_FLAGS+=" -mregparm -mno-app-regs -mapp-regs -mno-mmx -mno-sse \
-mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 \
@ -415,13 +415,18 @@ test-flag-PROG() {
[[ -z ${comp} || -z ${flag} ]] && return 1
# use -c so we can test the assembler as well
local PROG=$(tc-get${comp})
if ${PROG} -c -o /dev/null -x${lang} - < /dev/null > /dev/null 2>&1 ; then
${PROG} "${flag}" -c -o /dev/null -x${lang} - < /dev/null \
> /dev/null 2>&1
local cmdline=(
$(tc-get${comp})
# Clang will warn about unknown gcc flags but exit 0.
# Need -Werror to force it to exit non-zero.
-Werror
# Use -c so we can test the assembler as well.
-c -o /dev/null
)
if "${cmdline[@]}" -x${lang} - </dev/null >/dev/null 2>&1 ; then
"${cmdline[@]}" "${flag}" -x${lang} - </dev/null >/dev/null 2>&1
else
${PROG} "${flag}" -c -o /dev/null /dev/null > /dev/null 2>&1
"${cmdline[@]}" "${flag}" -c -o /dev/null /dev/null >/dev/null 2>&1
fi
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.36 2015/02/22 14:16:03 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.38 2015/06/05 16:38:21 mgorny Exp $
#
# Diego Pettenò <flameeyes@gentoo.org>
@ -66,10 +66,19 @@ if [[ ${MY_PV} == *9999* ]]; then
ESVN_PROJECT="freebsd-${BRANCH}"
fi
if [[ ${PN} != "freebsd-share" ]] && [[ ${PN} != freebsd-sources ]]; then
IUSE="profile"
# use the original source code.
if [[ ${MY_PV} != *9999* ]] && version_is_at_least 10.0 ${RV} ; then
DL_PV=${MY_PV/_rc/-RC}
DL_PV=${DL_PV/_beta/-BETA}
DL_PV=${DL_PV/_alpha/-ALPHA}
if [[ ${DL_PV} == ${MY_PV} ]]; then
DL_PV="${DL_PV}-RELEASE"
fi
SRC_URI="mirror://freebsd/releases/i386/${DL_PV}/src.txz -> freebsd-src-${MY_PV}.tar.xz"
fi
IUSE="profile"
#unalias -a
alias install-info='/usr/bin/bsdinstall-info'
@ -95,6 +104,22 @@ freebsd_get_bmake() {
echo "${bmake}"
}
# Generates a patch SRC_URI or DISTDIR of upstream.
freebsd_upstream_patches() {
local opt=$1
[[ ${#UPSTREAM_PATCHES[@]} -eq 0 ]] && return 1
for x in "${UPSTREAM_PATCHES[@]}"
do
local out=${PN}-${x/\//-}
out=${out/:/}
if [[ ${opt} == -s ]] ; then
echo "${DISTDIR}/${out}"
else
echo "https://security.freebsd.org/patches/${x} -> ${out}"
fi
done
}
freebsd_do_patches() {
if [[ ${#PATCHES[@]} -gt 1 ]] ; then
for x in "${PATCHES[@]}"; do
@ -105,6 +130,7 @@ freebsd_do_patches() {
epatch "${x}"
done
fi
[[ ${#UPSTREAM_PATCHES[@]} -gt 0 ]] && epatch $(freebsd_upstream_patches -s)
epatch_user
}
@ -136,7 +162,22 @@ freebsd_src_unpack() {
[[ -e "${WORKDIR}"/share/mk ]] && rm -rf "${WORKDIR}"/share/mk/*.mk
fi
else
unpack ${A}
if version_is_at_least 10.0 ${RV} ; then
local tarball="freebsd-src-${MY_PV}.tar.xz"
local topdir="usr/src/"
local extractlist=()
for i in ${EXTRACTONLY} ; do
extractlist+=( ${topdir}${i} )
done
ebegin "Unpacking parts of ${tarball} to ${WORKDIR}"
cd "${WORKDIR}" || die
tar -xJpf "${DISTDIR}/${tarball}" --strip-components=2 "${extractlist[@]}" 2> /dev/null || die "tar extract command failed"
cd - || die
else
for f in ${A} ; do
[[ ${f} == *.tar.* ]] && unpack ${f}
done
fi
fi
cd "${S}"

View File

@ -1,13 +1,13 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.48 2015/02/04 09:44:24 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.49 2015/06/22 08:39:36 mrueg Exp $
# @ECLASS: git-r3.eclass
# @MAINTAINER:
# Michał Górny <mgorny@gentoo.org>
# @BLURB: Eclass for fetching and unpacking git repositories.
# @DESCRIPTION:
# Third generation eclass for easing maitenance of live ebuilds using
# Third generation eclass for easing maintenance of live ebuilds using
# git as remote repository.
case "${EAPI:-0}" in

View File

@ -1,154 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/gnome-python-common.eclass,v 1.17 2012/05/02 18:31:42 jdhore Exp $
# Original Author: Arun Raghavan <ford_prefect@gentoo.org> (based on the
# gnome-python-desktop eclass by Jim Ramsay <lack@gentoo.org>)
#
# Purpose: Provides common functionality required for building the gnome-python*
# bindings
#
# Important environment variables:
#
# G_PY_PN: Which gnome-python* package bindings we're working with. Defaults to
# gnome-python if unset.
#
# G_PY_BINDINGS: The actual '--enable-<binding>' name, which by default is ${PN}
# excluding the -python at the end. May be overridden if necessary.
#
# EXAMPLES: The set of example files to be installed if the 'examples' USE flag
# is set.
#
# The naming convention for all bindings is as follows:
# dev-python/<original-${PN}-for-which-this-is-the-binding>-python
#
# So, for example, with the bonobo bindings, the original package is libbonobo
# and the packages is named dev-python/libbonobo-python
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
inherit autotools gnome2 python versionator
case "${EAPI:-0}" in
0|1)
EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm
;;
*)
EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_install pkg_postinst pkg_postrm
;;
esac
G_PY_PN=${G_PY_PN:-gnome-python}
G_PY_BINDINGS=${G_PY_BINDINGS:-${PN%-python}}
PVP="$(get_version_component_range 1-2)"
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
HOMEPAGE="http://pygtk.org/"
RESTRICT="${RESTRICT} test"
GCONF_DEBUG="no"
DOCS="AUTHORS ChangeLog NEWS README"
if [[ ${G_PY_PN} != "gnome-python" ]]; then
DOCS="${DOCS} MAINTAINERS"
fi
S="${WORKDIR}/${G_PY_PN}-${PV}"
# add blockers, we can probably remove them later on
if [[ ${G_PY_PN} == "gnome-python-extras" ]]; then
RDEPEND="!<=dev-python/gnome-python-extras-2.19.1-r2"
fi
RDEPEND="${RDEPEND} ~dev-python/${G_PY_PN}-base-${PV}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
# Enable the required bindings as specified by the G_PY_BINDINGS variable
gnome-python-common_pkg_setup() {
python_pkg_setup
G2CONF="${G2CONF} --disable-allbindings"
for binding in ${G_PY_BINDINGS}; do
G2CONF="${G2CONF} --enable-${binding}"
done
}
gnome-python-common_src_unpack() {
gnome2_src_unpack
has ${EAPI:-0} 0 1 && gnome-python-common_src_prepare
}
gnome-python-common_src_prepare() {
gnome2_src_prepare
python_clean_py-compile_files
# The .pc file is installed by respective gnome-python*-base package
sed -i '/^pkgconfig_DATA/d' Makefile.in || die "sed failed"
sed -i '/^pkgconfigdir/d' Makefile.in || die "sed failed"
python_copy_sources
}
gnome-python-common_src_configure() {
python_execute_function -s gnome2_src_configure "$@"
}
gnome-python-common_src_compile() {
if has ${EAPI:-0} 0 1; then
gnome-python-common_src_configure "$@"
building() {
emake "$@"
}
python_execute_function -s building "$@"
else
python_src_compile "$@"
fi
}
gnome-python-common_src_test() {
if has ${EAPI:-0} 0 1; then
testing() {
if emake -j1 -n check &> /dev/null; then
emake -j1 check "$@"
elif emake -j1 -n test &> /dev/null; then
emake -j1 test "$@"
fi
}
python_execute_function -s testing "$@"
else
python_src_test "$@"
fi
}
# Do a regular gnome2 src_install and then install examples if required.
# Set the variable EXAMPLES to provide the set of examples to be installed.
# (to install a directory recursively, specify it with a trailing '/' - for
# example, foo/bar/)
gnome-python-common_src_install() {
python_execute_function -s gnome2_src_install "$@"
python_clean_installation_image
if has examples ${IUSE} && use examples; then
insinto /usr/share/doc/${PF}/examples
for example in ${EXAMPLES}; do
if [[ ${example: -1} = "/" ]]; then
doins -r ${example}
else
doins ${example}
fi
done
fi
}
gnome-python-common_pkg_postinst() {
python_mod_optimize gtk-2.0
}
gnome-python-common_pkg_postrm() {
python_mod_cleanup gtk-2.0
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.130 2015/02/23 10:59:44 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.131 2015/04/18 13:19:47 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@ -13,16 +13,6 @@
inherit eutils fdo-mime libtool gnome.org gnome2-utils
case "${EAPI:-0}" in
2|3)
eqawarn
eqawarn "${CATEGORY}/${PF}: EAPI 2/3 support is now deprecated."
eqawarn "If you are the package maintainer, please"
eqawarn "update this package to a newer EAPI."
eqawarn "Support for EAPIs 2 and 3 for gnome2.eclass will be dropped"
eqawarn "in a month (around 23rd March)."
eqawarn
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
;;
4|5)
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
;;
@ -39,7 +29,7 @@ G2CONF=${G2CONF:-""}
# @DESCRIPTION:
# Should we delete ALL the .la files?
# NOT to be used without due consideration.
if has ${EAPI:-0} 2 3 4; then
if has ${EAPI:-0} 4; then
GNOME2_LA_PUNT=${GNOME2_LA_PUNT:-"no"}
else
GNOME2_LA_PUNT=${GNOME2_LA_PUNT:-""}
@ -94,13 +84,8 @@ gnome2_src_prepare() {
gnome2_disable_deprecation_warning
# Run libtoolize
if has ${EAPI:-0} 2 3; then
elibtoolize ${ELTCONF}
else
# Everything is fatal EAPI 4 onwards
nonfatal elibtoolize ${ELTCONF}
fi
# Everything is fatal EAPI 4 onwards
nonfatal elibtoolize ${ELTCONF}
}
# @FUNCTION: gnome2_src_configure
@ -122,7 +107,7 @@ gnome2_src_configure() {
# rebuild docs.
# Preserve old behavior for older EAPI.
if grep -q "enable-gtk-doc" "${ECONF_SOURCE:-.}"/configure ; then
if has ${EAPI:-0} 2 3 4 && in_iuse doc ; then
if has ${EAPI:-0} 4 && in_iuse doc ; then
G2CONF="$(use_enable doc gtk-doc) ${G2CONF}"
else
G2CONF="--disable-gtk-doc ${G2CONF}"
@ -141,7 +126,7 @@ gnome2_src_configure() {
fi
# Pass --disable-silent-rules when possible (not needed for eapi5), bug #429308
if has ${EAPI:-0} 2 3 4; then
if has ${EAPI:-0} 4; then
if grep -q "disable-silent-rules" "${ECONF_SOURCE:-.}"/configure; then
G2CONF="--disable-silent-rules ${G2CONF}"
fi
@ -177,7 +162,7 @@ gnome2_src_configure() {
# @DESCRIPTION:
# Only default src_compile for now
gnome2_src_compile() {
emake || die "compile failure"
emake
}
# @FUNCTION: gnome2_src_install
@ -185,7 +170,6 @@ gnome2_src_compile() {
# Gnome specific install. Handles typical GConf and scrollkeeper setup
# in packages and removal of .la files if requested
gnome2_src_install() {
has ${EAPI:-0} 2 && ! use prefix && ED="${D}"
# if this is not present, scrollkeeper-update may segfault and
# create bogus directories in /var/lib/
local sk_tmp_dir="/var/lib/scrollkeeper"
@ -200,7 +184,7 @@ gnome2_src_install() {
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# Handle documentation as 'default' for eapi5 and newer, bug #373131
if has ${EAPI:-0} 2 3 4; then
if has ${EAPI:-0} 4; then
# Manual document installation
if [[ -n "${DOCS}" ]]; then
dodoc ${DOCS} || die "dodoc failed"
@ -221,7 +205,7 @@ gnome2_src_install() {
rm -fr "${ED}/usr/share/applications/mimeinfo.cache"
# Delete all .la files
if has ${EAPI:-0} 2 3 4; then
if has ${EAPI:-0} 4; then
if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then
ebegin "Removing .la files"
if ! use_if_iuse static-libs ; then

View File

@ -0,0 +1,163 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/golang-vcs.eclass,v 1.2 2015/06/18 15:19:04 williamh Exp $
# @ECLASS: golang-vcs.eclass
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
# @BLURB: Eclass for fetching and unpacking go repositories.
# @DESCRIPTION:
# This eclass is written to ease the maintenance of live ebuilds
# of software written in the Go programming language.
inherit eutils
case "${EAPI:-0}" in
5)
;;
*)
die "${ECLASS}: Unsupported eapi (EAPI=${EAPI})"
;;
esac
EXPORT_FUNCTIONS src_unpack
if [[ -z ${_GOLANG_VCS} ]]; then
_GOLANG_VCS=1
DEPEND=">=dev-lang/go-1.4.2"
# @ECLASS-VARIABLE: EGO_PN
# @REQUIRED
# @DESCRIPTION:
# This is the import path for the go package(s). Please emerge dev-lang/go
# and read "go help importpath" for syntax.
#
# Example:
# @CODE
# EGO_PN="github.com/user/package"
# EGO_PN="github.com/user1/package1 github.com/user2/package2"
# @CODE
# @ECLASS-VARIABLE: EGO_SRC
# @DESCRIPTION:
# This is the Go upstream repository which will be copied to
# ${WORKDIR}/${P}.
# If it isn't set, it defaults to the first word of ${EGO_PN}.
# This should be set if you are retrieving a repository that includes
# multiple packages, e.g. golang.org/x/tools.
#
# Example:
# @CODE
# EGO_PN="github.com/user/repository/package"
# EGO_SRC="github.com/user/repository"
# @CODE
# @ECLASS-VARIABLE: EGO_STORE_DIR
# @DESCRIPTION:
# Storage directory for Go sources.
#
# This is intended to be set by the user in make.conf. Ebuilds must not set
# it.
#
# EGO_STORE_DIR=${DISTDIR}/go-src
# @ECLASS-VARIABLE: EVCS_OFFLINE
# @DEFAULT_UNSET
# @DESCRIPTION:
# If non-empty, this variable prevents any online operations.
# @ECLASS-VARIABLE: EVCS_UMASK
# @DEFAULT_UNSET
# @DESCRIPTION:
# Set this variable to a custom umask. This is intended to be set by
# users. By setting this to something like 002, it can make life easier
# for people who do development as non-root (but are in the portage
# group) and use FEATURES=userpriv.
# @FUNCTION: _golang-vcs_env_setup
# @INTERNAL
# @DESCRIPTION:
# Create EGO_STORE_DIR if necessary and set GOPATH.
_golang-vcs_env_setup() {
debug-print-function ${FUNCNAME} "$@"
local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
: ${EGO_STORE_DIR:=${distdir}/go-src}
[[ -n ${EVCS_UMASK} ]] && eumask_push $EVCS_UMASK
if [[ ! -d ${EGO_STORE_DIR} ]]; then
(
addwrite /
mkdir -p "${EGO_STORE_DIR}"
) || die "${ECLASS}: unable to create ${EGO_STORE_DIR}"
fi
addwrite "${EGO_STORE_DIR}"
export GOPATH="${EGO_STORE_DIR}"
[[ -n ${EVCS_UMASK} ]] && eumask_pop
mkdir -p "${WORKDIR}/${P}/src" ||
die "${ECLASS}: unable to create ${WORKDIR}/${P}"
if [ -z "${EGO_SRC}" ]; then
set -- ${EGO_PN}
EGO_SRC="$1"
fi
return 0
}
# @FUNCTION: _golang-vcs_fetch
# @INTERNAL
# @DESCRIPTION:
# Retrieve the EGO_PN go package along with its dependencies.
_golang-vcs_fetch() {
debug-print-function ${FUNCNAME} "$@"
[[ -z ${EGO_PN} ]] &&
die "${ECLASS}: EGO_PN is not set"
if [[ -n ${EVCS_OFFLINE} ]]; then
export GOPATH="${WORKDIR}/${P}:${GOPATH}"
return 0
fi
[[ -n ${EVCS_UMASK} ]] && eumask_push ${EVCS_UMASK}
set -- go get -d -t -u -v -x "${EGO_PN}"
echo "$@"
"$@" || die
# The above dies if you pass repositories in EGO_PN instead of
# packages, e.g. golang.org/x/tools instead of golang.org/x/tools/cmd/vet.
# This is being discussed in the following upstream issue:
# https://github.com/golang/go/issues/11090
# I am hoping this will be fixed so "go get -d" is successful if
# downloading the top level repository is successful.
[[ -n ${EVCS_UMASK} ]] && eumask_pop
export GOPATH="${WORKDIR}/${P}:${EGO_STORE_DIR}"
set -- mkdir -p "${WORKDIR}/${P}/src/${EGO_SRC}"
echo "$@"
"$@" || die "Unable to create ${WORKDIR}/${P}/src/${EGO_SRC}"
set -- cp -r "${EGO_STORE_DIR}/src/${EGO_SRC}/*" \
"${WORKDIR}/${P}/src/${EGO_SRC}"
echo "$@"
$@ || die "Unable to copy sources to ${WORKDIR}/${P}"
return 0
}
golang-vcs_src_fetch() {
debug-print-function ${FUNCNAME} "$@"
_golang-vcs_env_setup
_golang-vcs_fetch
}
golang-vcs_src_unpack() {
debug-print-function ${FUNCNAME} "$@"
golang-vcs_src_fetch
}
fi

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.19 2015/01/31 10:16:12 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.22 2015/06/15 19:09:28 jlec Exp $
# @ECLASS: intel-sdp.eclass
# @MAINTAINER:
@ -112,7 +112,7 @@
# Full path to intel registry db
INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db
inherit check-reqs multilib versionator
inherit check-reqs eutils multilib versionator
_INTEL_PV1=$(get_version_component_range 1)
_INTEL_PV2=$(get_version_component_range 2)
@ -214,7 +214,7 @@ _isdp_big-warning() {
echo ""
ewarn "Make sure you have received an Intel license."
ewarn "To receive a non-commercial license, you need to register at:"
ewarn "http://software.intel.com/en-us/articles/non-commercial-software-development/"
ewarn "https://software.intel.com/en-us/qualify-for-free-software"
ewarn "Install the license file into ${INTEL_SDP_EDIR}/licenses/"
case ${1} in
@ -416,7 +416,13 @@ intel-sdp_src_unpack() {
# @DESCRIPTION:
# Install everything
intel-sdp_src_install() {
if [[ -d "${INTEL_SDP_DIR}"/Documentation ]]; then
if path_exists "${INTEL_SDP_DIR}"/uninstall*; then
ebegin "Cleaning out uninstall information"
find "${INTEL_SDP_DIR}"/uninstall* -delete || die
eend
fi
if path_exists "${INTEL_SDP_DIR}"/Documentation; then
dodoc -r "${INTEL_SDP_DIR}"/Documentation/*
ebegin "Cleaning out documentation"
@ -424,7 +430,7 @@ intel-sdp_src_install() {
eend
fi
if [[ -d "${INTEL_SDP_DIR}"/Samples ]]; then
if path_exists "${INTEL_SDP_DIR}"/Samples; then
if use examples ; then
insinto /usr/share/${P}/examples/
doins -r "${INTEL_SDP_DIR}"/Samples/*
@ -434,7 +440,7 @@ intel-sdp_src_install() {
eend
fi
if [[ -d "${INTEL_SDP_DIR}"/eclipse_support ]]; then
if path_exists "${INTEL_SDP_DIR}"/eclipse_support; then
if has eclipse ${IUSE} && use eclipse; then
_isdp_link_eclipse_plugins
else
@ -444,12 +450,13 @@ intel-sdp_src_install() {
fi
fi
if [[ -d "${INTEL_SDP_DIR}"/man ]]; then
nonfatal doman "${INTEL_SDP_DIR}"/man/en_US/man1/*
nonfatal doman "${INTEL_SDP_DIR}"/man/man1/*
if has linguas_ja ${IUSE} && use linguas_ja; then
if path_exists "${INTEL_SDP_DIR}"/man; then
path_exists "${INTEL_SDP_DIR}"/man/en_US/man1/* && \
doman "${INTEL_SDP_DIR}"/man/en_US/man1/*
path_exists "${INTEL_SDP_DIR}"/man/man1/* && \
doman "${INTEL_SDP_DIR}"/man/man1/*
has linguas_ja ${IUSE} && use linguas_ja && \
doman -i18n=ja_JP "${INTEL_SDP_DIR}"/man/ja_JP/man1/*
fi
find "${INTEL_SDP_DIR}"/man -delete || die
fi

View File

@ -1,11 +1,11 @@
# Eclass for Java packages
#
# Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org>
# Copyright (c) 2004-2011, Gentoo Foundation
# Copyright (c) 2004-2015, Gentoo Foundation
#
# Licensed under the GNU General Public License, v2
#
# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.39 2012/07/21 11:57:30 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-2.eclass,v 1.41 2015/06/17 09:48:12 chewi Exp $
# @ECLASS: java-pkg-2.eclass
# @MAINTAINER:
@ -96,25 +96,6 @@ java-pkg-2_src_compile() {
fi
}
# @FUNCTION: java-pkg-2_supports-test
# @INTERNAL
# @DESCRIPTION:
# test whether a build.xml has a test target.
java-pkg-2_supports-test() {
python << EOF
from xml.dom.minidom import parse
import sys
dom = parse("${1}")
for elem in dom.getElementsByTagName('target'):
if elem.getAttribute('name') == 'test':
sys.exit(0)
sys.exit(1)
EOF
return $?
}
# @FUNCTION: java-pkg-2_src_test
# @DESCRIPTION:
# src_test, not exported.
@ -122,34 +103,41 @@ EOF
java-pkg-2_src_test() {
[[ -e "${EANT_BUILD_XML:=build.xml}" ]] || return
if [[ ${EANT_TEST_TARGET} ]] || java-pkg-2_supports-test ${EANT_BUILD_XML}; then
local opts task
if [[ ${EANT_TEST_TARGET} ]] || < "${EANT_BUILD_XML}" tr -d "\n" | grep -Eq "<target\b[^>]*\bname=[\"']test[\"']"; then
local opts task_re junit_re pkg
if [[ ${EANT_TEST_JUNIT_INTO} ]]; then
java-pkg_jar-from --into "${EANT_TEST_JUNIT_INTO}" junit
fi
ANT_TASKS=${EANT_TEST_ANT_TASKS:-${ANT_TASKS:-${EANT_ANT_TASKS}}}
if [[ ${DEPEND} = *dev-java/ant-junit* ]]; then
if [[ ${ANT_TASKS} && "${ANT_TASKS}" != none ]]; then
ANT_TASKS="${ANT_TASKS} ant-junit"
else
ANT_TASKS="ant-junit"
fi
task=true
if [[ ${EANT_TEST_GENTOO_CLASSPATH} ]]; then
EANT_GENTOO_CLASSPATH="${EANT_TEST_GENTOO_CLASSPATH}"
fi
if [[ ${task} ]] || [[ ${DEPEND} = *dev-java/junit* ]]; then
opts="-Djunit.jar=\"$(java-pkg_getjar junit junit.jar)\""
if [[ ${EANT_TEST_GENTOO_CLASSPATH} ]]; then
EANT_GENTOO_CLASSPATH="${EANT_TEST_GENTOO_CLASSPATH},junit"
elif [[ ${EANT_GENTOO_CLASSPATH} ]]; then
EANT_GENTOO_CLASSPATH+=',junit'
ANT_TASKS=${EANT_TEST_ANT_TASKS:-${ANT_TASKS:-${EANT_ANT_TASKS}}}
task_re="\bdev-java/ant-junit(4)?(-[^:]+)?(:\S+)\b"
junit_re="\bdev-java/junit(-[^:]+)?(:\S+)\b"
if [[ ${DEPEND} =~ ${task_re} ]]; then
pkg="ant-junit${BASH_REMATCH[1]}${BASH_REMATCH[3]}"
pkg="${pkg%:0}"
if [[ ${ANT_TASKS} && "${ANT_TASKS}" != none ]]; then
ANT_TASKS="${ANT_TASKS} ${pkg}"
else
EANT_GENTOO_CLASSPATH=junit
ANT_TASKS="${pkg}"
fi
elif [[ ${DEPEND} =~ ${junit_re} ]]; then
pkg="junit${BASH_REMATCH[2]}"
pkg="${pkg%:0}"
opts="-Djunit.jar=\"$(java-pkg_getjar ${pkg} junit.jar)\""
if [[ ${EANT_GENTOO_CLASSPATH} ]]; then
EANT_GENTOO_CLASSPATH+=",${pkg}"
else
EANT_GENTOO_CLASSPATH="${pkg}"
fi
fi

View File

@ -4,7 +4,7 @@
#
# Licensed under the GNU General Public License, v2
#
# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-simple.eclass,v 1.5 2015/04/04 21:04:49 chewi Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg-simple.eclass,v 1.6 2015/05/24 20:40:40 chewi Exp $
inherit java-utils-2
@ -112,10 +112,6 @@ S="${WORKDIR}"
java-pkg-simple_src_compile() {
local sources=sources.lst classes=target/classes apidoc=target/api
# QA checks
[[ "$(find . -name build.xml -o -name pom.xml)" ]] &&
java-pkg_announce-qa-violation "Package ships with a build file, use that instead of java-pkg-simple!"
# gather sources
find ${JAVA_SRC_DIR:-*} -name \*.java > ${sources}
mkdir -p ${classes} || die "Could not create target directory"

View File

@ -6,7 +6,7 @@
#
# Licensed under the GNU General Public License, v2
#
# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.158 2015/04/14 14:08:34 chewi Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.164 2015/06/19 14:11:24 chewi Exp $
# @ECLASS: java-utils-2.eclass
# @MAINTAINER:
@ -43,7 +43,7 @@ has "${EAPI}" 0 1 && JAVA_PKG_PORTAGE_DEP=">=sys-apps/portage-2.1.2.7"
# This is a convience variable to be used from the other java eclasses. This is
# the version of java-config we want to use. Usually the latest stable version
# so that ebuilds can use new features without depending on specific versions.
JAVA_PKG_E_DEPEND=">=dev-java/java-config-2.1.9-r1 ${JAVA_PKG_PORTAGE_DEP}"
JAVA_PKG_E_DEPEND=">=dev-java/java-config-2.2.0 ${JAVA_PKG_PORTAGE_DEP}"
has source ${JAVA_PKG_IUSE} && JAVA_PKG_E_DEPEND="${JAVA_PKG_E_DEPEND} source? ( app-arch/zip )"
# @ECLASS-VARIABLE: JAVA_PKG_WANT_BOOTCLASSPATH
@ -217,6 +217,37 @@ java-pkg_doexamples() {
dosym "${dest}" "${JAVA_PKG_SHAREPATH}/examples" || die
}
# @FUNCTION: java-pkg_addres
# @USAGE: <jar> <dir> [<find arguments> ...]
# @DESCRIPTION:
# Adds resource files to an existing jar.
# It is important that the directory given is actually the root of the
# corresponding resource tree. The target directory as well as
# sources.lst, MANIFEST.MF, *.class, *.jar, and *.java files are
# automatically excluded. Symlinks are always followed. Additional
# arguments are passed through to find.
#
# @CODE
# java-pkg_addres ${PN}.jar resources ! -name "*.html"
# @CODE
#
# @param $1 - jar file
# @param $2 - resource tree directory
# @param $* - arguments to pass to find
java-pkg_addres() {
debug-print-function ${FUNCNAME} $*
[[ ${#} -lt 2 ]] && die "at least two arguments needed"
local jar=$(realpath "$1" || die "realpath $1 failed")
local dir="$2"
shift 2
pushd "${dir}" > /dev/null || die "pushd ${dir} failed"
find -L -type f ! -path "./target/*" ! -path "./sources.lst" ! -name "MANIFEST.MF" ! -regex ".*\.\(class\|jar\|java\)" "${@}" -print0 | xargs -0 jar uf "${jar}" || die "jar failed"
popd > /dev/null || die "popd failed"
}
# @FUNCTION: java-pkg_dojar
# @USAGE: <jar1> [<jar2> ...]
# @DESCRIPTION:
@ -282,18 +313,6 @@ java-pkg_dojar() {
java-pkg_do_write_
}
# @FUNCTION: depend-java-query
# @INTERNAL
# @DESCRIPTION:
# Wrapper for the depend-java-query binary to enable passing USE in env.
# Using env variables keeps this eclass working with java-config versions that
# do not handle use flags.
depend-java-query() {
# Used to have a which call here but it caused endless loops for some people
# that had some weird bashrc voodoo for which.
USE="${USE}" /usr/bin/depend-java-query "${@}"
}
# @FUNCTION: java-pkg_regjar
# @USAGE: </path/to/installed/jar>
# @DESCRIPTION:
@ -412,7 +431,7 @@ java-pkg_doso() {
# install if it isn't a symlink
if [[ ! -L "${lib}" ]] ; then
INSDESTTREE="${JAVA_PKG_LIBDEST}" \
INSOPTIONS="${LIBOPTIONS}" \
INSOPTIONS="-m0755" \
doins "${lib}" || die "failed to install ${lib}"
java-pkg_append_ JAVA_PKG_LIBRARY "${JAVA_PKG_LIBDEST}"
debug-print "Installing ${lib} to ${JAVA_PKG_LIBDEST}"
@ -920,7 +939,7 @@ java-pkg_jar-from() {
java-pkg_record-jar_ --build-only "${target_pkg}" "${jar}"
fi
fi
# otherwise, if the current jar is the target jar, link it
# otherwise, if the current jar is the target jar, link it
elif [[ "${jar_name}" == "${target_jar}" ]] ; then
[[ -f "${destjar}" ]] && rm "${destjar}"
ln -snf "${jar}" "${destjar}" \
@ -929,7 +948,7 @@ java-pkg_jar-from() {
if [[ -z "${build_only}" ]]; then
java-pkg_record-jar_ "${target_pkg}" "${jar}"
else
java-pkg_record-jar_ --build-only "${target_jar}" "${jar}"
java-pkg_record-jar_ --build-only "${target_pkg}" "${jar}"
fi
fi
popd > /dev/null
@ -1784,18 +1803,13 @@ java-utils-2_src_prepare() {
# Don't call directly, but via java-pkg-2_pkg_preinst!
java-utils-2_pkg_preinst() {
if is-java-strict; then
if [[ ! -e "${JAVA_PKG_ENV}" ]] || has ant-tasks ${INHERITED}; then
return
fi
if has_version dev-java/java-dep-check; then
[[ -e "${JAVA_PKG_ENV}" ]] || return
local output=$(GENTOO_VM= java-dep-check --image "${D}" "${JAVA_PKG_ENV}")
if [[ ${output} && has_version <=dev-java/java-dep-check-0.2 ]]; then
ewarn "Possibly unneeded dependencies found in package.env:"
for dep in ${output}; do
ewarn "\t${dep}"
done
fi
if [[ ${output} && has_version >dev-java/java-dep-check-0.2 ]]; then
ewarn "${output}"
fi
[[ ${output} ]] && ewarn "${output}"
else
eerror "Install dev-java/java-dep-check for dependency checking"
fi
@ -1909,8 +1923,10 @@ eant() {
if [[ ${EBUILD_PHASE} = "test" ]]; then
antflags="${antflags} -DJunit.present=true"
[[ ${ANT_TASKS} = *ant-junit* ]] && gcp="${gcp} junit"
getjarsarg="--with-dependencies"
local re="\bant-junit4?([-:]\S+)?\b"
[[ ${ANT_TASKS} =~ ${re} ]] && gcp+=" ${BASH_REMATCH[0]}"
else
antflags="${antflags} -Dmaven.test.skip=true"
fi
@ -1918,17 +1934,15 @@ eant() {
local cp
for atom in ${gcp}; do
cp="${cp}:$(java-pkg_getjars ${getjarsarg} ${atom})"
cp+=":$(java-pkg_getjars ${getjarsarg} ${atom})"
done
[[ -n "${EANT_NEEDS_TOOLS}" ]] && cp="${cp}:$(java-config --tools)"
[[ ${EANT_NEEDS_TOOLS} ]] && cp+=":$(java-config --tools)"
[[ ${EANT_GENTOO_CLASSPATH_EXTRA} ]] && cp+=":${EANT_GENTOO_CLASSPATH_EXTRA}"
if [[ ${cp} ]]; then
if [[ ${cp#:} ]]; then
# It seems ant does not like single quotes around ${cp}
cp=${cp#:}
[[ ${EANT_GENTOO_CLASSPATH_EXTRA} ]] && \
cp="${cp}:${EANT_GENTOO_CLASSPATH_EXTRA}"
antflags="${antflags} -Dgentoo.classpath=\"${cp}\""
antflags="${antflags} -Dgentoo.classpath=\"${cp#:}\""
fi
[[ -n ${JAVA_PKG_DEBUG} ]] && echo ant ${antflags} "${@}"
@ -2673,7 +2687,8 @@ java-pkg_verify-classes() {
# @INTERNAL
# @DESCRIPTION:
# Check that a package being used in jarfrom, getjars and getjar is contained
# within DEPEND or RDEPEND.
# within DEPEND or RDEPEND with the correct SLOT. See this mail for details:
# https://archives.gentoo.org/gentoo-dev/message/dcb644f89520f4bbb61cc7bbe45fdf6e
# @CODE
# Parameters:
# $1 - empty - check both vars; "runtime" or "build" - check only
@ -2695,9 +2710,10 @@ java-pkg_ensure-dep() {
# * The target package first has any dots escaped, e.g. foo-1.2
# becomes foo-1\.2.
#
# * sed then looks at the component following the last - character,
# or the whole string if there is no - character. It uses this to
# build a new regexp with two significant branches.
# * sed then looks at the component following the last - or :
# character, or the whole string if there is no - or :
# character. It uses this to build a new regexp with two
# significant branches.
#
# * The first checks for the whole target package string, optionally
# followed by a version number, and then :0.
@ -2706,36 +2722,36 @@ java-pkg_ensure-dep() {
# string, optionally followed by a version number, followed by the
# aforementioned component, treating that as a SLOT.
#
local stripped_pkg=/$(sed -r 's/-?([^-]+)$/(\0(-[^:]+)?:0|(-[^:]+)?:\1)/' <<< "${target_pkg//./\\.}")\\b
local stripped_pkg=/$(sed -r 's/[-:]?([^-:]+)$/(\0(-[^:]+)?:0|(-[^:]+)?:\1)/' <<< "${target_pkg//./\\.}")\\b
debug-print "Matching against: ${stripped_pkg}"
# Uncomment the lines below once we've dealt with more of these
# otherwise we'll be tempted to turn JAVA_PKG_STRICT off while
# getting hit with a wave of bug reports. :(
if [[ ${limit_to} != runtime && ! ( "${DEPEND}" =~ $stripped_pkg ) ]]; then
dev_error="The ebuild is attempting to use ${target_pkg}, which is not "
dev_error+="declared with a SLOT in DEPEND."
if is-java-strict; then
die "${dev_error}"
else
eqawarn "${dev_error}"
# Uncomment this once we've dealt with more of these or
# we'll get hit with a wave of bug reports. :(
# if is-java-strict; then
# die "${dev_error}"
# else
eqawarn "java-pkg_ensure-dep: ${dev_error}"
# eerror "Because you have ${target_pkg} installed,"
# eerror "the package will build without problems, but please"
# eerror "report this to http://bugs.gentoo.org."
fi
# fi
elif [[ ${limit_to} != build && ! ( "${RDEPEND}${PDEPEND}" =~ ${stripped_pkg} ) ]]; then
dev_error="The ebuild is attempting to use ${target_pkg}, which is not "
dev_error+="declared with a SLOT in [RP]DEPEND and --build-only wasn't given."
if is-java-strict; then
die "${dev_error}"
else
eqawarn "${dev_error}"
# Uncomment this once we've dealt with more of these or
# we'll get hit with a wave of bug reports. :(
# if is-java-strict; then
# die "${dev_error}"
# else
eqawarn "java-pkg_ensure-dep: ${dev_error}"
# eerror "The package will build without problems, but may fail to run"
# eerror "if you don't have ${target_pkg} installed,"
# eerror "so please report this to http://bugs.gentoo.org."
fi
# fi
fi
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/java-virtuals-2.eclass,v 1.9 2012/07/18 19:13:23 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/java-virtuals-2.eclass,v 1.10 2015/05/09 22:20:44 chewi Exp $
# @ECLASS: java-virtuals-2.eclass
# @MAINTAINER:
@ -14,7 +14,7 @@
inherit java-utils-2
DEPEND=">=dev-java/java-config-2.1.6"
DEPEND=">=dev-java/java-config-2.2.0"
RDEPEND="${DEPEND}"
S="${WORKDIR}"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.48 2015/03/31 18:43:33 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.49 2015/05/09 22:20:44 chewi Exp $
# @ECLASS: java-vm-2.eclass
# @MAINTAINER:
@ -15,8 +15,8 @@ inherit eutils fdo-mime multilib pax-utils prefix
EXPORT_FUNCTIONS pkg_setup pkg_postinst pkg_prerm pkg_postrm
RDEPEND="
=dev-java/java-config-2*
|| ( app-eselect/eselect-java <dev-java/java-config-2.2 )"
>=dev-java/java-config-2.2.0
app-eselect/eselect-java"
DEPEND="${RDEPEND}"
has "${EAPI}" 0 1 && DEPEND="${DEPEND} >=sys-apps/portage-2.1"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.150 2015/03/29 17:13:04 kensington Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.156 2015/06/15 14:04:44 kensington Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@ -328,7 +328,7 @@ fi
# all packages needs oxygen icons for basic iconset
if [[ ${PN} != oxygen-icons ]]; then
kderdepend+=" || ( kde-apps/oxygen-icons $(add_kdebase_dep oxygen-icons '' 4.14.3) )"
kderdepend+=" kde-apps/oxygen-icons"
fi
# add a dependency over kde-l10n
@ -339,7 +339,7 @@ if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} ]]; then
# this can't be done on one line because if user doesn't use any localisation
# then he is probably not interested in kde-l10n at all.
kderdepend+="
linguas_${_lingua}? ( || ( kde-apps/kde-l10n[linguas_${_lingua}(+)] $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)") ) )
linguas_${_lingua}? ( $(add_kdeapps_dep kde4-l10n "linguas_${_lingua}(+)") )
"
done
unset _lingua
@ -370,7 +370,7 @@ case ${KDE_SELINUX_MODULE} in
none) ;;
*)
IUSE+=" selinux"
kdecommondepend+=" selinux? ( sec-policy/selinux-${KDE_SELINUX_MODULE} )"
kderdepend+=" selinux? ( sec-policy/selinux-${KDE_SELINUX_MODULE} )"
;;
esac
@ -439,20 +439,36 @@ _calculate_src_uri() {
4.11.17)
# Part of 14.12.3 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/14.12.3/src/${_kmname_pv}.tar.xz" ;;
4.11.18)
# Part of 15.04.0 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/15.04.0/src/${_kmname_pv}.tar.xz" ;;
4.11.19)
# Part of 15.04.1 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/15.04.1/src/${_kmname_pv}.tar.xz" ;;
4.11.20)
# Part of 15.04.2 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/15.04.2/src/${_kmname_pv}.tar.xz" ;;
4.14.3)
# Last SC release
SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz" ;;
4.14.6)
# Part of 14.12.3 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/14.12.3/src/${_kmname_pv}.tar.xz" ;;
4.14.7)
# Part of 15.04.0 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/15.04.0/src/${_kmname_pv}.tar.xz" ;;
4.14.8)
# Part of 15.04.1 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/15.04.1/src/${_kmname_pv}.tar.xz" ;;
4.14.9)
# Part of 15.04.2 actually, sigh. Not stable for next release!
SRC_URI="mirror://kde/stable/applications/15.04.2/src/${_kmname_pv}.tar.xz" ;;
??.?.[6-9]? | ??.??.[4-9]?)
# Unstable KDE Applications releases
SRC_URI="mirror://kde/unstable/applications/${PV}/src/${_kmname}-${PV}.tar.xz" ;;
*)
if [[ ${CATEGORY} == kde-apps ]]; then
# Stable KDE Applications releases
SRC_URI="mirror://kde/stable/applications/${PV}/src/${_kmname}-${PV}.tar.xz"
else
# Stable KDE SC releases
SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz"
fi
# Stable KDE Applications releases
SRC_URI="mirror://kde/stable/applications/${PV}/src/${_kmname}-${PV}.tar.xz"
;;
esac
;;
@ -564,6 +580,10 @@ _calculate_live_repo() {
[[ ${PV} != 4.9999* && ${PV} != 9999 && ${KDEBASE} == kde-base ]] && \
EGIT_BRANCH="KDE/$(get_kde_version)"
# Applications branching
[[ ${PV} == ??.??.49.9999 && ${KDEBASE} == kde-base ]] && \
EGIT_BRANCH="Applications/$(get_kde_version)"
# default repo uri
EGIT_REPO_URI+=( "${EGIT_MIRROR}/${_kmname}" )
@ -882,7 +902,7 @@ kde4-base_pkg_postinst() {
fi
# for all 3rd party soft tell user that he SHOULD install kdebase-startkde or kdebase-runtime-meta
if [[ ${KDEBASE} != kde-base ]] && \
! has_version 'kde-base/kdebase-runtime-meta' && \
! has_version 'kde-apps/kdebase-runtime-meta' && \
! has_version 'kde-base/kdebase-startkde'; then
if [[ ${KDE_REQUIRED} == always ]] || ( [[ ${KDE_REQUIRED} == optional ]] && use kde ); then
echo

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/kde5-functions.eclass,v 1.6 2015/04/11 17:11:22 kensington Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/kde5-functions.eclass,v 1.8 2015/06/08 12:27:32 mrueg Exp $
# @ECLASS: kde5-functions.eclass
# @MAINTAINER:
@ -26,12 +26,12 @@ esac
# @ECLASS-VARIABLE: FRAMEWORKS_MINIMAL
# @DESCRIPTION:
# Minimal Frameworks version to require for the package.
: ${FRAMEWORKS_MINIMAL:=5.8.0}
: ${FRAMEWORKS_MINIMAL:=5.10.0}
# @ECLASS-VARIABLE: PLASMA_MINIMAL
# @DESCRIPTION:
# Minimal Plasma version to require for the package.
: ${PLASMA_MINIMAL:=5.2.0}
: ${PLASMA_MINIMAL:=5.3.0}
# @ECLASS-VARIABLE: KDE_APPS_MINIMAL
# @DESCRIPTION:
@ -210,11 +210,30 @@ get_kde_version() {
fi
}
# @FUNCTION: punt_bogus_deps
# @FUNCTION: punt_bogus_dep
# @USAGE: <prefix> <dependency>
# @DESCRIPTION:
# Remove hard-coded upstream dependencies that are not correct.
punt_bogus_deps() {
sed -e "/find_package(Qt5 /s/ Test//" -i CMakeLists.txt || die
# Removes a specified dependency from a find_package call with multiple components.
punt_bogus_dep() {
local prefix=${1}
local dep=${2}
pcregrep -Mn "(?s)find_package\(\s*${prefix}.[^)]*?${dep}.*?\)" CMakeLists.txt > "${T}/bogus${dep}"
# pcregrep returns non-zero on no matches/error
if [[ $? != 0 ]] ; then
return
fi
local length=$(wc -l "${T}/bogus${dep}" | cut -d " " -f 1)
local first=$(head -n 1 "${T}/bogus${dep}" | cut -d ":" -f 1)
local last=$(( ${length} + ${first} - 1))
sed -e "${first},${last}s/${dep}//" -i CMakeLists.txt || die
if [[ ${length} = 1 ]] ; then
sed -e "/find_package(\s*${prefix}\s*REQUIRED\s*COMPONENTS\s*)/d" -i CMakeLists.txt || die
fi
}
fi

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/kde5.eclass,v 1.6 2015/04/11 17:11:22 kensington Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/kde5.eclass,v 1.10 2015/05/31 15:51:21 mrueg Exp $
# @ECLASS: kde5.eclass
# @MAINTAINER:
@ -41,6 +41,12 @@ EXPORT_FUNCTIONS pkg_pretend pkg_setup src_unpack src_prepare src_configure src_
# For any other value, add a dependency on dev-qt/qtcore:5 and kde-frameworks/extra-cmake-modules:5.
: ${KDE_AUTODEPS:=true}
# @ECLASS-VARIABLE: KDE_BLOCK_SLOT4
# @DESCRIPTION:
# This variable is used when KDE_AUTODEPS is set.
# If set to "true", add RDEPEND block on kde-{base,apps}/${PN}:4
: ${KDE_BLOCK_SLOT4:=true}
# @ECLASS-VARIABLE: KDE_DEBUG
# @DESCRIPTION:
# If set to "false", unconditionally build with -DNDEBUG.
@ -81,11 +87,18 @@ else
: ${KDE_TEST:=false}
fi
# @ECLASS-VARIABLE: KDE_PUNT_BOGUS_DEPS
# @DESCRIPTION:
# If set to "false", do nothing.
# For any other value, do black magic to make hardcoded-but-optional dependencies
# optional again. An upstream solution is preferable and this is a last resort.
: ${KDE_PUNT_BOGUS_DEPS:=false}
# @ECLASS-VARIABLE: KDE_SELINUX_MODULE
# @DESCRIPTION:
# If set to "none", do nothing.
# For any other value, add selinux to IUSE, and depending on that useflag
# add a dependency on sec-policy/selinux-${KDE_SELINUX_MODULE} to (R)DEPEND
# add a dependency on sec-policy/selinux-${KDE_SELINUX_MODULE} to (R)DEPEND.
: ${KDE_SELINUX_MODULE:=none}
if [[ ${KDEBASE} = kdevelop ]]; then
@ -123,12 +136,12 @@ case ${KDE_AUTODEPS} in
if [[ ${CATEGORY} = kde-plasma ]]; then
RDEPEND+="
!kde-apps/kde-l10n[-minimal]
!kde-apps/kde4-l10n[-minimal]
!kde-base/kde-l10n:4[-minimal(-)]
"
fi
if [[ ${CATEGORY} == kde-apps ]]; then
if [[ ${KDE_BLOCK_SLOT4} = true && ${CATEGORY} = kde-apps ]]; then
RDEPEND+="
!kde-apps/${PN}:4
!kde-base/${PN}
@ -182,7 +195,7 @@ case ${KDE_SELINUX_MODULE} in
none) ;;
*)
IUSE+=" selinux"
COMMONDEPEND+=" selinux? ( sec-policy/selinux-${KDE_SELINUX_MODULE} )"
RDEPEND+=" selinux? ( sec-policy/selinux-${KDE_SELINUX_MODULE} )"
;;
esac
@ -388,15 +401,25 @@ kde5_src_prepare() {
comment_add_subdirectory tests
fi
# only build unit tests when required
if ! use_if_iuse test ; then
comment_add_subdirectory autotests
comment_add_subdirectory tests
if [[ ${CATEGORY} = kde-frameworks || ${CATEGORY} = kde-plasma || ${CATEGORY} = kde-apps ]] ; then
# only build unit tests when required
if ! use_if_iuse test ; then
comment_add_subdirectory autotests
comment_add_subdirectory tests
fi
fi
if [[ ${CATEGORY} = kde-plasma ]]; then
punt_bogus_deps
fi
case ${KDE_PUNT_BOGUS_DEPS} in
false) ;;
*)
if ! use_if_iuse test ; then
punt_bogus_dep Qt5 Test
fi
if ! use_if_iuse handbook ; then
punt_bogus_dep KF5 DocTools
fi
;;
esac
cmake-utils_src_prepare
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.301 2015/03/20 00:13:32 mpagano Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.305 2015/05/30 16:09:05 mpagano Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@ -37,6 +37,8 @@
# K_EXTRAEWARN - same as K_EXTRAEINFO except using ewarn instead of einfo
# K_SYMLINK - if this is set, then forcably create symlink anyway
#
# K_BASE_VER - for git-sources, declare the base version this patch is
# based off of.
# K_DEFCONFIG - Allow specifying a different defconfig target.
# If length zero, defaults to "defconfig".
# K_WANT_GENPATCHES - Apply genpatches to kernel source. Provide any
@ -54,6 +56,8 @@
# K_DEBLOB_AVAILABLE - A value of "0" will disable all of the optional deblob
# code. If empty, will be set to "1" if deblobbing is
# possible. Test ONLY for "1".
# K_DEBLOB_TAG - This will be the version of deblob script. It's a upstream SVN tag
# such asw -gnu or -gnu1.
# K_PREDEBLOBBED - This kernel was already deblobbed elsewhere.
# If false, either optional deblobbing will be available
# or the license will note the inclusion of freedist
@ -364,8 +368,9 @@ detect_version() {
# the different majorminor versions have different patch start versions
OKV_DICT=(["2"]="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" ["3"]="2.6.39" ["4"]="3.19")
if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre ]]; then
OKV=${OKV_DICT["${KV_MAJOR}"]}
OKV=${K_BASE_VER:-$OKV_DICT["${KV_MAJOR}"]}
KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz
${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.xz"
@ -378,7 +383,7 @@ detect_version() {
fi
if [[ ${RELEASETYPE} == -rc-git ]]; then
OKV=${OKV_DICT["${KV_MAJOR}"]}
OKV=${K_BASE_VER:-$OKV_DICT["${KV_MAJOR}"]}
KERNEL_URI="${KERNEL_BASE_URI}/snapshots/patch-${KV_MAJOR}.${KV_PATCH}${RELEASE}.xz
${KERNEL_BASE_URI}/testing/patch-${KV_MAJOR}.${KV_PATCH}${RELEASE/-git*}.xz
${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
@ -441,7 +446,6 @@ if [[ ${ETYPE} == sources ]]; then
dev-lang/perl
sys-devel/bc
)"
PDEPEND="!build? ( virtual/dev-manager )"
SLOT="${PVR}"
DESCRIPTION="Sources based on the Linux Kernel."
@ -473,15 +477,18 @@ if [[ ${ETYPE} == sources ]]; then
DEBLOB_PV="${KV_MAJOR}.${KV_MINOR}"
fi
# deblob svn tag, default is -gnu, to change, use K_DEBLOB_TAG in ebuild
K_DEBLOB_TAG=${K_DEBLOB_TAG:--gnu}
DEBLOB_A="deblob-${DEBLOB_PV}"
DEBLOB_CHECK_A="deblob-check-${DEBLOB_PV}"
DEBLOB_HOMEPAGE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
DEBLOB_URI_PATH="download/releases/LATEST-${DEBLOB_PV}.N"
DEBLOB_HOMEPAGE="http://www.fsfla.org/svn/fsfla/software/linux-libre/releases/tags"
DEBLOB_URI_PATH="${DEBLOB_PV}${K_DEBLOB_TAG}"
if ! has "${EAPI:-0}" 0 1 ; then
DEBLOB_CHECK_URI="${DEBLOB_HOMEPAGE}/${DEBLOB_URI_PATH}/deblob-check -> ${DEBLOB_CHECK_A}"
else
DEBLOB_CHECK_URI="mirror://gentoo/${DEBLOB_CHECK_A}"
fi
DEBLOB_URI="${DEBLOB_HOMEPAGE}/${DEBLOB_URI_PATH}/${DEBLOB_A}"
HOMEPAGE="${HOMEPAGE} ${DEBLOB_HOMEPAGE}"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.40 2013/07/05 22:59:40 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.41 2015/05/17 11:10:22 ulm Exp $
# @ECLASS: latex-package.eclass
# @MAINTAINER:
@ -117,7 +117,13 @@ latex-package_src_doinstall() {
insinto /usr/share/doc/${PF}
doins $i || die "doins $i failed"
dosym /usr/share/doc/${PF}/$(basename ${i}) ${TEXMF}/doc/latex/${PN}/${i}
#dodoc -u $i
case "${EAPI:-0}" in
0|1|2|3) ;;
*)
# prevent compression of symlink target
docompress -x /usr/share/doc/${PF}/$(basename ${i})
;;
esac
done
;;
"tex" | "dtx")

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.104 2014/06/28 07:54:27 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.107 2015/06/02 07:39:52 vapier Exp $
# @ECLASS: linux-info.eclass
# @MAINTAINER:
@ -529,7 +529,15 @@ get_version() {
# but before we do this, we need to find if we use a different object directory.
# This *WILL* break if the user is using localversions, but we assume it was
# caught before this if they are.
OUTPUT_DIR="${OUTPUT_DIR:-/lib/modules/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}${KV_EXTRA}/build}"
if [[ -z ${OUTPUT_DIR} ]] ; then
# Try to locate a kernel that is most relevant for us.
for OUTPUT_DIR in "${SYSROOT}" "${ROOT}" "" ; do
OUTPUT_DIR+="/lib/modules/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}${KV_EXTRA}/build"
if [[ -e ${OUTPUT_DIR} ]] ; then
break
fi
done
fi
[ -h "${OUTPUT_DIR}" ] && KV_OUT_DIR="$(readlink -f ${OUTPUT_DIR})"
[ -d "${OUTPUT_DIR}" ] && KV_OUT_DIR="${OUTPUT_DIR}"
@ -599,7 +607,7 @@ get_running_version() {
return $?
else
# This handles a variety of weird kernel versions. Make sure to update
# tests/linux-info:get_running_version.sh if you want to change this.
# tests/linux-info_get_running_version.sh if you want to change this.
local kv_full=${KV_FULL//[-+_]*}
KV_MAJOR=$(get_version_component_range 1 ${kv_full})
KV_MINOR=$(get_version_component_range 2 ${kv_full})

View File

@ -1,13 +1,14 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v4.31.eclass,v 1.1 2014/09/11 22:10:35 axs Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v4.31.eclass,v 1.2 2015/06/13 00:35:35 axs Exp $
#
# mozconfig-v4.1.eclass: the new mozilla.eclass
inherit multilib flag-o-matic toolchain-funcs mozcoreconf-2
case ${EAPI} in
0|1|2|3|4) die "EAPI=${EAPI} not supported"
0|1|2|3|4) die "EAPI=${EAPI} not supported" ;;
*) die "This eclass has been disabled and will be removed on 2015-06-30. If you need it, copy to your overlay and remove this line." ;;
esac
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.31.eclass,v 1.3 2015/02/26 20:41:10 axs Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.31.eclass,v 1.4 2015/05/27 19:00:31 axs Exp $
#
# @ECLASS: mozconfig-v5.31.eclass
# @MAINTAINER:
@ -81,9 +81,14 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.4.2:3[secure-delete,debug=] )
system-libvpx? ( =media-libs/libvpx-1.3.0* )
"
# firefox-31.0-patches-0.3 and above carry a patch making newer libvpx compatible
case ${PATCHFF##*31.0-patches-} in
0.3) RDEPEND+=" system-libvpx? ( >=media-libs/libvpx-1.3.0 )" ;;
*) RDEPEND+=" system-libvpx? ( =media-libs/libvpx-1.3.0* )" ;;
esac
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
IUSE+=" +wifi"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.33.eclass,v 1.3 2014/11/05 23:18:07 axs Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.33.eclass,v 1.5 2015/05/28 06:37:16 polynomial-c Exp $
#
# @ECLASS: mozconfig-v5.33.eclass
# @MAINTAINER:
@ -21,7 +21,8 @@
inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3
case ${EAPI} in
0|1|2|3|4) die "EAPI=${EAPI} not supported"
0|1|2|3|4) die "EAPI=${EAPI} not supported" ;;
*) die "This eclass has been disabled and will be removed on 2015-06-30. If you need it, copy to your overlay and remove this line." ;;
esac
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.36.eclass,v 1.1 2015/02/26 20:41:10 axs Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.36.eclass,v 1.2 2015/04/25 09:13:40 polynomial-c Exp $
#
# @ECLASS: mozconfig-v5.33.eclass
# @MAINTAINER:
@ -89,7 +89,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.7.4:3[secure-delete,debug=] )
system-libvpx? ( =media-libs/libvpx-1.3.0*[postproc] )
system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
"
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then

View File

@ -0,0 +1,231 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.38.eclass,v 1.1 2015/05/27 19:00:31 axs Exp $
#
# @ECLASS: mozconfig-v5.33.eclass
# @MAINTAINER:
# mozilla team <mozilla@gentoo.org>
# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v5
# @DESCRIPTION:
# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
# to provide a single common place for the common mozilla engine compoments.
#
# The eclass provides all common dependencies as well as common use flags.
#
# Some use flags which may be optional in particular mozilla packages can be
# supported through setting eclass variables.
#
# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
# and so ebuilds inheriting this eclass do not need to inherit that.
inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3
case ${EAPI} in
0|1|2|3|4) die "EAPI=${EAPI} not supported"
esac
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
# @DESCRIPTION:
# Set this variable before the inherit line, when an ebuild needs to provide
# optional necko-wifi support via IUSE="wifi". Currently this would include
# ebuilds for firefox, and potentially seamonkey.
#
# Leave the variable UNSET if necko-wifi support should not be available.
# Set the variable to "enabled" if the use flag should be enabled by default.
# Set the variable to any value if the use flag should exist but not be default-enabled.
# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
# @DESCRIPTION:
# Set this variable before the inherit line, when an ebuild needs to provide
# optional necko-wifi support via IUSE="jit". Currently this would include
# ebuilds for firefox, and potentially seamonkey.
#
# Leave the variable UNSET if optional jit support should not be available.
# Set the variable to "enabled" if the use flag should be enabled by default.
# Set the variable to any value if the use flag should exist but not be default-enabled.
# use-flags common among all mozilla ebuilds
IUSE="${IUSE} dbus debug gstreamer +jemalloc3 pulseaudio selinux startup-notification system-cairo system-icu system-jpeg system-sqlite system-libvpx"
# some notes on deps:
# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14
# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
RDEPEND=">=app-text/hunspell-1.2
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7
>=x11-libs/cairo-1.10[X]
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0
>=media-libs/libpng-1.6.16:0=[apng]
>=media-libs/mesa-10.2:*
media-libs/fontconfig
>=media-libs/freetype-2.4.10
kernel_linux? ( media-libs/alsa-lib )
pulseaudio? ( media-sound/pulseaudio )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72 )
startup-notification? ( >=x11-libs/startup-notification-0.8 )
>=dev-libs/glib-2.26:2
>=sys-libs/zlib-1.2.3
>=virtual/libffi-3.0.10
gstreamer? (
>=media-libs/gstreamer-1.2.3:1.0
>=media-libs/gst-plugins-base-1.2.3:1.0
>=media-libs/gst-plugins-good-1.2.3:1.0
>=media-plugins/gst-plugins-libav-1.1.0_pre20130128-r1:1.0
)
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrender
x11-libs/libXt
system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 )
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.8.2:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
"
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
IUSE+=" +wifi"
else
IUSE+=" wifi"
fi
RDEPEND+="
wifi? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72
net-wireless/wireless-tools )"
fi
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then
IUSE+=" +jit"
else
IUSE+=" jit"
fi
fi
DEPEND="app-arch/zip
app-arch/unzip
>=sys-devel/binutils-2.16.1
${RDEPEND}"
RDEPEND+="
selinux? ( sec-policy/selinux-mozilla )"
# @FUNCTION: mozconfig_config
# @DESCRIPTION:
# Set common configure options for mozilla packages.
# Call this within src_configure() phase, after mozconfig_init
#
# Example:
#
# inherit mozconfig-v5.33
#
# src_configure() {
# mozconfig_init
# mozconfig_config
# # ... misc ebuild-unique settings via calls to
# # ... mozconfig_{annotate,use_with,use_enable}
# mozconfig_final
# }
mozconfig_config() {
# Migrated from mozcoreconf-2
mozconfig_annotate 'system_libs' \
--with-system-zlib \
--enable-pango \
--enable-svg \
--with-system-bz2
mozconfig_annotate '' --enable-default-toolkit=cairo-gtk2
if has bindist ${IUSE}; then
mozconfig_use_enable !bindist official-branding
if [[ ${PN} == firefox ]] && use bindist ; then
mozconfig_annotate '' --with-branding=browser/branding/aurora
fi
fi
mozconfig_use_enable debug
mozconfig_use_enable debug tests
if ! use debug ; then
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols
else
mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols
fi
mozconfig_use_enable startup-notification
if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]] ; then
# wifi pulls in dbus so manage both here
mozconfig_use_enable wifi necko-wifi
if use wifi && ! use dbus; then
echo "Enabling dbus support due to wifi request"
mozconfig_annotate 'dbus required by necko-wifi' --enable-dbus
else
mozconfig_use_enable dbus
fi
else
mozconfig_use_enable dbus
mozconfig_annotate 'disabled' --disable-necko-wifi
fi
# These are forced-on for webm support
mozconfig_annotate 'required' --enable-ogg
mozconfig_annotate 'required' --enable-wave
if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
mozconfig_use_enable jit ion
fi
# These are enabled by default in all mozilla applications
mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr
mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr
mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir)
mozconfig_annotate '' --with-system-libevent="${EPREFIX}"/usr
mozconfig_annotate '' --prefix="${EPREFIX}"/usr
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
mozconfig_annotate 'Gentoo default' --enable-system-hunspell
mozconfig_annotate '' --disable-gnomevfs
mozconfig_annotate '' --disable-gnomeui
mozconfig_annotate '' --enable-gio
mozconfig_annotate '' --disable-crashreporter
mozconfig_annotate 'Gentoo default' --with-system-png
mozconfig_annotate '' --enable-system-ffi
mozconfig_annotate 'Gentoo default to honor system linker' --disable-gold
mozconfig_annotate '' --disable-gconf
# Use jemalloc unless libc is not glibc >= 2.4
# at this time the minimum glibc in the tree is 2.9 so we should be safe.
if use elibc_glibc && use jemalloc3; then
# We must force-enable jemalloc 3 via .mozconfig
echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die
mozconfig_annotate '' --enable-jemalloc
mozconfig_annotate '' --enable-replace-malloc
fi
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}"
if use gstreamer; then
mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0
else
mozconfig_annotate '' --disable-gstreamer
fi
mozconfig_use_enable pulseaudio
mozconfig_use_enable system-cairo
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
mozconfig_use_enable system-icu intl-api
mozconfig_use_with system-libvpx
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.106 2014/07/11 08:21:58 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.107 2015/05/26 14:25:16 ottxor Exp $
# @ECLASS: multilib.eclass
# @MAINTAINER:
@ -415,7 +415,7 @@ multilib_toolchain_setup() {
# First restore any saved state we have laying around.
if [[ ${_DEFAULT_ABI_SAVED} == "true" ]] ; then
for v in CHOST CBUILD AS CC CXX LD PKG_CONFIG_{LIBDIR,PATH} ; do
for v in CHOST CBUILD AS CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH} ; do
vv="_abi_saved_${v}"
[[ ${!vv+set} == "set" ]] && export ${v}="${!vv}" || unset ${v}
unset ${vv}
@ -427,7 +427,7 @@ multilib_toolchain_setup() {
# screws up ccache and distcc. See #196243 for more info.
if [[ ${ABI} != ${DEFAULT_ABI} ]] ; then
# Back that multilib-ass up so we can restore it later
for v in CHOST CBUILD AS CC CXX LD PKG_CONFIG_{LIBDIR,PATH} ; do
for v in CHOST CBUILD AS CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH} ; do
vv="_abi_saved_${v}"
[[ ${!v+set} == "set" ]] && export ${vv}="${!v}" || unset ${vv}
done
@ -438,6 +438,8 @@ multilib_toolchain_setup() {
export CHOST=$(get_abi_CHOST ${DEFAULT_ABI})
export CC="$(tc-getCC) $(get_abi_CFLAGS)"
export CXX="$(tc-getCXX) $(get_abi_CFLAGS)"
export F77="$(tc-getF77) $(get_abi_CFLAGS)"
export FC="$(tc-getFC) $(get_abi_CFLAGS)"
export LD="$(tc-getLD) $(get_abi_LDFLAGS)"
export CHOST=$(get_abi_CHOST $1)
export CBUILD=$(get_abi_CHOST $1)

View File

@ -1,677 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-autotools.eclass,v 1.20 2014/07/29 17:59:21 robbat2 Exp $
# @ECLASS: mysql-autotools.eclass
# @MAINTAINER:
# MySQL Team <mysql-bugs@gentoo.org>
# Robin H. Johnson <robbat2@gentoo.org>
# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
# Luca Longinotti <chtekk@gentoo.org>
# @AUTHOR:
# Francesco Riosa <vivo@gentoo.org> (retired)
# @BLURB: This eclass provides support for autotools based mysql releases
# @DESCRIPTION:
# The mysql-autotools.eclass provides the support to build the mysql
# ebuilds using the autotools build system. This eclass provides
# the src_unpack, src_prepare, src_configure, src_compile, scr_install,
# pkg_preinst, pkg_postinst, pkg_config and pkg_postrm phase hooks.
inherit autotools flag-o-matic multilib prefix
#
# HELPER FUNCTIONS:
#
# @FUNCTION: mysql-autotools_disable_test
# @DESCRIPTION:
# Helper function to disable specific tests.
mysql-autotools_disable_test() {
local rawtestname testname testsuite reason mysql_disable_file
rawtestname="${1}" ; shift
reason="${@}"
ewarn "test '${rawtestname}' disabled: '${reason}'"
testsuite="${rawtestname/.*}"
testname="${rawtestname/*.}"
mysql_disable_file="${S}/mysql-test/t/disabled.def"
#einfo "rawtestname=${rawtestname} testname=${testname} testsuite=${testsuite}"
echo "${testname} : ${reason}" >> "${mysql_disable_file}"
# ${S}/mysql-tests/t/disabled.def
#
# ${S}/mysql-tests/suite/federated/disabled.def
#
# ${S}/mysql-tests/suite/jp/t/disabled.def
# ${S}/mysql-tests/suite/ndb/t/disabled.def
# ${S}/mysql-tests/suite/rpl/t/disabled.def
# ${S}/mysql-tests/suite/parts/t/disabled.def
# ${S}/mysql-tests/suite/rpl_ndb/t/disabled.def
# ${S}/mysql-tests/suite/ndb_team/t/disabled.def
# ${S}/mysql-tests/suite/binlog/t/disabled.def
# ${S}/mysql-tests/suite/innodb/t/disabled.def
if [[ -n ${testsuite} ]]; then
for mysql_disable_file in \
${S}/mysql-test/suite/${testsuite}/disabled.def \
${S}/mysql-test/suite/${testsuite}/t/disabled.def \
FAILED ; do
[[ -f ${mysql_disable_file} ]] && break
done
if [[ ${mysql_disabled_file} != "FAILED" ]]; then
echo "${testname} : ${reason}" >> "${mysql_disable_file}"
else
ewarn "Could not find testsuite disabled.def location for ${rawtestname}"
fi
fi
}
# @FUNCTION: mysql-autotools_configure_minimal
# @DESCRIPTION:
# Helper function to configure a minimal build
mysql-autotools_configure_minimal() {
# These are things we exclude from a minimal build, please
# note that the server actually does get built and installed,
# but we then delete it before packaging.
local minimal_exclude_list="server embedded-server extra-tools innodb bench berkeley-db row-based-replication readline"
for i in ${minimal_exclude_list} ; do
myconf="${myconf} --without-${i}"
done
myconf="${myconf} --with-extra-charsets=none"
myconf="${myconf} --enable-local-infile"
if use static ; then
myconf="${myconf} --with-client-ldflags=-all-static"
myconf="${myconf} --disable-shared --with-pic"
else
myconf="${myconf} --enable-shared --enable-static"
fi
if ! use latin1 ; then
myconf="${myconf} --with-charset=utf8"
myconf="${myconf} --with-collation=utf8_general_ci"
else
myconf="${myconf} --with-charset=latin1"
myconf="${myconf} --with-collation=latin1_swedish_ci"
fi
# MariaDB requires this flag in order to link to GPLv3 readline v6 or greater
# A note is added to the configure output
if [[ ${PN} == "mariadb" ]] && mysql_version_is_at_least "5.1.61" ; then
myconf="${myconf} --disable-distribution"
fi
}
# @FUNCTION: mysql-autotools_configure_common
# @DESCRIPTION:
# Helper function to configure the common builds
mysql-autotools_configure_common() {
myconf="${myconf} $(use_with big-tables)"
myconf="${myconf} --enable-local-infile"
myconf="${myconf} --with-extra-charsets=all"
use prefix || myconf="${myconf} --with-mysqld-user=mysql"
myconf="${myconf} --with-server"
myconf="${myconf} --with-unix-socket-path=${EPREFIX}/var/run/mysqld/mysqld.sock"
myconf="${myconf} --without-libwrap"
if use static ; then
myconf="${myconf} --with-mysqld-ldflags=-all-static"
myconf="${myconf} --with-client-ldflags=-all-static"
myconf="${myconf} --disable-shared --with-pic"
else
myconf="${myconf} --enable-shared --enable-static"
fi
if use debug ; then
myconf="${myconf} --with-debug=full"
else
myconf="${myconf} --without-debug"
if ( use cluster ); then
myconf="${myconf} --without-ndb-debug"
fi
fi
if [[ ( -n ${MYSQL_DEFAULT_CHARSET} ) && ( -n ${MYSQL_DEFAULT_COLLATION} ) ]]; then
ewarn "You are using a custom charset of ${MYSQL_DEFAULT_CHARSET}"
ewarn "and a collation of ${MYSQL_DEFAULT_COLLATION}."
ewarn "You MUST file bugs without these variables set."
myconf="${myconf} --with-charset=${MYSQL_DEFAULT_CHARSET}"
myconf="${myconf} --with-collation=${MYSQL_DEFAULT_COLLATION}"
elif ! use latin1 ; then
myconf="${myconf} --with-charset=utf8"
myconf="${myconf} --with-collation=utf8_general_ci"
else
myconf="${myconf} --with-charset=latin1"
myconf="${myconf} --with-collation=latin1_swedish_ci"
fi
if use embedded ; then
myconf="${myconf} --with-embedded-privilege-control"
myconf="${myconf} --with-embedded-server"
else
myconf="${myconf} --without-embedded-privilege-control"
myconf="${myconf} --without-embedded-server"
fi
}
# @FUNCTION: mysql-autotools_configure_51
# @DESCRIPTION:
# Helper function to configure 5.1 and later builds
mysql-autotools_configure_51() {
# TODO: !!!! readd --without-readline
# the failure depend upon config/ac-macros/readline.m4 checking into
# readline.h instead of history.h
myconf="${myconf} $(use_with ssl ssl "${EPREFIX}"/usr)"
myconf="${myconf} --enable-assembler"
myconf="${myconf} --with-geometry"
myconf="${myconf} --with-readline"
myconf="${myconf} --with-zlib-dir=${EPREFIX}/usr/"
myconf="${myconf} --without-pstack"
myconf="${myconf} --with-plugindir=${EPREFIX}/usr/$(get_libdir)/mysql/plugin"
# This is an explict die here, because if we just forcibly disable it, then the
# user's data is not accessible.
use max-idx-128 && die "Bug #336027: upstream has a corruption issue with max-idx-128 presently"
#use max-idx-128 && myconf="${myconf} --with-max-indexes=128"
myconf="${myconf} $(use_enable community community-features)"
if use community; then
myconf="${myconf} $(use_enable profiling)"
else
myconf="${myconf} --disable-profiling"
fi
# Scan for all available plugins
local plugins_avail="$(
LANG=C \
find "${S}" \
\( \
-name 'plug.in' \
-o -iname 'configure.in' \
-o -iname 'configure.ac' \
\) \
-print0 \
| xargs -0 sed -r -n \
-e '/^MYSQL_STORAGE_ENGINE/{
s~MYSQL_STORAGE_ENGINE\([[:space:]]*\[?([-_a-z0-9]+)\]?.*,~\1 ~g ;
s~^([^ ]+).*~\1~gp;
}' \
| tr -s '\n' ' '
)"
# 5.1 introduces a new way to manage storage engines (plugins)
# like configuration=none
# This base set are required, and will always be statically built.
local plugins_sta="csv myisam myisammrg heap"
local plugins_dyn=""
local plugins_dis="example ibmdb2i"
# These aren't actually required by the base set, but are really useful:
plugins_sta="${plugins_sta} archive blackhole"
# Now the extras
if use extraengine ; then
# like configuration=max-no-ndb, archive and example removed in 5.1.11
# not added yet: ibmdb2i
# Not supporting as examples: example,daemon_example,ftexample
plugins_sta="${plugins_sta} partition"
if [[ ${PN} != "mariadb" ]] ; then
elog "Before using the Federated storage engine, please be sure to read"
elog "http://dev.mysql.com/doc/refman/5.1/en/federated-limitations.html"
plugins_dyn="${plugins_dyn} federated"
else
elog "MariaDB includes the FederatedX engine. Be sure to read"
elog "http://askmonty.org/wiki/index.php/Manual:FederatedX_storage_engine"
plugins_dyn="${plugins_dyn} federatedx"
fi
else
plugins_dis="${plugins_dis} partition federated"
fi
# Upstream specifically requests that InnoDB always be built:
# - innobase, innodb_plugin
# Build falcon if available for 6.x series.
for i in innobase falcon ; do
[[ -e ${S}/storage/${i} ]] && plugins_sta="${plugins_sta} ${i}"
done
for i in innodb_plugin ; do
[[ -e ${S}/storage/${i} ]] && plugins_dyn="${plugins_dyn} ${i}"
done
# like configuration=max-no-ndb
if ( use cluster ) ; then
plugins_sta="${plugins_sta} ndbcluster partition"
plugins_dis="${plugins_dis//partition}"
myconf="${myconf} --with-ndb-binlog"
else
plugins_dis="${plugins_dis} ndbcluster"
fi
if [[ ${PN} == "mariadb" ]] ; then
# In MariaDB, InnoDB is packaged in the xtradb directory, so it's not
# caught above.
# This is not optional, without it several upstream testcases fail.
# Also strongly recommended by upstream.
if [[ ${PV} < "5.2.0" ]] ; then
myconf="${myconf} --with-maria-tmp-tables"
plugins_sta="${plugins_sta} maria"
else
myconf="${myconf} --with-aria-tmp-tables"
plugins_sta="${plugins_sta} aria"
fi
[[ ( -e ${S}/storage/innobase ) || ( -e ${S}/storage/xtradb ) ]] ||
die "The ${P} package doesn't provide innobase nor xtradb"
for i in innobase xtradb ; do
[[ -e ${S}/storage/${i} ]] && plugins_sta="${plugins_sta} ${i}"
done
myconf="${myconf} $(use_with libevent)"
if mysql_version_is_at_least "5.2" ; then
for i in oqgraph ; do
use ${i} \
&& plugins_dyn="${plugins_dyn} ${i}" \
|| plugins_dis="${plugins_dis} ${i}"
done
fi
if mysql_version_is_at_least "5.2.5" ; then
for i in sphinx ; do
use ${i} \
&& plugins_dyn="${plugins_dyn} ${i}" \
|| plugins_dis="${plugins_dis} ${i}"
done
fi
#Authentication plugins
if mysql_version_is_at_least "5.2.11" ; then
for i in pam ; do
use ${i} \
&& plugins_dyn="${plugins_dyn} auth_${i}" \
|| plugins_dis="${plugins_dis} auth_${i}"
done
fi
fi
if pbxt_available && [[ ${PBXT_NEWSTYLE} == "1" ]]; then
use pbxt \
&& plugins_sta="${plugins_sta} pbxt" \
|| plugins_dis="${plugins_dis} pbxt"
fi
use static && \
plugins_sta="${plugins_sta} ${plugins_dyn}" && \
plugins_dyn=""
# Google MySQL, bundle what upstream supports
if [[ ${PN} == "google-mysql" ]]; then
for x in innobase innodb_plugin innodb ; do
plugins_sta="${plugins_sta//$x}"
plugins_dyn="${plugins_dyn//$x}"
done
plugins_sta="${plugins_sta} innodb_plugin googlestats"
myconf="${myconf} --with-perftools-dir=/usr --enable-perftools-tcmalloc"
# use system lzo for google-mysql
myconf="${myconf} --with-lzo2-dir=/usr"
fi
einfo "Available plugins: ${plugins_avail}"
einfo "Dynamic plugins: ${plugins_dyn}"
einfo "Static plugins: ${plugins_sta}"
einfo "Disabled plugins: ${plugins_dis}"
# These are the static plugins
myconf="${myconf} --with-plugins=${plugins_sta// /,}"
# And the disabled ones
for i in ${plugins_dis} ; do
myconf="${myconf} --without-plugin-${i}"
done
}
pbxt_src_configure() {
mysql_init_vars
pushd "${WORKDIR}/pbxt-${PBXT_VERSION}" &>/dev/null
einfo "Reconfiguring dir '${PWD}'"
eautoreconf
local myconf=""
myconf="${myconf} --with-mysql=${S} --libdir=${EPREFIX}/usr/$(get_libdir)"
use debug && myconf="${myconf} --with-debug=full"
econf ${myconf} || die "Problem configuring PBXT storage engine"
}
pbxt_src_compile() {
# TODO: is it safe/needed to use emake here ?
make || die "Problem making PBXT storage engine (${myconf})"
popd
# TODO: modify test suite for PBXT
}
pbxt_src_install() {
pushd "${WORKDIR}/pbxt-${PBXT_VERSION}" &>/dev/null
emake install DESTDIR="${D}" || die "Failed to install PBXT"
popd
}
#
# EBUILD FUNCTIONS
#
# @FUNCTION: mysql-autotools_src_prepare
# @DESCRIPTION:
# Apply patches to the source code and remove unneeded bundled libs.
mysql-autotools_src_prepare() {
cd "${S}"
if [[ ${MY_EXTRAS_VER} != none ]]; then
# Apply the patches for this MySQL version
EPATCH_SUFFIX="patch"
mkdir -p "${EPATCH_SOURCE}" || die "Unable to create epatch directory"
# Clean out old items
rm -f "${EPATCH_SOURCE}"/*
# Now link in right patches
mysql_mv_patches
# And apply
epatch
fi
# last -fPIC fixup, per bug #305873
i="${S}"/storage/innodb_plugin/plug.in
[[ -f ${i} ]] && sed -i -e '/CFLAGS/s,-prefer-non-pic,,g' "${i}"
# Additional checks, remove bundled zlib (Cluster needs this, for static
# memory management in zlib, leave available for Cluster)
if [[ "${PN}" != "mysql-cluster" ]] ; then
rm -f "${S}/zlib/"*.[ch]
sed -i -e "s/zlib\/Makefile dnl/dnl zlib\/Makefile/" "${S}/configure.in"
fi
rm -f "scripts/mysqlbug"
# Make charsets install in the right place
find . -name 'Makefile.am' \
-exec sed --in-place -e 's!$(pkgdatadir)!'${MY_SHAREDSTATEDIR}'!g' {} \;
# Remove what needs to be recreated, so we're sure it's actually done
einfo "Cleaning up old buildscript files"
find . -name Makefile \
-o -name Makefile.in \
-o -name configure \
-exec rm -f {} \;
rm -f "ltmain.sh"
rm -f "scripts/mysqlbug"
local rebuilddirlist d
if xtradb_patch_available && use xtradb ; then
einfo "Adding storage engine: Percona XtraDB (replacing InnoDB)"
pushd "${S}"/storage >/dev/null
i="innobase"
o="${WORKDIR}/storage-${i}.mysql-upstream"
# Have we been here already?
[[ -d ${o} ]] && rm -f "${i}"
# Or maybe we haven't
[[ ( -d ${i} ) && ! ( -d ${o} ) ]] && mv "${i}" "${o}"
cp -ral "${WORKDIR}/${XTRADB_P}" "${i}"
popd >/dev/null
fi
if pbxt_patch_available && [[ ${PBXT_NEWSTYLE} == "1" ]] && use pbxt ; then
einfo "Adding storage engine: PBXT"
pushd "${S}"/storage >/dev/null
i='pbxt'
[[ -d ${i} ]] && rm -rf "${i}"
cp -ral "${WORKDIR}/${PBXT_P}" "${i}"
f="${WORKDIR}/mysql-extras/pbxt/fix-low-priority.patch"
[[ -f $f ]] && epatch "$f"
popd >/dev/null
fi
rebuilddirlist="."
# This does not seem to be needed presently. robbat2 2010/02/23
#einfo "Updating innobase cmake"
## TODO: check this with a cmake expert
#cmake \
# -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \
# -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \
# "storage/innobase"
for d in ${rebuilddirlist} ; do
einfo "Reconfiguring dir '${d}'"
pushd "${d}" &>/dev/null
eautoreconf
popd &>/dev/null
done
}
# @FUNCTION: mysql-autotools_src_configure
# @DESCRIPTION:
# Configure mysql to build the code for Gentoo respecting the use flags.
mysql-autotools_src_configure() {
# bug 401733
export QA_CONFIGURE_OPTIONS=".*"
# Make sure the vars are correctly initialized
mysql_init_vars
# $myconf is modified by the configure_* functions
local myconf=""
if use minimal ; then
mysql-autotools_configure_minimal
else
mysql-autotools_configure_common
mysql-autotools_configure_51
fi
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
# glib-2.3.2_pre fix, bug #16496
append-cppflags "-DHAVE_ERRNO_AS_DEFINE=1"
# As discovered by bug #246652, doing a double-level of SSP causes NDB to
# fail badly during cluster startup.
if [[ $(gcc-major-version) -lt 4 ]]; then
filter-flags "-fstack-protector-all"
fi
CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing"
CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
# storage/googlestats, sql/ in google-mysql are using C++ templates
# implicitly. Upstream might be interested in this, exclude
# -fno-implicit-templates for google-mysql for now.
mysql_version_is_at_least "5.0" \
&& [[ ${PN} != "google-mysql" ]] \
&& CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
export CXXFLAGS
# bug #283926, with GCC4.4, this is required to get correct behavior.
append-flags -fno-strict-aliasing
# bug #335185, #335995, with >= GCC4.3.3 on x86 only, omit-frame-pointer
# causes a mis-compile.
# Upstream bugs:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562
# http://bugs.mysql.com/bug.php?id=45205
use x86 && version_is_at_least "4.3.3" "$(gcc-fullversion)" && \
append-flags -fno-omit-frame-pointer && \
filter-flags -fomit-frame-pointer
econf \
--libexecdir="${EPREFIX}/usr/sbin" \
--sysconfdir="${MY_SYSCONFDIR}" \
--localstatedir="${MY_LOCALSTATEDIR}" \
--sharedstatedir="${MY_SHAREDSTATEDIR}" \
--libdir="${MY_LIBDIR}" \
--includedir="${MY_INCLUDEDIR}" \
--with-low-memory \
--with-client-ldflags=-lstdc++ \
--enable-thread-safe-client \
--with-comment="Gentoo Linux ${PF}" \
--without-docs \
--with-LIBDIR="$(get_libdir)" \
${myconf} || die "econf failed"
# TODO: Move this before autoreconf !!!
find . -type f -name Makefile -print0 \
| xargs -0 -n100 sed -i \
-e 's|^pkglibdir *= *$(libdir)/mysql|pkglibdir = $(libdir)|;s|^pkgincludedir *= *$(includedir)/mysql|pkgincludedir = $(includedir)|'
if [[ $EAPI == 2 ]] && [[ ${PBXT_NEWSTYLE} != "1" ]]; then
pbxt_patch_available && use pbxt && pbxt_src_configure
fi
}
# @FUNCTION: mysql-autotools_src_compile
# @DESCRIPTION:
# Compile the mysql code.
mysql-autotools_src_compile() {
emake || die "emake failed"
if [[ ${PBXT_NEWSTYLE} != "1" ]]; then
pbxt_patch_available && use pbxt && pbxt_src_compile
fi
}
# @FUNCTION: mysql-autotools_src_install
# @DESCRIPTION:
# Install mysql.
mysql-autotools_src_install() {
# Make sure the vars are correctly initialized
mysql_init_vars
emake install \
DESTDIR="${D}" \
benchdir_root="${MY_SHAREDSTATEDIR}" \
testroot="${MY_SHAREDSTATEDIR}" \
|| die "emake install failed"
if [[ ${PBXT_NEWSTYLE} != "1" ]]; then
pbxt_patch_available && use pbxt && pbxt_src_install
fi
# Convenience links
einfo "Making Convenience links for mysqlcheck multi-call binary"
dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqlanalyze"
dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqlrepair"
dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqloptimize"
# Various junk (my-*.cnf moved elsewhere)
einfo "Removing duplicate /usr/share/mysql files"
rm -Rf "${ED}/usr/share/info"
for removeme in "mysql-log-rotate" mysql.server* \
binary-configure* my-*.cnf mi_test_all*
do
rm -f "${D}"/${MY_SHAREDSTATEDIR}/${removeme}
done
# Clean up stuff for a minimal build
if use minimal ; then
einfo "Remove all extra content for minimal build"
rm -Rf "${D}${MY_SHAREDSTATEDIR}"/{mysql-test,sql-bench}
rm -f "${ED}"/usr/bin/{mysql{_install_db,manager*,_secure_installation,_fix_privilege_tables,hotcopy,_convert_table_format,d_multi,_fix_extensions,_zap,_explain_log,_tableinfo,d_safe,_install,_waitpid,binlog,test},myisam*,isam*,pack_isam}
rm -f "${ED}/usr/sbin/mysqld"
rm -f "${D}${MY_LIBDIR}"/lib{heap,merge,nisam,my{sys,strings,sqld,isammrg,isam},vio,dbug}.a
fi
# Unless they explicitly specific USE=test, then do not install the
# testsuite. It DOES have a use to be installed, esp. when you want to do a
# validation of your database configuration after tuning it.
if use !test ; then
rm -rf "${D}"/${MY_SHAREDSTATEDIR}/mysql-test
fi
# Configuration stuff
case ${MYSQL_PV_MAJOR} in
5.[1-9]|6*|7*) mysql_mycnf_version="5.1" ;;
esac
einfo "Building default my.cnf (${mysql_mycnf_version})"
insinto "${MY_SYSCONFDIR#${EPREFIX}}"
doins scripts/mysqlaccess.conf
mycnf_src="my.cnf-${mysql_mycnf_version}"
sed -e "s!@DATADIR@!${MY_DATADIR}!g" \
-e "s!/tmp!${EPREFIX}/tmp!" \
-e "s!/usr!${EPREFIX}/usr!" \
-e "s!= /var!= ${EPREFIX}/var!" \
"${FILESDIR}/${mycnf_src}" \
> "${TMPDIR}/my.cnf.ok"
use prefix && sed -i -r -e '/^user[[:space:]]*=[[:space:]]*mysql$/d' "${TMPDIR}/my.cnf.ok"
if use latin1 ; then
sed -i \
-e "/character-set/s|utf8|latin1|g" \
"${TMPDIR}/my.cnf.ok"
fi
eprefixify "${TMPDIR}/my.cnf.ok"
newins "${TMPDIR}/my.cnf.ok" my.cnf
# Minimal builds don't have the MySQL server
if ! use minimal ; then
einfo "Creating initial directories"
# Empty directories ...
diropts "-m0750"
keepdir "${MY_DATADIR#${EPREFIX}}"
if [[ ${PREVIOUS_DATADIR} != "yes" ]] ; then
chown -R mysql:mysql "${D}/${MY_DATADIR}"
fi
diropts "-m0755"
for folder in "${MY_LOGDIR#${EPREFIX}}" "/var/run/mysqld" ; do
dodir "${folder}"
keepdir "${folder}"
chown -R mysql:mysql "${ED}/${folder}"
done
fi
# Docs
einfo "Installing docs"
for i in README ChangeLog EXCEPTIONS-CLIENT INSTALL-SOURCE ; do
[[ -f $i ]] && dodoc "$i"
done
doinfo "${S}"/Docs/mysql.info
# Minimal builds don't have the MySQL server
if ! use minimal ; then
einfo "Including support files and sample configurations"
docinto "support-files"
for script in \
"${S}"/support-files/my-*.cnf \
"${S}"/support-files/magic \
"${S}"/support-files/ndb-config-2-node.ini
do
[[ -f $script ]] && dodoc "${script}"
done
docinto "scripts"
for script in "${S}"/scripts/mysql* ; do
[[ ( -f $script ) && ( ${script%.sh} == ${script} ) ]] && dodoc "${script}"
done
fi
mysql_lib_symlinks "${ED}"
#Remove mytop if perl is not selected
[[ ${PN} == "mariadb" ]] && ! use perl \
&& mysql_version_is_at_least "5.3" \
&& rm -f "${ED}/usr/bin/mytop"
#Bug 455462 remove unnecessary libtool files
prune_libtool_files --modules
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-multilib.eclass,v 1.18 2015/03/17 19:39:43 grknight Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-multilib.eclass,v 1.21 2015/06/10 18:08:02 grknight Exp $
# @ECLASS: mysql-multilib.eclass
# @MAINTAINER:
@ -51,7 +51,7 @@ S="${WORKDIR}/mysql"
[[ ${MY_EXTRAS_VER} == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z"
if [[ ${MY_EXTRAS_VER} == "live" ]]; then
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
EGIT_REPO_URI="git://anongit.gentoo.org/proj/mysql-extras.git"
EGIT_CHECKOUT_DIR=${WORKDIR}/mysql-extras
EGIT_CLONE_TYPE=shallow
fi
@ -101,16 +101,6 @@ MYSQL_VERSION_ID=${MYSQL_VERSION_ID##"0"}
# This eclass should only be used with at least mysql-5.5.35
mysql_version_is_at_least "5.5.35" || die "This eclass should only be used with >=mysql-5.5.35"
# @ECLASS-VARIABLE: XTRADB_VER
# @DEFAULT_UNSET
# @DESCRIPTION:
# Version of the XTRADB storage engine
# @ECLASS-VARIABLE: PERCONA_VER
# @DEFAULT_UNSET
# @DESCRIPTION:
# Designation by PERCONA for a MySQL version to apply an XTRADB release
# Work out the default SERVER_URI correctly
if [[ -z ${SERVER_URI} ]]; then
[[ -z ${MY_PV} ]] && MY_PV="${PV//_/-}"
@ -120,8 +110,13 @@ if [[ -z ${SERVER_URI} ]]; then
MARIA_FULL_PV=$(replace_version_separator 3 '-' ${MY_PV})
MARIA_FULL_P="${PN}-${MARIA_FULL_PV}"
SERVER_URI="
http://ftp.osuosl.org/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://ftp.osuosl.org/pub/mariadb/${MARIA_FULL_P}/source/${MARIA_FULL_P}.tar.gz
http://mirror.jmu.edu/pub/mariadb/${MARIA_FULL_P}/source/${MARIA_FULL_P}.tar.gz
http://mirrors.coreix.net/mariadb/${MARIA_FULL_P}/source/${MARIA_FULL_P}.tar.gz
http://mirrors.syringanetworks.net/mariadb/${MARIA_FULL_P}/source/${MARIA_FULL_P}.tar.gz
http://mirrors.fe.up.pt/pub/mariadb/${MARIA_FULL_P}/source/${MARIA_FULL_P}.tar.gz
http://mirror2.hs-esslingen.de/mariadb/${MARIA_FULL_P}/source/${MARIA_FULL_P}.tar.gz
http://ftp.osuosl.org/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirror.jmu.edu/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirrors.coreix.net/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirrors.syringanetworks.net/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
@ -353,6 +348,11 @@ if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] ; then
virtual/perl-Time-HiRes ) "
fi
# @ECLASS-VARIABLE: WSREP_REVISION
# @DEFAULT_UNSET
# @DESCRIPTION:
# Version of the sys-cluster/galera API (major version in portage) to use for galera clustering
if [[ -n "${WSREP_REVISION}" ]] ; then
# The wsrep API version must match between the ebuild and sys-cluster/galera.
# This will be indicated by WSREP_REVISION in the ebuild and the first number
@ -369,10 +369,11 @@ if [[ -n "${WSREP_REVISION}" ]] ; then
RDEPEND="${RDEPEND} ${GALERA_RDEPEND}
sst-rsync? ( sys-process/lsof )
sst-xtrabackup? (
>=dev-db/xtrabackup-bin-2.2.4
net-misc/socat[ssl]
)
"
# Causes a circular dependency if DBD-mysql is not already installed
PDEPEND="${PDEPEND} sst-xtrabackup? ( >=dev-db/xtrabackup-bin-2.2.4 )"
fi
if [[ ${PN} == "mysql-cluster" ]] ; then
@ -391,7 +392,7 @@ DEPEND="${DEPEND}
# For other stuff to bring us in
# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )
PDEPEND="${PDEPEND} perl? ( >=dev-perl/DBD-mysql-2.9004 )
~virtual/mysql-${MYSQL_PV_MAJOR}"
# my_config.h includes ABI specific data
@ -433,6 +434,9 @@ mysql-multilib_pkg_pretend() {
die
fi
fi
if use_if_iuse cluster && [[ "${PN}" != "mysql-cluster" ]]; then
die "NDB Cluster support has been removed from all packages except mysql-cluster"
fi
}
# @FUNCTION: mysql-multilib_pkg_setup
@ -455,12 +459,6 @@ mysql-multilib_pkg_setup() {
enewgroup mysql 60 || die "problem adding 'mysql' group"
enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
if use cluster && [[ "${PN}" != "mysql-cluster" ]]; then
ewarn "The NDB cluster support is no longer built."
ewarn "Please use dev-db/mysql-cluster for NDB."
ewarn "In the near future, the USE flag will be removed."
fi
if [[ ${PN} == "mysql-cluster" ]] ; then
mysql_version_is_at_least "7.2.9" && java-pkg-opt-2_pkg_setup
fi
@ -572,11 +570,18 @@ multilib_src_configure() {
fi
if in_iuse bindist ; then
mycmakeargs+=(
-DWITH_READLINE=$(usex bindist 1 0)
-DNOT_FOR_DISTRIBUTION=$(usex bindist 0 1)
$(usex bindist -DHAVE_BFD_H=0 '')
)
# bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION
if multilib_is_native_abi; then
mycmakeargs+=(
-DWITH_READLINE=$(usex bindist 1 0)
-DNOT_FOR_DISTRIBUTION=$(usex bindist 0 1)
)
else
mycmakeargs+=(
-DWITH_READLINE=1
-DNOT_FOR_DISTRIBUTION=0
)
fi
fi
### TODO: make this system but issues with UTF-8 prevent it
@ -879,8 +884,7 @@ mysql-multilib_pkg_config() {
mysql_version_is_at_least "5.6" || options="${options} --loose-skip-innodb"
fi
einfo "Creating the mysql database and setting proper"
einfo "permissions on it ..."
einfo "Creating the mysql database and setting proper permissions on it ..."
# Now that /var/run is a tmpfs mount point, we need to ensure it exists before using it
PID_DIR="${EROOT}/var/run/mysqld"
@ -955,7 +959,7 @@ mysql-multilib_pkg_config() {
-e "${sql}"
eend $?
ebegin "Loading \"zoneinfo\", this step may require a few seconds ..."
ebegin "Loading \"zoneinfo\", this step may require a few seconds"
"${EROOT}/usr/bin/mysql" \
--socket=${socket} \
-hlocalhost \

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.37 2015/03/08 09:39:55 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.39 2015/05/24 04:35:49 vapier Exp $
# @ECLASS: mysql-v2.eclass
# @MAINTAINER:
@ -70,7 +70,7 @@ S="${WORKDIR}/mysql"
[[ ${MY_EXTRAS_VER} == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z"
if [[ ${MY_EXTRAS_VER} == "live" ]]; then
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
EGIT_REPO_URI="git://anongit.gentoo.org/proj/mysql-extras.git"
EGIT_CHECKOUT_DIR=${WORKDIR}/mysql-extras
EGIT_CLONE_TYPE=shallow
fi
@ -818,8 +818,7 @@ mysql-v2_pkg_config() {
mysql_version_is_at_least "5.6" || options="${options} --loose-skip-innodb"
fi
einfo "Creating the mysql database and setting proper"
einfo "permissions on it ..."
einfo "Creating the mysql database and setting proper permissions on it ..."
# Now that /var/run is a tmpfs mount point, we need to ensure it exists before using it
PID_DIR="${EROOT}/var/run/mysqld"
@ -894,7 +893,7 @@ mysql-v2_pkg_config() {
-e "${sql}"
eend $?
ebegin "Loading \"zoneinfo\", this step may require a few seconds ..."
ebegin "Loading \"zoneinfo\", this step may require a few seconds"
"${EROOT}/usr/bin/mysql" \
--socket=${socket} \
-hlocalhost \

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/netsurf.eclass,v 1.2 2014/12/24 09:58:27 xmw Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/netsurf.eclass,v 1.3 2015/06/09 22:00:44 xmw Exp $
# @ECLASS: netsurf.eclass
# @MAINTAINER:
@ -98,6 +98,8 @@ multilib_src_configure() {
sed -e "/^libdir/s:/lib:/$(get_libdir):g" \
-i ${PN}.pc.in || die
fi
sed -e 's:/bin/which:which:' \
-i ../${NETSURF_BUILDSYSTEM}/makefiles/Makefile.tools || die
}
# @FUNCTION: netsurf_make
@ -112,7 +114,7 @@ netsurf_make() {
fi
fi
emake CC="$(tc-getCC)" LD="$(tc-getLD)" "${netsurf_makeconf[@]}" \
COMPONENT_TYPE=${COMPONENT_TYPE} "$@"
COMPONENT_TYPE=${COMPONENT_TYPE} LIBDIR="$(get_libdir)" "$@"
done
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.164 2015/03/15 17:23:09 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.166 2015/06/13 19:01:10 dilfridge Exp $
# @ECLASS: perl-module.eclass
# @MAINTAINER:
@ -141,9 +141,9 @@ perl-module_src_configure() {
fi
else
einfo "Using Module::Build"
if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${PN} != Module-Build ]] ; then
if [[ ${DEPEND} != *virtual/perl-Module-Build* && ${DEPEND} != *dev-perl/Module-Build* && ${PN} != Module-Build ]] ; then
eqawarn "QA Notice: The ebuild uses Module::Build but doesn't depend on it."
eqawarn " Add virtual/perl-Module-Build to DEPEND!"
eqawarn " Add dev-perl/Module-Build to DEPEND!"
if [[ -n ${PERLQAFATAL} ]]; then
eerror "Bailing out due to PERLQAFATAL=1";
die
@ -177,20 +177,6 @@ perl-module_src_configure() {
fi
}
# @FUNCTION: perl-module_src_prep
# @USAGE: perl-module_src_prep
# @DESCRIPTION:
# Configure the ebuild sources (bis).
#
# This function is still around for historical reasons
# and will be soon deprecated.
#
# Please use the function above instead, perl-module_src_configure().
perl-module_src_prep() {
debug-print-function $FUNCNAME "$@"
die "perl-modules.eclass: perl-module_src_prep has been removed. Please use perl-module_src_configure instead."
}
# @FUNCTION: perl-module_src_compile
# @USAGE: perl-module_src_compile
# @DESCRIPTION:
@ -302,26 +288,6 @@ perl-module_src_install() {
perl_link_duallife_scripts
}
# @FUNCTION: perl-module_pkg_setup
# @USAGE: perl-module_pkg_setup
# @DESCRIPTION:
# This function was to be called during the pkg_setup() phase.
# Deprecated, to be removed. Where it is called, place a call to perl_set_version instead.
perl-module_pkg_setup() {
debug-print-function $FUNCNAME "$@"
die "perl-modules.eclass: perl-module_pkg_setup has been removed. Please use perl_set_version instead."
}
# @FUNCTION: perl-module_pkg_preinst
# @USAGE: perl-module_pkg_preinst
# @DESCRIPTION:
# This function was to be called during the pkg_preinst() phase.
# Deprecated, to be removed. Where it is called, place a call to perl_set_version instead.
perl-module_pkg_preinst() {
debug-print-function $FUNCNAME "$@"
die "perl-modules.eclass: perl-module_pkg_preinst has been removed. Please use perl_set_version instead."
}
# @FUNCTION: perl-module_pkg_postinst
# @USAGE: perl-module_pkg_postinst
# @DESCRIPTION:
@ -339,16 +305,6 @@ perl-module_pkg_postinst() {
perl_link_duallife_scripts
}
# @FUNCTION: perl-module_pkg_prerm
# @USAGE: perl-module_pkg_prerm
# @DESCRIPTION:
# This function was to be called during the pkg_prerm() phase.
# It does not do anything. Deprecated, to be removed.
perl-module_pkg_prerm() {
debug-print-function $FUNCNAME "$@"
die "perl-module.eclass: perl-module_pkg_prerm has been removed. Please remove the call."
}
# @FUNCTION: perl-module_pkg_postrm
# @USAGE: perl-module_pkg_postrm
# @DESCRIPTION:
@ -392,17 +348,6 @@ perl_set_version() {
VENDOR_ARCH=${installvendorarch}
}
# @FUNCTION: perlinfo
# @USAGE: perlinfo
# @DESCRIPTION:
# This function is deprecated.
#
# Please use the function above instead, perl_set_version().
perlinfo() {
debug-print-function $FUNCNAME "$@"
die "perl-modules.eclass: perlinfo has been removed. Please use perl_set_version instead."
}
# @FUNCTION: perl_delete_localpod
# @USAGE: perl_delete_localpod
# @DESCRIPTION:
@ -416,17 +361,6 @@ perl_delete_localpod() {
find "${D}" -depth -mindepth 1 -type d -empty -delete
}
# @FUNCTION: fixlocalpod
# @USAGE: fixlocalpod
# @DESCRIPTION:
# This function is deprecated.
#
# Please use the function above instead, perl_delete_localpod().
fixlocalpod() {
debug-print-function $FUNCNAME "$@"
die "perl-modules.eclass: fixlocalpod has been removed. Please use perl_delete_localpod instead."
}
# @FUNCTION: perl_fix_osx_extra
# @USAGE: perl_fix_osx_extra
# @DESCRIPTION:

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.19 2013/04/28 16:15:33 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.20 2015/06/17 19:23:34 grknight Exp $
# Based on robbat2's work on the php4 sapi eclass
# Based on stuart's work on the php5 sapi eclass
@ -13,7 +13,8 @@
# This eclass provides common functions which are shared between the PHP4 and PHP5 packages.
# It is only used by php*-sapi eclasses currently and the functions are not intended
# for direct use in ebuilds.
# This eclass is no longer in use and scheduled to be removed on 2015-07-17
# @DEAD
# ========================================================================
# CFLAG SANITY

View File

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.17 2011/08/22 04:46:32 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-base-r1.eclass,v 1.18 2015/06/17 19:23:34 grknight Exp $
# @ECLASS: php-ext-base-r1.eclass
# @MAINTAINER:
@ -17,6 +17,8 @@
#
# Combined with php-ext-source-r1, we have a standardised solution for supporting
# PHP extensions.
# This eclass is no longer in use and scheduled to be removed on 2015-07-17
# @DEAD
# Block ebuilds with minor version slotting. Quite temporary fix
DEPEND="!=dev-lang/php-5.3.3-r2

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 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.34 2015/03/26 16:15:33 grknight Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.36 2015/05/04 20:02:26 grknight Exp $
# @ECLASS: php-ext-source-r2.eclass
# @MAINTAINER:
@ -32,6 +32,7 @@ case ${EAPI} in
esac
# @ECLASS-VARIABLE: PHP_EXT_NAME
# @REQUIRED
# @DESCRIPTION:
# The extension name. This must be set, otherwise the eclass dies.
# Only automagically set by php-ext-pecl-r2.eclass, so unless your ebuild
@ -51,10 +52,14 @@ esac
[[ -z "${PHP_EXT_ZENDEXT}" ]] && PHP_EXT_ZENDEXT="no"
# @ECLASS-VARIABLE: USE_PHP
# @REQUIRED
# @DESCRIPTION:
# Lists the PHP slots compatibile the extension is compatibile with
[[ -z "${USE_PHP}" ]] && USE_PHP="php5-3" \
&& eqawarn "An empty USE_PHP is deprecated and support will be removed on 2015-05-01"
# Example:
# @CODE
# USE_PHP="php5-5 php5-6"
# @CODE
[[ -z "${USE_PHP}" ]] && die "USE_PHP is not set for the php-ext-source-r2 eclass"
# @ECLASS-VARIABLE: PHP_EXT_OPTIONAL_USE
# @DESCRIPTION:
@ -97,11 +102,12 @@ DEPEND="${DEPEND}
# @DESCRIPTION:
# runs standard src_unpack + _phpize
# @VARIABLE: PHP_EXT_SKIP_PHPIZE
# @ECLASS-VARIABLE: PHP_EXT_SKIP_PHPIZE
# @DESCRIPTION:
# phpize will be run by default for all ebuilds that use
# php-ext-source-r2_src_unpack
# Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize.
php-ext-source-r2_src_unpack() {
unpack ${A}
local slot orig_s="${PHP_EXT_S}"
@ -138,9 +144,10 @@ php-ext-source-r2_phpize() {
# @DESCRIPTION:
# Takes care of standard configure for PHP extensions (modules).
# @VARIABLE: my_conf
# @ECLASS-VARIABLE: my_conf
# @DESCRIPTION:
# Set this in the ebuild to pass configure options to econf.
php-ext-source-r2_src_configure() {
# net-snmp creates this file #385403
addpredict /usr/share/snmp/mibs/.index
@ -176,7 +183,7 @@ php-ext-source-r2_src_compile() {
# @DESCRIPTION:
# Takes care of standard install for PHP extensions (modules).
# @VARIABLE: DOCS
# @ECLASS-VARIABLE: DOCS
# @DESCRIPTION:
# Set in ebuild if you wish to install additional, package-specific documentation.
php-ext-source-r2_src_install() {

View File

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.7 2011/12/27 17:55:12 fauli Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/php-ezc.eclass,v 1.8 2015/06/17 19:23:34 grknight Exp $
# @ECLASS: php-ezc.eclass
# @MAINTAINER:
@ -9,6 +9,8 @@
# @DESCRIPTION:
# This eclass provides means for an easy installation of the eZ components.
# For more information on eZcomponents see http://ez.no/products/ez_components
# This eclass is no longer in use and scheduled to be removed on 2015-07-17
# @DEAD
inherit php-pear-r1

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/qmake-utils.eclass,v 1.6 2015/02/26 01:52:15 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/qmake-utils.eclass,v 1.11 2015/06/22 14:18:19 pesa Exp $
# @ECLASS: qmake-utils.eclass
# @MAINTAINER:
@ -10,6 +10,9 @@
# @BLURB: Common functions for qmake-based packages.
# @DESCRIPTION:
# Utility eclass providing wrapper functions for Qt4 and Qt5 qmake.
#
# This eclass does not set any metadata variables nor export any phase
# functions. It can be inherited safely.
if [[ -z ${_QMAKE_UTILS_ECLASS} ]]; then
_QMAKE_UTILS_ECLASS=1
@ -20,7 +23,9 @@ inherit eutils multilib toolchain-funcs
# @DESCRIPTION:
# Echoes the directory where Qt4 binaries are installed.
qt4_get_bindir() {
local qtbindir=${EPREFIX}/usr/$(get_libdir)/qt4/bin
has "${EAPI:-0}" 0 1 2 && use !prefix && EPREFIX=
local qtbindir=${EPREFIX}$(qt4_get_libdir)/bin
if [[ -d ${qtbindir} ]]; then
echo ${qtbindir}
else
@ -28,11 +33,61 @@ qt4_get_bindir() {
fi
}
# @FUNCTION: qt4_get_headerdir
# @DESCRIPTION:
# Echoes the directory where Qt4 headers are installed.
# Does not take EPREFIX into account.
qt4_get_headerdir() {
echo /usr/include/qt4
}
# @FUNCTION: qt4_get_libdir
# @DESCRIPTION:
# Echoes the directory where Qt4 libraries are installed.
# Does not take EPREFIX into account.
qt4_get_libdir() {
echo /usr/$(get_libdir)/qt4
}
# @FUNCTION: qt4_get_mkspecsdir
# @DESCRIPTION:
# Echoes the directory where Qt4 mkspecs are installed.
# Does not take EPREFIX into account.
qt4_get_mkspecsdir() {
echo /usr/share/qt4/mkspecs
}
# @FUNCTION: qt5_get_bindir
# @DESCRIPTION:
# Echoes the directory where Qt5 binaries are installed.
qt5_get_bindir() {
echo ${EPREFIX}/usr/$(get_libdir)/qt5/bin
has "${EAPI:-0}" 0 1 2 && use !prefix && EPREFIX=
echo ${EPREFIX}$(qt5_get_libdir)/qt5/bin
}
# @FUNCTION: qt5_get_headerdir
# @DESCRIPTION:
# Echoes the directory where Qt5 headers are installed.
# Does not take EPREFIX into account.
qt5_get_headerdir() {
echo /usr/include/qt5
}
# @FUNCTION: qt5_get_libdir
# @DESCRIPTION:
# Echoes the directory where Qt5 libraries are installed.
# Does not take EPREFIX into account.
qt5_get_libdir() {
echo /usr/$(get_libdir)
}
# @FUNCTION: qt5_get_mkspecsdir
# @DESCRIPTION:
# Echoes the directory where Qt5 mkspecs are installed.
# Does not take EPREFIX into account.
qt5_get_mkspecsdir() {
echo $(qt5_get_libdir)/qt5/mkspecs
}
# @FUNCTION: qmake-utils_find_pro_file
@ -102,14 +157,13 @@ eqmake4() {
local qmake_args=("$@")
# check if project file was passed as a first argument
# if not, then search for it
# Check if the project file name was passed as first argument. If not, look for candidates.
local regexp='.*\.pro'
if ! [[ ${1} =~ ${regexp} ]]; then
local project_file=$(qmake-utils_find_pro_file)
if [[ -z ${project_file} ]]; then
echo
eerror "No project files found in '${PWD}'!"
eerror "No project files found in '${PWD}'"
eerror "This shouldn't happen - please send a bug report to https://bugs.gentoo.org/"
echo
die "eqmake4 failed"
@ -117,13 +171,12 @@ eqmake4() {
qmake_args+=("${project_file}")
fi
# make sure CONFIG variable is correctly set
# for both release and debug builds
local config_add="release"
local config_remove="debug"
if has debug ${IUSE} && use debug; then
config_add="debug"
config_remove="release"
# Make sure the CONFIG variable is correctly set for both release and debug builds.
local config_add=release
local config_remove=debug
if use_if_iuse debug; then
config_add=debug
config_remove=release
fi
local awkscript='BEGIN {
@ -196,12 +249,11 @@ eqmake4() {
QMAKE_LFLAGS="${LDFLAGS}" \
QMAKE_LFLAGS_RELEASE= \
QMAKE_LFLAGS_DEBUG= \
QMAKE_LIBDIR_QT="${EPREFIX}"/usr/$(get_libdir)/qt4 \
QMAKE_LIBDIR_X11="${EPREFIX}"/usr/$(get_libdir) \
QMAKE_LIBDIR_OPENGL="${EPREFIX}"/usr/$(get_libdir) \
QMAKE_LIBDIR_QT="${EPREFIX}$(qt4_get_libdir)" \
QMAKE_LIBDIR_X11="${EPREFIX}/usr/$(get_libdir)" \
QMAKE_LIBDIR_OPENGL="${EPREFIX}/usr/$(get_libdir)" \
"${qmake_args[@]}"
# was qmake successful?
if ! eend $? ; then
echo
eerror "Running qmake has failed! (see above for details)"
@ -224,8 +276,6 @@ eqmake4() {
eqmake5() {
debug-print-function ${FUNCNAME} "$@"
has "${EAPI:-0}" 0 1 2 && use !prefix && EPREFIX=
ebegin "Running qmake"
"$(qt5_get_bindir)"/qmake \
@ -251,7 +301,6 @@ eqmake5() {
QMAKE_LFLAGS_DEBUG= \
"$@"
# was qmake successful?
if ! eend $? ; then
echo
eerror "Running qmake has failed! (see above for details)"

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v 1.9 2015/04/01 18:45:04 pesa Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build-multilib.eclass,v 1.28 2015/06/16 21:38:00 pesa Exp $
# @ECLASS: qt4-build-multilib.eclass
# @MAINTAINER:
@ -20,21 +20,17 @@ esac
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs
HOMEPAGE="https://www.qt.io/"
LICENSE="|| ( LGPL-2.1 GPL-3 )"
LICENSE="|| ( LGPL-2.1 LGPL-3 GPL-3 ) FDL-1.3"
SLOT="4"
case ${PV} in
4.?.9999)
# git stable branch
QT4_BUILD_TYPE="live"
EGIT_REPO_URI=(
"git://code.qt.io/qt/qt.git"
"https://code.qt.io/git/qt/qt.git"
"https://github.com/qtproject/qt.git"
)
EGIT_BRANCH=${PV%.9999}
inherit git-r3
;;
*)
# official stable release
QT4_BUILD_TYPE="release"
MY_P=qt-everywhere-opensource-src-${PV/_/-}
SRC_URI="http://download.qt.io/official_releases/qt/${PV%.*}/${PV}/${MY_P}.tar.gz"
@ -42,6 +38,13 @@ case ${PV} in
;;
esac
EGIT_REPO_URI=(
"git://code.qt.io/qt/qt.git"
"https://code.qt.io/git/qt/qt.git"
"https://github.com/qtproject/qt.git"
)
[[ ${QT4_BUILD_TYPE} == live ]] && inherit git-r3
if [[ ${PN} != qttranslations ]]; then
IUSE="aqua debug pch"
[[ ${PN} != qtxmlpatterns ]] && IUSE+=" +exceptions"
@ -88,11 +91,6 @@ multilib_src_install_all() { qt4_multilib_src_install_all; }
# Space-separated list of directories that will be configured,
# compiled, and installed. All paths must be relative to ${S}.
# @ECLASS-VARIABLE: QT4_VERBOSE_BUILD
# @DESCRIPTION:
# Set to false to reduce build output during compilation.
: ${QT4_VERBOSE_BUILD:=true}
# @ECLASS-VARIABLE: QCONFIG_ADD
# @DEFAULT_UNSET
# @DESCRIPTION:
@ -108,6 +106,9 @@ multilib_src_install_all() { qt4_multilib_src_install_all; }
# @DESCRIPTION:
# List of macros that must be defined in QtCore/qconfig.h
###### Phase functions ######
# @FUNCTION: qt4-build-multilib_src_unpack
# @DESCRIPTION:
# Unpacks the sources.
@ -154,20 +155,6 @@ qt4-build-multilib_src_prepare() {
|| die "sed failed (skip X11 tests)"
fi
if use_if_iuse aqua; then
sed -i \
-e '/^CONFIG/s:app_bundle::' \
-e '/^CONFIG/s:plugin_no_soname:plugin_with_soname absolute_library_soname:' \
mkspecs/$(qt4_get_mkspec)/qmake.conf \
|| die "sed failed (aqua)"
# we are crazy and build cocoa + qt3support
if { ! in_iuse qt3support || use qt3support; } && [[ ${CHOST##*-darwin} -ge 9 ]]; then
sed -i -e "/case \"\$PLATFORM,\$CFG_MAC_COCOA\" in/,/;;/ s|CFG_QT3SUPPORT=\"no\"|CFG_QT3SUPPORT=\"yes\"|" \
configure || die "sed failed (cocoa + qt3support)"
fi
fi
if [[ ${PN} == qtcore ]]; then
# Bug 373061
# qmake bus errors with -O2 or -O3 but -O1 works
@ -182,23 +169,33 @@ qt4-build-multilib_src_prepare() {
fi
fi
if [[ ${PN} == qtdeclarative ]]; then
# Bug 551560
# gcc-4.8 ICE with -Os, fixed in 4.9
if use x86 && [[ $(gcc-version) == 4.8 ]]; then
replace-flags -Os -O2
fi
fi
if [[ ${PN} == qtwebkit ]]; then
# Bug 550780
# various ICEs with graphite-related flags, gcc-5 works
if [[ $(gcc-major-version) -lt 5 ]]; then
filter-flags -fgraphite-identity -floop-strip-mine
fi
fi
# Bug 261632
if use ppc64; then
append-flags -mminimal-toc
fi
# Bug 417105
# graphite on gcc 4.7 causes miscompilations
if [[ $(gcc-version) == "4.7" ]]; then
filter-flags -fgraphite-identity
fi
# Read also AR from the environment
sed -i -e 's/^SYSTEM_VARIABLES="/&AR /' \
configure || die "sed SYSTEM_VARIABLES failed"
# Reset QMAKE_*FLAGS_{RELEASE,DEBUG} variables,
# or they will override user's flags (.qmake.cache)
# or they will override the user's flags (via .qmake.cache)
sed -i -e '/^SYSTEM_VARIABLES=/ i \
QMakeVar set QMAKE_CFLAGS_RELEASE\
QMakeVar set QMAKE_CFLAGS_DEBUG\
@ -208,15 +205,37 @@ qt4-build-multilib_src_prepare() {
QMakeVar set QMAKE_LFLAGS_DEBUG\n' \
configure || die "sed QMAKE_*FLAGS_{RELEASE,DEBUG} failed"
# Respect CC, CXX, LINK and *FLAGS in config.tests
find config.tests/unix -name '*.test' -type f -print0 | xargs -0 \
sed -i -e "/bin\/qmake/ s: \"\$SRCDIR/: \
'QMAKE_CC=$(tc-getCC)' 'QMAKE_CXX=$(tc-getCXX)' 'QMAKE_LINK=$(tc-getCXX)' \
'QMAKE_CFLAGS+=${CFLAGS}' 'QMAKE_CXXFLAGS+=${CXXFLAGS}' 'QMAKE_LFLAGS+=${LDFLAGS}'&:" \
|| die "sed config.tests failed"
# Drop -nocache from qmake invocation in all configure tests, to ensure that the
# correct toolchain and build flags are picked up from config.tests/.qmake.cache
find config.tests/unix -name '*.test' -type f -execdir \
sed -i -e '/bin\/qmake/s/-nocache//' '{}' + || die "sed -nocache failed"
# Bug 172219
sed -e 's:/X11R6/:/:' -i mkspecs/$(qt4_get_mkspec)/qmake.conf || die
# compile.test needs additional patching so that it doesn't create another cache file
# inside the test subdir, which would incorrectly override config.tests/.qmake.cache
sed -i -e '/echo.*QT_BUILD_TREE.*\.qmake\.cache/d' \
-e '/bin\/qmake/s/ "$SRCDIR/ "QT_BUILD_TREE=$OUTDIR"&/' \
config.tests/unix/compile.test || die "sed compile.test failed"
# Delete references to the obsolete /usr/X11R6 directory
# On prefix, this also prevents looking at non-prefix stuff
sed -i -re '/^QMAKE_(LIB|INC)DIR(_X11|_OPENGL|)\s+/ s/=.*/=/' \
mkspecs/common/linux.conf \
mkspecs/$(qt4_get_mkspec)/qmake.conf \
|| die "sed QMAKE_(LIB|INC)DIR failed"
if use_if_iuse aqua; then
sed -i \
-e '/^CONFIG/s:app_bundle::' \
-e '/^CONFIG/s:plugin_no_soname:plugin_with_soname absolute_library_soname:' \
mkspecs/$(qt4_get_mkspec)/qmake.conf \
|| die "sed failed (aqua)"
# we are crazy and build cocoa + qt3support
if { ! in_iuse qt3support || use qt3support; } && [[ ${CHOST##*-darwin} -ge 9 ]]; then
sed -i -e "/case \"\$PLATFORM,\$CFG_MAC_COCOA\" in/,/;;/ s|CFG_QT3SUPPORT=\"no\"|CFG_QT3SUPPORT=\"yes\"|" \
configure || die "sed failed (cocoa + qt3support)"
fi
fi
if [[ ${CHOST} == *-darwin* ]]; then
# Set FLAGS and remove -arch, since our gcc-apple is multilib crippled (by design)
@ -254,23 +273,11 @@ qt4-build-multilib_src_prepare() {
fi
fi
# this is needed for all systems with a separate -liconv, except
# Darwin, for which the sources already cater for -liconv
if use !elibc_glibc && [[ ${CHOST} != *-darwin* ]]; then
sed -e 's|mac:\(LIBS += -liconv\)|\1|g' \
-i config.tests/unix/iconv/iconv.pro \
|| die "sed iconv.pro failed"
if [[ ${CHOST} == *-solaris* ]]; then
sed -i -e '/^QMAKE_LFLAGS_THREAD/a QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,' \
mkspecs/$(qt4_get_mkspec)/qmake.conf || die
fi
# we need some patches for Solaris
sed -i -e '/^QMAKE_LFLAGS_THREAD/a\QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,' \
mkspecs/$(qt4_get_mkspec)/qmake.conf || die
# use GCC over SunStudio
sed -i -e '/PLATFORM=solaris-cc/s/cc/g++/' configure || die
# do not flirt with non-Prefix stuff, we're quite possessive
sed -i -e '/^QMAKE_\(LIB\|INC\)DIR\(_X11\|_OPENGL\|\)\t/s/=.*$/=/' \
mkspecs/$(qt4_get_mkspec)/qmake.conf || die
# apply patches
[[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
epatch_user
@ -287,21 +294,21 @@ qt4_multilib_src_configure() {
CC=$(tc-getCC) \
CXX=$(tc-getCXX) \
LD=$(tc-getCXX) \
MAKEFLAGS=${MAKEOPTS} \
OBJCOPY=$(tc-getOBJCOPY) \
OBJDUMP=$(tc-getOBJDUMP) \
STRIP=$(tc-getSTRIP)
# convert tc-arch to the values supported by Qt
local arch=
case $(tc-arch) in
amd64|x64-*) arch=x86_64 ;;
ppc*-macos) arch=ppc ;;
ppc*) arch=powerpc ;;
sparc*) arch=sparc ;;
x86-macos) arch=x86 ;;
x86*) arch=i386 ;;
alpha|arm|ia64|mips|s390) arch=$(tc-arch) ;;
arm64|hppa|sh) arch=generic ;;
*) die "qt4-build-multilib.eclass: unsupported tc-arch '$(tc-arch)'" ;;
local arch=$(tc-arch)
case ${arch} in
amd64|x64-*) arch=x86_64 ;;
arm64|hppa) arch=generic ;;
ppc*-macos) arch=ppc ;;
ppc*) arch=powerpc ;;
sparc*) arch=sparc ;;
x86-macos) arch=x86 ;;
x86*) arch=i386 ;;
esac
# configure arguments
@ -347,6 +354,21 @@ qt4_multilib_src_configure() {
-arch ${arch}
-platform $(qt4_get_mkspec)
# instruction set support
$(is-flagq -mno-mmx && echo -no-mmx)
$(is-flagq -mno-3dnow && echo -no-3dnow)
$(is-flagq -mno-sse && echo -no-sse)
$(is-flagq -mno-sse2 && echo -no-sse2)
$(is-flagq -mno-sse3 && echo -no-sse3)
$(is-flagq -mno-ssse3 && echo -no-ssse3)
$(is-flagq -mno-sse4.1 && echo -no-sse4.1)
$(is-flagq -mno-sse4.2 && echo -no-sse4.2)
$(is-flagq -mno-avx && echo -no-avx)
$(is-flagq -mfpu=* && ! is-flagq -mfpu=*neon* && echo -no-neon)
# bug 367045
$([[ ${CHOST} == *86*-apple-darwin* ]] && echo -no-ssse3)
# prefer system libraries
-system-zlib
@ -355,10 +377,10 @@ qt4_multilib_src_configure() {
-nomake demos
# disable rpath on non-prefix (bugs 380415 and 417169)
$(use prefix || echo -no-rpath)
$(usex prefix '' -no-rpath)
# verbosity of the configure and build phases
-verbose $(${QT4_VERBOSE_BUILD} || echo -silent)
# print verbose information about each configure test
-verbose
# precompiled headers don't work on hardened, where the flag is masked
$(in_iuse pch && qt_use pch || echo -no-pch)
@ -368,10 +390,6 @@ qt4_multilib_src_configure() {
# mostly to be seen as a core dump with the message:
# "QPixmap: Must construct a QApplication before a QPaintDevice"
$([[ ${CHOST} != *-solaris* ]] && echo -reduce-relocations)
# this one is needed for all systems with a separate -liconv, apart from
# Darwin, for which the sources already cater for -liconv
$(use !elibc_glibc && [[ ${CHOST} != *-darwin* ]] && echo -liconv)
)
if use_if_iuse aqua; then
@ -453,9 +471,13 @@ qt4_multilib_src_install() {
fi
fi
install_qconfigs
fix_library_files
fix_includes
# move pkgconfig directory to the correct location
if [[ -d ${D}${QT4_LIBDIR}/pkgconfig ]]; then
mv "${D}${QT4_LIBDIR}"/pkgconfig "${ED}usr/$(get_libdir)" || die
fi
qt4_install_module_qconfigs
qt4_symlink_framework_headers
}
qt4_multilib_src_install_all() {
@ -488,44 +510,53 @@ qt4_multilib_src_install_all() {
find "${S}"/src/${moduledir} -type f -name '*_p.h' -exec doins '{}' + || die
fi
# remove .la files since we are building only shared libraries
prune_libtool_files
}
# @FUNCTION: qt4-build-multilib_pkg_postinst
# @DESCRIPTION:
# Regenerate configuration, plus throw a message about possible
# breakages and proposed solutions.
# Regenerate configuration after installation or upgrade/downgrade.
qt4-build-multilib_pkg_postinst() {
generate_qconfigs
qt4_regenerate_global_qconfigs
}
# @FUNCTION: qt4-build-multilib_pkg_postrm
# @DESCRIPTION:
# Regenerate configuration when the package is completely removed.
# Regenerate configuration when a module is completely removed.
qt4-build-multilib_pkg_postrm() {
generate_qconfigs
qt4_regenerate_global_qconfigs
}
###### Public helpers ######
# @FUNCTION: qt_use
# @USAGE: <flag> [feature] [enableval]
# @DESCRIPTION:
# <flag> is the name of a flag in IUSE.
#
# Outputs "-${enableval}-${feature}" if <flag> is enabled, "-no-${feature}"
# otherwise. If [feature] is not specified, <flag> is used in its place.
# If [enableval] is not specified, the "-${enableval}" prefix is omitted.
qt_use() {
use "$1" && echo "${3:+-$3}-${2:-$1}" || echo "-no-${2:-$1}"
[[ $# -ge 1 ]] || die "${FUNCNAME}() requires at least one argument"
usex "$1" "${3:+-$3}-${2:-$1}" "-no-${2:-$1}"
}
# @FUNCTION: qt_native_use
# @USAGE: <flag> [feature] [enableval]
# @DESCRIPTION:
# <flag> is the name of a flag in IUSE.
#
# Outputs "-${enableval}-${feature}" if <flag> is enabled and we are currently
# building for the native ABI, "-no-${feature}" otherwise. If [feature] is not
# specified, <flag> is used in its place. If [enableval] is not specified,
# the "-${enableval}" prefix is omitted.
qt_native_use() {
multilib_is_native_abi && use "$1" && echo "${3:+-$3}-${2:-$1}" || echo "-no-${2:-$1}"
[[ $# -ge 1 ]] || die "${FUNCNAME}() requires at least one argument"
multilib_is_native_abi && qt_use "$@" || echo "-no-${2:-$1}"
}
@ -537,10 +568,10 @@ qt_native_use() {
# Prepares the environment for building Qt.
qt4_prepare_env() {
# setup installation directories
# note: keep paths in sync with qmake-utils.eclass
QT4_PREFIX=${EPREFIX}/usr
QT4_HEADERDIR=${QT4_PREFIX}/include/qt4
QT4_LIBDIR=${QT4_PREFIX}/$(get_libdir)/qt4
QT4_PCDIR=${QT4_PREFIX}/$(get_libdir)/pkgconfig
QT4_BINDIR=${QT4_LIBDIR}/bin
QT4_PLUGINDIR=${QT4_LIBDIR}/plugins
QT4_IMPORTDIR=${QT4_LIBDIR}/imports
@ -560,16 +591,19 @@ qt4_prepare_env() {
# @DESCRIPTION:
# Executes the given command inside each directory listed in QT4_TARGET_DIRECTORIES.
qt4_foreach_target_subdir() {
local subdir
local ret=0 subdir=
for subdir in ${QT4_TARGET_DIRECTORIES}; do
mkdir -p "${subdir}" || die
pushd "${subdir}" >/dev/null || die
einfo "Running $* ${subdir:+in ${subdir}}"
"$@"
((ret+=$?))
popd >/dev/null || die
done
return ${ret}
}
# @FUNCTION: qt4_symlink_tools_to_build_dir
@ -609,11 +643,11 @@ qt4_qmake() {
|| die "qmake failed (${projectdir})"
}
# @FUNCTION: install_qconfigs
# @FUNCTION: qt4_install_module_qconfigs
# @INTERNAL
# @DESCRIPTION:
# Install gentoo-specific mkspecs configurations.
install_qconfigs() {
# Creates and installs gentoo-specific ${PN}-qconfig.{h,pri} files.
qt4_install_module_qconfigs() {
local x
if [[ -n ${QCONFIG_ADD} || -n ${QCONFIG_REMOVE} ]]; then
for x in QCONFIG_ADD QCONFIG_REMOVE; do
@ -632,11 +666,12 @@ install_qconfigs() {
fi
}
# @FUNCTION: generate_qconfigs
# @FUNCTION: qt4_regenerate_global_qconfigs
# @INTERNAL
# @DESCRIPTION:
# Generates gentoo-specific qconfig.{h,pri}.
generate_qconfigs() {
# Generates Gentoo-specific qconfig.{h,pri} according to the build configuration.
# Don't call die here because dying in pkg_post{inst,rm} only makes things worse.
qt4_regenerate_global_qconfigs() {
if [[ -n ${QCONFIG_ADD} || -n ${QCONFIG_REMOVE} || -n ${QCONFIG_DEFINE} || ${PN} == qtcore ]]; then
local x qconfig_add qconfig_remove qconfig_new
for x in "${ROOT}${QT4_DATADIR}"/mkspecs/gentoo/*-qconfig.pri; do
@ -645,8 +680,6 @@ generate_qconfigs() {
qconfig_remove+=" $(sed -n 's/^QCONFIG_REMOVE=//p' "${x}")"
done
# these error checks do not use die because dying in pkg_post{inst,rm}
# just makes things worse.
if [[ -e "${ROOT}${QT4_DATADIR}"/mkspecs/gentoo/qconfig.pri ]]; then
# start with the qconfig.pri that qtcore installed
if ! cp "${ROOT}${QT4_DATADIR}"/mkspecs/gentoo/qconfig.pri \
@ -692,39 +725,11 @@ generate_qconfigs() {
fi
}
# @FUNCTION: fix_library_files
# @INTERNAL
# @FUNCTION: qt4_symlink_framework_headers
# @DESCRIPTION:
# Fixes the paths in *.prl and *.pc, as they are wrong due to sandbox, and
# moves the *.pc files into the pkgconfig directory.
fix_library_files() {
local libfile
for libfile in "${D}"/${QT4_LIBDIR}/{*.prl,pkgconfig/*.pc}; do
if [[ -e ${libfile} ]]; then
sed -i -e "s:${S}/lib:${QT4_LIBDIR}:g" ${libfile} || die "sed on ${libfile} failed"
fi
done
# pkgconfig files refer to WORKDIR/bin as the moc and uic locations
for libfile in "${D}"/${QT4_LIBDIR}/pkgconfig/*.pc; do
if [[ -e ${libfile} ]]; then
sed -i -e "s:${S}/bin:${QT4_BINDIR}:g" ${libfile} || die "sed on ${libfile} failed"
# Move .pc files into the pkgconfig directory
dodir ${QT4_PCDIR#${EPREFIX}}
mv ${libfile} "${D}"/${QT4_PCDIR}/ || die "moving ${libfile} to ${D}/${QT4_PCDIR}/ failed"
fi
done
# Don't install an empty directory
rmdir "${D}"/${QT4_LIBDIR}/pkgconfig
}
# @FUNCTION: fix_includes
# @DESCRIPTION:
# For MacOS X we need to add some symlinks when frameworks are
# being used, to avoid complications with some more or less stupid packages.
fix_includes() {
# On OS X we need to add some symlinks when frameworks are being
# used, to avoid complications with some more or less stupid packages.
qt4_symlink_framework_headers() {
if use_if_iuse aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
local frw dest f h rdir
# Some packages tend to include <Qt/...>
@ -754,7 +759,7 @@ fix_includes() {
dosym "${rdir}"/${f}/Headers "${dest}"
# Link normal headers as well.
for hdr in "${D}/${QT4_LIBDIR}/${f}"/Headers/*; do
for hdr in "${D}${QT4_LIBDIR}/${f}"/Headers/*; do
h=$(basename ${hdr})
dosym "../${rdir}"/${f}/Headers/${h} \
"${QT4_HEADERDIR#${EPREFIX}}"/Qt/${h}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/qt5-build.eclass,v 1.15 2015/04/01 18:45:04 pesa Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/qt5-build.eclass,v 1.20 2015/06/17 15:48:58 pesa Exp $
# @ECLASS: qt5-build.eclass
# @MAINTAINER:
@ -23,7 +23,7 @@ QT5_MINOR_VERSION=${PV#*.}
QT5_MINOR_VERSION=${QT5_MINOR_VERSION%%.*}
HOMEPAGE="https://www.qt.io/"
LICENSE="|| ( LGPL-2.1 LGPL-3 )"
LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"
SLOT="5"
# @ECLASS-VARIABLE: QT5_MODULE
@ -39,19 +39,19 @@ case ${PV} in
EGIT_BRANCH="dev"
;;
5.?.9999)
# git stable branches (5.x)
# git stable branch
QT5_BUILD_TYPE="live"
EGIT_BRANCH=${PV%.9999}
;;
*_alpha*|*_beta*|*_rc*)
# development releases
# development release
QT5_BUILD_TYPE="release"
MY_P=${QT5_MODULE}-opensource-src-${PV/_/-}
SRC_URI="http://download.qt.io/development_releases/qt/${PV%.*}/${PV/_/-}/submodules/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
;;
*)
# official stable releases
# official stable release
QT5_BUILD_TYPE="release"
MY_P=${QT5_MODULE}-opensource-src-${PV}
SRC_URI="http://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${MY_P}.tar.xz"
@ -77,9 +77,9 @@ DEPEND="
"
if [[ ${PN} != qttest ]]; then
if [[ ${QT5_MODULE} == qtbase ]]; then
DEPEND+=" test? ( ~dev-qt/qttest-${PV}[debug=] )"
DEPEND+=" test? ( ~dev-qt/qttest-${PV} )"
else
DEPEND+=" test? ( >=dev-qt/qttest-${PV}:5[debug=] )"
DEPEND+=" test? ( >=dev-qt/qttest-${PV}:5 )"
fi
fi
RDEPEND="
@ -225,8 +225,6 @@ qt5-build_src_compile() {
# @DESCRIPTION:
# Runs tests in the target directories.
qt5-build_src_test() {
echo ">>> Test phase [QtTest]: ${CATEGORY}/${PF}"
# '-after SUBDIRS-=...' disables broken cmake tests (bug 474004)
qt5_foreach_target_subdir qt5_qmake -after SUBDIRS-=cmake SUBDIRS-=installed_cmake
qt5_foreach_target_subdir emake
@ -323,18 +321,17 @@ qt5-build_pkg_postrm() {
###### Public helpers ######
# @FUNCTION: qt_use
# @USAGE: <flag> [feature] [enableopt]
# @USAGE: <flag> [feature] [enableval]
# @DESCRIPTION:
# <flag> is the name of a flag in IUSE.
#
# Echoes "-${enableopt}-${feature}" if <flag> is enabled, or "-no-${feature}"
# if it is disabled. If [feature] is not specified, it defaults to the value
# of <flag>. If [enableopt] is not specified, the whole "-${enableopt}" prefix
# is omitted.
# Outputs "-${enableval}-${feature}" if <flag> is enabled, "-no-${feature}"
# otherwise. If [feature] is not specified, <flag> is used in its place.
# If [enableval] is not specified, the "-${enableval}" prefix is omitted.
qt_use() {
[[ $# -ge 1 ]] || die "${FUNCNAME}() requires at least one argument"
use "$1" && echo "${3:+-$3}-${2:-$1}" || echo "-no-${2:-$1}"
usex "$1" "${3:+-$3}-${2:-$1}" "-no-${2:-$1}"
}
# @FUNCTION: qt_use_compile_test
@ -389,6 +386,7 @@ qt_use_disable_mod() {
# Prepares the environment for building Qt.
qt5_prepare_env() {
# setup installation directories
# note: keep paths in sync with qmake-utils.eclass
QT5_PREFIX=${EPREFIX}/usr
QT5_HEADERDIR=${QT5_PREFIX}/include/qt5
QT5_LIBDIR=${QT5_PREFIX}/$(get_libdir)
@ -469,7 +467,7 @@ qt5_symlink_tools_to_build_dir() {
# Runs ./configure for modules belonging to qtbase.
qt5_base_configure() {
# setup toolchain variables used by configure
tc-export CC CXX RANLIB STRIP
tc-export AR CC CXX OBJDUMP RANLIB STRIP
export LD="$(tc-getCXX)"
# configure arguments
@ -491,8 +489,9 @@ qt5_base_configure() {
-examplesdir "${QT5_EXAMPLESDIR}"
-testsdir "${QT5_TESTSDIR}"
# debug/release
$(use debug && echo -debug || echo -release)
# configure in release mode by default,
# override via the CONFIG qmake variable
-release
-no-separate-debug-info
# licensing stuff
@ -518,6 +517,17 @@ qt5_base_configure() {
# obsolete flag, does nothing
#-qml-debug
# instruction set support
$(is-flagq -mno-sse2 && echo -no-sse2)
$(is-flagq -mno-sse3 && echo -no-sse3)
$(is-flagq -mno-ssse3 && echo -no-ssse3)
$(is-flagq -mno-sse4.1 && echo -no-sse4.1)
$(is-flagq -mno-sse4.2 && echo -no-sse4.2)
$(is-flagq -mno-avx && echo -no-avx)
$(is-flagq -mno-avx2 && echo -no-avx2)
$(is-flagq -mno-dsp && echo -no-mips_dsp)
$(is-flagq -mno-dspr2 && echo -no-mips_dspr2)
# use pkg-config to detect include and library paths
-pkg-config
@ -534,6 +544,7 @@ qt5_base_configure() {
-no-libpng -no-libjpeg
-no-freetype -no-harfbuzz
-no-openssl
$([[ ${QT5_MINOR_VERSION} -ge 5 ]] && echo -no-libproxy)
-no-xinput2 -no-xcb-xlib
# always enable glib event loop support
@ -542,8 +553,8 @@ qt5_base_configure() {
# disable everything to prevent automagic deps (part 2)
-no-pulseaudio -no-alsa
# disable gtkstyle because it adds qt4 include paths to the compiler
# command line if x11-libs/cairo is built with USE=qt4 (bug 433826)
# override in qtgui and qtwidgets where x11-libs/cairo[qt4] is blocked
# to avoid adding qt4 include paths (bug 433826)
-no-gtkstyle
# exclude examples and tests from default build
@ -552,7 +563,7 @@ qt5_base_configure() {
-no-compile-examples
# disable rpath on non-prefix (bugs 380415 and 417169)
$(use prefix || echo -no-rpath)
$(usex prefix '' -no-rpath)
# print verbose information about each configure test
-verbose
@ -639,6 +650,8 @@ qt5_qmake() {
fi
"${qmakepath}"/qmake \
CONFIG+=$(usex debug debug release) \
CONFIG-=$(usex debug release debug) \
QMAKE_AR="$(tc-getAR) cqs" \
QMAKE_CC="$(tc-getCC)" \
QMAKE_LINK_C="$(tc-getCC)" \

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.56 2014/12/28 07:23:56 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.57 2015/05/31 05:57:23 graaff Exp $
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@ -34,6 +34,7 @@
# * all_ruby_configure
# @ECLASS-VARIABLE: USE_RUBY
# @DEFAULT_UNSET
# @REQUIRED
# @DESCRIPTION:
# This variable contains a space separated list of targets (see above) a package
@ -72,7 +73,7 @@
# (e.g. selenium's firefox driver extension). When set this argument is
# passed to "grep -E" to remove reporting of these shared objects.
inherit eutils java-utils-2 multilib toolchain-funcs
inherit eutils java-utils-2 multilib toolchain-funcs ruby-utils
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_setup
@ -99,46 +100,7 @@ esac
# Set `comparator' and `version' to include a comparator (=, >=, etc.) and a
# version string to the returned string
ruby_implementation_depend() {
local rubypn=
local rubyslot=
case $1 in
ruby18)
rubypn="dev-lang/ruby"
rubyslot=":1.8"
;;
ruby19)
rubypn="dev-lang/ruby"
rubyslot=":1.9"
;;
ruby20)
rubypn="dev-lang/ruby"
rubyslot=":2.0"
;;
ruby21)
rubypn="dev-lang/ruby"
rubyslot=":2.1"
;;
ruby22)
rubypn="dev-lang/ruby"
rubyslot=":2.2"
;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"
;;
jruby)
rubypn="dev-java/jruby"
rubyslot=""
;;
rbx)
rubypn="dev-lang/rubinius"
rubyslot=""
;;
*) die "$1: unknown Ruby implementation"
esac
echo "$2${rubypn}$3${rubyslot}"
_ruby_implementation_depend $1
}
# @FUNCTION: ruby_samelib

View File

@ -0,0 +1,79 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-single.eclass,v 1.2 2015/05/31 06:14:54 graaff Exp $
# @ECLASS: ruby-single
# @MAINTAINER:
# Ruby team <ruby@gentoo.org>
# @AUTHOR:
# Author: Hans de Graaff <graaff@gentoo.org>
# Based on python-single-r1 by: Michał Górny <mgorny@gentoo.org>
# @BLURB: An eclass for Ruby packages not installed for multiple implementations.
# @DESCRIPTION:
# An eclass for packages which don't support being installed for
# multiple Ruby implementations. This mostly includes ruby-based
# scripts.
case "${EAPI:-0}" in
0|1|2|3)
die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
;;
4|5)
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
;;
esac
if [[ ! ${_RUBY_SINGLE} ]]; then
inherit ruby-utils
# @ECLASS-VARIABLE: USE_RUBY
# @DEFAULT_UNSET
# @REQUIRED
# @DESCRIPTION:
# This variable contains a space separated list of targets (see above) a package
# is compatible to. It must be set before the `inherit' call. There is no
# default. All ebuilds are expected to set this variable.
# @ECLASS-VARIABLE: RUBY_DEPS
# @DESCRIPTION:
#
# This is an eclass-generated Ruby dependency string for all
# implementations listed in USE_RUBY. Any one of the supported ruby
# targets will satisfy this dependency. A dependency on
# virtual/rubygems is also added to ensure that this is installed
# in time for the package to use it.
#
# Example use:
# @CODE
# RDEPEND="${RUBY_DEPS}
# dev-foo/mydep"
# BDEPEND="${RDEPEND}"
# @
#
# Example value:
# @CODE
# || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) virtual/rubygems
# @CODE
_ruby_single_implementations_depend() {
local depend
for _ruby_implementation in ${RUBY_TARGETS_PREFERENCE}; do
if [[ ${USE_RUBY} =~ ${_ruby_implementation} ]]; then
depend="${depend} $(_ruby_implementation_depend $_ruby_implementation)"
fi
done
echo "|| ( ${depend} ) virtual/rubygems"
}
_ruby_single_set_globals() {
RUBY_DEPS=$(_ruby_single_implementations_depend)
}
_ruby_single_set_globals
_RUBY_SINGLE=1
fi

View File

@ -0,0 +1,83 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-utils.eclass,v 1.1 2015/05/31 05:57:23 graaff Exp $
# @ECLASS: ruby-utils.eclass
# @MAINTAINER:
# Ruby team <ruby@gentoo.org>
# @AUTHOR:
# Author: Hans de Graaff <graaff@gentoo.org>
# @BLURB: An eclass for supporting ruby scripts and bindings in non-ruby packages
# @DESCRIPTION:
# The ruby-utils eclass is designed to allow an easier installation of
# Ruby scripts and bindings for non-ruby packages.
#
# This eclass does not set any metadata variables nor export any phase
# functions. It can be inherited safely.
if [[ ! ${_RUBY_UTILS} ]]; then
# @ECLASS-VARIABLE: RUBY_TARGETS_PREFERENCE
# @DESCRIPTION:
# This variable lists all the known ruby targets in preference of use as
# determined by the ruby team. By using this ordering rather than the
# USE_RUBY mandated ordering we have more control over which ruby
# implementation will be installed first (and thus eselected). This will
# provide for a better first installation experience.
# All RUBY_TARGETS
RUBY_TARGETS_PREFERENCE="ruby20 ruby19 "
# All other active ruby targets
RUBY_TARGETS_PREFERENCE+="ruby21 ruby22 "
_ruby_implementation_depend() {
local rubypn=
local rubyslot=
case $1 in
ruby18)
rubypn="dev-lang/ruby"
rubyslot=":1.8"
;;
ruby19)
rubypn="dev-lang/ruby"
rubyslot=":1.9"
;;
ruby20)
rubypn="dev-lang/ruby"
rubyslot=":2.0"
;;
ruby21)
rubypn="dev-lang/ruby"
rubyslot=":2.1"
;;
ruby22)
rubypn="dev-lang/ruby"
rubyslot=":2.2"
;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"
;;
jruby)
rubypn="dev-java/jruby"
rubyslot=""
;;
rbx)
rubypn="dev-lang/rubinius"
rubyslot=""
;;
*) die "$1: unknown Ruby implementation"
esac
echo "$2${rubypn}$3${rubyslot}"
}
_RUBY_UTILS=1
fi

View File

@ -0,0 +1,119 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/s6.eclass,v 1.2 2015/06/03 17:37:46 grknight Exp $
# @ECLASS: s6.eclass
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
# @BLURB: helper functions to install s6 services
# @DESCRIPTION:
# This eclass provides helpers to install s6 services.
# @EXAMPLE:
#
# @CODE
# inherit s6
#
# src_install() {
# ...
# s6_install_service myservice "${FILESDIR}"/run-s6 "${FILESDIR}"/finish-s6
# ...
# If you want a service to be logged, install the log service as
# shown here.
# s6_install_service myservice/log "${FILESDIR}"/log-run-s6 \
# "${FILESDIR}"/log-finish-s6
# ...
# }
# @CODE
case ${EAPI:-0} in
5) ;;
*) die "${ECLASS}.eclass: API in EAPI ${EAPI} not yet established" ;;
esac
# @FUNCTION: _s6_get_servicedir
# @INTERNAL
# @DESCRIPTION:
# Get unprefixed servicedir.
_s6_get_servicedir() {
echo /var/svc.d
}
# @FUNCTION: s6_get_servicedir
# @DESCRIPTION:
# Output the path for the s6 service directory (not including ${D}).
s6_get_servicedir() {
debug-print-function ${FUNCNAME} "${@}"
echo "${EPREFIX}$(_s6_get_servicedir)"
}
# @FUNCTION: s6_install_service
# @USAGE: servicename run finish
# @DESCRIPTION:
# Install an s6 service.
# servicename is the name of the service.
# run is the run script for the service.
# finish is the optional finish script for the service.
s6_install_service() {
debug-print-function ${FUNCNAME} "${@}"
local name="$1"
local run="$2"
local finish="$3"
[[ $name ]] ||
die "${ECLASS}.eclass: you must specify the s6 service name"
[[ $run ]] ||
die "${ECLASS}.eclass: you must specify the s6 service run script"
(
local servicepath="$(_s6_get_servicedir)/$name"
exeinto "$servicepath"
newexe "$run" run
[[ $finish ]] && newexe "$finish" finish
)
}
# @FUNCTION: s6_service_down
# @USAGE: servicename
# @DESCRIPTION:
# Install the "down" flag so this service will not be started by
# default.
# servicename is the name of the service.
s6_service_down() {
debug-print-function ${FUNCNAME} "${@}"
local name="$1"
[[ $name ]] ||
die "${ECLASS}.eclass: you must specify the s6 service name"
(
touch "$T"/down || die
local servicepath="$(_s6_get_servicedir)/$name"
insinto "$servicepath"
doins "$T"/down
)
}
# @FUNCTION: s6_service_nosetsid
# @USAGE: servicename
# @DESCRIPTION:
# Install the "nosetsid" flag so this service will not be made a session
# leader.
# servicename is the name of the service.
s6_service_nosetsid() {
debug-print-function ${FUNCNAME} "${@}"
local name="$1"
[[ $name ]] ||
die "${ECLASS}.eclass: you must specify the s6 service name"
(
touch "$T"/nosetsid || die
local servicepath="$(_s6_get_servicedir)/$name"
insinto "$servicepath"
doins "$T"/nosetsid
)
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 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.31 2015/04/04 17:11:35 perfinion Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.32 2015/04/21 11:19:10 perfinion Exp $
# Eclass for installing SELinux policy, and optionally
# reloading the reference-policy based modules.
@ -63,7 +63,7 @@
# using a single variable, rather than having to set the packagename_LIVE_REPO
# variable for each and every SELinux policy module package they want to install.
# The default value is Gentoo's hardened-refpolicy repository.
: ${SELINUX_GIT_REPO:="git://git.overlays.gentoo.org/proj/hardened-refpolicy.git https://git.overlays.gentoo.org/gitroot/proj/hardened-refpolicy.git"};
: ${SELINUX_GIT_REPO:="git://anongit.gentoo.org/proj/hardened-refpolicy.git https://anongit.gentoo.org/git/proj/hardened-refpolicy.git"};
# @ECLASS-VARIABLE: SELINUX_GIT_BRANCH
# @DESCRIPTION:
@ -76,10 +76,10 @@
extra_eclass=""
case ${BASEPOL} in
9999) extra_eclass="git-2";
9999) extra_eclass="git-r3";
EGIT_REPO_URI="${SELINUX_GIT_REPO}";
EGIT_BRANCH="${SELINUX_GIT_BRANCH}";
EGIT_SOURCEDIR="${WORKDIR}/refpolicy";;
EGIT_CHECKOUT_DIR="${WORKDIR}/refpolicy";;
esac
inherit eutils ${extra_eclass}
@ -132,7 +132,7 @@ selinux-policy-2_src_unpack() {
then
unpack ${A}
else
git-2_src_unpack
git-r3_src_unpack
fi
}

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/autotools_eaclocal_amflags.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/distutils-r1.sh,v 1.3 2015/05/11 17:35:52 ulm Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/eutils_estack.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/eutils_evar.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/eutils_path_exists.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/flag-o-matic.sh,v 1.9 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh
@ -116,4 +119,31 @@ LDFLAGS=$(raw-ldflags)
[[ ${LDFLAGS} == '-O1 --as-needed -z now' ]]
ftend
tbegin "test-flags-CC (valid flags)"
out=$(test-flags-CC -O3)
[[ $? -eq 0 && ${out} == "-O3" ]]
ftend
tbegin "test-flags-CC (invalid flags)"
out=$(test-flags-CC -finvalid-flag)
[[ $? -ne 0 && -z ${out} ]]
ftend
if type -P clang >/dev/null ; then
tbegin "test-flags-CC (valid flags w/clang)"
out=$(CC=clang test-flags-CC -O3)
[[ $? -eq 0 && ${out} == "-O3" ]]
ftend
tbegin "test-flags-CC (invalid flags w/clang)"
out=$(CC=clang test-flags-CC -finvalid-flag)
[[ $? -ne 0 && -z ${out} ]]
ftend
tbegin "test-flags-CC (gcc-valid but clang-invalid flags)"
out=$(CC=clang test-flags-CC -finline-limit=1200)
[[ $? -ne 0 && -z ${out} ]]
ftend
fi
texit

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/git-r3.sh,v 1.6 2015/05/11 17:35:52 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/git-r3_GIT_DIR.sh,v 1.2 2015/05/11 17:35:52 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/git-r3_subrepos.sh,v 1.2 2015/05/11 17:35:52 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/linux-info_get_running_version.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/multiprocessing.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/multiprocessing_makeopts_jobs.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/python-utils-r1.sh,v 1.13 2015/05/11 17:35:52 ulm Exp $
EAPI=5
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/savedconfig.sh,v 1.3 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/scons-utils.sh,v 1.5 2015/05/11 17:35:52 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/tests-common.sh,v 1.15 2015/05/11 17:34:39 ulm Exp $
if ! source /lib/gentoo/functions.sh ; then
echo "Missing functions.sh. Please install sys-apps/gentoo-functions!" 1>&2

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/toolchain-funcs.sh,v 1.5 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/toolchain.sh,v 1.3 2015/05/17 20:12:56 ulm Exp $
source tests-common.sh

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/tests/versionator_version_compare.sh,v 1.2 2015/05/10 16:38:08 ulm Exp $
source tests-common.sh

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.140 2015/02/09 19:34:02 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.142 2015/05/25 08:41:16 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@ -49,8 +49,8 @@ esac
export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} == ${CHOST} ]] ; then
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
export CTARGET=${CATEGORY/cross-}
if [[ ${CATEGORY} == cross-* ]] ; then
export CTARGET=${CATEGORY#cross-}
fi
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
@ -271,7 +271,10 @@ toolchain-binutils_src_configure() {
use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
[[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} )
is_cross && myconf+=( --with-sysroot="${EPREFIX}"/usr/${CTARGET} )
is_cross && myconf+=(
--with-sysroot="${EPREFIX}"/usr/${CTARGET}
--enable-poison-system-directories
)
# glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+
# on everyone in alpha (for now), we'll just enable it when possible

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.137 2015/04/13 05:38:17 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.138 2015/05/28 07:51:10 vapier Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@ -100,6 +100,10 @@ tc-getFC() { tc-getPROG FC gfortran "$@"; }
# @USAGE: [toolchain prefix]
# @RETURN: name of the java compiler
tc-getGCJ() { tc-getPROG GCJ gcj "$@"; }
# @FUNCTION: tc-getGO
# @USAGE: [toolchain prefix]
# @RETURN: name of the Go compiler
tc-getGO() { tc-getPROG GO gccgo "$@"; }
# @FUNCTION: tc-getPKG_CONFIG
# @USAGE: [toolchain prefix]
# @RETURN: name of the pkg-config tool

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.662 2015/04/13 04:16:35 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.675 2015/06/01 16:05:43 vapier Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@ -26,7 +26,7 @@ FEATURES=${FEATURES/multilib-strict/}
EXPORTED_FUNCTIONS="pkg_setup src_unpack src_compile src_test src_install pkg_postinst pkg_postrm"
case ${EAPI:-0} in
0|1) ;;
0|1) die "Need to upgrade to at least EAPI=2";;
2|3) EXPORTED_FUNCTIONS+=" src_prepare src_configure" ;;
4*|5*) EXPORTED_FUNCTIONS+=" pkg_pretend src_prepare src_configure" ;;
*) die "I don't speak EAPI ${EAPI}."
@ -37,8 +37,8 @@ EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} = ${CHOST} ]] ; then
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
export CTARGET=${CATEGORY/cross-}
if [[ ${CATEGORY} == cross-* ]] ; then
export CTARGET=${CATEGORY#cross-}
fi
fi
: ${TARGET_ABI:=${ABI}}
@ -134,7 +134,7 @@ IUSE="multislot regression-test vanilla"
IUSE_DEF=( nls nptl )
if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
IUSE+=" altivec"
IUSE+=" altivec debug"
IUSE_DEF+=( cxx fortran )
[[ -n ${PIE_VER} ]] && IUSE+=" nopie"
[[ -n ${HTB_VER} ]] && IUSE+=" boundschecking"
@ -152,10 +152,10 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
# the older versions, we don't want to bother supporting it. #448024
tc_version_is_at_least 4.8 && IUSE+=" graphite" IUSE_DEF+=( sanitize )
tc_version_is_at_least 4.9 && IUSE+=" cilk"
tc_version_is_at_least 6.0 && IUSE+=" pie"
fi
[[ ${EAPI:-0} != 0 ]] && IUSE_DEF=( "${IUSE_DEF[@]/#/+}" )
IUSE+=" ${IUSE_DEF[*]}"
IUSE+=" ${IUSE_DEF[*]/#/+}"
# Support upgrade paths here or people get pissed
if ! tc_version_is_at_least 4.7 || is_crosscompile || use multislot || [[ ${GCC_PV} == *_alpha* ]] ; then
@ -184,7 +184,7 @@ tc_version_is_at_least 4.5 && RDEPEND+=" >=dev-libs/mpc-0.8.1"
if in_iuse graphite ; then
if tc_version_is_at_least 5.0 ; then
RDEPEND+=" graphite? ( >=dev-libs/isl-0.12 )"
RDEPEND+=" graphite? ( >=dev-libs/isl-0.14 )"
elif tc_version_is_at_least 4.8 ; then
RDEPEND+="
graphite? (
@ -391,8 +391,8 @@ toolchain_pkg_pretend() {
#---->> pkg_setup <<----
toolchain_pkg_setup() {
case "${EAPI:-0}" in
0|1|2|3) toolchain_pkg_pretend ;;
case ${EAPI} in
2|3) toolchain_pkg_pretend ;;
esac
# we dont want to use the installed compiler's specs to build gcc
@ -408,10 +408,6 @@ toolchain_src_unpack() {
else
gcc_quick_unpack
fi
case ${EAPI:-0} in
0|1) toolchain_src_prepare ;;
esac
}
gcc_quick_unpack() {
@ -885,10 +881,8 @@ toolchain_src_configure() {
# Use the default ("release") checking because upstream usually neglects
# to test "disabled" so it has a history of breaking. #317217
if tc_version_is_at_least 4 || [[ -n ${GCC_CHECKS_LIST} ]] ; then
confgcc+=( --enable-checking=${GCC_CHECKS_LIST:-release} )
else
confgcc+=( --disable-checking )
if tc_version_is_at_least 3.4 ; then
confgcc+=( --enable-checking="${GCC_CHECKS_LIST:-$(usex debug yes release)}" )
fi
# Branding
@ -1200,6 +1194,10 @@ toolchain_src_configure() {
confgcc+=( $(use_enable sanitize libsanitizer) )
fi
if tc_version_is_at_least 6.0 ; then
confgcc+=( $(use_enable pie default-pie) )
fi
# Disable gcc info regeneration -- it ships with generated info pages
# already. Our custom version/urls/etc... trigger it. #464008
export gcc_cv_prog_makeinfo_modern=no
@ -1498,10 +1496,6 @@ gcc-abi-map() {
#----> src_compile <----
toolchain_src_compile() {
case ${EAPI:-0} in
0|1) toolchain_src_configure ;;
esac
touch "${S}"/gcc/c-gperf.h
# Do not make manpages if we do not have perl ...
@ -1576,6 +1570,13 @@ gcc_do_make() {
cd "${CTARGET}"/libstdc++-v3
emake doxygen-man || ewarn "failed to make docs"
fi
# Clean bogus manpages. #113902
find -name '*_build_*' -delete
# Blow away generated directory references. Newer versions of gcc
# have gotten better at this, but not perfect. This is easier than
# backporting all of the various doxygen patches. #486754
find -name '*_.3' -exec grep -l ' Directory Reference ' {} + | \
xargs rm -f
else
ewarn "Skipping libstdc++ manpage generation since you don't have doxygen installed"
fi
@ -1691,8 +1692,6 @@ toolchain_src_install() {
if tc_version_is_at_least 3.0 ; then
local cxx_mandir=$(find "${WORKDIR}/build/${CTARGET}/libstdc++-v3" -name man)
if [[ -d ${cxx_mandir} ]] ; then
# clean bogus manpages #113902
find "${cxx_mandir}" -name '*_build_*' -exec rm {} \;
cp -r "${cxx_mandir}"/man? "${D}/${DATAPATH}"/man/
fi
fi
@ -1718,13 +1717,9 @@ toolchain_src_install() {
# between binary and source package borks things ....
if ! is_crosscompile ; then
insinto "${DATAPATH}"
if tc_version_is_at_least 4.0 ; then
newins "${GCC_FILESDIR}"/awk/fixlafiles.awk-no_gcc_la fixlafiles.awk || die
find "${D}/${LIBPATH}" -name libstdc++.la -type f -exec rm "{}" \;
find "${D}/${LIBPATH}" -name "lib?san.la" -type f -exec rm "{}" \; # 487550
else
doins "${GCC_FILESDIR}"/awk/fixlafiles.awk || die
fi
newins "${GCC_FILESDIR}"/awk/fixlafiles.awk-no_gcc_la fixlafiles.awk || die
find "${D}/${LIBPATH}" -name libstdc++.la -type f -delete
find "${D}/${LIBPATH}" -name 'lib*san.la' -type f -delete #487550 #546700
exeinto "${DATAPATH}"
doexe "${GCC_FILESDIR}"/fix_libtool_files.sh || die
doexe "${GCC_FILESDIR}"/c{89,99} || die
@ -1788,7 +1783,7 @@ gcc_movelibs() {
if [[ ${FROMDIR} != "${TODIR}" && -d ${FROMDIR} ]] ; then
local files=$(find "${FROMDIR}" -maxdepth 1 ! -type d 2>/dev/null)
if [[ -n ${files} ]] ; then
mv ${files} "${TODIR}"
mv ${files} "${TODIR}" || die
fi
fi
done
@ -1798,7 +1793,7 @@ gcc_movelibs() {
FROMDIR="${PREFIX}/lib/${OS_MULTIDIR}"
for x in "${D}${FROMDIR}"/pkgconfig/libgcj*.pc ; do
[[ -f ${x} ]] || continue
sed -i "/^libdir=/s:=.*:=${LIBPATH}/${MULTIDIR}:" "${x}"
sed -i "/^libdir=/s:=.*:=${LIBPATH}/${MULTIDIR}:" "${x}" || die
mv "${x}" "${D}${FROMDIR}"/pkgconfig/libgcj-${GCC_PV}.pc || die
done
done
@ -1817,21 +1812,25 @@ gcc_movelibs() {
# -are-, and not where they -used- to be. also, any dependencies we have
# on our own .la files need to be updated.
fix_libtool_libdir_paths() {
local libpath="$1"
pushd "${D}" >/dev/null
pushd "./${1}" >/dev/null
pushd "./${libpath}" >/dev/null
local dir="${PWD#${D%/}}"
local allarchives=$(echo *.la)
allarchives="\(${allarchives// /\\|}\)"
popd >/dev/null
sed -i \
-e "/^libdir=/s:=.*:='${dir}':" \
./${dir}/*.la
sed -i \
-e "/^dependency_libs=/s:/[^ ]*/${allarchives}:${LIBPATH}/\1:g" \
$(find ./${PREFIX}/lib* -maxdepth 3 -name '*.la') \
./${dir}/*.la
# The libdir might not have any .la files. #548782
find "./${dir}" -maxdepth 1 -name '*.la' \
-exec sed -i -e "/^libdir=/s:=.*:='${dir}':" {} + || die
# Would be nice to combine these, but -maxdepth can not be specified
# on sub-expressions.
find "./${PREFIX}"/lib* -maxdepth 3 -name '*.la' \
-exec sed -i -e "/^dependency_libs=/s:/[^ ]*/${allarchives}:${libpath}/\1:g" {} + || die
find "./${dir}/" -maxdepth 1 -name '*.la' \
-exec sed -i -e "/^dependency_libs=/s:/[^ ]*/${allarchives}:${libpath}/\1:g" {} + || die
popd >/dev/null
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/vala.eclass,v 1.11 2014/12/21 12:25:49 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/vala.eclass,v 1.12 2015/06/09 10:18:38 eva Exp $
# @ECLASS: vala.eclass
# @MAINTAINER:
@ -31,8 +31,8 @@ VALA_MIN_API_VERSION=${VALA_MIN_API_VERSION:-0.20}
# @ECLASS-VARIABLE: VALA_MAX_API_VERSION
# @DESCRIPTION:
# Maximum vala API version (e.g. 0.26).
VALA_MAX_API_VERSION=${VALA_MAX_API_VERSION:-0.26}
# Maximum vala API version (e.g. 0.28).
VALA_MAX_API_VERSION=${VALA_MAX_API_VERSION:-0.28}
# @ECLASS-VARIABLE: VALA_USE_DEPEND
# @DEFAULT_UNSET

View File

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.72 2012/07/18 14:59:29 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.73 2015/05/12 15:15:31 voyageur Exp $
# @ECLASS: webapp.eclass
# @MAINTAINER:
@ -244,7 +244,6 @@ _webapp_serverowned() {
local my_file="$(webapp_strip_appdir "${1}")"
my_file="$(webapp_strip_cwd "${my_file}")"
elog "(server owned) ${my_file}"
echo "${my_file}" >> "${D}/${WA_SOLIST}"
}

View File

@ -1,141 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/zproduct.eclass,v 1.28 2011/12/27 17:55:13 fauli Exp $
# Author: Jason Shoemaker <kutsuya@gentoo.org>
# This eclass is designed to streamline the construction of
# ebuilds for new zope products
EXPORT_FUNCTIONS src_install pkg_prerm pkg_postinst pkg_config
DESCRIPTION="This is a zope product"
RDEPEND="net-zope/zope
app-admin/zprod-manager"
IUSE=""
SLOT="0"
S=${WORKDIR}
ZI_DIR="${ROOT}/var/lib/zope/"
ZP_DIR="${ROOT}/usr/share/zproduct"
DOT_ZFOLDER_FPATH="${ZP_DIR}/${PF}/.zfolder.lst"
zproduct_src_install() {
## Assume that folders or files that shouldn't be installed
# in the zproduct directory have been already been removed.
## Assume $S set to the parent directory of the zproduct(s).
debug-print-function ${FUNCNAME} ${*}
[ -n "${ZPROD_LIST}" ] || die "ZPROD_LIST isn't defined."
[ -z "${1}" ] && zproduct_src_install all
# set defaults
into ${ZP_DIR}
dodir ${ZP_DIR}/${PF}
while [ -n "$1" ] ; do
case ${1} in
do_zpfolders)
## Create .zfolders.lst from $ZPROD_LIST.
debug-print-section do_zpfolders
for N in ${ZPROD_LIST} ; do
echo ${N} >> "${D}"/${DOT_ZFOLDER_FPATH}
done
;;
do_docs)
#*Moves txt docs
debug-print-section do_docs
docs_move
for ZPROD in ${ZPROD_LIST} ; do
docs_move ${ZPROD}/
done
;;
do_install)
debug-print-section do_install
# Copy everything that's left to ${D}${ZP_DIR}
# modified to not copy ownership (QA)
cp --recursive --no-dereference --preserve=timestamps,mode,links "${S}"/* "${D}"/${ZP_DIR}/${PF}
;;
all)
debug-print-section all
zproduct_src_install do_zpfolders do_docs do_install ;;
esac
shift
done
debug-print "${FUNCNAME}: result is ${RESULT}"
}
docs_move() {
# if $1 == "/", then this breaks.
if [ -n "$1" ] ; then
docinto $1
else
docinto /
fi
dodoc $1HISTORY.txt $1README{.txt,} $1INSTALL{.txt,} > /dev/null 2>/dev/null
dodoc $1AUTHORS $1COPYING $1CREDITS.txt $1TODO{.txt,} > /dev/null 2>/dev/null
dodoc $1LICENSE{.GPL,.txt,} $1CHANGES{.txt,} > /dev/null 2>/dev/null
dodoc $1DEPENDENCIES.txt $1FAQ.txt $1UPGRADE.txt > /dev/null 2>/dev/null
for item in ${MYDOC} ; do
dodoc ${1}${item} > /dev/null 2>/dev/null
done
}
zproduct_pkg_postinst() {
#*check for multiple zinstances, if several display install help msg.
#*Use zprod-update to install this zproduct to the default zinstance.
debug-print-function ${FUNCNAME} ${*}
# this is a shared directory, so root should be owner;
# zprod-manager or whatever is used to copy products into the
# instances has to take care of setting the right permissions in
# the target directory
chown -R root:root ${ZP_DIR}/${PF}
# make shure there is nothing writable in the new dir, and all is readable
chmod -R go-w,a+rX ${ZP_DIR}/${PF}
einfo "Attention: ${PF} was not installed in any instance! Use 'zprod-manager add'"
#disabled by radek@20061228 - contact me in case of any question!
#${ROOT}/usr/sbin/zprod-manager add ${ZP_DIR}/${PF}
}
zproduct_pkg_prerm() {
# checks how many times product is installed and informs about it
# it does not remove it (change in behaviour done by radek@20061228)
debug-print-function ${FUNCNAME} ${*}
ZINST_LST=$(ls /var/lib/zope/)
if [ "${ZINST_LST}" ] ; then
# first check and warn on any installed products into instances
ARE_INSTALLED=0
for N in ${ZINST_LST} ; do
if [ -s $DOT_ZFOLDER_FPATH ]
then
# check only if installed product has non empty folder lists
#
# for every fodler inside product ...
for PFOLD in `cat $DOT_ZFOLDER_FPATH`
do
# ... check if its in instance.
if [ -d "${ZI_DIR}${N}/Products/${PFOLD}" ]
then
ARE_INSTALLED=$[ARE_INSTALLED + 1]
fi
done
fi
done
if [ $ARE_INSTALLED -gt 0 ]
then
ewarn "Detected at least $ARE_INSTALLED copies of product being unmerged."
ewarn "Please manually remove it from instances using 'zprod-manager del'"
ewarn "Product is removed from ${ZP_DIR} but not from instances!"
fi
fi
}
zproduct_pkg_config() {
einfo "To add zproducts to zope instances use:"
einfo "\tzprod-manager add"
}

View File

@ -0,0 +1,2 @@
GNU Affero General Public License, version 3 or any later version.
See AGPL-3 for the full text of this license.

View File

@ -1,14 +0,0 @@
The author of this software is Matt Blaze.
Copyright (c) 1992, 1993, 1994, 1997 by AT&T.
Permission to use, copy, and modify this software without fee
is hereby granted, provided that this entire notice is included in
all copies of any software which is or includes a copy or
modification of this software and in all copies of the supporting
documentation for such software.
This software is subject to United States export controls.
THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR AT&T MAKE ANY
REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.

View File

@ -1,37 +0,0 @@
ECW JPEG 2000 SDK PUBLIC USE LICENSE AGREEMENT
IMPORTANT-READ CAREFULLY: This Earth Resource Mapping Limited ("ERM") End-User License Agreement ("EULA") is a legal agreement between you (either an individual or a single entity) and ERM for the ERM ECW JPEG 2000 SDK software product under this Public Use License Agreement, which includes computer software and may include associated media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT"). The SOFTWARE PRODUCT also includes any updates and supplements to the original SOFTWARE PRODUCT provided to you by ERM. Any software provided along with the SOFTWARE PRODUCT that is associated with a separate end-user license agreement is licensed to you under the terms of that license agreement. By installing, copying, downloading, accessing or otherwise using the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, do not install or use the SOFTWARE PRODUCT.
The intent of this license is to establish freedom to share and change the software regulated by this license under the open source model and is applicable to the use of the ECW JPEG 2000 SDK with Unlimited Decompressing and Unlimited Compression for applications licensed under a GNU General Public style license ("GPL") as set out below.
This license applies to any use of the Software Product solely intended to develop or be distributed with products that are licensed under a license similar to a General Public License ("GPL") and at no charge to the public. This license covers modification and distribution of the Software, use of third-party application programs based on the Software, and development of free software that uses the Software.
The Software Product is protected by patents, copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The Software Product is licensed, not sold. Rights to use patents, including ERM's large DWT and streaming imagery patents, are given only for use with the ECW JPEG 2000 SDK and not for other uses.
Granted Rights
1) GRANT OF LICENSE. This EULA grants you the following limited, non-exclusive rights, provided you agree to and comply with any and all conditions in this license. Whole or partial distribution of the Software, or software items that link with the Software, in any form signifies acceptance of this license.
a) You may copy and distribute the Software in unmodified form provided that the entire package, including - but not restricted to - copyright, trademark notices and disclaimers, as released by the initial developer of the Software, is distributed.
b) You may make modifications to the Software and distribute your modifications, in a form that is separate from the Software, such as patches. The following restrictions apply to modifications:
i) Modifications must not alter or remove any copyright notices in the Software.
ii) When modifications to the Software are released under this license, a non-exclusive royalty-free right is granted to the initial developer of the Software to distribute your modification in future versions of the Software provided such versions remain available under these terms in addition to any other license(s) of the initial developer.
iii) You are not permitted to change the ECW file format.
c) You may distribute machine-executable forms of the Software or machine-executable forms of modified versions of the Software, provided that you meet these restrictions:
i) You must include this license document in the distribution.
ii) You must ensure that all recipients of the machine-executable forms are also able to receive the complete machine-readable source code to the distributed Software, including all modifications, without any charge beyond the costs of data transfer, and place prominent notices in the distribution explaining this.
iii) You must ensure that all modifications included in the machine-executable forms are available under the terms of this license.
d) You may use the original or modified versions of the Software to compile, link and run application programs legally developed by you or by others.
e) You may develop application programs, reusable components and other software items that link with the original or modified versions of the Software. These items, when distributed, are subject to the following requirements:
i) You must ensure that all recipients of machine-executable forms of these items are also able to receive and use the complete machine-readable source code to the items without any charge beyond the costs of data transfer.
ii) You must explicitly license all recipients of your items to use and re-distribute original and modified versions of the items in both machine-executable and source code forms. The recipients must be able to do so without any charges whatsoever, and they must be able to re-distribute to anyone they choose.
iii) If the items are not available to the general public, and the initial developer of the Software requests a copy of the items, then you must supply one.
2) SUPPORT AND UPDATES.
Licensee is optionally entitled to join the ERM Developer Network for a fee. Other than this service, ERM provides no technical support as part of this license.
3) U.S. GOVERNMENT RESTRICTED RIGHTS.
The SOFTWARE PRODUCT and documentation are provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the US Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial Computer Software - Restricted Rights at 48 CFR 52.227-19, as applicable. Manufacturer is Earth Resource Mapping Limited.
4) DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
a) Rental. You may not rent, lease or lend the SOFTWARE PRODUCT.
b) Software Transfer. You may permanently transfer all of your rights under this EULA, provided you retain no copies, you transfer all of the SOFTWARE PRODUCT (including all component parts, the media and printed materials, any upgrades, this EULA, and, if applicable, the Certificate of Authenticity), and the recipient agrees to the terms of this EULA. If the SOFTWARE PRODUCT is an upgrade, any transfer must include all prior versions of the SOFTWARE PRODUCT.
c) Termination. Without prejudice to any other rights, ERM may terminate this EULA if you fail to comply with the terms and conditions of this EULA. In such event, you must destroy all copies of the SOFTWARE PRODUCT and all of its component parts.
d) No Warranties. ERM EXPRESSLY DISCLAIMS ANY WARRANTY FOR THE SOFTWARE PRODUCT. THE SOFTWARE PRODUCT AND ANY RELATED DOCUMENTATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. THE ENTIRE RISK ARISING OUT OF USE OR PERFORMANCE OF THE SOFTWARE PRODUCT REMAINS WITH YOU.
e) Limitation of Liability. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL ERM OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE PRODUCT OR THE PROVISION OF OR FAILURE TO PROVIDE SUPPORT SERVICES, EVEN IF ERM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, ERM'S ENTIRE LIABILITY UNDER ANY PROVISION OF THIS EULA SHALL BE LIMITED TO THE GREATER OF THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE PRODUCT OR US$5.00; PROVIDED HOWEVER, IF YOU HAVE ENTERED INTO A ERM SUPPORT SERVICES AGREEMENT, ERM'S ENTIRE LIABILITY REGARDING SUPPORT SERVICES SHALL BE GOVERNED BY THE TERMS OF THAT AGREEMENT. BECAUSE SOME STATES AND JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY, THE ABOVE LIMITATION MAY NOT APPLY TO YOU.
f) This Agreement may only be modified in writing signed by authorized representatives of ERM. All terms of any purchase order or other ordering document shall be superseded by this Agreement. If any provision of the Agreement is found void or unenforceable, the remainder will remain valid and enforceable according to its terms. If any remedy provided is determined to have failed for its essential purpose, all limitations of liability and exclusions of damages set forth in this Agreement shall remain in effect.
g) This Agreement shall be construed, interpreted and governed by the laws of Western Australia.
h) ERM reserves all rights not specifically granted in this Agreement.

View File

@ -0,0 +1,29 @@
% This is version 1.0, dated 22 June 2009, of the GUST Font License.
% (GUST is the Polish TeX Users Group, http://www.gust.org.pl)
%
% For the most recent version of this license see
% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt
% or
% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt
%
% This work may be distributed and/or modified under the conditions
% of the LaTeX Project Public License, either version 1.3c of this
% license or (at your option) any later version.
%
% Please also observe the following clause:
% 1) it is requested, but not legally required, that derived works be
% distributed only after changing the names of the fonts comprising this
% work and given in an accompanying "manifest", and that the
% files comprising the Work, as listed in the manifest, also be given
% new names. Any exceptions to this request are also given in the
% manifest.
%
% We recommend the manifest be given in a separate file named
% MANIFEST-<fontid>.txt, where <fontid> is some unique identification
% of the font family. If a separate "readme" file accompanies the Work,
% we recommend a name of the form README-<fontid>.txt.
%
% The latest version of the LaTeX Project Public License is in
% http://www.latex-project.org/lppl.txt and version 1.3c or later
% is part of all distributions of LaTeX version 2006/05/20 or later.

View File

@ -1,48 +0,0 @@
FREEWARE SOFTWARE LICENSE AGREEMENT
Freeware License
IMPORTANT: PLEASE READ CAREFULLY BEFORE USING THE MEMONIX
This is our Freeware License, which applies to Memonix game, labeled as Freeware.
Copyright law protects this software program and any associated material. Viewizard
retains title to and ownership in the copyright of the software program and the
associated materials.
Freeware License Rights: Memonix game is provided as freeware for Linux/BSD/Unix-like
OSes. Freeware software is provided free of charge. Occasionally the copyright holder
may post a request for a donation in support of this software. This type of request
does not change the classification of this software as freeware. Freeware software
may be used as many times as you like, for as long as you like. You may copy and
distribute copies of this program provided that you keep this copyright notice and
disclaimer of warranty intact. You must not charge money or fees for the software
product to anyone except to cover distribution costs.
You may not alter this Software in any way; you may not use or distribute any part of the
original package. Also you are not allowed to emulate, decompile, disassemble, otherwise
reverse engineer any executable part of original package. Any such unauthorized use may
result in criminal and/or civil prosecution.
The copyright holder reserves the right to reclassify this software as a non-freeware
product at a later date (i.e. shareware of public domain). Doing so will not modify
the license agreement of previously distributed executables.
Warranty: This program is provided "as is" without warranties of any kind, either
expressed or implied, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose. The entire risk as to the
quality and performance of the program is with you. Should the program prove defective,
you assume the cost of all necessary servicing, repair or correction. In no event will
any copyright holder be liable to you for damages, including any general, special,
incidental or consequential damages arising out of the use or inability to use the
program (including but not limited to loss of data or data being rendered inaccurate
or losses sustained by you or third parties or a failure of the program to operate with
any other programs).
Agreement: By using our software products you are automatically agreeing to and show
that you have read and understood the terms and conditions contained within this
Freeware Software License Agreement. This Freeware Software License Agreement is
then effective while you use and continue to make use of these software products.
If you do not agree with our Freeware Software License Agreement you must not use
our software products - this Freeware Software License Agreement will then not apply
to you. This Freeware Software License Agreement is subject to change without notice.

View File

@ -1,55 +0,0 @@
RACER USAGE - READ BEFORE MODIFYING SOURCE CODE
The programs and source code of the Racer project are copyright of Ruud van
Gaal, Dolphinity, 2000-2001.
All rights reserved. Publishing of included material without prior written
permission of the author is prohibited.
Publishing of material downloadable here may however be done on a
non-commericial basis. In this case, I would appreciate it if you send me a
note regarding where you make available the material.
Use of any of the published source code in commercial software is explicilty
NOT allowed without prior written permission. Distributions on Linux
distributions (as is done on SuSE8.0 for example) IS however allowed. Use of
(parts of) the source code in non-commercial software is allowed however.
For commercial usage, licensing may be an option, for which you can contact
the author.
This is NOT an Open Source project, although many people think so. You CAN
contribute to the source if you want (or cannot resist), but all changes
will go through me to the master source code. This is done to ensure quality
and consistent style for instance. Also, parts of Racer (the QLib/D3
libraries) are used in other projects, and changing the source code of this
would be counterproductive for the other products that use these libraries.
Therefore, the decision has been made not to OpenSource the source code.
Realise that the copyrights will stay at Dolphinity, so for many people this
will mean that they won't contribute to the source. This is ok to me, the
product seems not large enough to need the whole world to aid in developing
(except for the contents; cars & tracks). To add to the Racer project and
maintain control, it is advised to create separate executables, which may
use parts of the source code, but are not completely separately usable
products. This means you can create a Replay Analyzer which uses track code
from the Racer source code, but that you may NOT create a complete racing
game based on a specific era for example, and distribute this commercially
as a separate product.
If you have any questions on the usage of the materials presented in the
Racer site, please contact me.
ADDITIONAL COPYRIGHTS (PRODUCTS MENTIONED IN PARTS OF THE SITE)
Sports Car GT Copyright Electronic Arts 1999
F1 2000 Copyright Electronic Arts 2000
Microsoft Windows is a registered trademark of Microsoft
Grand Prix Legends is a registered trademark of Papyrus
All other trademarks are property of their respective companies.
No SCGT tracks can and will be found on this website. You are (probably) not
allowed to post directly converted tracks onto your website, but you can
upload Racer-specific files (but not the images and directly converted DOF
models).
Ruud van Gaal
last updated August 11, 2002

View File

@ -1,299 +0,0 @@
On the Rain-Slick Precipice of Darkness, Episode One
End User License Agreement (EULA)
YOU SHOULD CAREFULLY READ THE FOLLOWING END USER LICENSE AGREEMENT
BEFORE USING THIS SOFTWARE PROGRAM. BY USING THIS SOFTWARE PROGRAM, YOU
AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT. *IF YOU DO NOT AGREE
TO THE TERMS OF THIS AGREEMENT, CLICK "QUIT" AND CEASE ALL USE OF THIS
SOFTWARE.*
This software program, including any electronic documentation
(collectively, the "Program"), any printed materials, and any and all
copies of such Program and materials are the copyrighted work of Hothead
Games, Inc. ("Hothead") and/or its affiliates or subsidiaries, and/or
its suppliers or licensors. All rights are reserved, except as expressly
stated below. Your use of the Program is governed by the terms of this
End User License Agreement (the "License Agreement"). The Program is
solely for use by end users according to the terms of the License
Agreement. Any use, reproduction or redistribution of the Program not in
accordance with the terms of the License Agreement is expressly
prohibited.
1. *Thank You.* /We, Hothead, would first like to thank you for
licensing the Program. We know you probably don't care much for
reading through EULAs, but our lawyers want to make sure we keep
control and ownership of the stuff we and our licensors have spent
so much time, effort and energy developing. In order to keep
developing cool stuff that we hope provides you hours and hours of
entertainment and fun, we have to make sure you understand and agree
that you are just buying the right to use the Program and that there
are certain limits to your rights to use the Program. What follows
is what you need to agree to before you can use the Program./
2. *Limited Use License.* /Like we mentioned above, you are buying the
right to use the Program, not the rights to the Program itself./
Hothead hereby grants, and by using the Program you thereby accept,
a limited, non-exclusive license and right to install and/or use the
Program on your personal computers belonging or primarily used by
you (for example, on your home computer(s) and a laptop) with the
express understanding that the Program is licensed, not sold, and
that your license confers no title or ownership of the Program. If
you wish to use the Program on more computers than the program
automatically allows, Hothead's customer support may (in its sole
discretion) increase the number of computers on which the Program
may be used on a case by case basis. /If you need to increase any
limits the game places on the number of installs you can use, simply
contact us and we'll be happy to adjust the settings on your license
code to make this happen./ This license is not a sale of the
original software program (which means that the fee you paid gives
you the right only to use the Program). To avoid any
misunderstandings, the license granted hereunder is for one
individual person and the Program will be deemed in "use" on a
computer when it is loaded onto temporary memory (i.e., RAM) or
installed into the permanent memory (e.g., hard disk, CD-ROM or
other storage device) of a computer. Installation of the Program on
a network server is strictly prohibited. Nothing in this Agreement
shall be construed as granting any right to use the Program on a
computer that is not owned or primarily used by you.
3. *Intellectual Property Ownership.* /In order to keep making cool
games in the future, we need to make sure that you understand who
owns the intellectual property rights to the Program./ All title,
ownership rights and intellectual property rights in and to the
Program and any and all copies thereof (including but not limited to
all copyrights, trademarks, trade secrets, trade names, proprietary
rights, patents, titles, computer code, themes, objects, characters,
character names, stories, dialog, catch phrases, locations,
concepts, artwork, animations, sounds, musical compositions,
audio-visual effects, methods of operation, moral rights, any
related documentation, and "applets" incorporated into the Program)
are owned by Hothead or its licensors. The Program is protected by
the copyright laws of Canada, the United States, international
copyright treaties and conventions and other laws. All rights are
reserved. The Program contains certain licensed materials and
Hothead's licensors may protect their rights in the event of any
violation of this Agreement. The Program may not be copied or
reproduced in any manner or medium, in whole or in part, without
prior written consent from Hothead.
4. *Responsibilities of End User.* /We've mentioned this before, but it
probably won't hurt to be a bit more detailed about what you're
agreeing to by licensing the Program. We want you to be able to
enjoy the games we make to the maximum extent possible, but our
lawyers tell us we have to set some rules about what you can and
can't do to keep from getting us in trouble (and to allow us to stay
in business and keep making cool new games). So by licensing the
Program you agree to the following:/
1. Subject to the license grant above, you may not, in whole or in
part, copy, photocopy, reproduce, translate, reverse engineer,
derive source code, modify, disassemble, decompile, modify or
create derivative works based on the Program or any part
thereof, or remove any proprietary notices or labels on the
Program without the prior written consent of Hothead. You may
not work around any technical limitations in the Program.
2. The Program is licensed to you as a single product. Its
component parts may not be separated for use on more than one
computer.
3. You are entitled to use the Program for your personal use, but
you are not entitled to sell, grant a security interest in or
transfer reproductions of the Program or otherwise distribute
copies of the Program to other parties in any way, nor to rent,
lease or license the Program to others without the prior written
consent of Hothead.
4. You are expressly prohibited from selling or otherwise profiting
from any levels, add-on packs, sequels or other items based upon
or related to the Program or created by use of any part of the
Program. If you create levels, add-on packs, sequels or other
items to the Program, including the construction of new levels
(collectively, the "Modifications"), you are subject to the
following restrictions:
1. Modifications are considered separate from the Program in
the sense that they are not guaranteed or supported by
Hothead. However, by creating a Modification you shall be
deemed to have assigned in favour of Hothead all copyrights
and intellectual property rights to the Modifications;
2. your Modifications must require a full, licensed copy of the
Program to run;
3. your Modifications must not contain any libellous,
defamatory or other illegal material, material that is
scandalous or invades the rights of privacy or publicity of
any third party, or contain any trademarks,
copyright-protected work or other property of third parties;
4. your Modifications must be distributed solely for free.
Neither you nor any other person or party may sell them to
anyone, commercially exploit them in any way, or charge
anyone for using them without a license from Hothead.
5. The prohibitions and restrictions in this Section apply to
anyone in possession of the Program or any of your
Modifications. For greater certainty, notwithstanding anything
to the contrary in this Agreement, you are not permitted to
reverse engineer, decompile or disassemble the Program in any
way. Any copying of the Program not specifically allowed in this
Agreement is a violation of this Agreement.
5. *Compliance with Ratings.* /To keep the politicians from carrying
through on their threats to decide what video games you should and
shouldn't be able to play (and what developers can and can't
create), we need to make sure you understand the rating given to the
Program is important and that you agree to use the Program in
accordance with its rating./ The Program may consist of a video game
that has been rated by one or more ratings boards (a "Rating
Board"). By using the Program you expressly represent, warrant and
agree that:
1. you are aware of the rating (the "Rating") issued to the Program
by the applicable Rating Board in the jurisdiction in which you
reside or will otherwise be using the Program;
2. you are of an appropriate age to use the Program in accordance
with the Rating issued in such jurisdiction;
3. you will not permit use of the Program by those under the age
set out in the Rating in the jurisdiction in which you reside or
will otherwise be using or permitting use of the Program.
YOU AGREE TO INDEMNIFY AND HOLD HARMLESS HOTHEAD FROM AND AGAINST
ANY CAUSE OF ACTION, ACTION, SUIT, PROCEEDING AGAINST OR DAMAGES OR
OTHER LIABILITY SUFFERED BY HOTHEAD IN CONNECTION WITH YOUR BREACH
OF THIS SECTION 5.
6. *No Transfer.* /What is this "transfer", you ask? It means that once
you accept, you can't sell or give the game to someone else./ You
may not transfer or assign this Agreement or any of your rights or
obligations under this Agreement.
7. *Termination.* /We hope this section never has to come into play (or
section 12 for that matter), as that means you are doing something
you shouldn't be under the terms of this Agreement (which would suck
for both of us, but more for you as it means we have to get our
lawyers involved)./ This Agreement is effective until the earlier of
(i) termination of this License Agreement by you or Hothead or (ii)
termination of this Agreement in the event you fail to comply with
any term contained herein, in which event this Agreement shall be
deemed to terminate automatically. You may terminate this Agreement
at any time by destroying all copies of the Program in your
possession. Hothead may, at its discretion, terminate this License
at any time upon notifying you of such termination (including by way
of public notice to all licensees of the Program). In such event
/(or if you are bad and are not complying with the terms of this
agreement)/, you must immediately destroy all copies of the Program
in your possession. Any license agreement to which you may have
previously agreed that governs your use of prior versions of the
Program is hereby terminated and is replaced by this agreement. The
provisions of Sections 3, 7, and 10-13 will survive any termination
of this Agreement.
8. *Updates; New Versions.* /We can't support all versions forever but
we will do our best to support the latest version that we have made
available./ Hothead may, in its sole discretion, provide updates or
new versions of the Program in the future. Hothead may provide such
updates or future versions subject to a separate license, which may
by its terms terminate this license pursuant to Section 7. Hothead
shall have no obligation to provide support or updates for the
Program.
9. *Export Controls.* /Don't be a criminal . . . I mean, what else can
we say here?/ You agree to comply with all applicable laws,
regulations, rulings and executive orders of any governmental
authority relating to the exportation or importation of the Program,
including but not limited to the export and destination control
regulations for Canadian goods.
10. *No Warranties.* /We have no idea what you have already on your
computer and what state or health your computer is in. The entire
risk arising out of use or performance of the Program remains with
you./ THE PROGRAM IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NONINFRINGEMENT. ANY WARRANTY AGAINST INFRINGEMENT THAT
MAY BE PROVIDED IN SECTION 2-312(3) OF THE UNIFORM COMMERCIAL CODE
IN THE UNITED STATES AND/OR IN ANY OTHER COMPARABLE STATE,
PROVINCIAL OR FEDERAL STATUTE IS EXPRESSLY DISCLAIMED. Some
jurisdictions do not allow the exclusion or limitation of implied
warranties, so the above limitations may not apply to you to that
extent.
11. *Limitation of Liability.* HOTHEAD SHALL NOT BE LIABLE TO YOU, OR TO
ANY PERSON ACCESSING GAMEPLAY AS A RESULT OF THE LICENSE GRANTED TO
YOU, IN ANY WAY FOR LOSS OR DAMAGE OF ANY KIND RESULTING FROM YOUR
USE OF THE PROGRAM, INCLUDING, BUT NOT LIMITED TO, LOSS OF GOODWILL,
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES ARISING OUT OF THE USE OF OR INABILITY
TO USE THE PROGRAM, EVEN IF HOTHEAD HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. FURTHER, HOTHEAD SHALL NOT BE LIABLE IN
ANY WAY FOR THE LOSS OR DAMAGE TO ANY PLAYER CHARACTERS, ACCOUNTS,
STATISTICS OR USER PROFILE INFORMATION. YOU UNDERSTAND AND
ACKNOWLEDGE THAT HOTHEAD CANNOT AND WILL NOT BE RESPONSIBLE FOR ANY
INTERRUPTIONS OF ONLINE GAMEPLAY, INCLUDING, BUT NOT LIMITED TO ISP
DISRUPTIONS, SOFTWARE OR HARDWARE FAILURES OR ANY OTHER EVENT WHICH
MAY RESULT IN A LOSS OF DATA OR DISRUPTION OF ONLINE GAMEPLAY. Some
jurisdictions do not allow the exclusion or limitation of incidental
or consequential damages, so the above limitations may not apply to
that extent. In no event shall our total liability to you for any
and all damages, losses and causes of action (whether in tort,
contract or otherwise) exceed the amount paid by you for the
Program.
12. *Equitable Remedies.* /We need to make sure we can put a quick stop
to anyone doing something they shouldn't be under this agreement./
You hereby agree that Hothead would be irreparably damaged if the
terms of this Agreement were not specifically enforced, and
therefore you agree that Hothead shall be entitled, without bond,
other security, or proof of damages, to appropriate equitable
remedies with respect to breaches of this Agreement, in addition to
such other remedies as Hothead may otherwise have available to it
under applicable laws. In the event any litigation is brought by
either party in connection with this Agreement, the prevailing party
in such litigation shall be entitled to recover from the other party
all the costs, attorneys' fees and other expenses incurred by such
prevailing party in the litigation.
13. *Miscellaneous*
1. This Agreement shall be deemed to have been made and executed in
the Province of British Columbia, Canada and any dispute arising
hereunder shall be resolved in accordance with the law of
British Columbia. You agree that any claim asserted in any legal
proceeding by you against Hothead or its licensors shall be
commenced and maintained in a court located in Vancouver,
British Columbia having subject matter jurisdiction with respect
to the dispute between the parties.
2. Hothead reserves the right, at its sole discretion, to change,
modify, add to, supplement or delete any of the terms and
conditions of this Agreement, effective upon prior notice as
follows: Hothead will post notification of any such changes to
this Agreement on the its website, and may provide such other
notice as Hothead may elect in its sole discretion.
3. In the event that any provision of this Agreement shall be held
by a court or other tribunal of competent jurisdiction to be
unenforceable, such provision will be enforced to the maximum
extent permissible and the remaining portions of this Agreement
shall remain in full force and effect.
4. This Agreement constitutes and contains the entire agreement
between the parties with respect to the subject matter hereof
and supersedes any prior oral or written agreements.
You hereby acknowledge that you have read and understand the
foregoing terms of this Agreement and agree that the act of using
the Program is an acknowledgment of your agreement to be bound by
the terms and conditions of this Agreement. You also acknowledge and
agree that this Agreement is the complete and exclusive statement of
the agreement between Hothead and you with regard to the subject
matter hereof and that this Agreement supersedes any prior or
contemporaneous agreement, either oral or written, and any other
communications between Hothead and you regarding the subject matter
hereof.
/That's it! Not so bad, right? Thanks for supporting us and reading all
the way to the end./

View File

@ -0,0 +1,93 @@
END-USER LICENSE AGREEMENT OF KINGSOFT (WPS Office Linux Version)
Please read and understand all rights and limitations stated in this END-USER LICENSE AGREEMENT ("the EULA") carefully. Before first using the "Product" that accompanies the EULA, you need to read all the terms of the EULA and decide whether to agree with the terms or not. Unless you agree all the terms of the EULA, you shall uninstall the "Product" and not use the "Product" in any way.
As a reference, you may print out the text of the EULA from this page now. You may also read the copy of the EULA in the HELP part of the "Product".
The EULA is a legal agreement entered into between you and Kingsoft regarding the "Product". The "Product" includes computer software and any associated documents and printed materials. Before first using the "Product", you shall agree to all the terms of the EULA. If there is any disagreement, please uninstall the "Product" and do not use the "Product" in any way.
The "Product" is protected by copyright laws, international copyright treaties and other related laws and treaties. The "Product" is licensed, not sold.
1. Kingsoft grants you a nonexclusive license to the "Product" in the territorial scope of the world. You are entitled to:
1) Install, use, display and run (collectively referred as to "run") a copy of the "Product" on one computer based on Linux system;
2) Make back-up reproductions to prevent any damage to the reproductions,and you shall be responsible for destroying the back-up reproductions when you lose the ownership of the legal reproductions;; and
3) Make necessary modifications to the "Product" in order to use it in the actual computer application environment or to improve its functions and performance. Unless otherwise agreed in the EULA, the modified Product shall not be provided to any third party without the permission of Kingsoft.
4) Distribute the "Product" in the territorial scope of the world by lawful means, but you agree to comply with all the following terms simultaneously when you distribute the "Product":
A.Distribute the "Product" only as the status quo as Kingsoft provides, and the "Product" distributed by you shall only be the complete version (including but not limited to contain the entire contents of the EULA) provided by Kingsoft without any modification and contain all the copyright mark;
B. No modification concerning the content or the form of the EULA is allowed, you shall ensure the end user whom you distribute the "Product" to are in the acceptance of all terms of the EULA before using the" Product";
C. Shall not sell the "Product" or use the "Product" to charge (or in a disguised form) in any way.
D. If the terms mentioned above (article 1.4) ) is inconsistent with the other terms of the EULA, or in conflict with other terms of the EULA during the actual implementation process, the content of the terms mentioned above (article 1.4) ) shall prevail only.
5) Translate the language of the "Product" into other language excluding Japanese, such as translate the language of Chinese version of the "Product" into English or other languages excluding Japanese. At the same time, you also acknowledge and agree that all the translation work resulting from your translation of the language of the "Product" (the "Translation Work") can only be provided to Kingsoft free of charge, you shall not use, distribute the "Translation Work " in any form. The copyright of all the Translation Work (the copyright including but not limited to: the right of authorship, the right of publication, the right of alternation, the right of integrity, the right of reproduction, the right of distribution, the right of lease, the right of exhibition, the right of performance, the right of showing, the right of broadcast, the right of dissemination of information on networks , the right of making cinematographic work, the right of adaptation, the right of translation, the right of compilation and other rights shall be enjoyed by copyright owners), completely and separately belong to Kingsoft since the copyright has been createdKingsoft will have the right to decide how to use the Translation Work in its sole discretion and does not need to pay reward or any payment to you. Notwithstanding the preceding provisions, you shall ensure at the same time the Translation Work that you provide to Kingsoft is the original works created independently by you. The Translation Work does not violate the provisions of relevant laws and regulations, and does not infringe upon the legitimate rights and interests of any third party, and no claim shall be raised to all or part of the Translation Work by any third party. In case of any claim to the Translation Work by a third party, or any breach to this warranty by you, you shall provide defense for Kingsoft to protect Kingsoft from any damage.
2. You shall abide by the following obligations:
1) Do not use, copy, revise and/or assign the "Product", as a whole or part, beyond the scope authorized by the EULA.
2) Only run the "Product" on one computer based on Linux system.
3) Run the "Product" in a multi-users circumstance or network system only under the following conditions being wholly satisfied:
a.each node and terminal has been legally granted the license; and
b.each node and terminal which has been legally granted the license is based on Linux system
4) Do not reverse engineer, de-compile, or disassemble the "Product" or attempt to gain access to the source code for the "Products" by any means.
5) Make sure that all the copies of the "Product" comprise all the copyright marks.
3. You may make a one-time permanent assignment of the "Product" accompanied by the EULA to a third party, provided that the following conditions shall be wholly satisfied:
1) The whole and complete "Product" (including but not limited to computer software and any associated documents and printed materials) are assigned.
2) Any assignment comprises all former editions of the "Product", if the "Product" is an upgraded edition.
3) You retain no copies of the "Product" .
4) Your license is terminated upon the assignment.
5) The third party receiving the "Product" agrees to all the terms of the EULA.
4. Product Support Services
1) Provided that Kingsoft expressly agrees and covenants in the user manual or in other associated documents and printed materials that Kingsoft may provide you with certain product support services related to the "Product", the "Product" support service shall be provided by Kingsoft subject to the policies and programs described in such documents.
2) Any add-on software codes provided by Kingsoft as a part of the support services (if any) shall be deemed to be a part of the "Product" and be governed by the EULA, unless separate terms are provided by Kingsoft.
3) You express assent that, Kingsoft can use the technical information you provided (if any) for business purpose, including but not limited to product supporting and researching. At this time, Kingsoft will not mention you in an individual way, unless it is necessary to provide you with product support services.
5. Replacing, Reworking and Upgrading
1) Kingsoft reserves the rights to replace, revise and upgrade the "Product", as well as the rights to charge fees for such replaced, revised and/or upgraded edition of the "Product" by prior announcement to you (including without limitation to the client POP, the "Product" official website and the email address you provided) at any time. If you will not accept the replaced, revised and/or upgraded edition of the "Product", please contact Kingsofts customer services center within 10 working days after your receipt of the replaced, revised and/or upgraded edition of the "Product" so that you can continue to use the prior edition; if you do not contact Kingsofts customer services center within the pre-mentioned 10 working days, it shall be deemed that you wholly and completely accept the replaced, revised and/or upgraded edition of the "Product".
2) Any replaced, revised and/or upgraded edition of the "Product" provided to you will be deemed as a part of the "Product", and shall be governed by the EULA, unless the EULA is replaced by another agreement attached to the replaced, revised and/or upgraded edition of the "Product".
3) If Kingsoft provides a replaced, revised and/or upgraded edition of the "Product":
a) You shall not use the replaced, revised and/or upgraded edition of the "Product" until you fully agree with the replaced, revised and/or upgraded edition of the "Product" and the new version of EULA attached (if any); and
b) The license to the former edition shall be terminated.
6. Reservation of Rights
Any rights not expressly and clearly granted in the EULA shall be reserved by Kingsoft.
7. Copyright
1) You shall not remove any copyright mark from the "Product", meanwhile you shall make the copyright mark exactly as is on all the copies of the "Product" to duly announce Kingsofts copyright.
2) Kingsoft own the copyright of the "Product" (including but not limited to any image, picture, flash, video, record, music, word and add-program), printing material attached and any copies of the "Product".
3) Copyright and any other rights in the "Product" and its documents are protected under the local and international Laws and treaties.
4) You shall not remove or destroy any copyright mark regarding the "Product". You guarantee that you shall also copy this copyright declaration in all copies of the "Product" (whether in whole or part).
5) You agree to prevent any pirates of the "Product" and its documents.
6) You shall not copy the printing material attached to the "Product"(if any).
8. Export Restrictions
The "Product" is subject to the export-related laws and regulations of .the mainland of the Peoples Republic of China (excluding Hong Kong Special Administration Region, Macao Special Administration Region, and Taiwan Region), and you must comply with all domestic and international export-related laws and regulations that apply to the "Product", the domestic and international export-related laws and regulations abovementioned include but not limited to those restrictive provisions in respect to the scope of export destinations, the range of end users in the export destinations, the way of using the "Product" and so on.
9. Warranties(Only applicable to the "Product" distributed with a disk):
1) Kingsoft warrants, in the event of normal usage, that the media of the "Product" will be free from defects in materials and workmanship for a period of ninety (90) days from the purchase date. In the event that the media of the "Product" is defective which is confirmed by Kingsoft, Kingsofts sole and exclusive liability is to replace a new disk as the whole compensation to you.
2) If this defect is caused by accident, misuse or wrongful application, Kingsoft will not be responsible for it.
3) There is no other after-sale assurance besides the assurances above.
10. Disclaimer Of Warranties.
The express warranties provided for in the EULA are the only warranties made to you. To the maximum extent permitted by the applicable laws, Kingsoft and its suppliers provide the "Product" and support services (if any) AS IS AND WITH ALL FAULTS, and hereby disclaim all other assurance and warranties, whether express, implied or statutory, including, but not limited to, any (if any) implied warranties of merchantability or fitness for a particular purpose, accuracy of responses, completeness of results, free of viruses and negligence with regard to the "Product", and the provision of or failure to provide support or other services as for the "Product".
11. Limited Liability
TO THE MAXIMUM EXTENT PERMITTED BY THE APPLICABLE LAWS, IN NO EVENT WILL KINGSOFT, AFFILIATES, DIRECTORS, EMPLOYEES, DISTRIBUTORS, SUPPLIERS, AGENTS OR RESELLERS (COLLECTIVELY, THE "KINGSOFT ") BE LIABLE FOR ANY INDIRECT, INCIDENTAL, DIRECT, SPECIAL, CONSEQUENTIAL, EXEMPLARY OR ANY OTHER DAMAGES ARISING OUT OF OR IN ANY WAY RELATING TO USING OR NON-USING THE PRODUCT, INCLUDING, BUT NOT LIMITED TO DAMAGES CAUSED BY PERSONAL INJURIES OR PROPERTY LOSSES, DAMAGES CAUSED BY LOST PROFITS, LOST DATA, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION OR LOST COMMERCIAL INFORMATION, DAMAGES CUASED BY DISCLOSURE OF PRIVACY DUE TO FAILURE TO PERFORM GOOD-WILL OR PROPER CARE OR ANY OTHER LIABILITY, DAMAGES CAUSE BY NEGLIGENCE, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF THE LEGAL OR EQUITABLE THEORY (CONTRACT, TORT OR OTHERWISE) UPON WHICH THE CLAIM IS BASED. IN ANY CASE, THE KINGSOFTS ENTIRE COLLECTIVE LIABILITY UNDER ANY PROVISION OF THE EULA SHALL NOT EXCEED IN THE AGGREGATE THE REASONABLE SUM OF THE FEES YOU PAID FOR THE "PRODUCT" (IF ANY) AND REPLACEMENT OF DEFECTIVE MEDIA OR PROVISION OF A REASONABLY SIMILAR PRODUCT, AS DETERMINED AT KINGSOFTS SOLE DISCRETION TO THE EXTENT APPLICABLE LAW PROHIBITS THE LIMITATION OF DAMAGES IN SUCH CASES. ADDITIONALLY, KINGSOFT SHALL NOT BE LIABLE FOR ANY CLAIMS OR DAMAGES ARISING OUT OF CONTENT PROVIDED BY LICENSEEOR A THIRD PARTY THAT IS ACCESSED THROUGH OR USED WITH THE "PRODUCT" AND/OR ANY MATERIAL LINKED THROUGH SUCH CONTENT.
12. Termination of License
1) Kingsoft is entitled to terminate the EULA at any time, if any terms or conditions in the EULA are violated. Upon the termination, you shall destroy or return to Kingsoft all the copies and all the associated documents and printed materials of the "Product".
2) Provided that Kingsoft offers you any replaced, revised and/or upgraded edition of the "Product" attached with a replacement of the EULA which stipulates that you can use the replaced, revised and/or upgraded edition of the "Product" under the condition that you accept the replacement of the EULA, Kingsoft may terminate the original EULA.
3) Kingsoft will have the right to revise the "Product" policy and the content of the EULA by making announcement in the official website of the "Product" in advance of 15 natural days, including but not limited to increase authorization restrictions, modificate and delete of authorization usage, change geographical scope of authorization, delete of functions, set using time, and terminate authorization and so on.
13. The execution, application, interpretation and resolution of disputes with respect to the EULA shall be governed by the laws of the mainland of the Peoples Republic of China (excluding Hong Kong Special Administration Region, Macao Special Administration Region, and Taiwan Region). All disputes arising out of or in connection with the performance of the EULA shall be resolved through friendly negotiation between parties. Any dispute, if failed to be solved by the above consultation, shall be submitted to the peoples court having jurisdiction in the place where Kingosft has its domicile
14. Important Notice:
1) In order to improve the quality of the "Product" and relevant services, the basic information about your usage of the "Product" will be collected. Accordingly, Kingsoft will provide you with feedbacks aperiodically.
The information collected does not contain any personal information, such as your name, address and contact information, and files related to information security.
Such information shall only be used for marketing analysis, so that better functions and services of the "Product" can be provided. Kingsoft shall keep confidential of any and all information collected from you.
The criterion of the scope of the information collection in this article relies on the technical level of Kingsoft from time to time. Kingsoft will make its every endeavor to pursue the accuracy of the judgment. Provided however, that limited by the factual technical level and so on, Kingsoft could only distinguish and collect the information based on its own capability of judgment. You have been fully and clearly informed of the content mentioned above, acknowledged the operation of Kingsoft, and you are willing to bear any loss and damage caused by this.
2) The intellectual property rights of all the Founder fonts (referred to as the "Founder font") contained in the "Product" belongs to Beijing Founder Electronics Co., Ltd. (referred to as "Founder"), You acknowledge and agree that pursuant to the EULA, you only obtain the right of using Founder fonts in the "Product"for office applications (i.e. only using Founder fonts in the "Product" for the purpose of screen display and print), If you need to exceed the aforesaid Founder font mandate to use Founder fonts, you must negotiate with Founder and obtain the appropriate authorization from Founder. You acknowledge and agree that if you infringe on the intellectual property rights of Founder font, any and all legal liabilities arising therefrom to the owner of such intellectual property rights (i.e. Founder and/or other parties) shall be solely borne by you, which shall has nothing to do with Kingsoft and Kingsoft will not bear any warranty liabilities or joint liabilities.
Admission
You acknowledge that you have now read and understood the EULA and have expressly agreed to be bound by all the terms and conditions of it.

View File

@ -1,219 +0,0 @@
WebMO License Agreement
WebMO License Agreement 1.1
Definitions
The "SOFTWARE PRODUCT" is all files included with the WebMO distribution
archive as well as all files produced as a result of the installation scripts.
The "SOFTWARE PRODUCT" also includes the WebMO logo and the "look and feel" of
any page produced via WebMO or included with the WebMO package. The provisions
of this License Agreement applying to the "SOFTWARE PRODUCT" also apply to all
derivative works of the "SOFTWARE PRODUCT."
The "LICENSEE" is the individual who downloads or receives the SOFTWARE PRODUCT
unless the individual designates another to be the "LICENSEE".
"WEBMO" is WebMO, LLC of Holland, Michigan, which is the sole owner of the
copyright and all other rights in and to the SOFTWARE PRODUCT.
"LICENSE FEES" are monies paid from the LICENSEE to WebMO for the right to
invoke this License Agreement for a specific implementation of the SOFTWARE
PRODUCT.
Application of License
By downloading or receiving the SOFTWARE PRODUCT, or by installing the SOFTWARE
PRODUCT onto any machine, or by using the SOFTWARE PRODUCT or any portion of
the SOFTWARE PRODUCT in any way, the LICENSEE agrees to be bound by the terms
of this License Agreement.
The LICENSEE is responsible for ensuring that the terms of the License
Agreement are upheld and the LICENSEE is responsible for any violations of the
License Agreement whether or not the LICENSEE authorized the infringements of
the License Agreement.
Permitted Uses
Provided that any required LICENSE FEES have been paid, this License Agreement
allows the LICENSEE to download the SOFTWARE PRODUCT for the purpose of
installing the SOFTWARE PRODUCT on the LICENSEE'S site or for the purpose of
examining the source code of the SOFTWARE PRODUCT to evaluate its future use on
the LICENSEE'S site. The LICENSEE may install the SOFTWARE PRODUCT one time
onto a single WWW server. The LICENSEE may also retain one copy of the
distribution of the SOFTWARE PRODUCT for archival purposes provided that this
archive is not redistributed in any way.
License Fees
WebMO retains the right to charge license fees for its product. However, no
retroactive fees for issued licenses will ever be applied. Licenses are issued
for a particular WebMO version, and a fee may be charged for future WebMO
upgrades.
Prohibited Uses
The LICENSEE agrees not to do any of the following unless previously authorized
in writing by WebMO, as doing the following would violate this License
Agreement and be grounds for the termination of this License Agreement and
possible legal action as described in this License Agreement.
* Making available for download or otherwise copying or redistributing the
SOFTWARE PRODUCT
* Selling, renting, or leasing the SOFTWARE PRODUCT to any individual or
organization
* Including on any distribution medium (such as a CD-ROM or bundled within
a software package) the SOFTWARE PRODUCT
* Installing the SOFTWARE PRODUCT on more than one WWW server or
implementing the SOFTWARE PRODUCT more than one time on a WWW server, without a
sufficient number of Licenses to do so
* Using any portion of the SOFTWARE PRODUCT in any other application or
redistributing the SOFTWARE PRODUCT under the same or another name
Copyright Notices and Program Credits
Copyright notices included within the CGI scripts and source files of the
SOFTWARE PRODUCT may never be modified, appended, or removed without the prior
expressed written consent of WebMO, regardless of whether the LICENSEE has paid
any LICENSE FEES for the implementation of the SOFTWARE PRODUCT.
The LICENSEE is not permitted to modify, append, or remove any copyright
notices or program credits appearing within the visual interface of the
SOFTWARE PRODUCT. This includes, but is not limited to, copyright notices on
documentation pages and the "About WebMO" page. Removing links to such
copyright notices and program credits is similarly prohibited.
Multiple Installations
Each distinct implementation of the SOFTWARE PRODUCT requires that a separate
License be issued by WebMO to the LICENSEE. If no LICENSE FEES have been paid,
a LICENSEE is limited to one active License and may install only one
implementation of the SOFTWARE PRODUCT.
Modifications or Additions
WebMO strongly discourages the use or creation of any modifications or
additions to the SOFTWARE PRODUCT. Any modifications or additions to the
SOFTWARE PRODUCT are subject to the following provisions:
1. The LICENSEE may modify in any way desired the SOFTWARE PRODUCT for the
LICENSEE'S own use, except that copyright headers and credits cannot be removed
except as otherwise provided in this License Agreement.
2. Any modifications containing portions of the SOFTWARE PRODUCT or causing
any portion of the SOFTWARE PRODUCT to be executed, evaluated, or otherwise
used in any way, are considered derivative works of the SOFTWARE PRODUCT.
Hence, these modifications are subject to all terms of this License Agreement,
and consequently cannot be redistributed or sold. Thus, no person,
organization, or entity shall distribute any modification or addition to the
SOFTWARE PRODUCT that uses any portion of the SOFTWARE PRODUCT in any way.
3. By making any modification or by otherwise installing any third-party
modifications to the SOFTWARE PRODUCT, the LICENSEE voids the limited warranty
and any obligation of support on behalf of WebMO, whether express or implied.
WebMO specifically disclaims all warranties, express or implied, if any portion
of the SOFTWARE PRODUCT has been modified except as documented in the SOFTWARE
PRODUCT'S accompanying documentation.
4. WebMO makes no guarantee that the underlying code or data structure will
be maintained in future upgrades to the SOFTWARE PRODUCT. The LICENSEE agrees
that WebMO retains the absolute right to modify future versions of the SOFTWARE
PRODUCT as WebMO sees fit, whether or not such modifications are compatible
with any modifications made by the LICENSEE. WebMO retains this right in all
circumstances, even if the LICENSEE has the right under arrangements with WebMO
to download and install future upgrades of the SOFTWARE PRODUCT. WebMO is under
no obligation whatsoever to modify the SOFTWARE PRODUCT or to instruct the
LICENSEE or anyone else how to modify the SOFTWARE PRODUCT.
Limited Warranty
Provided that LICENSE FEES have been paid by the LICENSEE, WebMO warrants that
the SOFTWARE PRODUCT will perform according to its documentation on a system
meeting the minimum specified requirements for a period of 30 days commencing
upon timely payment of such LICENSE FEES. Should WebMO breach the limited
warranty agreement, WebMO will, at its discretion, repair, replace, or provide
instructions for repair of the SOFTWARE PRODUCT, or return any LICENSE FEES to
the LICENSEE. In this sense, WebMO offers 30 days of free technical support to
the LICENSEE for the sole purpose of causing the SOFTWARE PRODUCT to perform
according to its documentation. In no case shall the liability of WebMO exceed
the LICENSE FEES paid by the LICENSEE. This limited warranty is not offered if
LICENSE FEES have not been paid by the LICENSEE.
This is the only warranty of any kind guaranteed by WebMO. Except for this
limited warranty, the SOFTWARE PRODUCT is provided on an "as is" basis, and the
LICENSEE accepts the SOFTWARE PRODUCT "with all faults." Should the SOFTWARE
PRODUCT prove defective, the LICENSEE and not WebMO assumes the entire cost of
service and repair. In addition, the security mechanisms implemented in
SOFTWARE PRODUCT have inherent limitations, and WebMO does not warrant that the
SOFTWARE PRODUCT will withstand all attacks. To the maximum extent permitted by
applicable law, WebMO disclaims all other warranties, either express or
implied. Particularly, WebMO makes no warranty of title, no warranty against
infringement, no warranty of merchantability, and no warranty of fitness for a
particular purpose. This warranty gives you specific legal rights, and you may
have other legal rights that vary by jurisdiction.
The SOFTWARE PRODUCT is not fault-tolerant and is not designed for use in
high-risk activities in any environment where the SOFTWARE PRODUCT could lead
to injury or death. WebMO specifically disclaims any warranties, express
implied, of fitness for high-risk activities.
In no event shall WebMO be liable for any damages in excess of LICENSE FEES
paid (including without limitation, special, direct, incidental, consequential,
or indirect damages for personal injury, loss of business profits, business
interruption, loss of information, loss of data, and any other pecuniary loss)
arising from the installation or any use of this SOFTWARE PRODUCT.
The LICENSEE voids this limited warranty by performing any of the following
actions:
1. Modifying any part of the SOFTWARE PRODUCT except as documented in the
documentation that accompanies the SOFTWARE PRODUCT. This includes, but is not
limited to, the CGI scripts, and any configuration files generated by the
program or required for installation. Should any other person or any automatic
process (including but not limited to web site publishing software or
third-party scripts which directly or indirectly access or write any of the
files constituting part of the SOFTWARE PRODUCT) perform such modifications,
the LICENSEE is deemed to have performed such modifications and thus the
limited warranty is void.
2. Breaching any portion of this License Agreement.
3. Failing to promptly register the implementation of the SOFTWARE PRODUCT
with WebMO following its implementation the LICENSEE'S site.
4. Deleting or moving (intentionally or inadvertently) any file provided
with, created by, or used by the SOFTWARE PRODUCT.
5. Failing to meet the system requirements for the LICENSEE'S server as
stated on the WebMO download page for the version of the SOFTWARE PRODUCT that
the LICENSEE is attempting to install.
6. Failing to pay required LICENSE FEES in a timely manner for the
LICENSEE'S implementation of the SOFTWARE PRODUCT, in which case the LICENSEE
not only voids the limited warranty, but also breaches this License Agreement
and is also subject to other provisions of this License Agreement.
Site Content
The LICENSEE alone, not WebMO, bears the entire responsibility for the content
of any internet site, even if the LICENSEE is using the SOFTWARE PRODUCT as
part of that internet site. In no way shall WebMO be liable or responsible for
the content of any LICENSEE'S site, including but not limited to any data
created by users of the SOFTWARE PRODUCT.
Title and Copyright
The SOFTWARE PRODUCT remains the property of WebMO. The SOFTWARE PRODUCT is
licensed, not sold. By paying LICENSE FEES, the LICENSEE is granted the right
to use the SOFTWARE PRODUCT as described in this License Agreement, but the
LICENSEE does not assume any rights of ownership or other rights in and to the
SOFTWARE PRODUCT.
The SOFTWARE PRODUCT is copyright <20> 2000 by WebMO, all rights reserved. The
LICENSEE of this SOFTWARE PRODUCT gains the right to use the copyrighted
software but does not gain ownership of the copyright or of the SOFTWARE
PRODUCT.
Consequences of License Violations
Should the LICENSEE use unlicensed copies of the SOFTWARE PRODUCT without the
expressed written consent of WebMO, the LICENSEE is in violation of this
License Agreement. If the LICENSEE was using any portions of the SOFTWARE
PRODUCT which ordinarily require the payment of LICENSE FEES, the LICENSEE
agrees to pay to WebMO the LICENSE FEES necessary to license the unlicensed
implementation according to the schedule of LICENSE FEES available at the time
from the WebMO web site. Additionally, WebMO may require that the LICENSEE
immediately and entirely remove any implementation of the SOFTWARE PRODUCT that
is in breach of this License Agreement. In addition, the LICENSEE shall be
liable for the payment to WebMO of attorney's fees, court costs, punitive
damages, and any other legal remedy appropriate for the situation.
Should the LICENSEE distribute, sell, or otherwise make available any portion
of the SOFTWARE PRODUCT or any modification which is determined to be the
SOFTWARE PRODUCT according to any other sections of this License Agreement, the
LICENSEE shall be liable for the payment to WebMO of the equivalent cost of
LICENSE FEES for the SOFTWARE PRODUCT or for all monies collected by the
LICENSEE in violation of this License Agreement, whichever is more. In
addition, the LICENSEE shall be liable for the payment to WebMO of attorney's
fees, court costs, punitive damages, and any other legal remedy appropriate for
the situation.
Termination
WebMO may, at any time, terminate the License Agreement if WebMO determines
that the License Agreement has been breached. If the termination of License
Agreement occurs as a result of a violation by the LICENSEE or another person,
the LICENSEE must immediately remove all files from his or her implementation
of the SOFTWARE PRODUCT and all links to the same.
In no case shall WebMO be responsible for paying to the LICENSEE or anyone else
any amount of money, even if the termination of the license diminishes or
eliminates revenue raised by the implementation of the SOFTWARE PRODUCT. In no
case shall WebMO be responsible for refunding any LICENSE FEES, regardless of
the reason for termination of this License Agreement, except as provided in the
limited warranty section of this License Agreement.
Transfer of License
The LICENSEE is not permitted to transfer a License to any other individual or
institution without the expressed written consent of WebMO.
Without prior written consent of WebMO, the LICENSEE may not act as a reseller
who sells or otherwise distributes Licenses for the SOFTWARE PRODUCT. Under
this License Agreement, WebMO reserves the right to develop a separate
agreement applying to such reselling activities, and such an agreement, if
entered into by WebMO and the LICENSEE, would supercede this License Agreement
as defined in the separate agreement.
Jurisdiction
This License Agreement is governed by the laws of the State of Michigan. Both
the LICENSEE and WebMO submit to the jurisdiction of the courts of the State of
Michigan. Both the LICENSEE and WebMO agree to commence any litigation that may
arise hereunder in the courts located in the Judicial District of Ottawa County
in the State of Michigan.

View File

@ -1,4 +1,4 @@
End-User License Agreement
End-User License Agreement
NoMachine - Luxembourg

View File

@ -1,237 +0,0 @@
POV-Ray Licence Agreement
GENERAL LICENSE AGREEMENT
FOR PERSONAL USE
Persistence of Vision Ray Tracer (POV-Ray)
Version 3.6 License and Terms & Conditions of Use
version of 1 February 2005
(also known as POVLEGAL.DOC)
Please read through the terms and conditions of this license carefully. This
license is a binding legal agreement between you, the 'User' (an individual
or single entity) and Persistence of Vision Raytracer Pty. Ltd. ACN 105 891
870 (herein also referred to as the "Company"), a company incorporated in the
state of Victoria, Australia, for the product known as the "Persistence of
Vision Ray Tracer", also referred to herein as 'POV-Ray'.
YOUR ATTENTION IS PARTICULARLY DRAWN TO THE DISCLAIMER OF WARRANTY AND NO
LIABILITY AND INDEMNITY PROVISIONS. TO USE THE PERSISTENCE OF VISION RAY
TRACER ("POV-RAY") YOU MUST AGREE TO BE BOUND BY THE TERMS AND CONDITIONS SET
OUT IN THIS DOCUMENT. IF YOU DO NOT AGREE TO ALL THE TERMS AND CONDITIONS OF
USE OF POV-RAY SET OUT IN THIS LICENSE AGREEMENT, OR IF SUCH TERMS AND
CONDITIONS ARE NOT BINDING ON YOU IN YOUR JURISDICTION, THEN YOU MAY NOT USE
POV-RAY IN ANY MANNER. THIS GENERAL LICENSE AGREEMENT MUST ACCOMPANY ALL
POV-RAY FILES WHETHER IN THEIR OFFICIAL OR CUSTOM VERSION FORM. IT MAY NOT BE
REMOVED OR MODIFIED. THIS GENERAL LICENSE AGREEMENT GOVERNS THE USE OF
POV-RAY WORLDWIDE. THIS DOCUMENT SUPERSEDES AND REPLACES ALL PREVIOUS GENERAL
LICENSES.
INTRODUCTION
This document pertains to the use of the Persistence of Vision Ray Tracer
(also known as POV-Ray). It applies to all POV-Ray program source files,
executable (binary) files, scene files, documentation files, help files,
bitmaps and other POV-Ray files contained in official Company archives,
whether in full or any part thereof, and are herein referred to as the
"Software". The Company reserves the right to revise these rules in future
versions and to make additional rules to address new circumstances at any
time. Such rules, when made, will be posted in a revised license file, the
latest version of which is available from the Company website at
http://www.povray.org/povlegal.html.
USAGE PROVISIONS
Subject to the terms and conditions of this agreement, permission is granted
to the User to use the Software and its associated files to create and render
images. The creator of a scene file retains all rights to any scene files
they create, and any images generated by the Software from them. Subject to
the other terms of this license, the User is permitted to use the Software in
a profit-making enterprise, provided such profit arises primarily from use of
the Software and not from distribution of the Software or a work including
the Software in whole or part.
Please refer to http://www.povray.org/povlegal.html for licenses covering
distribution of the Software and works including the Software.
The User is also granted the right to use the scene files, fonts, bitmaps,
and include files distributed in the INCLUDE and SCENES\INCDEMO sub-
directories of the Software in their own scenes. Such permission does not
extend to any other files in the SCENES directory or its sub-directories. The
SCENES files are for the User's enjoyment and education but may not be the
basis of any derivative works unless the file in question explicitly grants
permission to do such.
This licence does not grant any right of re-distribution or use in any manner
other than the above. The Company has separate license documents that apply
to other uses (such as re-distribution via the internet or on CD) ; please
visit http://www.povray.org/povlegal.html for links to these. In particular
you are advised that the sale, lease, or rental of the Software in any form
without written authority from the Company is explicitly prohibited.
Notwithstanding anything in the the balance of this licence agreement,
nothing in this licence agreement permits the installation or use of the
Software in conjunction with any product (including software) produced
or distributed by any party who is, or has been, in violation of this
licence agreement or of the distribution licence
(http://www.povray.org/distribution-license.html)
(or any earlier or later versions of those documents) unless:
a. the Company has explicitly released that party in writing from the
consequences of their non compliance; or
b. both of the following are true:
i. the installation or use of the Software is without the User
being aware of the abovementioned violation; and
ii. the installation or use of the Software is not a result (whether
direct or indirect) of any request or action of the abovementioned
party (or any of its products), any agent of that party (or any of
their products), or any person(s) involved in supplying any such
product to the User.
COPYRIGHT
Copyright © 1991-2003, Persistence of Vision Team.
Copyright © 2003-2004, Persistence of Vision Raytracer Pty. Ltd.
Windows version Copyright © 1996-2003, Christopher Cason.
Copyright subsists in this Software which is protected by Australian and
international copyright laws. The Software is NOT PUBLIC DOMAIN.
Nothing in this agreement shall give you any rights in respect of the
intellectual property of the Company and you acknowledge that you do not
acquire any rights in respect of such intellectual property rights. You
acknowledge that the Software is the valuable intellectual property of the
Company and that if you use, modify or distribute the Software for
unauthorized purposes or in an unauthorized manner (or cause or allow the
forgoing to occur), you will be liable to the Company for any damages it may
suffer (and which you acknowledge it may suffer) as well as statutory damages
to the maximum extent permitted by law and also that you may be liable to
criminal prosecution. You indemnify the Company and the authors of the
Software for every single consequence flowing from the aforementioned events.
DISCLAIMER OF WARRANTY
This Software is provided on an "AS IS" basis, without warranty of any kind,
express or implied, including without limitation, any implied warranties of
merchantability, fitness for a particular purpose and non-infringement of
intellectual property of any third party. This Software has inherent
limitations including design faults and programming bugs. The entire risk as
to the quality and performance of the Software is borne by you, and it is
your responsibility to ensure that it does what you require it to do prior to
using it for any purpose (other than testing it), and prior to distributing
it in any fashion. Should the Software prove defective, you agree that you
alone assume the entire cost resulting in any way from such defect.
This disclaimer of warranty constitutes an essential and material term of
this agreement. If you do not or cannot accept this, or if it is
unenforceable in your jurisdiction, then you may not use the Software in any
manner.
NO LIABILITY
When you use the Software you acknowledge and accept that you do so at your
sole risk. You agree that under no circumstances shall you have any claim
against the Company or anyone associated directly or indirectly with the
Company whether as employee, subcontractor, agent, representative,
consultant, licensee or otherwise ("Company Associates") for any loss,
damages, harm, injury, expense, work stoppage, loss of business information,
business interruption, computer failure or malfunction which may be suffered
by you or by any third party from any cause whatsoever, howsoever arising, in
connection with your use or distribution of the Software even where the
Company were aware, or ought to have been aware, of the potential of such
loss. Damages referred to above shall include direct, indirect, general,
special, incidental, punitive and/or consequential.
This disclaimer of liability constitutes an essential and material term of
this agreement. If you do not or cannot accept this, or if it is
unenforceable in your jurisdiction, then you may not use the Software.
INDEMNITY
You indemnify the Company and Company Associates and hold them harmless
against any claims which may arise from any loss, damages, harm, injury,
expense, work stoppage, loss of business information, business interruption,
computer failure or malfunction, which may be suffered by you or any other
party whatsoever as a consequence of any act or omission of the Company
and/or Company Associates, whether negligent or not, arising out of your use
and/or distribution of the Software, or from any other cause whatsoever,
howsoever arising, in connection with the Software. These provisions are
binding on your estate, heirs, executors, legal successors, administrators,
parents and/or guardians.
This indemnification constitutes an essential and material term of this
agreement. If you do not or cannot accept this, or if it is unenforceable in
your jurisdiction, then you may not use the Software.
HIGH RISK ACTIVITIES
This Software and the output produced by this Software is not fault-tolerant
and is not designed, manufactured or intended for use as on-line control
equipment in hazardous environments requiring fail-safe performance, in which
the failure of the Software could lead or directly or indirectly to death,
personal injury, or severe physical or environmental damage ("High Risk
Activities"). The Company specifically disclaims any express or implied
warranty of fitness for High Risk Activities and explicitly prohibits the use
of the Software for such purposes.
CRYPTOGRAPHIC SIGNING OF DOCUMENTS
Changes to this Agreement and documents issued under its authority may be
cryptographically signed by the POV-Ray Team Co-ordinator's private PGP key.
In the absence of evidence to the contrary, such documents shall be considered,
under the terms of this Agreement, to be authentic provided the signature is
valid. The master copy of this Agreement at http://www.povray.org/povlegal.html
will also be signed by the current version of the team-coordinator's key.
The public key for the POV-Ray Team-coordinator can be retrieved from the
location https://secure.povray.org/keys/. The current fingerprint for it is
B4DD 932A C080 C3A3 6EA2 9952 DB04 4A74 9901 4518.
MISCELLANEOUS
This Agreement constitutes the complete agreement concerning this license.
Any changes to this agreement must be in writing and may take the form of
notifications by the Company to you, or through posting notifications on the
Company website. THE USE OF THIS SOFTWARE BY ANY PERSON OR ENTITY IS
EXPRESSLY MADE CONDITIONAL ON THEIR ACCEPTANCE OF THE TERMS SET FORTH HEREIN.
Except where explicitly stated otherwise herein, if any provision of this
Agreement is found to be invalid or unenforceable, the invalidity or
unenforceability of such provision shall not affect the other provisions of
this agreement, and all provisions not affected by such invalidity or
unenforceability shall remain in full force and effect. In such cases you
agree to attempt to substitute for each invalid or unenforceable provision a
valid or enforceable provision which achieves to the greatest extent
possible, the objectives and intention of the invalid or unenforceable
provision. The validity and interpretation of this agreement will be governed
by the laws of Australia in the state of Victoria (except for conflict of law
provisions).
CONTACT INFORMATION
License inquiries can be made via email; please use the following address
(but see below prior to emailing) :
team-coord-[three-letter month]-[four-digit year]@povray.org
for example, team-coord-jun-2004@povray.org should be used if at the time you
send the email it is the month of June 2004. The changing email addresses are
necessary to combat spam and email viruses. Old email addresses may be deleted
at our discretion.
Note that the above address may change for reasons other than that given above;
please check the version of this document at http://www.povray.org/povlegal.html
for the current address. Note that your inability or failure to contact us
for any reason is not an excuse for violating this licence.
Do NOT send any attachments of any sort other than by prior arrangement.
EMAIL MESSAGES INCLUDING ATTACHMENTS WILL BE DELETED UNREAD.
The following postal address is only for official license business. Please
note that it is preferred that initial queries about licensing be made via
email ; postal mail should only be used when email is not possible, or when
written documents are being exchanged by prior arrangement.
Persistence of Vision Raytracer Pty. Ltd.
PO Box 407
Williamstown,
Victoria 3016
Australia

View File

@ -1,334 +0,0 @@
Sun Microsystems, Inc. Binary Code License Agreement
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED
SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT")
CAREFULLY BEFORE OPENING THE SOFTWARE MEDIA PACKAGE. BY
OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS
OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY
SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT.
IF YOU DO NOT AGREE TO ALL THESE TERMS, PROMPTLY RETURN THE
UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR,
IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE
"DECLINE" BUTTON AT THE END OF THIS AGREEMENT.
1. LICENSE TO USE. Sun grants you a non-exclusive and non-
transferable license for the internal use only of the
accompanying software and documentation and any error
corrections provided by Sun (collectively "Software"), by
the number of users and the class of computer hardware for
which the corresponding fee has been paid.
2. RESTRICTIONS. Software is confidential and copyrighted.
Title to Software and all associated intellectual property
rights is retained by Sun and/or its licensors. Except as
specifically authorized in any Supplemental License Terms,
you may not make copies of Software, other than a single
copy of Software for archival purposes. Unless enforcement
is prohibited by applicable law, you may not modify,
decompile, or reverse engineer Software. Licensee
acknowledges that Licensed Software is not designed or
intended for use in the design, construction, operation or
maintenance of any nuclear facility. Sun Microsystems, Inc.
disclaims any express or implied warranty of fitness for
such uses. No right, title or interest in or to any
trademark, service mark, logo or trade name of Sun or its
licensors is granted under this Agreement.
3. LIMITED WARRANTY. Sun warrants to you that for a period
of ninety (90) days from the date of purchase, as evidenced
by a copy of the receipt, the media on which Software is
furnished (if any) will be free of defects in materials and
workmanship under normal use. Except for the foregoing,
Software is provided "AS IS". Your exclusive remedy and
Sun's entire liability under this limited warranty will be
at Sun's option to replace Software media or refund the fee
paid for Software.
4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS
AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
INVALID.
5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED
BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN
IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
In no event will Sun's liability to you, whether in
contract, tort (including negligence), or otherwise, exceed
the amount paid by you for Software under this Agreement.
The foregoing limitations will apply even if the above
stated warranty fails of its essential purpose.
6. Termination. This Agreement is effective until
terminated. You may terminate this Agreement at any time by
destroying all copies of Software. This Agreement will
terminate immediately without notice from Sun if you fail to
comply with any provision of this Agreement. Upon
Termination, you must destroy all copies of Software.
7. Export Regulations. All Software and technical data
delivered under this Agreement are subject to US export
control laws and may be subject to export or import
regulations in other countries. You agree to comply
strictly with all such laws and regulations and acknowledge
that you have the responsibility to obtain such licenses to
export, re-export, or import as may be required after
delivery to you.
8. U.S. Government Restricted Rights. If Software is
being acquired by or on behalf of the U.S. Government or by
a U.S. Government prime contractor or subcontractor (at any
tier), then the Government's rights in Software and
accompanying documentation will be only as set forth in this
Agreement; this is in accordance with 48 CFR 227.7201
through 227.7202-4 (for Department of Defense (DOD)
acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
acquisitions).
9. Governing Law. Any action related to this Agreement
will be governed by California law and controlling U.S.
federal law. No choice of law rules of any jurisdiction
will apply.
10. Severability. If any provision of this Agreement is
held to be unenforceable, this Agreement will remain in
effect with the provision omitted, unless omission would
frustrate the intent of the parties, in which case this
Agreement will immediately terminate.
11. Integration. This Agreement is the entire agreement
between you and Sun relating to its subject matter. It
supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties
and prevails over any conflicting or additional terms of any
quote, order, acknowledgment, or other communication between
the parties relating to its subject matter during the term
of this Agreement. No modification of this Agreement will
be binding, unless in writing and signed by an authorized
representative of each party.
JAVATM 2 SOFTWARE DEVELOPMENT KIT (J2SDK), STANDARD EDITION,
VERSION 1.4.1_X SUPPLEMENTAL LICENSE TERMS
These supplemental license terms ("Supplemental Terms") add
to or modify the terms of the Binary Code License Agreement
(collectively, the "Agreement"). Capitalized terms not
defined in these Supplemental Terms shall have the same
meanings ascribed to them in the Agreement. These
Supplemental Terms shall supersede any inconsistent or
conflicting terms in the Agreement, or in any license
contained within the Software.
1. Software Internal Use and Development License Grant.
Subject to the terms and conditions of this Agreement,
including, but not limited to Section 4 (Java Technology
Restrictions) of these Supplemental Terms, Sun grants you a
non-exclusive, non- transferable, limited license without
fees to reproduce internally and use internally the binary
form of the Software complete and unmodified for the sole
purpose of designing, developing and testing your Java
applets and applications intended to run on the Java
platform ("Programs").
2. License to Distribute Software. Subject to the terms
and conditions of this Agreement, including, but not limited
to Section 4 (Java Technology Restrictions) of these
Supplemental Terms, Sun grants you a non-exclusive,
non-transferable, limited license without fees to reproduce
and distribute the Software, provided that (i) you
distribute the Software complete and unmodified (unless
otherwise specified in the applicable README file) and only
bundled as part of, and for the sole purpose of running,
your Programs, (ii) the Programs add significant and primary
functionality to the Software, (iii) you do not distribute
additional software intended to replace any component(s) of
the Software (unless otherwise specified in the applicable
README file), (iv) you do not remove or alter any
proprietary legends or notices contained in the Software,
(v) you only distribute the Software subject to a license
agreement that protects Sun's interests consistent with the
terms contained in this Agreement, and (vi) you agree to
defend and indemnify Sun and its licensors from and against
any damages, costs, liabilities, settlement amounts and/or
expenses (including attorneys' fees) incurred in connection
with any claim, lawsuit or action by any third party that
arises or results from the use or distribution of any and
all Programs and/or Software. (vi) include the following
statement as part of product documentation (whether hard
copy or electronic), as a part of a copyright page or
proprietary rights notice page, in an "About" box or in any
other form reasonably designed to make the statement visible
to users of the Software: "This product includes code
licensed from RSA Security, Inc.", and (vii) include the
statement, "Some portions licensed from IBM are available at
http://oss.software.ibm.com/icu4j/".
3. License to Distribute Redistributables. Subject to the
terms and conditions of this Agreement, including but not
limited to Section 4 (Java Technology Restrictions) of these
Supplemental Terms, Sun grants you a non-exclusive,
non-transferable, limited license without fees to reproduce
and distribute those files specifically identified as
redistributable in the Software "README" file
("Redistributables") provided that: (i) you distribute the
Redistributables complete and unmodified (unless otherwise
specified in the applicable README file), and only bundled
as part of Programs, (ii) you do not distribute additional
software intended to supersede any component(s) of the
Redistributables (unless otherwise specified in the
applicable README file), (iii) you do not remove or alter
any proprietary legends or notices contained in or on the
Redistributables, (iv) you only distribute the
Redistributables pursuant to a license agreement that
protects Sun's interests consistent with the terms contained
in the Agreement, (v) you agree to defend and indemnify Sun
and its licensors from and against any damages, costs,
liabilities, settlement amounts and/or expenses (including
attorneys' fees) incurred in connection with any claim,
lawsuit or action by any third party that arises or results
from the use or distribution of any and all Programs and/or
Software, (vi) include the following statement as part of
product documentation (whether hard copy or electronic), as
a part of a copyright page or proprietary rights notice
page, in an "About" box or in any other form reasonably
designed to make the statement visible to users of the
Software: "This product includes code licensed from RSA
Security, Inc.", and (vii) include the statement, "Some
portions licensed from IBM are available at
http://oss.software.ibm.com/icu4j/".
4. Java Technology Restrictions. You may not modify the
Java Platform Interface ("JPI", identified as classes
contained within the "java" package or any subpackages of
the "java" package), by creating additional classes within
the JPI or otherwise causing the addition to or modification
of the classes in the JPI. In the event that you create an
additional class and associated API(s) which (i) extends the
functionality of the Java platform, and (ii) is exposed to
third party software developers for the purpose of
developing additional software which invokes such additional
API, you must promptly publish broadly an accurate
specification for such API for free use by all developers.
You may not create, or authorize your licensees to create,
additional classes, interfaces, or subpackages that are in
any way identified as "java", "javax", "sun" or similar
convention as specified by Sun in any naming convention
designation.
5. Notice of Automatic Software Updates from Sun. You
acknowledge that the Software may automatically download,
install, and execute applets, applications, software
extensions, and updated versions of the Software from Sun
("Software Updates"), which may require you to accept
updated terms and conditions for installation. If
additional terms and conditions are not presented on
installation, the Software Updates will be considered part
of the Software and subject to the terms and conditions of
the Agreement.
6. Notice of Automatic Downloads. You acknowledge that, by
your use of the Software and/or by requesting services that
require use of the Software, the Software may automatically
download, install, and execute software applications from
sources other than Sun ("Other Software"). Sun makes no
representations of a relationship of any kind to licensors
of Other Software. TO THE EXTENT NOT PROHIBITED BY LAW, IN
NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST
REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
OR RELATED TO THE USE OF OR INABILITY TO USE OTHER SOFTWARE,
EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
7. Distribution by Publishers. This section pertains to
your distribution of the Software with your printed book or
magazine (as those terms are commonly used in the industry)
relating to Java technology ("Publication"). Subject to and
conditioned upon your compliance with the restrictions and
obligations contained in the Agreement, in addition to the
license granted in Paragraph 1 above, Sun hereby grants to
you a non-exclusive, nontransferable limited right to
reproduce complete and unmodified copies of the Software on
electronic media (the "Media") for the sole purpose of
inclusion and distribution with your Publication(s), subject
to the following terms: (i) You may not distribute the
Software on a stand-alone basis; it must be distributed with
your Publication(s); (ii) You are responsible for
downloading the Software from the applicable Sun web site;
(iii) You must refer to the Software as JavaTM 2 Software
Development Kit, Standard Edition, Version 1.4.1; (iv) The
Software must be reproduced in its entirety and without any
modification whatsoever (including, without limitation, the
Binary Code License and Supplemental License Terms
accompanying the Software and proprietary rights notices
contained in the Software); (v) The Media label shall
include the following information: Copyright 2002, Sun
Microsystems, Inc. All rights reserved. Use is subject to
license terms. Sun, Sun Microsystems, the Sun logo,
Solaris, Java, the Java Coffee Cup logo, J2SE , and all
trademarks and logos based on Java are trademarks or
registered trademarks of Sun Microsystems, Inc. in the U.S.
and other countries. This information must be placed on the
Media label in such a manner as to only apply to the Sun
Software; (vi) You must clearly identify the Software as
Sun's product on the Media holder or Media label, and you
may not state or imply that Sun is responsible for any
third-party software contained on the Media; (vii) You may
not include any third party software on the Media which is
intended to be a replacement or substitute for the Software;
(viii) You shall indemnify Sun for all damages arising from
your failure to comply with the requirements of this
Agreement. In addition, you shall defend, at your expense,
any and all claims brought against Sun by third parties, and
shall pay all damages awarded by a court of competent
jurisdiction, or such settlement amount negotiated by you,
arising out of or in connection with your use, reproduction
or distribution of the Software and/or the Publication.
Your obligation to provide indemnification under this
section shall arise provided that Sun: (i) provides you
prompt notice of the claim; (ii) gives you sole control of
the defense and settlement of the claim; (iii) provides you,
at your expense, with all available information, assistance
and authority to defend; and (iv) has not compromised or
settled such claim without your prior written consent; and
(ix) You shall provide Sun with a written notice for each
Publication; such notice shall include the following
information: (1) title of Publication, (2) author(s), (3)
date of Publication, and (4) ISBN or ISSN numbers. Such
notice shall be sent to Sun Microsystems, Inc., 4150 Network
Circle, M/S USCA12-110, Santa Clara, California 95054, U.S.A
, Attention: Contracts Administration.
8. Trademarks and Logos. You acknowledge and agree as
between you and Sun that Sun owns the SUN, SOLARIS, JAVA,
JINI, FORTE, and iPLANET trademarks and all SUN, SOLARIS,
JAVA, JINI, FORTE, and iPLANET-related trademarks, service
marks, logos and other brand designations ("Sun Marks"), and
you agree to comply with the Sun Trademark and Logo Usage
Requirements currently located at
http://www.sun.com/policies/trademarks. Any use you make of
the Sun Marks inures to Sun's benefit.
9. Source Code. Software may contain source code that is
provided solely for reference purposes pursuant to the terms
of this Agreement. Source code may not be redistributed
unless expressly provided for in this Agreement.
10. Termination for Infringement. Either party may
terminate this Agreement immediately should any Software
become, or in either party's opinion be likely to become,
the subject of a claim of infringement of any intellectual
property right.
For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A
(LFI#120080/Form ID#011801)

View File

@ -1,123 +0,0 @@
JavaTM 2, Standard Edition (J2SETM) Specification ("Specification")
Version: 1.4
Status: FCS
Release: February 13, 2002
Copyright 2002 Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, California 94303, U.S.A.
All rights reserved.
NOTICE
The Specification is protected by copyright and the information
described therein may be protected by one or more U.S. patents, foreign
patents, or pending applications. Except as provided under the
following license, no part of the Specification may be reproduced in any
form by any means without the prior written authorization of Sun
Microsystems, Inc. ("Sun") and its licensors, if any. Any use of the
Specification and the information described therein will be governed by
the terms and conditions of this license and the Export Control
Guidelines as set forth in the Terms of Use on Sun's website. By
viewing, downloading or otherwise copying the Specification, you agree
that you have read, understood, and will comply with all of the terms
and conditions set forth herein.
Sun hereby grants you a fully-paid, non-exclusive, non-transferable,
worldwide, limited license (without the right to sublicense), under
Sun's intellectual property rights that are essential to practice the
Specification, to internally practice the Specification for the purpose
of designing and developing your Java applets and applications intended
to run on the Java platform or creating a clean room implementation of
the Specification that: (i) includes a complete implementation of the
current version of the Specification, without subsetting or
supersetting; (ii) implements all of the interfaces and functionality of
the Specification without subsetting or supersetting; (iii) includes a
complete implementation of any optional components (as defined by the
Specification) which you choose to implement, without subsetting or
supersetting; (iv) implements all of the interfaces and functionality of
such optional components, without subsetting or supersetting; (v) does
not add any additional packages, classes or interfaces to the "java.*"
or "javax.*" packages or subpackages or other packages defined by the
Specification; (vi) satisfies all testing requirements available from
Sun relating to the most recently published version of the Specification
six (6) months prior to any release of the clean room implementation or
upgrade thereto; (vii) does not derive from any Sun source code or
binary code materials; and (viii) does not include any Sun source code
or binary code materials without an appropriate and separate license
from Sun. The Specification contains the proprietary information of Sun
and may only be used in accordance with the license terms set forth
herein. This license will terminate immediately without notice from Sun
if you fail to comply with any provision of this license. Upon
termination or expiration of this license, you must cease use of or
destroy the Specification.
TRADEMARKS
No right, title, or interest in or to any trademarks, service marks, or
trade names of Sun or Sun's licensors is granted hereunder. Sun, Sun
Microsystems, the Sun logo, Java, J2SE, and the Java Coffee Cup Logo are
trademarks or registered trademarks of Sun Microsystems, Inc. in the
U.S. and other countries.
DISCLAIMER OF WARRANTIES
THE SPECIFICATION IS PROVIDED "AS IS". SUN MAKES NO REPRESENTATIONS OR
WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO,
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
NON-INFRINGEMENT THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR
ANY PURPOSE OR THAT ANY PRACTICE OR IMPLEMENTATION OF SUCH CONTENTS WILL
NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADE SECRETS OR OTHER
RIGHTS. This document does not represent any commitment to release or
implement any portion of the Specification in any product.
THE SPECIFICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL
ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION THEREIN;
THESE CHANGES WILL BE INCORPORATED INTO NEW VERSIONS OF THE
SPECIFICATION, IF ANY. SUN MAY MAKE IMPROVEMENTS AND/OR CHANGES TO THE
PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THE SPECIFICATION AT ANY
TIME. Any use of such changes in the Specification will be governed by
the then-current license for the applicable version of the
Specification.
LIMITATION OF LIABILITY
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS
LICENSORS BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION, LOST
REVENUE, PROFITS OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL,
INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE
THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO ANY FURNISHING,
PRACTICING, MODIFYING OR ANY USE OF THE SPECIFICATION, EVEN IF SUN
AND/OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
You will indemnify, hold harmless, and defend Sun and its licensors from
any claims arising or resulting from: (i) your use of the Specification;
(ii) the use or distribution of your Java application, applet and/or
clean room implementation; and/or (iii) any claims that later versions
or releases of any Specification furnished to you are incompatible with
the Specification provided to you under this license.
RESTRICTED RIGHTS LEGEND
U.S. Government: If this Specification is being acquired by or on behalf
of the U.S. Government or by a U.S. Government prime contractor or
subcontractor (at any tier), then the Government's rights in the
Software and accompanying documentation shall be only as set forth in
this license; this is in accordance with 48 C.F.R. 227.7201 through
227.7202-4 (for Department of Defense (DoD) acquisitions) and with 48
C.F.R. 2.101 and 12.212 (for non-DoD acquisitions).
REPORT
You may wish to report any ambiguities, inconsistencies or inaccuracies
you may find in connection with your use of the Specification
("Feedback"). To the extent that you provide Sun with any Feedback, you
hereby: (i) agree that such Feedback is provided on a non-proprietary
and non-confidential basis, and (ii) grant Sun a perpetual,
non-exclusive, worldwide, fully paid-up, irrevocable license, with the
right to sublicense through multiple levels of sublicensees, to
incorporate, disclose, and use without limitation the Feedback for any
purpose related to the Specification and future versions,
implementations, and test suites thereof.
(LFI#111131/Form ID#011801)

View File

@ -1,11 +1,719 @@
# ChangeLog for profile directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/profiles/ChangeLog,v 1.9935 2015/04/17 05:04:27 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/ChangeLog,v 1.10147 2015/06/22 10:41:14 grobian Exp $
#
# This ChangeLog should include records for all changes in profiles directory.
# Only typo fixes which don't affect portage/repoman behaviour could be avoided
# here. If in doubt put a record here!
22 Jun 2015; Fabian Groffen <grobian@gentoo.org> package.mask:
Extend Exim 4.86 RC mask
22 Jun 2015; Patrice Clement <monsieurp@gentoo.org> package.mask:
Mask dev-java/mockmaker.
21 Jun 2015; Ulrich Müller <ulm@gentoo.org> license_groups:
Move wxWinLL-3.1 from OSI-APPROVED to MISC-FREE; it was erroneously added to
the former group in revision 1.63. Delete wxWinLL-3 from MISC-FREE, as it is
already listed in OSI-APPROVED.
21 Jun 2015; Pacho Ramos <pacho@gentoo.org> arch/sparc/package.use.mask:
Drop unneeded use.mask
20 Jun 2015; James Le Cuirot <chewi@gentoo.org> package.mask:
Mask app-eselect/eselect-ecj.
20 Jun 2015; James Le Cuirot <chewi@gentoo.org> use.desc:
Remove unused java6 flag.
20 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add a dummy Test-use-ok to the Perl 5.22 package mask
20 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add a dummy Test-Tester to the Perl 5.22 package mask
20 Jun 2015; Ulrich Müller <ulm@gentoo.org> license_groups:
Remove unused sun-bcla-java-vm license from EULA group.
19 Jun 2015; <grknight@gentoo.org> package.mask:
The Cyphertite backup service is closing as of August 18th, 2015.
app-backup/cyphertite masked for removal in 30 days. Bug 552578
19 Jun 2015; Mike Gilbert <floppym@gentoo.org> package.mask:
Mask virtual/libgudev-230 and related providers for bug 552036.
18 Jun 2015; Johannes Huber <johu@gentoo.org> package.mask:
Update KDE Plasma 5.3.1 mask.
18 Jun 2015; NP-Hardass <NP-Hardass@gentoo.org> package.mask:
Remove mask for =net-misc/teamviewer-10.0.36281 as it is no longer in the
tree
16 Jun 2015; Jauhien Piatlicki <jauhien@gentoo.org> package.mask:
Masked dev-util/ext4_utils and dev-util/libsparse for removal
15 Jun 2015; Fabian Groffen <grobian@gentoo.org> package.mask:
Extend Exim 4.86 RC mask
14 Jun 2015; Patrice Clement <monsieurp@gentoo.org> package.mask:
Masked dev-java/aspecktwerkz for removal.
14 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Mask obsolete Perl virtuals for removal
14 Jun 2015; Patrick Lauer <patrick@gentoo.org> package.mask:
Mask broken udev-init-scripts #551724
13 Jun 2015; Mikle Kolyada <zlogene@gentoo.org> package.mask:
Fix perl-mask date
13 Jun 2015; Pacho Ramos <pacho@gentoo.org> arch/ia64/package.use.mask,
arch/sparc/package.use.mask:
package.use.mask net-misc/spice-gtk webdav (#513108)
13 Jun 2015; Pacho Ramos <pacho@gentoo.org> arch/ia64/package.use.mask,
arch/sparc/package.use.mask:
package.use.mask net-misc/spice-gtk smartcard (#513108)
13 Jun 2015; Ole Markus With <olemarkus@gentoo.org> package.mask:
Add =virtual/httpd-php to package.mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> updates/2Q-2015:
Move perl-core/Module-Pluggable to dev-perl
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> updates/2Q-2015:
Move perl-core/Module-Build to dev-perl
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> updates/2Q-2015:
Move perl-core/CGI to dev-perl
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Unicode::Collate to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
(Semi-)Lastrite unused perl-core packages
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Remove obsolete Perl 5.18 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Remove obsolete Perl 5.20.1 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add threads::shared to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add threads to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add parent to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add libnet to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add if to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add bignum to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add autodie to Perl 5.22 mask
13 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add XSLoader to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Time::Piece to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Text::ParseWords to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Text::Balanced to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Test::Simple to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Test::Harness to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Term::ReadLine to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Term::ANSIColor to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Storable to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Socket to Perl 5.22 mask
12 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Scalar::List::Utils to Perl 5.22 mask
12 Jun 2015; Ole Markus With <olemarkus@gentoo.org> package.mask:
Mask pre release versions of PHP 7
12 Jun 2015; William Hubbs <williamh@gentoo.org> package.mask:
udev-220-r2 builds again, so unmask it, thanks to poly-c for pointing out the
missing patch.
12 Jun 2015; William Hubbs <williamh@gentoo.org> package.mask:
Mask udev-220-r2 temporarily while waiting for response about missing patch
on bug #551808
11 Jun 2015; Pacho Ramos <pacho@gentoo.org>
arch/alpha/package.use.stable.mask:
update stable masks
10 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Safe to Perl 5.22 mask
10 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Pod::Simple to Perl 5.22 mask
10 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Pod::Parser to Perl 5.22 mask
10 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Pod::Escapes to Perl 5.22 mask
10 Jun 2015; Pacho Ramos <pacho@gentoo.org>
arch/powerpc/package.use.stable.mask:
Update package.use.stable.mask
10 Jun 2015; Michael Haubenwallner <haubi@gentoo.org> arch.list,
profiles.desc:
add arch x64-cygwin; add profiles.desc prefix/windows/cygwin/2.0/x86,x64
10 Jun 2015; Mike Gilbert <floppym@gentoo.org> targets/desktop/package.use:
Enable dev-libs/libgudev[introspection]
10 Jun 2015; Mike Gilbert <floppym@gentoo.org>
targets/systemd/package.use.mask:
Mask dev-libs/libgudev[static-libs]
10 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> package.mask:
Drop Gnome 3.16 mask.
09 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> base/package.use.force,
base/package.use.mask:
Add package.use tweaks for net-libs/webkit-gtk-2.8.
09 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org> package.mask:
Fix cogl mask, thanks to Gilles for noticing
09 Jun 2015; Hans de Graaff <graaff@gentoo.org> updates/2Q-2015:
Move dev-ruby/temple versions into the correct slot.
09 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org> package.mask:
Fix gnome-3.16 overmasking, thanks to floppym for noticing
08 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> updates/2Q-2015:
Slot moves for phodav.
08 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> package.mask:
Add mask for Gnome 3.16.
08 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Perl::OSType to Perl 5.22 mask
08 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Module::Metadata to Perl 5.22 mask
08 Jun 2015; Pacho Ramos <pacho@gentoo.org>
arch/powerpc/package.use.stable.mask:
Update package.use.stable.mask to try to move more gnome-mm stuff to testing
in less common arches
08 Jun 2015; Aaron W. Swenson <titanofold@gentoo.org> updates/2Q-2015:
Move dev-db/pygresql to dev-python/pygresql as it is a Python specifc driver.
08 Jun 2015; Fabian Groffen <grobian@gentoo.org> package.mask:
Mask upcoming Exim 4.86 RC1
07 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Module::Load::Conditional to Perl 5.22 mask
07 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Math::BigRat to Perl 5.22 mask
07 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Math::BigInt to Perl 5.22 mask
07 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add MIME::Base64 to Perl 5.22 mask
07 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Locale::Maketext to Perl 5.22 mask
07 Jun 2015; Pacho Ramos <pacho@gentoo.org>
arch/sparc/package.use.stable.mask:
Update package.use.stable.mask for arches not doing gnome stabilizations
06 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add JSON::PP to Perl 5.22 mask
06 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add IO::Socket::IP to Perl 5.22 mask
06 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add IO::Compress to Perl 5.22 mask
06 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add IO to Perl 5.22 mask
06 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add HTTP::Tiny to Perl 5.22 mask
06 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Getopt::Long to Perl 5.22 mask
05 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Filter::Simple to Perl 5.22 mask
05 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add File::Spec to Perl 5.22 mask
05 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add ExtUtils::ParseXS to Perl 5.22 mask
05 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add ExtUtils::MakeMaker to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add ExtUtils::Install to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add ExtUtils::Command to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add ExtUtils::CBuilder to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Exporter to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Digest::SHA to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Digest::MD5 to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Devel::PPPort to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Data::Dumper to Perl 5.22 mask
04 Jun 2015; Michał Górny <mgorny@gentoo.org> package.mask:
Extend the PyPy 2.6.0 mask to the binary package and virtual.
04 Jun 2015; Michael Palimaka <kensington@gentoo.org> updates/2Q-2015:
Remove package included by accident.
04 Jun 2015; Michael Palimaka <kensington@gentoo.org>
arch/nios2/package.use.mask, targets/desktop/kde/package.use,
targets/desktop/plasma/package.use:
Move various kde-base packages to kde-apps.
04 Jun 2015; Michael Palimaka <kensington@gentoo.org> updates/2Q-2015:
Move various kde-base packages to kde-apps.
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add DB_File to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Compress::Raw::Zlib to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Compress::Raw::Bzip2 to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Carp to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add CPAN::Meta::Requirements to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add CPAN::Meta to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add CPAN to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add B::Debug to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Add Attribute::Handlers to Perl 5.22 mask
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Start with Perl version bump, mask work in progress
04 Jun 2015; Michał Górny <mgorny@gentoo.org> package.mask:
Mask new PyPy for testing & binpkg build.
04 Jun 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Mask Perl 5.20.1 for removal.
04 Jun 2015; Michael Palimaka <kensington@gentoo.org> categories:
Introduce new kde-apps category.
04 Jun 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Remove masked for removed ruby packages.
04 Jun 2015; Jeroen Roovers <jer@gentoo.org> thirdpartymirrors:
Remove two more sourceforge.net mirrors.
04 Jun 2015; Jeroen Roovers <jer@gentoo.org> thirdpartymirrors:
Remove ignum.dl.sourceforge.net.
02 Jun 2015; Pacho Ramos <pacho@gentoo.org> arch/arm/package.use.stable.mask,
arch/powerpc/package.use.stable.mask:
Update use.stable.masks due to missing keywords
02 Jun 2015; Pacho Ramos <pacho@gentoo.org>
arch/powerpc/ppc32/package.use.mask:
Update use.masks due to missing keywords
02 Jun 2015; Michael Palimaka <kensington@gentoo.org> thirdpartymirrors:
Remove dead KDE mirror.
02 Jun 2015; Ulrich Müller <ulm@gentoo.org>
arch/amd64/no-multilib/package.mask, arch/amd64/use.mask,
base/package.use.force, default/linux/uclibc/amd64/package.mask,
default/linux/uclibc/use.mask, default/linux/use.mask, embedded/use.mask,
features/64bit-native/package.mask, features/selinux/use.mask,
hardened/linux/amd64/no-multilib/package.mask,
hardened/linux/musl/amd64/package.mask, hardened/linux/musl/use.mask,
hardened/linux/use.mask, prefix/aix/use.mask, prefix/bsd/use.mask,
prefix/darwin/use.mask, prefix/hpux/use.mask, prefix/mint/use.mask,
prefix/sunos/use.mask, prefix/windows/interix/use.mask,
prefix/windows/winnt/use.mask, targets/desktop/package.use, uclibc/use.mask:
Remove various masks related to emul-linux* from subprofiles.
02 Jun 2015; Ulrich Müller <ulm@gentoo.org> package.mask:
Drop mask for dev-tex/mh after package removal.
01 Jun 2015; Michael Palimaka <kensington@gentoo.org> profiles.desc:
Introduce new profile for KDE Plasma 5.
01 Jun 2015; Michał Górny <mgorny@gentoo.org> package.mask:
Replace lastrite mask of emul-linux-x86 with informatory mask.
01 Jun 2015; Pawel Hajdan jr <phajdan.jr@gentoo.org> package.mask:
Roll dev channel mask for chromium-45.
31 May 2015; Johannes Huber <johu@gentoo.org>
default/linux/amd64/package.use.mask, package.mask:
Mask KDE Plasma 5.3.1 for testing.
31 May 2015; Jason Zaman <perfinion@gentoo.org> use.desc:
update debug url to wiki, bug 550874
31 May 2015; Markos Chandras <hwoarang@gentoo.org> package.mask:
Bump lightdm mask to 1.15
29 May 2015; Ulrich Müller <ulm@gentoo.org> license_groups:
The HPND and IJG licenses have been approved by the FSF. Add HPND to the
GPL-COMPATIBLE group; move IJG from the MISC-FREE to the GPL-COMPATIBLE
group.
29 May 2015; Michael Haubenwallner <haubi@gentoo.org> base/make.defaults,
base/use.mask, prefix/windows/cygwin/make.defaults,
prefix/windows/interix/make.defaults, prefix/windows/use.force,
prefix/windows/use.mask, prefix/windows/winnt/make.defaults:
Cygwin,Interix are pure ELIBC values, KERNEL is Winnt (bug#544518)
28 May 2015; Andreas K. Hüttel <dilfridge@gentoo.org> package.mask:
Improve lcms:0 mask message
28 May 2015; Mike Gilbert <floppym@gentoo.org> package.mask:
Unmask dev-lang/python-2.7.10.
28 May 2015; Lars Wendler <polynomial-c@gentoo.org> package.mask:
Masked =dev-lang/python-2.7.10 until bug #550632 is resolved.
27 May 2015; Matthias Maier <tamiko@gentoo.org> package.mask:
mask lcms:0 for removal, bug #526642
26 May 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Clarify mask message
26 May 2015; Michał Górny <mgorny@gentoo.org> package.mask:
Clean up after removing some lastrited packages.
25 May 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Mask gorg for removal.
25 May 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
targets/desktop/gnome/package.use:
Enable mesa[gles2] by default for gnome, needed for cogl[gles2] which is
needed for mutter.
24 May 2015; Patrice Clement <monsieurp@gentoo.org> package.mask:
Mask dev-java/excalibur-logger for removal.
24 May 2015; Michael Palimaka <kensington@gentoo.org>
targets/desktop/plasma/package.use:
Avoid kde-apps/kde4-l10n blockers with Plasma 5.
23 May 2015; Manuel Rüger <mrueg@gentoo.org> package.mask:
Cleanup unneeded masks.
23 May 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Remove dev-ruby/json_pure mask now that package is removed.
20 May 2015; Jeroen Roovers <jer@gentoo.org> desc/linguas.desc:
_The_ Netherlands.
20 May 2015; Jeroen Roovers <jer@gentoo.org> desc/linguas.desc:
Add sa, de_1901, de_CH. Sort.
19 May 2015; James Le Cuirot <chewi@gentoo.org> package.mask:
dev-java/classworlds, dev-java/diablo-jdk, and dev-java/diablo-jre-bin have
been removed. I haven't forgotten about emul-linux-x86-java but not quite
ready to remove it yet.
18 May 2015; Justin Lecher <jlec@gentoo.org> desc/linguas.desc:
Add locale used by scribus
18 May 2015; Zac Medico <zmedico@gentoo.org> categories:
Add dev-go category.
17 May 2015; Markos Chandras <hwoarang@gentoo.org> desc/linguas.desc:
Add tt_RU locale for the Tatar language locale for Russia. It's used by
x11-misc/pcmanfm
17 May 2015; Ben de Groot <yngwin@gentoo.org>
+arch/powerpc/ppc32/package.mask, arch/powerpc/ppc32/use.mask:
Fix Qt5 mask for ppc
15 May 2015; Pacho Ramos <pacho@gentoo.org> arch/powerpc/use.stable.mask:
Update use.stable.mask
15 May 2015; Pacho Ramos <pacho@gentoo.org>
arch/powerpc/package.use.stable.mask:
package.use.stable.mask due to missing keywords
15 May 2015; Pacho Ramos <pacho@gentoo.org> base/package.use.stable.mask:
package.use.stable.mask ffmpeg for vice
14 May 2015; Anthony G. Basile <blueness@gentoo.org> package.mask:
No longer required by any packages in the tree. Maksed for removal in 30
days.
13 May 2015; Pacho Ramos <pacho@gentoo.org> base/package.use.stable.mask:
texinfo-5 cannot be stabilized yet for gnat-gcc-4.6*
13 May 2015; Sebastian Pipping <sping@gentoo.org> license_groups:
Add just-added licensed AGPL-3+ to @GPL-COMPATIBLE and @OSI-APPROVED (where
AGPL-3 is, already)
13 May 2015; Patrice Clement <monsieurp@gentoo.org> package.mask:
dev-java/xt masked for removal in 30 days.
13 May 2015; Ian Delaney <idella4@gentoo.org> package.mask:
dev-python/gevent-zeromq masked for removal in 30 days
13 May 2015; Hans de Graaff <graaff@gentoo.org> updates/2Q-2015:
Move dev-ruby/vcr-2.9.3 into SLOT 2.
12 May 2015; Michael Palimaka <kensington@gentoo.org>
targets/desktop/plasma/package.use:
Avoid net-libs/libkpeople blockers with KF5.
10 May 2015; Mike Gilbert <floppym@gentoo.org> package.mask:
Also mask open-vm-tools-kmod snapshots.
10 May 2015; Aaron Bauman <bman@gentoo.org> profiles/package.mask:
Remove net-misc/gns3 mask following tree removal
09 May 2015; Ben de Groot <yngwin@gentoo.org> desc/linguas.desc:
Add doi and syc locales
08 May 2015; Ulrich Müller <ulm@gentoo.org> license_groups:
Fix typo in name of Nokia-Qt-LGPL-Exception-1.1 license.
08 May 2015; Ulrich Müller <ulm@gentoo.org> license_groups:
Remove unused licenses.
07 May 2015; Pacho Ramos <pacho@gentoo.org>
targets/desktop/gnome/package.use:
Some more defaults needed by mutter for being able to 'emerge gnome'
(#547300)
07 May 2015; Pacho Ramos <pacho@gentoo.org>
targets/desktop/gnome/make.defaults:
Enable 'tracker' by default (#547302), drop 'socialweb' as it's going to be
removed
07 May 2015; Michael Palimaka <kensington@gentoo.org>
targets/desktop/plasma/package.use:
Avoid sys-auth/polkit-kde-agent blockers with Plasma 5.
07 May 2015; Mike Gilbert <floppym@gentoo.org> package.mask:
Mask open-vm-tools dev snapshots.
06 May 2015; Justin Lecher <jlec@gentoo.org> package.mask:
Remove obsolete mask for virtual/python-cffi
05 May 2015; Justin Lecher <jlec@gentoo.org> base/package.use.stable.mask:
Mask USE=qt5 for stable app-office/texmaker
05 May 2015; Ben de Groot <yngwin@gentoo.org> package.mask:
Removing x11-themes/gtk-engines-qtcurve (bug #544406)
05 May 2015; Ian Delaney <idella4@gentoo.org> package.mask:
remove entry for mask / removal of sci-geosciences/LatLongUTMconversion
03 May 2015; Mikle Kolyada <zlogene@gentoo.org> package.mask:
Drop obsolete perl masks
03 May 2015; Jauhien Piatlicki <jauhien@gentoo.org> base/package.use.mask:
unmask system-llvm USE for dev-lang/rust, bug #546704
03 May 2015; Andreas K. Huettel <dilfridge@gentoo.org> updates/2Q-2015:
Fix capitalization of dev-perl/Class-ReturnValue
03 May 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Mask dev-ruby/fssm for removal.
03 May 2015; Ben de Groot <yngwin@gentoo.org> arch/amd64/package.use,
+arch/arm/package.use, +arch/powerpc/ppc32/package.use, arch/x86/package.use:
Enable luajit on media-video/mpv for OSC by default
03 May 2015; Ben de Groot <yngwin@gentoo.org> arch/alpha/package.use.mask,
arch/arm/package.use.mask, arch/powerpc/ppc64/package.use.mask,
arch/sparc/package.use.mask:
Mask mpv[rubberband], bug #548446
02 May 2015; Andreas K. Huettel <dilfridge@gentoo.org> package.mask:
Remove obsolete mask of app-laptop/gtkpbbuttons and app-laptop/gkrellm-pmu
01 May 2015; Mike Gilbert <floppym@gentoo.org>
+default/linux/amd64/13.0/systemd/eapi,
+default/linux/amd64/13.0/systemd/parent, default/linux/amd64/ChangeLog,
profiles.desc:
Add basic systemd profile for amd64
01 May 2015; Andreas K. Huettel <dilfridge@gentoo.org> updates/2Q-2015:
Fix capitalization of dev-perl/ExtUtils-Depends
30 Apr 2015; <grknight@gentoo.org> package.mask:
Adjust package mask for smarty to include PEAR-PhpDocumentor-1.4.4 while work
is done on that package
30 Apr 2015; <grknight@gentoo.org> package.mask:
Mask <dev-php/smarty-2.6.29 as it is unknown if vulnerable to security bug
526542. Removal in 30 days as to not break scripts using the old version
29 Apr 2015; Ryan Hill <rhill@gentoo.org> package.mask:
Mask >=sys-devel/gcc-config-1.8-r1
Moving to /lib/gentoo/functions.sh broke the eclass
by changing output it relies on. See bug #504118,
547586, and 547962.
28 Apr 2015; James Le Cuirot <chewi@gentoo.org> package.mask:
dev-java/jna-posix has been removed.
28 Apr 2015; Ulrich Müller <ulm@gentoo.org> package.mask:
Mask dev-tex/mh for removal.
28 Apr 2015; Sebastian Pipping <sping@gentoo.org> package.mask:
Mask <www-apps/wordpress-4.2.1 for removal in 30 days
27 Apr 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Mask rubinius 1.x for removal.
27 Apr 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Mask obsolete rubyforge.org related packages for removal.
26 Apr 2015; Jeroen Roovers <jer@gentoo.org> base/package.use.stable.mask:
Mask USE=mongodb for net-analyzer/pmacct (bug #542210).
26 Apr 2015; Pacho Ramos <pacho@gentoo.org> package.mask:
Clean obsolete entries
26 Apr 2015; Pacho Ramos <pacho@gentoo.org> package.mask:
Package was fixed, unmasked then
26 Apr 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Mask ruby19-only packages for removal.
25 Apr 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Remove mask for app-admin/chef now that packages have been removed.
24 Apr 2015; Sergey Popov <pinkbyte@gentoo.org> package.mask:
Mask net-libs/libcapsinetwork
23 Apr 2015; Mike Frysinger <vapier@gentoo.org> package.mask:
Unmask newer isl & cloog #547480.
23 Apr 2015; Markos Chandras <hwoarang@gentoo.org> package.mask:
unmask minitube again
22 Apr 2015; Mike Gilbert <floppym@gentoo.org> targets/systemd/package.mask,
+targets/systemd/package.use.force:
Force systemd for udev virtuals, bug 547360.
21 Apr 2015; Pacho Ramos <pacho@gentoo.org> targets/systemd/package.mask:
Mask other udev providers apart of systemd for systemd subprofiles to help
portage to not try to pull in wrong provider leading to strange blockers
20 Apr 2015; James Le Cuirot <chewi@gentoo.org> package.mask:
Unmask Java 8. This is long overdue and it's looking good now.
19 Apr 2015; Hans de Graaff <graaff@gentoo.org> package.mask:
Mask dev-ruby/json_pure for removal.
19 Apr 2015;; Ian Delaney <idella4@gentoo.org> package.mask:
unmask app-backup/pdumpfs now again in working order wrt bug #509960
19 Apr 2015; Markos Chandras <hwoarang@gentoo.org> package.mask:
Unleash rb_libtorrent-1.0.X to ~testing
19 Apr 2015; Markos Chandras <hwoarang@gentoo.org> package.mask:
Mask media-video/minitube since it's now broken. See #546866
19 Apr 2015; Ben de Groot <yngwin@gentoo.org>
arch/amd64/package.use.stable.mask, arch/x86/package.use.stable.mask,
default/linux/powerpc/ppc32/13.0/package.use.stable.mask:
Add precision and bug reference (bug #500868) to vlc[opus] stable mask
19 Apr 2015; Ben de Groot <yngwin@gentoo.org>
arch/amd64/package.use.stable.mask, arch/x86/package.use.stable.mask,
default/linux/powerpc/ppc32/13.0/package.use.stable.mask:
Re-apply stable use mask for opus on vlc (and also chromaprint for ppc32).
See bug #530254 and #504826.
19 Apr 2015; Ben de Groot <yngwin@gentoo.org>
arch/amd64/package.use.stable.mask, arch/arm/package.use.stable.mask,
arch/x86/package.use.stable.mask,
default/linux/powerpc/ppc32/13.0/package.use.stable.mask:
Drop stable vlc useflags mask (bug #530254), except slacking alpha
18 Apr 2015; Alexandre Rostovtsev <tetromino@gentoo.org> package.mask:
Old wine ebuilds gone from the tree, mask no longer needed (bug #543336).
18 Apr 2015; Mike Frysinger <vapier@gentoo.org> arch.list, profiles.desc:
Add Nios II (nios2) arch support.
18 Apr 2015; James Le Cuirot <chewi@gentoo.org> package.mask:
Mask dev-java/classworlds.
18 Apr 2015; Andreas K. Huettel <dilfridge@gentoo.org> updates/2Q-2015:
Rename dev-perl/Cgi-Simple to dev-perl/CGI-Simple
18 Apr 2015; Pacho Ramos <pacho@gentoo.org> package.mask:
Delay app-backup/pdumpfs removal as it's going to be fixed and proxy
maintained soon
17 Apr 2015; Pacho Ramos <pacho@gentoo.org> package.mask:
rdiff-backup removal postponed
17 Apr 2015; Pawel Hajdan jr <phajdan.jr@gentoo.org> package.mask:
Roll dev channel mask for chromium-44.

View File

@ -7,6 +7,7 @@ hppa
ia64
m68k
mips
nios2
ppc
ppc64
s390
@ -42,4 +43,5 @@ sparc64-solaris
x64-solaris
x86-solaris
x86-winnt
x64-cygwin
x86-cygwin

View File

@ -1,6 +1,21 @@
# ChangeLog for Gentoo/Alpha profile directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/ChangeLog,v 1.220 2015/03/17 01:36:02 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/ChangeLog,v 1.225 2015/06/09 15:35:00 eva Exp $
09 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> package.use.mask:
Add gnome-base/gvfs nfs USE mask, bug #551576 ChangeLog package.use.mask
09 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> package.use.mask:
Add dev-libs/libpeas USE mask, bug #551540.
24 May 2015; Matt Turner <mattst88@gentoo.org> use.mask:
Remove audit from use.mask.
24 May 2015; Matt Turner <mattst88@gentoo.org> package.use.mask:
Drop dead r600-llvm-compiler USE flag from package.use.mask.
11 May 2015; Davide Pesavento <pesa@gentoo.org> package.mask:
Extend Qt4-multilib mask to cover 4.8.7 as well.
17 Mar 2015; Mike Frysinger <vapier@gentoo.org> package.use.force,
package.use.mask:

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/package.mask,v 1.38 2015/02/01 14:58:22 kensington Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/package.mask,v 1.39 2015/05/11 01:49:39 pesa Exp $
# Ben de Groot <yngwin@gentoo.org> (01 Feb 2015)
# Qt5 mask, pending keywording. Remember unmasking qt5 in use.mask as well.
@ -50,30 +50,30 @@
# Davide Pesavento <pesa@gentoo.org> (20 Nov 2014)
# Qt4 multilib ebuilds, masked until dev-qt/qtchooser
# gets keyworded. See bug 529196.
=dev-qt/assistant-4.8.6*
=dev-qt/designer-4.8.6*
=dev-qt/linguist-4.8.6*
=dev-qt/pixeltool-4.8.6*
=dev-qt/qdbusviewer-4.8.6*
=dev-qt/qt3support-4.8.6*
=dev-qt/qtbearer-4.8.6*
=dev-qt/qtcore-4.8.6*
=dev-qt/qtdbus-4.8.6*
=dev-qt/qtdeclarative-4.8.6*
=dev-qt/qtdemo-4.8.6*
=dev-qt/qtgui-4.8.6*
=dev-qt/qthelp-4.8.6*
=dev-qt/qtmultimedia-4.8.6*
=dev-qt/qtopengl-4.8.6*
=dev-qt/qtopenvg-4.8.6*
=dev-qt/qtphonon-4.8.6*
=dev-qt/qtscript-4.8.6*
=dev-qt/qtsql-4.8.6*
=dev-qt/qtsvg-4.8.6*
=dev-qt/qttest-4.8.6*
=dev-qt/qttranslations-4.8.6*
=dev-qt/qtwebkit-4.8.6*
=dev-qt/qtxmlpatterns-4.8.6*
>=dev-qt/assistant-4.8.6:4
>=dev-qt/designer-4.8.6:4
>=dev-qt/linguist-4.8.6:4
>=dev-qt/pixeltool-4.8.6:4
>=dev-qt/qdbusviewer-4.8.6:4
>=dev-qt/qt3support-4.8.6:4
>=dev-qt/qtbearer-4.8.6:4
>=dev-qt/qtcore-4.8.6:4
>=dev-qt/qtdbus-4.8.6:4
>=dev-qt/qtdeclarative-4.8.6:4
>=dev-qt/qtdemo-4.8.6:4
>=dev-qt/qtgui-4.8.6:4
>=dev-qt/qthelp-4.8.6:4
>=dev-qt/qtmultimedia-4.8.6:4
>=dev-qt/qtopengl-4.8.6:4
>=dev-qt/qtopenvg-4.8.6:4
>=dev-qt/qtphonon-4.8.6:4
>=dev-qt/qtscript-4.8.6:4
>=dev-qt/qtsql-4.8.6:4
>=dev-qt/qtsvg-4.8.6:4
>=dev-qt/qttest-4.8.6:4
>=dev-qt/qttranslations-4.8.6:4
>=dev-qt/qtwebkit-4.8.6:4
>=dev-qt/qtxmlpatterns-4.8.6:4
# Julian Ospald <hasufell@gentoo.org> (01 Sep 2014)
# Needs either hardmasked >=media-video/libav-10 or

View File

@ -1,6 +1,18 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/package.use.mask,v 1.183 2015/03/17 01:36:02 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/package.use.mask,v 1.187 2015/06/09 15:35:00 eva Exp $
# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
# net-fs/libnfs lacks alpha keyword, bug #551576
gnome-base/gvfs nfs
# Gilles Dartiguelongue <eva@gentoo.org> (09 Jun 2015)
# dev-lang/luajit and dev-lua/lgi and lack alpha keyword, bug #551540
dev-libs/libpeas lua jit
# Ben de Groot <yngwin@gentoo.org> (03 May 2015)
# media-libs/rubberband lacks alpha keyword, bug #548446
media-video/mpv rubberband
# Mike Frysinger <vapier@gentoo.org> (16 Mar 2015)
# Needs sci-physics/bullet tested #499974
@ -129,10 +141,6 @@ dev-haskell/dataenc test
# Fix per-arch mask of phonon[zeitgeist] #460140
media-libs/phonon zeitgeist
# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (28 May 2013)
# depends on sys-devel/llvm[video_cards_radeon]
media-libs/mesa r600-llvm-compiler
# Gilles Dartiguelongue <eva@gentoo.org> (1 Apr 2013)
# missing keyword on media-libs/tremor, bug #453200
media-libs/gst-plugins-base ivorbis

View File

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/package.use.stable.mask,v 1.6 2014/10/31 08:30:18 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/package.use.stable.mask,v 1.7 2015/06/11 20:35:07 pacho 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
@ -24,6 +24,7 @@ dev-util/geany-plugins devhelp markdown webkit
>=gnome-base/gnome-desktop-2.32.1-r2 license-docs
mail-client/balsa webkit
media-gfx/gimp webkit
media-plugins/gst-plugins-meta modplug
>=x11-libs/gtk+-3.12.2 cloudprint
net-libs/libproxy webkit
>=net-libs/webkit-gtk-2.4 geoloc

View File

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation.
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/use.mask,v 1.93 2015/02/01 14:20:53 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/alpha/use.mask,v 1.94 2015/05/24 18:41:01 mattst88 Exp $
# Unmask the flag which corresponds to ARCH.
-alpha
@ -170,11 +170,6 @@ mpd
# USE=d seems to break gcc-4.1.2 (#178896)
d
# 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
# This works
-x264

View File

@ -1,6 +1,12 @@
# ChangeLog for Gentoo/x86-fbsd profile directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/ChangeLog,v 1.66 2015/03/21 19:15:02 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64-fbsd/ChangeLog,v 1.68 2015/05/19 21:04:58 chewi Exp $
19 May 2015; James Le Cuirot <chewi@gentoo.org> use.mask:
Mask java because icedtea needs testing and gcj isn't supported.
11 May 2015; Davide Pesavento <pesa@gentoo.org> package.mask:
Extend Qt4-multilib mask to cover 4.8.7 as well.
21 Mar 2015; Michał Górny <mgorny@gentoo.org> make.defaults:
Enable mmxext by default since it is implied by sse, and required for ffmpeg.

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