diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /profiles/prefix/windows | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'profiles/prefix/windows')
93 files changed, 846 insertions, 0 deletions
diff --git a/profiles/prefix/windows/cygwin/1.7/eapi b/profiles/prefix/windows/cygwin/1.7/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/cygwin/1.7/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/cygwin/1.7/package.provided b/profiles/prefix/windows/cygwin/1.7/package.provided new file mode 100644 index 000000000000..51d995c23310 --- /dev/null +++ b/profiles/prefix/windows/cygwin/1.7/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-cygwin/libc-1.7 diff --git a/profiles/prefix/windows/cygwin/1.7/parent b/profiles/prefix/windows/cygwin/1.7/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/cygwin/1.7/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/cygwin/1.7/x86/eapi b/profiles/prefix/windows/cygwin/1.7/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/cygwin/1.7/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/cygwin/1.7/x86/make.defaults b/profiles/prefix/windows/cygwin/1.7/x86/make.defaults new file mode 100644 index 000000000000..16c65012c30b --- /dev/null +++ b/profiles/prefix/windows/cygwin/1.7/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-cygwin" +CHOST="i686-pc-cygwin1.7" +ACCEPT_KEYWORDS="~x86-cygwin" diff --git a/profiles/prefix/windows/cygwin/1.7/x86/parent b/profiles/prefix/windows/cygwin/1.7/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/cygwin/1.7/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/cygwin/2.0/eapi b/profiles/prefix/windows/cygwin/2.0/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/cygwin/2.0/package.provided b/profiles/prefix/windows/cygwin/2.0/package.provided new file mode 100644 index 000000000000..86ffec8627b3 --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-cygwin/libc-2.0 diff --git a/profiles/prefix/windows/cygwin/2.0/parent b/profiles/prefix/windows/cygwin/2.0/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/cygwin/2.0/x64/eapi b/profiles/prefix/windows/cygwin/2.0/x64/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/x64/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/cygwin/2.0/x64/make.defaults b/profiles/prefix/windows/cygwin/2.0/x64/make.defaults new file mode 100644 index 000000000000..966294ecc78a --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/x64/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x64-cygwin" +CHOST="x86_64-pc-cygwin" +ACCEPT_KEYWORDS="~x64-cygwin" diff --git a/profiles/prefix/windows/cygwin/2.0/x64/parent b/profiles/prefix/windows/cygwin/2.0/x64/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/x64/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/cygwin/2.0/x86/eapi b/profiles/prefix/windows/cygwin/2.0/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/cygwin/2.0/x86/make.defaults b/profiles/prefix/windows/cygwin/2.0/x86/make.defaults new file mode 100644 index 000000000000..eb66c3d2eb4f --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-cygwin" +CHOST="i686-pc-cygwin2.0" +ACCEPT_KEYWORDS="~x86-cygwin" diff --git a/profiles/prefix/windows/cygwin/2.0/x86/parent b/profiles/prefix/windows/cygwin/2.0/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/cygwin/2.0/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/cygwin/eapi b/profiles/prefix/windows/cygwin/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/cygwin/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/cygwin/make.defaults b/profiles/prefix/windows/cygwin/make.defaults new file mode 100644 index 000000000000..84d8fc3c7518 --- /dev/null +++ b/profiles/prefix/windows/cygwin/make.defaults @@ -0,0 +1,12 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# System-wide defaults for all Cygwin profiles +# This file should rarely need to be changed + +# 'Sane' defaults +ELIBC="Cygwin" + +# no scanelf +FEATURES="nostrip" diff --git a/profiles/prefix/windows/cygwin/parent b/profiles/prefix/windows/cygwin/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/cygwin/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/cygwin/use.force b/profiles/prefix/windows/cygwin/use.force new file mode 100644 index 000000000000..b1832a5eb6b2 --- /dev/null +++ b/profiles/prefix/windows/cygwin/use.force @@ -0,0 +1,6 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Cygwin's libc +elibc_Cygwin diff --git a/profiles/prefix/windows/cygwin/use.mask b/profiles/prefix/windows/cygwin/use.mask new file mode 100644 index 000000000000..f4da8b4f7b36 --- /dev/null +++ b/profiles/prefix/windows/cygwin/use.mask @@ -0,0 +1,6 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Cygwin's libc +-elibc_Cygwin diff --git a/profiles/prefix/windows/eapi b/profiles/prefix/windows/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/3.5/eapi b/profiles/prefix/windows/interix/3.5/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/3.5/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/3.5/package.mask b/profiles/prefix/windows/interix/3.5/package.mask new file mode 100644 index 000000000000..b71075d054f1 --- /dev/null +++ b/profiles/prefix/windows/interix/3.5/package.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Markus Duft <mduft@gentoo.org> 31 Jul 2009 +# Does not build on Interix 3.5 because some functions +# conflict with system math.h header. +dev-python/numpy diff --git a/profiles/prefix/windows/interix/3.5/package.provided b/profiles/prefix/windows/interix/3.5/package.provided new file mode 100644 index 000000000000..f521461c6aea --- /dev/null +++ b/profiles/prefix/windows/interix/3.5/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-interix/libc-3.5 diff --git a/profiles/prefix/windows/interix/3.5/parent b/profiles/prefix/windows/interix/3.5/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/3.5/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/3.5/x86/eapi b/profiles/prefix/windows/interix/3.5/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/3.5/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/3.5/x86/make.defaults b/profiles/prefix/windows/interix/3.5/x86/make.defaults new file mode 100644 index 000000000000..d438c993bfe2 --- /dev/null +++ b/profiles/prefix/windows/interix/3.5/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-interix" +CHOST="i586-pc-interix3.5" +ACCEPT_KEYWORDS="~x86-interix" diff --git a/profiles/prefix/windows/interix/3.5/x86/parent b/profiles/prefix/windows/interix/3.5/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/3.5/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/5.2/eapi b/profiles/prefix/windows/interix/5.2/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/5.2/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/5.2/package.provided b/profiles/prefix/windows/interix/5.2/package.provided new file mode 100644 index 000000000000..98b293c000a0 --- /dev/null +++ b/profiles/prefix/windows/interix/5.2/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-interix/libc-5.2 diff --git a/profiles/prefix/windows/interix/5.2/parent b/profiles/prefix/windows/interix/5.2/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/5.2/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/5.2/x86/eapi b/profiles/prefix/windows/interix/5.2/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/5.2/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/5.2/x86/make.defaults b/profiles/prefix/windows/interix/5.2/x86/make.defaults new file mode 100644 index 000000000000..ff5f7534a5c3 --- /dev/null +++ b/profiles/prefix/windows/interix/5.2/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-interix" +CHOST="i586-pc-interix5.2" +ACCEPT_KEYWORDS="~x86-interix" diff --git a/profiles/prefix/windows/interix/5.2/x86/parent b/profiles/prefix/windows/interix/5.2/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/5.2/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/6.0/eapi b/profiles/prefix/windows/interix/6.0/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/6.0/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/6.0/package.provided b/profiles/prefix/windows/interix/6.0/package.provided new file mode 100644 index 000000000000..66231bf19663 --- /dev/null +++ b/profiles/prefix/windows/interix/6.0/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-interix/libc-6.0 diff --git a/profiles/prefix/windows/interix/6.0/parent b/profiles/prefix/windows/interix/6.0/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/6.0/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/6.0/use.mask b/profiles/prefix/windows/interix/6.0/use.mask new file mode 100644 index 000000000000..d1b9d91f8cb2 --- /dev/null +++ b/profiles/prefix/windows/interix/6.0/use.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Markus Duft <mduft@gentoo.org> (7 Jul 2009) +# Unmask the globally masked i6fork USE flag to allow +# interix 6 fork to be fixed by linking libi6fork. +-i6fork diff --git a/profiles/prefix/windows/interix/6.0/x86/eapi b/profiles/prefix/windows/interix/6.0/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/6.0/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/6.0/x86/make.defaults b/profiles/prefix/windows/interix/6.0/x86/make.defaults new file mode 100644 index 000000000000..36b4634f26b7 --- /dev/null +++ b/profiles/prefix/windows/interix/6.0/x86/make.defaults @@ -0,0 +1,9 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# the CHOST version number is the version number of the host libc, not the version of the interix SDK package. + +ARCH="x86-interix" +CHOST="i586-pc-interix6.0" +ACCEPT_KEYWORDS="~x86-interix" diff --git a/profiles/prefix/windows/interix/6.0/x86/parent b/profiles/prefix/windows/interix/6.0/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/6.0/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/6.1/eapi b/profiles/prefix/windows/interix/6.1/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/6.1/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/6.1/package.provided b/profiles/prefix/windows/interix/6.1/package.provided new file mode 100644 index 000000000000..85afdcfc6d80 --- /dev/null +++ b/profiles/prefix/windows/interix/6.1/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-interix/libc-6.1 diff --git a/profiles/prefix/windows/interix/6.1/parent b/profiles/prefix/windows/interix/6.1/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/6.1/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/6.1/use.mask b/profiles/prefix/windows/interix/6.1/use.mask new file mode 100644 index 000000000000..d1b9d91f8cb2 --- /dev/null +++ b/profiles/prefix/windows/interix/6.1/use.mask @@ -0,0 +1,8 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Markus Duft <mduft@gentoo.org> (7 Jul 2009) +# Unmask the globally masked i6fork USE flag to allow +# interix 6 fork to be fixed by linking libi6fork. +-i6fork diff --git a/profiles/prefix/windows/interix/6.1/x86/eapi b/profiles/prefix/windows/interix/6.1/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/6.1/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/6.1/x86/make.defaults b/profiles/prefix/windows/interix/6.1/x86/make.defaults new file mode 100644 index 000000000000..adff39323e90 --- /dev/null +++ b/profiles/prefix/windows/interix/6.1/x86/make.defaults @@ -0,0 +1,9 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# the CHOST version number is the version number of the host libc, not the version of the interix SDK package. + +ARCH="x86-interix" +CHOST="i586-pc-interix6.1" +ACCEPT_KEYWORDS="~x86-interix" diff --git a/profiles/prefix/windows/interix/6.1/x86/parent b/profiles/prefix/windows/interix/6.1/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/6.1/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/eapi b/profiles/prefix/windows/interix/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/interix/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/interix/make.defaults b/profiles/prefix/windows/interix/make.defaults new file mode 100644 index 000000000000..df9d58b4d007 --- /dev/null +++ b/profiles/prefix/windows/interix/make.defaults @@ -0,0 +1,12 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# System-wide defaults for all Interix profiles +# This file should rarely need to be changed + +# 'Sane' defaults +ELIBC="Interix" + +# no scanelf +FEATURES="nostrip" diff --git a/profiles/prefix/windows/interix/package.mask b/profiles/prefix/windows/interix/package.mask new file mode 100644 index 000000000000..2c1bf4bd46d6 --- /dev/null +++ b/profiles/prefix/windows/interix/package.mask @@ -0,0 +1,14 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# $Id$ + +# Markus Duft <mduft@gentoo.org> (05 May 2008) +# Does not build with the slang interface, and +# somebody removed the use flag for ncurses (bug #220365) +>=app-misc/mc-4.6.2_pre1 + +# Michael Haubenwallner <haubi@gentoo.org> (18 Mar 2008) +# Interix patches not working yet (mduft) +>=sys-devel/gcc-4.3.0 diff --git a/profiles/prefix/windows/interix/package.use.force b/profiles/prefix/windows/interix/package.use.force new file mode 100644 index 000000000000..1ca949af1ab0 --- /dev/null +++ b/profiles/prefix/windows/interix/package.use.force @@ -0,0 +1,10 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Markus Duft <mduft@gentoo.org> (28 Oct 2010) +# really need them statically, as long as portage uses coreutils +# during merge. if re-merging suacomp, utilities don't work otherwise. +sys-apps/coreutils static + +sys-devel/binutils-config extwrapper diff --git a/profiles/prefix/windows/interix/package.use.mask b/profiles/prefix/windows/interix/package.use.mask new file mode 100644 index 000000000000..23d371d86dba --- /dev/null +++ b/profiles/prefix/windows/interix/package.use.mask @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Markus Duft <mduft@gentoo.org> (9 Aug 2011) +# mask git flag from gettext, as gettext's build tries to munge +# some archives with 'root' group, which doesn't exist on interix +# (not even with user/group mapping through suacomp). +sys-devel/gettext git + +# Markus Duft <mduft@gentoo.org> (28 Oct 2010) +# mask optimization flags from eix, as they cause build troubles +# wrt visibility flags - seems gcc 4.2.4 on interix needs another +# patch (it already has one to disable -fvisibility=, but that +# seems to miss -fvisibility-inlines-hidden, etc.) +app-portage/eix optimization strong-optimization + +dev-scheme/guile threads +x11-wm/fluxbox nls +net-libs/libsoup ssl +app-arch/pdv X + diff --git a/profiles/prefix/windows/interix/packages b/profiles/prefix/windows/interix/packages new file mode 100644 index 000000000000..c455db77e6cc --- /dev/null +++ b/profiles/prefix/windows/interix/packages @@ -0,0 +1,3 @@ +# suacomp library is required on interix now! this is a crucial part of the system. +# without it, there is only a broken poll, no multi-cpu/core support, etc... +*sys-libs/suacomp diff --git a/profiles/prefix/windows/interix/parent b/profiles/prefix/windows/interix/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/interix/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/interix/profile.bashrc b/profiles/prefix/windows/interix/profile.bashrc new file mode 100644 index 000000000000..6d354f906a78 --- /dev/null +++ b/profiles/prefix/windows/interix/profile.bashrc @@ -0,0 +1,146 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# use bash as config shell. this avoids _big_ problems with new libtool (>=2.2.10), +# as wrong asumptions about the shell arise when checking against /bin/sh. +export CONFIG_SHELL=${BASH} + +# On interix, binary files (executables, shared libraries) in use +# cannot be replaced during merge. +# But it is possible to rename them and remove lateron when they are +# not used any more by any running program. +# +# This is a workaround for portage bug#199868, +# and should be dropped once portage does sth. like this itself. + +interix_cleanup_removed_files() { + local removedlist=$1 + rm -f "${removedlist}".new + + if [[ -r ${removedlist} ]]; then + rm -f "${removedlist}".old + fi + # restore in case of system fault + if [[ -r ${removedlist}.old ]]; then + mv "${removedlist}"{.old,} + fi + + touch "${removedlist}"{,.new} # ensure they exist + + while read rmstem; do + # try to remove previously recorded files + for f in "${ROOT}${rmstem}"*; do + ebegin "trying to remove ${f}" + rm -f "${f}" > /dev/null 2>&1 + eend $? + done + # but keep it in list if still exists + for f in "${ROOT}${rmstem}"*; do + [[ -f ${f} ]] && echo "${rmstem}" >> "${removedlist}".new + break + done + done < "${removedlist}" + + # update the list + mv "${removedlist}"{,.old} + mv "${removedlist}"{.new,} + rm "${removedlist}".old +} + +interix_find_removed_slot() { + local f=$1 + local n=0 + while [[ ${n} -lt 100 && -f "${f}${n}" ]]; do + n=$((n=n+1)) + done + + if [[ ${n} -ge 100 ]]; then + echo "too many (>=100) old text files busy of '${f}'" >&2 + exit 1 + fi + + echo $n +} + +interix_prepare_file() { + local failed=0 + if [[ ${PN} == libiconv ]]; then + # when moving around libiconv, the prefix' coreutils will + # be damaged, so we really need to use the systems ones. + /bin/cp -p "${1}" "${1}.new" || failed=1 + /bin/mv "${1}" "${2}" || failed=1 + /bin/mv "${1}.new" "${1}" || failed=1 + else + my_mv=mv + + [[ "${1}" == */mv ]] && my_mv="${1}.new" + [[ -f "${1}.new" ]] && rm -f "${1}.new" + + cp -p "${1}" "${1}.new" || failed=1 + ${my_mv} "${1}" "${2}" || failed=1 + ${my_mv} "${1}.new" "${1}" || failed=1 + fi + + echo $failed +} + +post_pkg_preinst() { + local removedlist="${EROOT}var/lib/portage/files2bremoved" + interix_cleanup_removed_files $removedlist + + # now go for current package + cd "${D}" + find ".${EROOT}" -type f | while read f; + do + /usr/bin/file "${f}" | grep ' PE ' > /dev/null || continue + + f=${f#./} # find prints: "./path/to/file" + f=${f%:} # file prints: "file-argument: type-of-file" + test -r "${ROOT}${f}" || continue + rmstem="${f}.removedbyportage" + # keep list of old busy text files unique + grep -Fx "${rmstem}" "${removedlist}" >/dev/null \ + || echo "${rmstem}" >> "${removedlist}" + + local n=$(interix_find_removed_slot ${ROOT}${rmstem}) + ebegin "preparing ${ROOT}${f} for merge (${n})" + eend $(interix_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}") + done +} + +post_pkg_prerm() { + local removedlist="${EROOT}var/lib/portage/files2bremoved" + save_IFS=$IFS + IFS=' +'; + local MY_PR=${PR} + [[ ${MY_PR} == r0 ]] && MY_PR= + local -a contents=($(<"${EROOT}var/db/pkg/${CATEGORY}/${P}${MY_PR:+-}${MY_PR}/CONTENTS")); + IFS=$save_IFS + local -a cont + for content in "${contents[@]}"; do + cont=($content) + f=${cont[1]} + f=${f#/} + + test -r "${ROOT}${f}" || continue + + if /usr/bin/file "${ROOT}${f}" | grep ' PE ' > /dev/null; then + # $f should be an absolute path to the installed file + rmstem="${f}.removedbyportage" + + grep "^${rmstem}$" "${removedlist}" > /dev/null \ + || echo "${rmstem}" >> "${removedlist}" + + local n=$(interix_find_removed_slot ${ROOT}${rmstem}) + ebegin "preparing ${ROOT}${f} for unmerge ($n)" + eend $(interix_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}") + fi + done +} + +pre_pkg_postrm() { + local removedlist="${EROOT}var/lib/portage/files2bremoved" + interix_cleanup_removed_files $removedlist +} diff --git a/profiles/prefix/windows/interix/use.force b/profiles/prefix/windows/interix/use.force new file mode 100644 index 000000000000..5ebe28a48937 --- /dev/null +++ b/profiles/prefix/windows/interix/use.force @@ -0,0 +1,6 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Interix libc +elibc_Interix diff --git a/profiles/prefix/windows/interix/use.mask b/profiles/prefix/windows/interix/use.mask new file mode 100644 index 000000000000..08c2c734b580 --- /dev/null +++ b/profiles/prefix/windows/interix/use.mask @@ -0,0 +1,88 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Interix libc +-elibc_Interix + +# these will more than likely never work on Interix +3dfx +acpi +alsa +altivec +apm +bluetooth +cap +caps +cdr +coreaudio +dga +directfb +divx4linux +djbfft +dri +dvdr +# missing implementation for unexec() +emacs +xemacs +fbcon +fdftk +fmod +ggi +glut +gpm +gps +hardened +hddtemp +ibm +icc +icc-pgo +ieee1394 +ifc +ipod +ipv6 +java +lm_sensors +matrox +netboot +old-linux +# requires device-mapper +on-the-fly-crypt +opengl +oss +pam +pcmcia +pda +rtc +selinux +scanner +smartcard +svga +uclibc +# totally b0rked on interix +unicode +usb +voodoo3 +pvm +v4l +wifi + +# these are USE flags that don't _currently_ work, but may will in the future. +ffmpeg +fftw +flac +jack +joystick +kerberos +ladspa +libedit +# bug #310007 +multitarget +# not working yet on interix +openmp +portaudio +pulseaudio +qt4 +# libtiff only static, so avoid this! +tiff +timidity diff --git a/profiles/prefix/windows/parent b/profiles/prefix/windows/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/use.force b/profiles/prefix/windows/use.force new file mode 100644 index 000000000000..c6bc648273d7 --- /dev/null +++ b/profiles/prefix/windows/use.force @@ -0,0 +1,6 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Windows kernel +kernel_Winnt diff --git a/profiles/prefix/windows/use.mask b/profiles/prefix/windows/use.mask new file mode 100644 index 000000000000..78e4807fe677 --- /dev/null +++ b/profiles/prefix/windows/use.mask @@ -0,0 +1,6 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Windows kernel +-kernel_Winnt diff --git a/profiles/prefix/windows/winnt/3.5/eapi b/profiles/prefix/windows/winnt/3.5/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/3.5/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/3.5/package.provided b/profiles/prefix/windows/winnt/3.5/package.provided new file mode 100644 index 000000000000..ddf2f80cf5ad --- /dev/null +++ b/profiles/prefix/windows/winnt/3.5/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-winnt/libc-3.5 diff --git a/profiles/prefix/windows/winnt/3.5/parent b/profiles/prefix/windows/winnt/3.5/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/3.5/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/3.5/x86/eapi b/profiles/prefix/windows/winnt/3.5/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/3.5/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/3.5/x86/make.defaults b/profiles/prefix/windows/winnt/3.5/x86/make.defaults new file mode 100644 index 000000000000..fa0e46ca55df --- /dev/null +++ b/profiles/prefix/windows/winnt/3.5/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-winnt" +CHOST="i586-pc-winnt3.5" +ACCEPT_KEYWORDS="~x86-winnt" diff --git a/profiles/prefix/windows/winnt/3.5/x86/parent b/profiles/prefix/windows/winnt/3.5/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/3.5/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/5.2/eapi b/profiles/prefix/windows/winnt/5.2/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/5.2/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/5.2/package.provided b/profiles/prefix/windows/winnt/5.2/package.provided new file mode 100644 index 000000000000..02208204e378 --- /dev/null +++ b/profiles/prefix/windows/winnt/5.2/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-winnt/libc-5.2 diff --git a/profiles/prefix/windows/winnt/5.2/parent b/profiles/prefix/windows/winnt/5.2/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/5.2/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/5.2/x86/eapi b/profiles/prefix/windows/winnt/5.2/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/5.2/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/5.2/x86/make.defaults b/profiles/prefix/windows/winnt/5.2/x86/make.defaults new file mode 100644 index 000000000000..92163f9c98a1 --- /dev/null +++ b/profiles/prefix/windows/winnt/5.2/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-winnt" +CHOST="i586-pc-winnt5.2" +ACCEPT_KEYWORDS="~x86-winnt" diff --git a/profiles/prefix/windows/winnt/5.2/x86/parent b/profiles/prefix/windows/winnt/5.2/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/5.2/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/6.0/eapi b/profiles/prefix/windows/winnt/6.0/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/6.0/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/6.0/package.provided b/profiles/prefix/windows/winnt/6.0/package.provided new file mode 100644 index 000000000000..3ee2b175f90d --- /dev/null +++ b/profiles/prefix/windows/winnt/6.0/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-winnt/libc-6.0 diff --git a/profiles/prefix/windows/winnt/6.0/parent b/profiles/prefix/windows/winnt/6.0/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/6.0/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/6.0/x86/eapi b/profiles/prefix/windows/winnt/6.0/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/6.0/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/6.0/x86/make.defaults b/profiles/prefix/windows/winnt/6.0/x86/make.defaults new file mode 100644 index 000000000000..6dae2c2f4440 --- /dev/null +++ b/profiles/prefix/windows/winnt/6.0/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-winnt" +CHOST="i586-pc-winnt6.0" +ACCEPT_KEYWORDS="~x86-winnt" diff --git a/profiles/prefix/windows/winnt/6.0/x86/parent b/profiles/prefix/windows/winnt/6.0/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/6.0/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/6.1/eapi b/profiles/prefix/windows/winnt/6.1/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/6.1/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/6.1/package.provided b/profiles/prefix/windows/winnt/6.1/package.provided new file mode 100644 index 000000000000..0c60fba866de --- /dev/null +++ b/profiles/prefix/windows/winnt/6.1/package.provided @@ -0,0 +1,5 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +sys-winnt/libc-6.1 diff --git a/profiles/prefix/windows/winnt/6.1/parent b/profiles/prefix/windows/winnt/6.1/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/6.1/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/6.1/x86/eapi b/profiles/prefix/windows/winnt/6.1/x86/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/6.1/x86/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/6.1/x86/make.defaults b/profiles/prefix/windows/winnt/6.1/x86/make.defaults new file mode 100644 index 000000000000..9bd5ffc0c08d --- /dev/null +++ b/profiles/prefix/windows/winnt/6.1/x86/make.defaults @@ -0,0 +1,7 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ARCH="x86-winnt" +CHOST="i586-pc-winnt6.1" +ACCEPT_KEYWORDS="~x86-winnt" diff --git a/profiles/prefix/windows/winnt/6.1/x86/parent b/profiles/prefix/windows/winnt/6.1/x86/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/6.1/x86/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/eapi b/profiles/prefix/windows/winnt/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/prefix/windows/winnt/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/prefix/windows/winnt/make.defaults b/profiles/prefix/windows/winnt/make.defaults new file mode 100644 index 000000000000..53510f55b0d5 --- /dev/null +++ b/profiles/prefix/windows/winnt/make.defaults @@ -0,0 +1,11 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# System-wide defaults for all Windows profiles +# This file should rarely need to be changed + +# 'Sane' defaults +ELIBC="Winnt" + +FEATURES="nostrip" diff --git a/profiles/prefix/windows/winnt/package.mask b/profiles/prefix/windows/winnt/package.mask new file mode 100644 index 000000000000..85faba2830c9 --- /dev/null +++ b/profiles/prefix/windows/winnt/package.mask @@ -0,0 +1,10 @@ + +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# $Id$ + +# Markus Duft <mduft@gentoo.org> (30 Sep 2009) +# the patch does not currently apply, and needs some work. +>=x11-proto/xproto-7.0.16 + diff --git a/profiles/prefix/windows/winnt/packages b/profiles/prefix/windows/winnt/packages new file mode 100644 index 000000000000..7a98792b4cd4 --- /dev/null +++ b/profiles/prefix/windows/winnt/packages @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# those are packages not available/required on winnt, since +# winnt can be a child EPREFIX only, which tears it's DEPENDS +# from a parent (e.g. x86-interix) prefix. + +-*sys-apps/grep +-*app-arch/gzip +-*sys-devel/libtool +-*virtual/man +-*sys-devel/patch +-*sys-devel/flex +-*sys-apps/gawk +-*app-arch/tar +-*sys-apps/sed +-*sys-devel/bison +-*sys-apps/file +-*app-arch/bzip2 +-*net-misc/rsync +-*sys-devel/automake +-*virtual/editor +-*sys-apps/coreutils +-*sys-devel/make +-*sys-apps/findutils +-*sys-devel/m4 +-*net-misc/wget +-*sys-apps/which +-*virtual/pager +-*sys-apps/diffutils +-*sys-apps/baselayout-prefix +-*app-shells/bash +-*virtual/package-manager +-*virtual/ssh +-*sys-devel/autoconf +-*sys-devel/gnuconfig +-*sys-devel/gcc diff --git a/profiles/prefix/windows/winnt/parent b/profiles/prefix/windows/winnt/parent new file mode 100644 index 000000000000..f3229c5b9876 --- /dev/null +++ b/profiles/prefix/windows/winnt/parent @@ -0,0 +1 @@ +.. diff --git a/profiles/prefix/windows/winnt/profile.bashrc b/profiles/prefix/windows/winnt/profile.bashrc new file mode 100644 index 000000000000..5b818e40290a --- /dev/null +++ b/profiles/prefix/windows/winnt/profile.bashrc @@ -0,0 +1,152 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# On windows, binary files (executables, shared libraries) in use +# cannot be replaced during merge. +# But it is possible to rename them and remove lateron when they are +# not used any more by any running program. +# +# This is a workaround for portage bug#199868, +# and should be dropped once portage does sth. like this itself. +# + +# Need to explicitly set PKG_CONFIG_PATH for cross EPREFIX. +export PKG_CONFIG_PATH="${EPREFIX}/lib/pkgconfig:${EPREFIX}/usr/lib/pkgconfig" + +windows_cleanup_removed_files() { + local removedlist=$1 + rm -f "${removedlist}".new + + if [[ -r ${removedlist} ]]; then + rm -f "${removedlist}".old + fi + # restore in case of system fault + if [[ -r ${removedlist}.old ]]; then + mv "${removedlist}"{.old,} + fi + + touch "${removedlist}"{,.new} # ensure they exist + + while read rmstem; do + # try to remove previously recorded files + for f in "${ROOT}${rmstem}"*; do + ebegin "trying to remove ${f}" + rm -f "${f}" > /dev/null 2>&1 + eend $? + done + # but keep it in list if still exists + for f in "${ROOT}${rmstem}"*; do + [[ -f ${f} ]] && echo "${rmstem}" >> "${removedlist}".new + break + done + done < "${removedlist}" + + # update the list + mv "${removedlist}"{,.old} + mv "${removedlist}"{.new,} + rm "${removedlist}".old +} + +windows_find_removed_slot() { + local f=$1 + local n=0 + while [[ ${n} -lt 100 && -f "${f}${n}" ]]; do + n=$((n=n+1)) + done + + if [[ ${n} -ge 100 ]]; then + echo "too many (>=100) old text files busy of '${f}'" >&2 + exit 1 + fi + + echo $n +} + +windows_prepare_file() { + local failed=0 + my_mv=mv + + [[ "${1}" == */mv ]] && my_mv="${1}.new" + [[ -f "${1}.new" ]] && rm -f "${1}.new" + + cp -p "${1}" "${1}.new" || failed=1 + ${my_mv} "${1}" "${2}" || failed=1 + ${my_mv} "${1}.new" "${1}" || failed=1 + + echo $failed +} + +post_src_install() { + cd "${ED}" + find . -name '*.exe' | while read f; do + if file "${f}" | grep "GUI" > /dev/null 2>&1; then + if test ! -f "${f%.exe}"; then + einfo "Windows GUI Executable $f will have no symlink." + fi + else + if test ! -f "${f%.exe}"; then + ebegin "creating ${f%.exe} -> ${f} for console accessibility." + eend $(ln -sf "$(basename "${f}")" "${f%.exe}" && echo 0 || echo 1) + fi + fi + done +} + +post_pkg_preinst() { + local removedlist="${EROOT}var/lib/portage/files2bremoved" + windows_cleanup_removed_files $removedlist + + # now go for current package + cd "${D}" + find ".${EROOT}" -type f | xargs -r /usr/bin/file | grep ' PE ' | while read f t + do + f=${f#./} # find prints: "./path/to/file" + f=${f%:} # file prints: "file-argument: type-of-file" + test -r "${ROOT}${f}" || continue + rmstem="${f}.removedbyportage" + # keep list of old busy text files unique + grep "^${rmstem}$" "${removedlist}" >/dev/null \ + || echo "${rmstem}" >> "${removedlist}" + + local n=$(windows_find_removed_slot ${ROOT}${rmstem}) + ebegin "backing up text file ${ROOT}${f} (${n})" + eend $(windows_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}") + done +} + +post_pkg_prerm() { + local removedlist="${EROOT}var/lib/portage/files2bremoved" + save_IFS=$IFS + IFS=' +'; + local MY_PR=${PR} + [[ ${MY_PR} == r0 ]] && MY_PR= + local -a contents=($(<"${EROOT}var/db/pkg/${CATEGORY}/${P}${MY_PR:+-}${MY_PR}/CONTENTS")); + IFS=$save_IFS + local -a cont + for content in "${contents[@]}"; do + cont=($content) + f=${cont[1]} + f=${f#/} + + test -r "${ROOT}${f}" || continue + + if /usr/bin/file "${ROOT}${f}" | grep ' PE ' > /dev/null; then + # $f should be an absolute path to the installed file + rmstem="${f}.removedbyportage" + + grep "^${rmstem}$" "${removedlist}" > /dev/null \ + || echo "${rmstem}" >> "${removedlist}" + + local n=$(windows_find_removed_slot ${ROOT}${rmstem}) + ebegin "preparing ${ROOT}${f} for unmerge ($n)" + eend $(windows_prepare_file "${ROOT}${f}" "${ROOT}${rmstem}${n}") + fi + done +} + +pre_pkg_postrm() { + local removedlist="${EROOT}var/lib/portage/files2bremoved" + windows_cleanup_removed_files $removedlist +} diff --git a/profiles/prefix/windows/winnt/use.force b/profiles/prefix/windows/winnt/use.force new file mode 100644 index 000000000000..98c050e7bdb3 --- /dev/null +++ b/profiles/prefix/windows/winnt/use.force @@ -0,0 +1,6 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Winnt libc +elibc_Winnt diff --git a/profiles/prefix/windows/winnt/use.mask b/profiles/prefix/windows/winnt/use.mask new file mode 100644 index 000000000000..c40ffd575899 --- /dev/null +++ b/profiles/prefix/windows/winnt/use.mask @@ -0,0 +1,87 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Re-add Winnt libc +-elibc_Winnt + +# CURL_SSL=winssl is allowd on Winnt libc +-curl_ssl_winssl + +# these need a review, since they are just copied from interix +# these will more than likely never work on Windows +3dfx +acpi +alsa +altivec +apm +bluetooth +cap +caps +cdr +coreaudio +dga +directfb +divx4linux +djbfft +dri +dvdr +# emacs USE flag is masked because of missing implementation for unexec() +emacs +fbcon +fdftk +fmod +ggi +glut +gpm +gps +hardened +hddtemp +ibm +icc +icc-pgo +ieee1394 +ifc +ipod +ipv6 +lm_sensors +matrox +ncurses +netboot +old-linux +# the following USE flag requires device-mapper +on-the-fly-crypt +opengl +oss +pcmcia +pda +rtc +selinux +scanner +smartcard +svga +uclibc +# unicode is totally b0rked on interix +unicode +usb +voodoo3 +pvm +v4l +wifi + +# these are USE flags that don't _currently_ work, but may will in the future. +ffmpeg +fftw +flac +jack +joystick +ladspa +# opennmp is not working yet on interix +openmp +portaudio +pulseaudio +qt4 +readline +# libtiff only static, so avoid the tiff USE flag! +tiff +timidity |