├── .gitignore ├── .pre-commit-config.yaml ├── .pylintrc ├── COPYRIGHT.txt ├── VERSION ├── contrib └── completion │ └── zsh │ └── _ego ├── doc ├── Makefile ├── boot.conf.5 ├── boot.conf.5.rst ├── code ├── code.rst ├── conf.py ├── design.rst ├── design │ ├── README.rst │ ├── merge_actions.rst │ └── resolver-fails │ │ └── easy-upgrade.txt ├── ego-boot.8 ├── ego-boot.8.rst ├── ego-config.8 ├── ego-config.8.rst ├── ego-doc.1 ├── ego-doc.1.rst ├── ego-kit.1 ├── ego-kit.1.rst ├── ego-profile.8 ├── ego-profile.8.rst ├── ego-query.1 ├── ego-query.1.rst ├── ego-sync.8 ├── ego-sync.8.rst ├── ego.1 ├── ego.1.rst ├── ego.conf.5 ├── ego.conf.5.rst ├── index ├── index.rst ├── manual ├── manual.rst ├── modules └── modules.rst ├── ego ├── etc ├── boot.conf.defaults ├── boot.conf.dist ├── boot.conf.example └── ego.conf ├── make.sh ├── modules-info ├── boot.json ├── config.json ├── doc.json ├── kit.json ├── profile.json ├── query.json ├── sync.json └── upgrade.json ├── modules ├── boot.ego ├── config.ego ├── doc.ego ├── kit.ego ├── profile.ego ├── query.ego ├── sync.ego ├── upgrade-ideas.ego └── upgrade.ego ├── python ├── cmdtools.py ├── ego │ ├── __init__.py │ ├── config.py │ ├── module.py │ ├── output.py │ ├── profile.py │ ├── release.py │ └── upgrade.py ├── funtoo │ ├── __init__.py │ ├── boot │ │ ├── __init__.py │ │ ├── config.py │ │ ├── cpu.py │ │ ├── extension.py │ │ ├── extensions │ │ │ ├── __init__.py │ │ │ ├── grub-legacy.py │ │ │ ├── grub.py │ │ │ └── lilo.py │ │ ├── helper.py │ │ ├── menu.py │ │ └── resolver.py │ └── core │ │ ├── __init__.py │ │ └── config.py ├── git_helper.py ├── mediawiki │ ├── __init__.py │ ├── cli_parser.py │ └── new_cli_parser.py ├── tests │ ├── profile_basics.py │ ├── profile_change.py │ ├── profile_enum.py │ ├── profiles │ │ ├── funtoo │ │ │ └── 1.0 │ │ │ │ └── linux-gnu │ │ │ │ ├── arch │ │ │ │ ├── arm-32bit │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.keywords │ │ │ │ │ │ └── funtoo-arm-keywords │ │ │ │ │ ├── package.unmask │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ │ └── funtoo │ │ │ │ │ ├── package.use │ │ │ │ │ │ └── funtoo-use-oleg │ │ │ │ │ ├── parent │ │ │ │ │ ├── subarch │ │ │ │ │ │ ├── armv5te │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── armv6j_hardfp │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── armv6j_vfp_hardfp │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── armv7a_hardfp │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ ├── package.mask │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── armv7a_neon_hardfp │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── armv7a_neonvfpv4_hardfp │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── armv7a_vfpv3_hardfp │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── armv7a_vfpv3d16_hardfp │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── armv7a_vfpv3d32_hardfp │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── odroid-xu4 │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── raspi │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── raspi2 │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ │ └── raspi3 │ │ │ │ │ │ │ ├── make.defaults │ │ │ │ │ │ │ └── use.mask │ │ │ │ │ ├── use.force │ │ │ │ │ └── use.mask │ │ │ │ │ │ └── gentoo │ │ │ │ ├── arm-64bit │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.keywords │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ ├── parent │ │ │ │ │ ├── subarch │ │ │ │ │ │ └── arm64_generic │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── use.force │ │ │ │ │ ├── use.mask │ │ │ │ │ └── use.stable.mask │ │ │ │ ├── pure64 │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ │ └── 01-gentoo │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ │ └── 01-gentoo │ │ │ │ │ ├── package.use │ │ │ │ │ │ └── llvm │ │ │ │ │ ├── parent │ │ │ │ │ ├── subarch │ │ │ │ │ │ ├── README.txt │ │ │ │ │ │ ├── amd64-bulldozer-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-excavator-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-jaguar-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-k10-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-k8+sse3-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-k8-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-piledriver-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-steamroller-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── atom_64-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── btver1_64-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── core-avx-i-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── core2_64-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── corei7-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── generic_64-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── intel64-broadwell-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── intel64-haswell-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── intel64-ivybridge-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── intel64-nehalem-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── intel64-sandybridge-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── intel64-silvermont-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── intel64-westmere-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── native_64-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── nocona-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── opteron_64-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ └── xen-pentium4+sse3_64-pure64 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── toolchain-version │ │ │ │ │ └── use.mask │ │ │ │ │ │ ├── 01-gentoo │ │ │ │ │ │ └── multilib │ │ │ │ ├── x86-32bit │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.use │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ │ ├── 01-gentoo │ │ │ │ │ │ ├── cpu-features │ │ │ │ │ │ └── funtoo-mask │ │ │ │ │ ├── parent │ │ │ │ │ ├── subarch │ │ │ │ │ │ ├── amd64-k8+sse3_32 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── amd64-k8_32 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── athlon-4 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── athlon-mp │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── athlon-tbird │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── athlon-xp │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── athlon │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── atom_32 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── btver1 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── core2_32 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── generic_32 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── geode │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── i486 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── i686 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── k6-2 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── k6-3 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── k6 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── native_32 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── pentium-m │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── pentium-mmx │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── pentium │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── pentium2 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── pentium3 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── pentium4 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── pentiumpro │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ ├── prescott │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ │ └── xen-pentium4+sse3 │ │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── toolchain-version │ │ │ │ │ ├── use.force │ │ │ │ │ ├── use.mask │ │ │ │ │ │ └── 01-gentoo │ │ │ │ │ └── virtuals │ │ │ │ └── x86-64bit │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ ├── 01-gentoo │ │ │ │ │ ├── 02-gentoo │ │ │ │ │ └── cpu-features │ │ │ │ │ ├── package.use │ │ │ │ │ ├── llvm │ │ │ │ │ └── multilib │ │ │ │ │ ├── parent │ │ │ │ │ ├── subarch │ │ │ │ │ ├── amd64-bulldozer │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── amd64-excavator │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── amd64-jaguar │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── amd64-k10 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── amd64-k8+sse3 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── amd64-k8 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── amd64-piledriver │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── amd64-steamroller │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── atom_64 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── btver1_64 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── core-avx-i │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── core2_64 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── corei7 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── generic_64 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── intel64-broadwell │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── intel64-haswell │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── intel64-ivybridge │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── intel64-nehalem │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── intel64-sandybridge │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── intel64-silvermont │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── intel64-westmere │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── native_64 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── nocona │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── opteron_64 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ └── xen-pentium4+sse3_64 │ │ │ │ │ │ └── make.defaults │ │ │ │ │ ├── toolchain-version │ │ │ │ │ ├── use.force │ │ │ │ │ └── use.mask │ │ │ │ │ ├── 01-gentoo │ │ │ │ │ ├── core │ │ │ │ │ ├── cpu-features │ │ │ │ │ └── hardware │ │ │ │ ├── build │ │ │ │ ├── current │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── package.keywords │ │ │ │ ├── experimental │ │ │ │ │ ├── eapi │ │ │ │ │ └── make.defaults │ │ │ │ └── stable │ │ │ │ │ ├── README │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.keywords │ │ │ │ │ ├── funtoo-gnome │ │ │ │ │ ├── funtoo-libreoffice │ │ │ │ │ └── funtoo-stable │ │ │ │ │ ├── package.mask │ │ │ │ │ └── funtoo │ │ │ │ │ ├── package.unmask │ │ │ │ │ └── funtoo-stable │ │ │ │ │ └── package.use.stable.mask │ │ │ │ │ └── 01-gentoo │ │ │ │ ├── flavor │ │ │ │ ├── core │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ ├── package.use │ │ │ │ │ └── parent │ │ │ │ ├── desktop │ │ │ │ │ ├── package.use │ │ │ │ │ └── parent │ │ │ │ ├── hardened │ │ │ │ │ └── parent │ │ │ │ ├── minimal │ │ │ │ │ ├── eapi │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ ├── packages │ │ │ │ │ ├── packages.build │ │ │ │ │ └── profile.bashrc │ │ │ │ ├── server │ │ │ │ │ └── parent │ │ │ │ └── workstation │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.use │ │ │ │ │ └── parent │ │ │ │ ├── make.defaults │ │ │ │ ├── mix-ins │ │ │ │ ├── README │ │ │ │ ├── X │ │ │ │ │ └── make.defaults │ │ │ │ ├── audio │ │ │ │ │ └── make.defaults │ │ │ │ ├── cinnamon │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.use │ │ │ │ │ └── parent │ │ │ │ ├── console-extras │ │ │ │ │ └── make.defaults │ │ │ │ ├── dvd │ │ │ │ │ └── make.defaults │ │ │ │ ├── gfxcard-intel-glamor │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ └── package.use │ │ │ │ ├── gnome-3.16-fixups │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.unmask │ │ │ │ │ ├── package.use │ │ │ │ │ └── use.mask │ │ │ │ ├── gnome │ │ │ │ │ ├── README │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ ├── package.use │ │ │ │ │ └── use.mask │ │ │ │ ├── hardened │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ ├── packages │ │ │ │ │ └── use.mask │ │ │ │ ├── kde-plasma-5 │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ ├── package.unmask │ │ │ │ │ ├── package.use │ │ │ │ │ └── use.force │ │ │ │ ├── kde │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.use │ │ │ │ │ └── use.force │ │ │ │ ├── lxde │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── package.use │ │ │ │ ├── lxqt │ │ │ │ │ ├── eapi │ │ │ │ │ └── package.use │ │ │ │ ├── mate │ │ │ │ │ ├── eapi │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ ├── package.use │ │ │ │ │ └── use.mask │ │ │ │ ├── media-pro │ │ │ │ │ └── parent │ │ │ │ ├── media │ │ │ │ │ └── parent │ │ │ │ ├── mediadevice-audio-consumer │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── parent │ │ │ │ ├── mediadevice-audio-pro │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── parent │ │ │ │ ├── mediadevice-base │ │ │ │ │ └── make.defaults │ │ │ │ ├── mediadevice-video-consumer │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── parent │ │ │ │ ├── mediadevice-video-pro │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── parent │ │ │ │ ├── mediaformat-audio-common │ │ │ │ │ └── make.defaults │ │ │ │ ├── mediaformat-audio-extra │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── parent │ │ │ │ ├── mediaformat-gfx-common │ │ │ │ │ └── make.defaults │ │ │ │ ├── mediaformat-gfx-extra │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── parent │ │ │ │ ├── mediaformat-video-common │ │ │ │ │ └── make.defaults │ │ │ │ ├── mediaformat-video-extra │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── parent │ │ │ │ ├── no-emul-linux-x86 │ │ │ │ │ └── package.mask │ │ │ │ ├── no-systemd │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.mask │ │ │ │ │ └── use.mask │ │ │ │ ├── openvz-host │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── package.use │ │ │ │ ├── print │ │ │ │ │ └── make.defaults │ │ │ │ ├── python3-only │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── package.use │ │ │ │ ├── selinux │ │ │ │ │ ├── make.defaults │ │ │ │ │ ├── package.use.force │ │ │ │ │ ├── package.use.mask │ │ │ │ │ ├── packages │ │ │ │ │ ├── profile.bashrc │ │ │ │ │ ├── use.force │ │ │ │ │ └── use.mask │ │ │ │ ├── vmware-guest │ │ │ │ │ └── make.defaults │ │ │ │ └── xfce │ │ │ │ │ ├── make.defaults │ │ │ │ │ └── package.use │ │ │ │ ├── package.use.force │ │ │ │ └── funtoo-use-force │ │ │ │ ├── package.use.mask │ │ │ │ ├── .keep │ │ │ │ ├── 01-gentoo │ │ │ │ └── funtoo-use-mask │ │ │ │ ├── package.use │ │ │ │ ├── abi_x86_32 │ │ │ │ ├── cherokee │ │ │ │ ├── core │ │ │ │ ├── python │ │ │ │ └── xorg │ │ │ │ ├── parent │ │ │ │ ├── use.force │ │ │ │ └── use.mask │ │ │ │ ├── .keep │ │ │ │ ├── 01-gentoo │ │ │ │ └── funtoo-defaults │ │ ├── parent │ │ └── profiles.ego.desc │ └── test_tabulate_color.py └── third_party │ └── tabulate_color.py ├── requirements.txt ├── runtests └── setup.cfg /.gitignore: -------------------------------------------------------------------------------- 1 | *.old 2 | 3 | ### Python template 4 | # Byte-compiled / optimized / DLL files 5 | __pycache__/ 6 | *.py[cod] 7 | dist/ 8 | .idea/ 9 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | minimum_pre_commit_version: 1.15.2 3 | 4 | repos: 5 | - repo: https://github.com/pre-commit/pre-commit-hooks 6 | rev: v3.2.0 7 | hooks: 8 | - id: check-merge-conflict # Check for files that contain merge conflict strings. 9 | language_version: python3 10 | files: \.(yaml|ebuild|tmpl|py)$ 11 | types: [ python, text ] 12 | - id: trailing-whitespace # Trims trailing whitespace. 13 | args: [--markdown-linebreak-ext=md] 14 | language_version: python3 15 | files: \.(yaml|ebuild|tmpl|py)$ 16 | types: [ python, text ] 17 | - id: mixed-line-ending # Replaces or checks mixed line ending. 18 | args: [--fix=lf] 19 | language_version: python3 20 | files: \.(yaml|ebuild|tmpl|py)$ 21 | types: [ python, text ] 22 | - id: end-of-file-fixer # Makes sure files end in a newline and only a newline. 23 | language_version: python3 24 | files: \.(yaml|ebuild|tmpl|py)$ 25 | types: [ python, text ] 26 | - id: check-ast # Simply check whether files parse as valid python. 27 | language_version: python3 28 | - id: check-yaml 29 | - repo: https://github.com/jleclanche/tan 30 | rev: 20.0.2 31 | hooks: 32 | - id: black 33 | language_version: python3 34 | args: [--line-length=119, --use-tabs] 35 | -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- 1 | [MESSAGES CONTROL] 2 | disable=bad-continuation, 3 | invalid-name, 4 | too-many-arguments, 5 | too-many-branches, 6 | too-many-locals, 7 | too-many-nested-blocks, 8 | too-many-statements, 9 | unused-argument, 10 | R0801 11 | 12 | 13 | [FORMAT] 14 | max-line-length=119 15 | indent-string=\t 16 | -------------------------------------------------------------------------------- /COPYRIGHT.txt: -------------------------------------------------------------------------------- 1 | Copyright 2015-2020 Funtoo Solutions, Inc. and contributors. 2 | 3 | This program is free software; you can redistribute and/or modify it under the terms of the GNU General Public License 4 | version 2 or GNU General Public License version 3. Alternatively you may (at your option) use any other license that has 5 | been publicly approved for use with this program by Funtoo Solutions, Inc. (or its successors, if any.) 6 | 7 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 2.8.7 2 | -------------------------------------------------------------------------------- /contrib/completion/zsh/_ego: -------------------------------------------------------------------------------- 1 | #compdef epro ego 2 | 3 | # vim: set et sw=2 sts=2 ts=2 ft=zsh : 4 | # ZSH completion for ego(8) 5 | 6 | local portdir=$(python -c 'import portage;print(portage.settings["PORTDIR"])') 7 | local profile_dir="funtoo/1.0/linux-gnu" 8 | 9 | _ego-modulelist() { 10 | local -a modules 11 | 12 | modules=( 'profile' 'sync' 'query' 'info' 'help' ) 13 | 14 | _values 'Modules' $modules && ret=0 15 | } 16 | 17 | _epro-actionlist() { 18 | local -a actions 19 | 20 | actions=( 'show' 'show-json' 'get' 'list' 'flavor' 'mix-ins' 'subarch' 'arch' ) 21 | 22 | [[ $curcontext == ":complete:ego-profile:" ]] && actions=( 'info' 'help' $actions ) 23 | 24 | _values 'Actions' $actions && ret=0 25 | } 26 | 27 | _epro-profile-choices() { 28 | local -a profiles 29 | 30 | profiles=( 'flavor' 'mix-ins' 'subarch' 'arch' ) 31 | 32 | _values 'Profiles' $profiles && ret=0 33 | } 34 | 35 | _epro-fetch-choices() { 36 | local profile=$1 37 | local -a choices 38 | 39 | choices=("$portdir"/profiles/$profile_dir/$profile/*(/N:t)) 40 | 41 | _values "Choices" $choices && ret=0 42 | } 43 | 44 | _epro-mixins-choices() { 45 | local -a mixins 46 | local -a choices 47 | 48 | choices=() 49 | mixins=("$portdir"/profiles/$profile_dir/mix-ins/*(/N:t)) 50 | for choice in $mixins; do 51 | choices=(+$choice -$choice $choices) 52 | done 53 | 54 | _values "Choices" $choices && ret=0 55 | } 56 | 57 | _epro-subarch-choices() { 58 | _epro-fetch-choices arch/$(epro get arch)/subarch 59 | } 60 | 61 | _ego-profile() { 62 | local curcontext="$curcontext" ret=1 63 | 64 | if ((CURRENT == 2)); then 65 | _epro-actionlist 66 | elif ((CURRENT == 3)); then 67 | if [[ $words[2] == (list|get) ]]; then 68 | _epro-profile-choices 69 | elif [[ $words[2] == mix-ins ]]; then 70 | _epro-mixins-choices 71 | elif [[ $words[2] == subarch ]]; then 72 | _epro-subarch-choices 73 | elif [[ $words[2] == (flavor|arch) ]]; then 74 | _epro-fetch-choices $words[2] 75 | fi 76 | elif ((CURRENT > 3)); then 77 | if [[ $words[2] == list ]]; then 78 | _epro-profile-choices 79 | fi 80 | fi 81 | } 82 | 83 | _equery-actionlist() { 84 | local -a actions 85 | 86 | actions=( 'versions' 'origin' 'bugs' ) 87 | 88 | _values 'Actions' $actions && ret=0 89 | } 90 | 91 | _ego-query() { 92 | local curcontext="$curcontext" ret=1 93 | if ((CURRENT == 2)); then 94 | _equery-actionlist 95 | fi 96 | } 97 | 98 | _ego() { 99 | local curcontext="$curcontext" ret=1 100 | 101 | if ((CURRENT == 2)); then 102 | _ego-modulelist 103 | else 104 | shift words 105 | (( CURRENT -- )) 106 | curcontext="${curcontext%:*:*}:ego-$words[1]:" 107 | _call_function ret _ego-$words[1] 108 | fi 109 | } 110 | 111 | compdef _ego-profile epro 112 | compdef _ego ego 113 | -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line. 5 | SPHINXOPTS = 6 | SPHINXBUILD = sphinx-build 7 | SPHINXPROJ = Ego 8 | SOURCEDIR = . 9 | BUILDDIR = _build 10 | 11 | # Put it first so that "make" without argument is like "make help". 12 | help: 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 14 | 15 | .PHONY: help Makefile 16 | 17 | # Catch-all target: route all unknown targets to Sphinx using the new 18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 19 | %: Makefile 20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -------------------------------------------------------------------------------- /doc/code: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "CODE REFERENCE" "" "" 31 | .SH NAME 32 | Code Reference \- 33 | .sp 34 | Semi\-autodocumented code directly from program modules. 35 | .SH MODULES 36 | .SS The \(dqprofile\(dq module 37 | .IP "System Message: ERROR/3 (:, line 12)" 38 | Unknown directive type \(dqautomodule\(dq. 39 | .INDENT 0.0 40 | .INDENT 3.5 41 | .sp 42 | .nf 43 | .ft C 44 | \&.. automodule:: profile 45 | :members: 46 | :member\-order: bysource 47 | 48 | .ft P 49 | .fi 50 | .UNINDENT 51 | .UNINDENT 52 | .SS The \(dqoutput\(dq module 53 | .IP "System Message: ERROR/3 (:, line 19)" 54 | Unknown directive type \(dqautomodule\(dq. 55 | .INDENT 0.0 56 | .INDENT 3.5 57 | .sp 58 | .nf 59 | .ft C 60 | \&.. automodule:: output 61 | :members: 62 | :member\-order: bysource 63 | 64 | .ft P 65 | .fi 66 | .UNINDENT 67 | .UNINDENT 68 | .SS The \(dqmodule\(dq module 69 | .IP "System Message: ERROR/3 (:, line 26)" 70 | Unknown directive type \(dqautomodule\(dq. 71 | .INDENT 0.0 72 | .INDENT 3.5 73 | .sp 74 | .nf 75 | .ft C 76 | \&.. automodule:: module 77 | :members: 78 | :member\-order: bysource 79 | 80 | .ft P 81 | .fi 82 | .UNINDENT 83 | .UNINDENT 84 | .SS The \(dqconfig\(dq module 85 | .IP "System Message: ERROR/3 (:, line 33)" 86 | Unknown directive type \(dqautomodule\(dq. 87 | .INDENT 0.0 88 | .INDENT 3.5 89 | .sp 90 | .nf 91 | .ft C 92 | \&.. automodule:: config 93 | :members: 94 | :member\-order: bysource 95 | 96 | .ft P 97 | .fi 98 | .UNINDENT 99 | .UNINDENT 100 | .\" Generated by docutils manpage writer. 101 | . 102 | -------------------------------------------------------------------------------- /doc/code.rst: -------------------------------------------------------------------------------- 1 | Code Reference 2 | ============== 3 | 4 | Semi-autodocumented code directly from program modules. 5 | 6 | Modules 7 | ------- 8 | 9 | The "profile" module 10 | :::::::::::::::::::: 11 | 12 | .. automodule:: profile 13 | :members: 14 | :member-order: bysource 15 | 16 | The "output" module 17 | ::::::::::::::::::: 18 | 19 | .. automodule:: output 20 | :members: 21 | :member-order: bysource 22 | 23 | The "module" module 24 | ::::::::::::::::::: 25 | 26 | .. automodule:: module 27 | :members: 28 | :member-order: bysource 29 | 30 | The "config" module 31 | ::::::::::::::::::: 32 | 33 | .. automodule:: config 34 | :members: 35 | :member-order: bysource 36 | 37 | -------------------------------------------------------------------------------- /doc/design.rst: -------------------------------------------------------------------------------- 1 | Design Documentation 2 | ==================== 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | design/merge_actions -------------------------------------------------------------------------------- /doc/design/README.rst: -------------------------------------------------------------------------------- 1 | ==================== 2 | Design Documentation 3 | ==================== 4 | 5 | This directory contains documentation related to future designs and features of ego. Add stuff here for brainstorming, 6 | to be reviewed, or to create specifications for future functionality. -------------------------------------------------------------------------------- /doc/design/merge_actions.rst: -------------------------------------------------------------------------------- 1 | ================= 2 | Ego Merge Actions 3 | ================= 4 | 5 | The concept of 'merge actions' is that ego would have the ability to either: 6 | 7 | 1. Automatically perform certain system administration actions, or 8 | 2. Specify administration action steps that the user can perform manually 9 | 10 | This functionality could be called something else, such as 'automated system management', 'system policy engine', 11 | or something else. 12 | 13 | Action Priorities 14 | ----------------- 15 | 16 | These actions could have varying priority. One can imagine the following priorities: 17 | 18 | 1. Optional - something that could potentially be done, to inform the user. 19 | 2. Suggested - something that we would generally recommend be done. 20 | 3. Security - something that is security-related, which in turn could have its own sub-levels. 21 | 4. Required - something that is necessary to be done to maintain key system functionality. 22 | 23 | In turn, users could then configure ego as to how each priority action should be handled. For example, a user could opt 24 | to have all 'required' actions be performed automatically, be prompted to perform suggested actions, and to not perform 25 | optional actions. This would likely be the default for ego. 26 | 27 | Action Triggers 28 | --------------- 29 | 30 | Action triggers refer to when a particular action should be invoked. The following are ideas: 31 | 32 | 1. ``pre-kit-branch-switch`` - prior to switching a kit branch, perform an action. 33 | 2. ``post-kit-branch-switch`` - after switching to a kit branch, perform an action. 34 | 3. ``pre-sync`` - prior to a sync operation. This can be performed by grabbing remote metadata prior to actually performing 35 | a git pull. 36 | 4. ``post-sync`` - after a sync operation. 37 | 38 | Actions 39 | ------- 40 | 41 | A number of actions could be performed, with more added in the future. These actions could include: 42 | 43 | #. Switching the system python to a particular version -- for example, prior to switching Python kit, one should 44 | switch system python to 2.7 so that Portage continues to function. This should technically be done before a new 45 | python-3 is merged. 46 | 47 | #. Ensuring that the most recent version of Portage or Ego is installed. 48 | 49 | #. Performing necessary rebuilds of various packages, as needed, after a new kit has been enabled. 50 | 51 | #. Simply logging that a particular package has a known vulnerability and should be upgraded -- or take care of 52 | upgrading it automatically. 53 | 54 | The logging functionality could use a new "persistent logging engine" that will be added to ego to persistently record 55 | issues that should be addressed, as well as news items. 56 | 57 | References 58 | ---------- 59 | 60 | See the following bugs for issues that could be addressed with this functionality. 61 | 62 | FL-4156: [ego-2] ego sync fails with ImportError 63 | https://bugs.funtoo.org/browse/FL-4156 64 | 65 | FL-3812: ego systcl tuning - blobs 66 | https://bugs.funtoo.org/browse/FL-3812 67 | 68 | FL-4289: ego: create actions 69 | https://bugs.funtoo.org/browse/FL-4289 70 | 71 | FL-4131: When upgrades to core packages of funtoo exist - do them first and restart emerge 72 | https://bugs.funtoo.org/browse/FL-4131 73 | 74 | FL-4065: Update Xorg from v1.17 to v1.19 75 | https://bugs.funtoo.org/browse/FL-4065 -------------------------------------------------------------------------------- /doc/design/resolver-fails/easy-upgrade.txt: -------------------------------------------------------------------------------- 1 | solid portage # emerge -av openssl 2 | 3 | * IMPORTANT: 3 news items need reading for repository 'gentoo'. 4 | * Use eselect news to read news items. 5 | 6 | 7 | These are the packages that would be merged, in order: 8 | 9 | Calculating dependencies... done! 10 | [ebuild NS ] dev-libs/openssl-0.9.8z_p8:0.9.8 [1.0.1o:0] USE="zlib -bindist -gmp -kerberos {-test}" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 3,730 kB 11 | 12 | Total: 1 package (1 in new slot), Size of downloads: 3,730 kB 13 | 14 | WARNING: One or more updates have been skipped due to a dependency conflict: 15 | 16 | dev-libs/openssl:0 17 | 18 | (dev-libs/openssl-1.0.2k::gentoo, ebuild scheduled for merge) conflicts with 19 | >=dev-libs/openssl-0.9.6d:0[bindist] required by (net-misc/openssh-6.8_p1-r3::gentoo, installed) 20 | 21 | 22 | !!! The following installed packages are masked: 23 | - sys-devel/gcc-4.8.5::gentoo (masked by: package.mask) 24 | /usr/portage/profiles/package.mask/00-gentoo: 25 | # Michał Górny , Andreas K. Hüttel , 26 | # Matthias Maier (21 May 2017) 27 | # These old versions of toolchain packages (binutils, gcc, glibc) are no 28 | # longer officially supported and are not suitable for general use. Using 29 | # these packages can result in build failures (and possible breakage) for 30 | # many packages, and may leave your system vulnerable to known security 31 | # exploits. 32 | # 33 | # If you still use one of these old toolchain packages, please upgrade (and 34 | # in case of gcc switch the compiler) ASAP. If you need them for a specific 35 | # (isolated) use case, feel free to unmask them on your system. 36 | 37 | - sys-libs/glibc-2.20-r1::gentoo (masked by: package.mask) 38 | For more information, see the MASKED PACKAGES section in the emerge 39 | man page or refer to the Gentoo Handbook. 40 | 41 | 42 | Would you like to merge these packages? [Yes/No] n 43 | 44 | Quitting. 45 | -------------------------------------------------------------------------------- /doc/ego-config.8: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "EGO CONFIG" 1 "" "2.8.7" "Funtoo Linux Core System" 31 | .SH NAME 32 | ego config \- Funtoo Linux Configuration Module 33 | .SH SYNOPSIS 34 | .sp 35 | The \fBego config\fP command allows for easy querying and setting of values in \fB/etc/ego.conf\fP from the command\-line. 36 | .sp 37 | \fBego config get [section] [key]\fP 38 | .sp 39 | \fBego config set [section] [key] [value]\fP 40 | .SH EXAMPLES 41 | .sp 42 | Here are some examples of use: 43 | .INDENT 0.0 44 | .INDENT 3.5 45 | .sp 46 | .nf 47 | .ft C 48 | # ego config get kits python\-kit 49 | 3.6\-prime 50 | 51 | # ego config set kits python\-kit 3.7\-prime 52 | 53 | === Changing setting kits/python\-kit: === 54 | 55 | Old value: 3.6\-prime 56 | New value: 3.7\-prime 57 | 58 | Setting saved to /etc/ego.conf. 59 | .ft P 60 | .fi 61 | .UNINDENT 62 | .UNINDENT 63 | .SH AUTHOR 64 | Daniel Robbins 65 | .\" Generated by docutils manpage writer. 66 | . 67 | -------------------------------------------------------------------------------- /doc/ego-config.8.rst: -------------------------------------------------------------------------------- 1 | ========== 2 | ego config 3 | ========== 4 | 5 | --------------------------------------------- 6 | Funtoo Linux Configuration Module 7 | --------------------------------------------- 8 | 9 | :Author: Daniel Robbins 10 | :Version: ##VERSION## 11 | :Manual section: 1 12 | :Manual group: Funtoo Linux Core System 13 | 14 | SYNOPSIS 15 | ======== 16 | 17 | The ``ego config`` command allows for easy querying and setting of values in ``/etc/ego.conf`` from the command-line. 18 | 19 | ``ego config get [section] [key]`` 20 | 21 | ``ego config set [section] [key] [value]`` 22 | 23 | EXAMPLES 24 | ======== 25 | 26 | Here are some examples of use:: 27 | 28 | # ego config get kits python-kit 29 | 3.6-prime 30 | 31 | # ego config set kits python-kit 3.7-prime 32 | 33 | === Changing setting kits/python-kit: === 34 | 35 | Old value: 3.6-prime 36 | New value: 3.7-prime 37 | 38 | Setting saved to /etc/ego.conf. 39 | -------------------------------------------------------------------------------- /doc/ego-doc.1: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "EGO DOC" 1 "" "2.8.7" "Funtoo Linux Core System" 31 | .SH NAME 32 | ego doc \- Funtoo Linux Ego Documentation Module 33 | .SH SYNOPSIS 34 | .sp 35 | The \fBego doc\fP or \fBedoc\fP command can be used to render Funtoo Linux wiki documentation for console viewing. To use 36 | this command, specify the name of the article as the first argument. It is recommended that you pipe the output of this 37 | command to \fBless\fP or another pager so that you can scroll through the output. 38 | .SH FEATURES 39 | .sp 40 | When the following commands are run \fBego doc\fP will query the MediaWiki API and retrieve the latest wikitext for the 41 | specified page, and will then colorize and render the wikitext. The wikitext renderer includes the following features: 42 | .INDENT 0.0 43 | .IP \(bu 2 44 | Colorization 45 | .IP \(bu 2 46 | Proper rendering of console output 47 | .IP \(bu 2 48 | Proper rendering of tables 49 | .IP \(bu 2 50 | Inclusion of clickable hyperlinks for URLs 51 | .UNINDENT 52 | .sp 53 | Here are some examples of use: 54 | .INDENT 0.0 55 | .INDENT 3.5 56 | .sp 57 | .nf 58 | .ft C 59 | edoc Install | less 60 | edoc Networking | less 61 | edoc \(dqFuntoo Linux First Steps\(dq | less 62 | .ft P 63 | .fi 64 | .UNINDENT 65 | .UNINDENT 66 | .SH BUGS 67 | .sp 68 | Please note that the MediaWiki renderer is not perfect and you will likely find pages that it does not render correctly. 69 | Please feel free to open bugs for these issues at \fI\%https://bugs.funtoo.org\fP\&. Our renderer is in active development and is 70 | continually improving and becoming more sophisticated. 71 | .SH AUTHOR 72 | Daniel Robbins 73 | .\" Generated by docutils manpage writer. 74 | . 75 | -------------------------------------------------------------------------------- /doc/ego-doc.1.rst: -------------------------------------------------------------------------------- 1 | ========= 2 | ego doc 3 | ========= 4 | 5 | --------------------------------------------- 6 | Funtoo Linux Ego Documentation Module 7 | --------------------------------------------- 8 | 9 | :Author: Daniel Robbins 10 | :Version: ##VERSION## 11 | :Manual section: 1 12 | :Manual group: Funtoo Linux Core System 13 | 14 | SYNOPSIS 15 | ======== 16 | 17 | The ``ego doc`` or ``edoc`` command can be used to render Funtoo Linux wiki documentation for console viewing. To use 18 | this command, specify the name of the article as the first argument. It is recommended that you pipe the output of this 19 | command to ``less`` or another pager so that you can scroll through the output. 20 | 21 | FEATURES 22 | ======== 23 | 24 | When the following commands are run ``ego doc`` will query the MediaWiki API and retrieve the latest wikitext for the 25 | specified page, and will then colorize and render the wikitext. The wikitext renderer includes the following features: 26 | 27 | * Colorization 28 | * Proper rendering of console output 29 | * Proper rendering of tables 30 | * Inclusion of clickable hyperlinks for URLs 31 | 32 | Here are some examples of use:: 33 | 34 | edoc Install | less 35 | edoc Networking | less 36 | edoc "Funtoo Linux First Steps" | less 37 | 38 | BUGS 39 | ==== 40 | 41 | Please note that the MediaWiki renderer is not perfect and you will likely find pages that it does not render correctly. 42 | Please feel free to open bugs for these issues at https://bugs.funtoo.org. Our renderer is in active development and is 43 | continually improving and becoming more sophisticated. -------------------------------------------------------------------------------- /doc/ego-kit.1: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "EGO KIT" 1 "" "2.8.7" "Funtoo Linux Core System" 31 | .SH NAME 32 | ego kit \- Funtoo Linux Kit Module 33 | .SH SYNOPSIS 34 | .sp 35 | \fBego kit status\fP 36 | .sp 37 | \fBego kit list\fP 38 | .SH USAGE 39 | .sp 40 | Use the \fBego kit\fP command to display information about currently\-enabled kits as well as available kits. 41 | .SH STATUS INFORMATION 42 | .sp 43 | Use \fBego kit status\fP to display status information on meta\-repo and all kits. A table will be printed to the 44 | console displaying the location of meta\-repo, the last time it was updated using \fBego sync\fP, all kits, the current 45 | branch selected for each kit, the default branch for the kit (if different than the current branch,) and the stability 46 | level of each branch. 47 | .sp 48 | It\(aqs important to note that the stability level indicates the \fItrue\fP stability of the branch; for example, Funtoo Linux 49 | developers may create a \fB3.0\-prime\fP branch but immediately after its creation, it will be considered to have a 50 | \fBdev\fP (not \fBprime\fP) stability level. Only when the necessary fixes and patches have been applied will Funtoo Linux 51 | developers bump the branch to \fBprime\fP stability. So in this regard, the name of the branch indicates its eventual, 52 | intended stability level, while the stability level itself indicates the \fIactual\fP stability level of the branch. 53 | .SH LIST ALL KITS 54 | .sp 55 | \fBego kit list\fP will display information similar to \fBego kit status\fP, but will also show not\-currently\-enabled kits 56 | and their stability level. See \fBBRANCH STABILITY LEVELS\fP, below. 57 | .SH BRANCH STABILITY LEVELS 58 | .sp 59 | The following branch stability levels are currently defined: 60 | .INDENT 0.0 61 | .TP 62 | .B PRIME 63 | Production\-level, enterprise\-quality and fully supported with backports, or a current Gentoo branch that is our 64 | default branch. 65 | .TP 66 | .B NEAR\-PRIME 67 | Nearing production quality, requiring additional testing and user validation before marked as \fBprime\fP 68 | .TP 69 | .B BETA 70 | Beta release \-\- not yet guaranteed to be particularly stable, yet appropriate for adventurous users to test only. 71 | .TP 72 | .B ALPHA 73 | Alpha release \-\- only for adventurous users, who should expect some breakage. 74 | .TP 75 | .B DEV 76 | Developer release \-\- in active development; not indended for non\-developers. 77 | .TP 78 | .B CURRENT 79 | Current means that the branch tracks Gentoo, and is \fInot\fP our default branch. Some of our branches track Gentoo but 80 | are our default branch, in which case the branch will be marked as \fBprime\fP\&. 81 | .UNINDENT 82 | .SH AUTHOR 83 | Daniel Robbins 84 | .\" Generated by docutils manpage writer. 85 | . 86 | -------------------------------------------------------------------------------- /doc/ego-kit.1.rst: -------------------------------------------------------------------------------- 1 | ======= 2 | ego kit 3 | ======= 4 | 5 | --------------------------------------------- 6 | Funtoo Linux Kit Module 7 | --------------------------------------------- 8 | 9 | :Author: Daniel Robbins 10 | :Version: ##VERSION## 11 | :Manual section: 1 12 | :Manual group: Funtoo Linux Core System 13 | 14 | SYNOPSIS 15 | ======== 16 | 17 | ``ego kit status`` 18 | 19 | ``ego kit list`` 20 | 21 | USAGE 22 | ===== 23 | 24 | Use the ``ego kit`` command to display information about currently-enabled kits as well as available kits. 25 | 26 | STATUS INFORMATION 27 | ================== 28 | 29 | Use ``ego kit status`` to display status information on meta-repo and all kits. A table will be printed to the 30 | console displaying the location of meta-repo, the last time it was updated using ``ego sync``, all kits, the current 31 | branch selected for each kit, the default branch for the kit (if different than the current branch,) and the stability 32 | level of each branch. 33 | 34 | It's important to note that the stability level indicates the *true* stability of the branch; for example, Funtoo Linux 35 | developers may create a ``3.0-prime`` branch but immediately after its creation, it will be considered to have a 36 | ``dev`` (not ``prime``) stability level. Only when the necessary fixes and patches have been applied will Funtoo Linux 37 | developers bump the branch to ``prime`` stability. So in this regard, the name of the branch indicates its eventual, 38 | intended stability level, while the stability level itself indicates the *actual* stability level of the branch. 39 | 40 | LIST ALL KITS 41 | ============= 42 | 43 | ``ego kit list`` will display information similar to ``ego kit status``, but will also show not-currently-enabled kits 44 | and their stability level. See ``BRANCH STABILITY LEVELS``, below. 45 | 46 | BRANCH STABILITY LEVELS 47 | ======================= 48 | 49 | The following branch stability levels are currently defined: 50 | 51 | PRIME 52 | Production-level, enterprise-quality and fully supported with backports, or a current Gentoo branch that is our 53 | default branch. 54 | 55 | NEAR-PRIME 56 | Nearing production quality, requiring additional testing and user validation before marked as ``prime`` 57 | 58 | BETA 59 | Beta release -- not yet guaranteed to be particularly stable, yet appropriate for adventurous users to test only. 60 | 61 | ALPHA 62 | Alpha release -- only for adventurous users, who should expect some breakage. 63 | 64 | DEV 65 | Developer release -- in active development; not indended for non-developers. 66 | 67 | CURRENT 68 | Current means that the branch tracks Gentoo, and is *not* our default branch. Some of our branches track Gentoo but 69 | are our default branch, in which case the branch will be marked as ``prime``. -------------------------------------------------------------------------------- /doc/ego-sync.8: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "EGO SYNC" 8 "" "2.8.7" "Funtoo Linux Core System" 31 | .SH NAME 32 | ego sync \- Funtoo Linux Sync Module 33 | .SH SYNOPSIS 34 | .sp 35 | \fBego sync [\-h] [\-\-kits|\-\-no\-kits] [\-\-meta|\-\-no\-meta] [\-\-in\-place] [\-\-config|\-\-no\-config] [\-\-dest DESTINATION]\fP 36 | .SH USAGE 37 | .sp 38 | Use the \fBego sync\fP command to perform an initial clone of meta\-repo, or to update meta\-repo according to the settings 39 | in \fB/etc/ego.conf\fP See ego.conf(5) for information on how to configure \fBego sync\fP\&. 40 | .sp 41 | \fBego sync\fP is typically run as the root user, but can also be run as a regular user. When run as a root user, the 42 | code will look at the user and group ownership of the meta\-repo directory if it exists and will \(aqdrop permissions\(aq 43 | to run the sync operations as this user. If meta\-repo does not yet exist, it will perform the sync operations as the 44 | \fBportage\fP user and the \fBportage\fP group. 45 | .sp 46 | When run as a regular user, \fBego sync\fP will of course not drop permissions, but will perform sync operations as 47 | the current user and the current user\(aqs primary group. 48 | .sp 49 | \fBego sync\fP, when run as root, will run \fBemerge sync\fP in order to sync any non\-Funtoo kits, and this will also 50 | trigger any \(aqpackage move updates\(aq (renames) that need to be applied to the package database in \fB/var/db/pkg\fP\&. 51 | When run as a regular user, these steps are skipped. 52 | .SS Disable Updates to Kits 53 | .sp 54 | By default, all kits will be updated. To turn this off, specify the \fB\-\-no\-kits\fP option. 55 | .SS Disable Updates to Meta\-Repo 56 | .sp 57 | By default, meta\-repo will be updated to the latest version available. To turn this off, specify the 58 | \fB\-\-no\-meta\fP option. This is used by metro when it is using a Portage snapshot and wants to use \fIthat\fP 59 | snapshot and not update it. 60 | .SS Disable Config Updates 61 | .sp 62 | By default, \fBego sync\fP will update configuration in \fB/etc/portage\fP, unless \fB\-\-dest\fP is being used 63 | to write out the meta\-repo to a non\-default location. This involves ensuring that the correct kits are 64 | checked out according to \fB/etc/ego.conf\fP kit and release settings, and that updates are made to 65 | \fB/etc/portage/repos.conf\fP, and the active profiles enabled in \fB/etc/portage/make.profile/parent\fP 66 | are set correctly based on your profile (flavor and mix\-in) settings. 67 | .sp 68 | You almost always want config to be updated when you run \fBego sync\fP to ensure everything is 69 | configured properly, but if you want to disable this, you can use the \fB\-\-no\-config\fP option 70 | which will disable these configuration updates. 71 | .SS Syncing In\-Place 72 | .sp 73 | Use the \fB\-\-in\-place\fP option to tell ego to not perform any syncing, so it is short\-hand for \fB\-\-no\-meta \-\-no\-kits\fP\&. 74 | .SS Creating a Meta\-Repo For Archiving 75 | .sp 76 | The \fB\-\-dest\fP option can be used to manually specify the location to point to a new location to create 77 | a meta\-repo. This setting overrides the \fBmeta_repo_path\fP and \fBkits_path\fP settings in \fB/etc/ego.conf\fP, and also 78 | turns off automatic regeneration of repository configuration in \fB/etc/portage/repos.conf\fP, as well as updates to 79 | profile settings. This functionality is useful for creating a meta\-repo for archiving purposes. 80 | .SH AUTHOR 81 | Daniel Robbins 82 | .\" Generated by docutils manpage writer. 83 | . 84 | -------------------------------------------------------------------------------- /doc/ego-sync.8.rst: -------------------------------------------------------------------------------- 1 | ======== 2 | ego sync 3 | ======== 4 | 5 | --------------------------------------------- 6 | Funtoo Linux Sync Module 7 | --------------------------------------------- 8 | 9 | :Author: Daniel Robbins 10 | :Version: ##VERSION## 11 | :Manual section: 8 12 | :Manual group: Funtoo Linux Core System 13 | 14 | SYNOPSIS 15 | ======== 16 | 17 | ``ego sync [-h] [--kits|--no-kits] [--meta|--no-meta] [--in-place] [--config|--no-config] [--dest DESTINATION]`` 18 | 19 | USAGE 20 | ===== 21 | 22 | Use the ``ego sync`` command to perform an initial clone of meta-repo, or to update meta-repo according to the settings 23 | in ``/etc/ego.conf`` See ego.conf(5) for information on how to configure ``ego sync``. 24 | 25 | ``ego sync`` is typically run as the root user, but can also be run as a regular user. When run as a root user, the 26 | code will look at the user and group ownership of the meta-repo directory if it exists and will 'drop permissions' 27 | to run the sync operations as this user. If meta-repo does not yet exist, it will perform the sync operations as the 28 | ``portage`` user and the ``portage`` group. 29 | 30 | When run as a regular user, ``ego sync`` will of course not drop permissions, but will perform sync operations as 31 | the current user and the current user's primary group. 32 | 33 | ``ego sync``, when run as root, will run ``emerge sync`` in order to sync any non-Funtoo kits, and this will also 34 | trigger any 'package move updates' (renames) that need to be applied to the package database in ``/var/db/pkg``. 35 | When run as a regular user, these steps are skipped. 36 | 37 | Disable Updates to Kits 38 | ~~~~~~~~~~~~~~~~~~~~~~~ 39 | 40 | By default, all kits will be updated. To turn this off, specify the ``--no-kits`` option. 41 | 42 | Disable Updates to Meta-Repo 43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | 45 | By default, meta-repo will be updated to the latest version available. To turn this off, specify the 46 | ``--no-meta`` option. This is used by metro when it is using a Portage snapshot and wants to use *that* 47 | snapshot and not update it. 48 | 49 | Disable Config Updates 50 | ~~~~~~~~~~~~~~~~~~~~~~ 51 | 52 | By default, ``ego sync`` will update configuration in ``/etc/portage``, unless ``--dest`` is being used 53 | to write out the meta-repo to a non-default location. This involves ensuring that the correct kits are 54 | checked out according to ``/etc/ego.conf`` kit and release settings, and that updates are made to 55 | ``/etc/portage/repos.conf``, and the active profiles enabled in ``/etc/portage/make.profile/parent`` 56 | are set correctly based on your profile (flavor and mix-in) settings. 57 | 58 | You almost always want config to be updated when you run ``ego sync`` to ensure everything is 59 | configured properly, but if you want to disable this, you can use the ``--no-config`` option 60 | which will disable these configuration updates. 61 | 62 | 63 | Syncing In-Place 64 | ~~~~~~~~~~~~~~~~ 65 | Use the ``--in-place`` option to tell ego to not perform any syncing, so it is short-hand for ``--no-meta --no-kits``. 66 | 67 | 68 | Creating a Meta-Repo For Archiving 69 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | The ``--dest`` option can be used to manually specify the location to point to a new location to create 71 | a meta-repo. This setting overrides the ``meta_repo_path`` and ``kits_path`` settings in ``/etc/ego.conf``, and also 72 | turns off automatic regeneration of repository configuration in ``/etc/portage/repos.conf``, as well as updates to 73 | profile settings. This functionality is useful for creating a meta-repo for archiving purposes. 74 | 75 | 76 | -------------------------------------------------------------------------------- /doc/ego.1: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "EGO" 1 "" "2.8.7" "Funtoo Linux Core System" 31 | .SH NAME 32 | ego \- Funtoo Linux System Management Meta-Command 33 | .SH SYNOPSIS 34 | .sp 35 | The \fIego\fP command is a meta\-command that consists of several modules that provide functionality. Currently, the 36 | following modules are supported: 37 | .INDENT 0.0 38 | .TP 39 | .B sync 40 | Ego sync module. See ego\-sync(8). 41 | .TP 42 | .B profile 43 | Ego profile querying and selection module (shortcut: \fIepro\fP) See ego\-profile(8). 44 | .TP 45 | .B query 46 | Ego query module. See ego\-query(1). 47 | .TP 48 | .B doc 49 | Ego Wiki Documentation module. (shortcut: \fIedoc\fP) See ego\-doc(1). 50 | .TP 51 | .B kit 52 | Ego kit information module. see ego\-kit(1). 53 | .TP 54 | .B config 55 | Ego configuration module to allow changing \fB/etc/ego.conf\fP from the command\-line. See ego\-config(8). 56 | .UNINDENT 57 | .sp 58 | You can invoke the relevant module by using the calling convention \fBego module [arg1...]\fP\&. For example, to view the 59 | Funtoo Linux Installation Guide, type \fBego doc Install | less\fP\&. Alternatively, you can use the module shortcut if 60 | one exists, such as \fBedoc install | less\fP\&. 61 | .SH ENVIRONMENT VARIABLES 62 | .INDENT 0.0 63 | .TP 64 | .B \fBEGO_CONFIG\fP 65 | Use this environment variable to set an alternate path to the configuration file (default is \fB/etc/ego.conf\fP\&.) 66 | .TP 67 | .B \fBROOT\fP 68 | Use this environment variable to set an alternate path for the OS installation. This allows you to use your local 69 | ego command to interact with a Funtoo system in a chroot, for example. Note that when this environment variable is 70 | set, ego will not drop permissions to the Portage user. 71 | .UNINDENT 72 | .SH LICENSE 73 | .sp 74 | Copyright 2015\-2020 Funtoo Solutions, Inc. and contributors. 75 | .sp 76 | This program is free software; you can redistribute and/or modify it under the terms of the GNU General Public License 77 | version 2 or GNU General Public License version 3. Alternatively you may (at your option) use any other license that has 78 | been publicly approved for use with this program by Funtoo Solutions, Inc. (or its successors, if any.) 79 | .SH AUTHOR 80 | Daniel Robbins 81 | .\" Generated by docutils manpage writer. 82 | . 83 | -------------------------------------------------------------------------------- /doc/ego.1.rst: -------------------------------------------------------------------------------- 1 | ========= 2 | ego 3 | ========= 4 | 5 | --------------------------------------------- 6 | Funtoo Linux System Management Meta-Command 7 | --------------------------------------------- 8 | 9 | :Author: Daniel Robbins 10 | :Version: ##VERSION## 11 | :Manual section: 1 12 | :Manual group: Funtoo Linux Core System 13 | 14 | SYNOPSIS 15 | -------- 16 | 17 | The *ego* command is a meta-command that consists of several modules that provide functionality. Currently, the 18 | following modules are supported: 19 | 20 | sync 21 | Ego sync module. See ego-sync(8). 22 | 23 | profile 24 | Ego profile querying and selection module (shortcut: *epro*) See ego-profile(8). 25 | 26 | query 27 | Ego query module. See ego-query(1). 28 | 29 | doc 30 | Ego Wiki Documentation module. (shortcut: *edoc*) See ego-doc(1). 31 | 32 | kit 33 | Ego kit information module. see ego-kit(1). 34 | 35 | config 36 | Ego configuration module to allow changing ``/etc/ego.conf`` from the command-line. See ego-config(8). 37 | 38 | You can invoke the relevant module by using the calling convention ``ego module [arg1...]``. For example, to view the 39 | Funtoo Linux Installation Guide, type ``ego doc Install | less``. Alternatively, you can use the module shortcut if 40 | one exists, such as ``edoc install | less``. 41 | 42 | ENVIRONMENT VARIABLES 43 | --------------------- 44 | 45 | ``EGO_CONFIG`` 46 | Use this environment variable to set an alternate path to the configuration file (default is ``/etc/ego.conf``.) 47 | 48 | ``ROOT`` 49 | Use this environment variable to set an alternate path for the OS installation. This allows you to use your local 50 | ego command to interact with a Funtoo system in a chroot, for example. Note that when this environment variable is 51 | set, ego will not drop permissions to the Portage user. 52 | 53 | LICENSE 54 | -------- 55 | 56 | .. include:: ../COPYRIGHT.txt 57 | -------------------------------------------------------------------------------- /doc/index: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "" "" "" 31 | .SH NAME 32 | \- 33 | .\" Ego documentation master file, created by 34 | .\" sphinx-quickstart on Tue Oct 17 23:38:36 2017. 35 | .\" You can adapt this file completely to your liking, but it should at least 36 | .\" contain the root `toctree` directive. 37 | . 38 | .SH WELCOME TO EGO'S DOCUMENTATION! 39 | .sp 40 | Ego \- Funtoo\(aqs personality manager \- is a utility that can manage multiple settings related to how 41 | Funtoo Linux uses Profiles and Kits, but also syncs portage repository tree (meta\-repo) and other tasks. 42 | .IP "System Message: ERROR/3 (:, line 12)" 43 | Unknown directive type \(dqtoctree\(dq. 44 | .INDENT 0.0 45 | .INDENT 3.5 46 | .sp 47 | .nf 48 | .ft C 49 | \&.. toctree:: 50 | :maxdepth: 2 51 | :caption: Contents: 52 | 53 | modules 54 | design 55 | manual 56 | code 57 | 58 | .ft P 59 | .fi 60 | .UNINDENT 61 | .UNINDENT 62 | .SH INDICES AND TABLES 63 | .INDENT 0.0 64 | .IP \(bu 2 65 | 66 | .nf 67 | :ref:\(gagenindex\(ga 68 | .fi 69 | 70 | .IP "System Message: ERROR/3 (:, line 24)" 71 | Unknown interpreted text role \(dqref\(dq. 72 | .IP \(bu 2 73 | 74 | .nf 75 | :ref:\(gamodindex\(ga 76 | .fi 77 | 78 | .IP "System Message: ERROR/3 (:, line 25)" 79 | Unknown interpreted text role \(dqref\(dq. 80 | .IP \(bu 2 81 | 82 | .nf 83 | :ref:\(gasearch\(ga 84 | .fi 85 | 86 | .IP "System Message: ERROR/3 (:, line 26)" 87 | Unknown interpreted text role \(dqref\(dq. 88 | .UNINDENT 89 | .\" Generated by docutils manpage writer. 90 | . 91 | -------------------------------------------------------------------------------- /doc/index.rst: -------------------------------------------------------------------------------- 1 | .. Ego documentation master file, created by 2 | sphinx-quickstart on Tue Oct 17 23:38:36 2017. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | Welcome to Ego's documentation! 7 | =============================== 8 | 9 | Ego - Funtoo's personality manager - is a utility that can manage multiple settings related to how 10 | Funtoo Linux uses Profiles and Kits, but also syncs portage repository tree (meta-repo) and other tasks. 11 | 12 | .. toctree:: 13 | :maxdepth: 2 14 | :caption: Contents: 15 | 16 | modules 17 | design 18 | manual 19 | code 20 | 21 | Indices and tables 22 | ================== 23 | 24 | * :ref:`genindex` 25 | * :ref:`modindex` 26 | * :ref:`search` 27 | -------------------------------------------------------------------------------- /doc/manual: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "EGO MANUAL PAGES" "" "" 31 | .SH NAME 32 | Ego Manual Pages \- 33 | .sp 34 | Here you can find manual pages for ego and its modules. 35 | .IP "System Message: ERROR/3 (:, line 6)" 36 | Unknown directive type \(dqtoctree\(dq. 37 | .INDENT 0.0 38 | .INDENT 3.5 39 | .sp 40 | .nf 41 | .ft C 42 | \&.. toctree:: 43 | :maxdepth: 1 44 | 45 | ego.1 46 | ego.conf.5 47 | .ft P 48 | .fi 49 | .UNINDENT 50 | .UNINDENT 51 | .\" Generated by docutils manpage writer. 52 | . 53 | -------------------------------------------------------------------------------- /doc/manual.rst: -------------------------------------------------------------------------------- 1 | Ego Manual Pages 2 | ================== 3 | 4 | Here you can find manual pages for ego and its modules. 5 | 6 | .. toctree:: 7 | :maxdepth: 1 8 | 9 | ego.1 10 | ego.conf.5 11 | -------------------------------------------------------------------------------- /doc/modules: -------------------------------------------------------------------------------- 1 | .\" Man page generated from reStructuredText. 2 | . 3 | . 4 | .nr rst2man-indent-level 0 5 | . 6 | .de1 rstReportMargin 7 | \\$1 \\n[an-margin] 8 | level \\n[rst2man-indent-level] 9 | level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 | - 11 | \\n[rst2man-indent0] 12 | \\n[rst2man-indent1] 13 | \\n[rst2man-indent2] 14 | .. 15 | .de1 INDENT 16 | .\" .rstReportMargin pre: 17 | . RS \\$1 18 | . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 | . nr rst2man-indent-level +1 20 | .\" .rstReportMargin post: 21 | .. 22 | .de UNINDENT 23 | . RE 24 | .\" indent \\n[an-margin] 25 | .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] 26 | .nr rst2man-indent-level -1 27 | .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] 28 | .in \\n[rst2man-indent\\n[rst2man-indent-level]]u 29 | .. 30 | .TH "EGO MODULES" "" "" 31 | .SH NAME 32 | Ego Modules \- 33 | .sp 34 | Ego uses modular design. The modules that are currently available are: 35 | .INDENT 0.0 36 | .IP \(bu 2 37 | ego config \- can modify the /etc/ego.conf file 38 | .IP \(bu 2 39 | ego doc \- parses information from Funtoo Wiki and displays it in terminal 40 | .IP \(bu 2 41 | ego kit \- displays information about kits selected 42 | .IP \(bu 2 43 | ego query \- provides various information about packages in repository 44 | .IP \(bu 2 45 | ego sync \- manages the process of synchronizing portage tree (meta\-repo) 46 | .UNINDENT 47 | .IP "System Message: ERROR/3 (:, line 12)" 48 | Unknown directive type \(dqtoctree\(dq. 49 | .INDENT 0.0 50 | .INDENT 3.5 51 | .sp 52 | .nf 53 | .ft C 54 | \&.. toctree:: 55 | :maxdepth: 1 56 | 57 | ego\-config.8 58 | ego\-doc.1 59 | ego\-kit.1 60 | ego\-profile.8 61 | ego\-query.1 62 | ego\-sync.8 63 | .ft P 64 | .fi 65 | .UNINDENT 66 | .UNINDENT 67 | .\" Generated by docutils manpage writer. 68 | . 69 | -------------------------------------------------------------------------------- /doc/modules.rst: -------------------------------------------------------------------------------- 1 | Ego Modules 2 | =========== 3 | 4 | Ego uses modular design. The modules that are currently available are: 5 | 6 | * ego config - can modify the /etc/ego.conf file 7 | * ego doc - parses information from Funtoo Wiki and displays it in terminal 8 | * ego kit - displays information about kits selected 9 | * ego query - provides various information about packages in repository 10 | * ego sync - manages the process of synchronizing portage tree (meta-repo) 11 | 12 | .. toctree:: 13 | :maxdepth: 1 14 | 15 | ego-config.8 16 | ego-doc.1 17 | ego-kit.1 18 | ego-profile.8 19 | ego-query.1 20 | ego-sync.8 21 | -------------------------------------------------------------------------------- /etc/boot.conf.defaults: -------------------------------------------------------------------------------- 1 | # *** DO NOT MODIFY THIS FILE *** 2 | # These are the defaults for boot-update. 3 | # User settings go in /etc/boot.conf which overrides this file. 4 | # `man boot.conf` for more info. 5 | 6 | boot { 7 | path /boot 8 | generate grub 9 | timeout 5 10 | terminal video 11 | autopick mtime 12 | } 13 | 14 | color { 15 | normal cyan/blue 16 | highlight blue/cyan 17 | } 18 | 19 | default { 20 | type linux 21 | scan /boot 22 | kernel bzImage[-v] kernel[-v] vmlinuz[-v] vmlinux[-v] 23 | params root=auto rootfstype=auto 24 | xenkernel /boot/xen.gz 25 | gfxmode text 26 | attemptparams panic=10 27 | } 28 | 29 | serial { 30 | unit 0 31 | speed 115200 32 | word 8 33 | parity no 34 | stop 1 35 | } 36 | 37 | grub { 38 | dir grub 39 | file grub.cfg 40 | grub-probe /sbin/grub-probe 41 | grub-mkdevicemap /sbin/grub-mkdevicemap 42 | font_src /usr/share/grub /usr/share/grub/fonts 43 | } 44 | 45 | grub-legacy { 46 | dir grub-legacy 47 | file grub.conf 48 | } 49 | 50 | lilo { 51 | file /etc/lilo.conf 52 | bin /sbin/lilo 53 | gparams install=menu prompt 54 | } 55 | -------------------------------------------------------------------------------- /etc/boot.conf.dist: -------------------------------------------------------------------------------- 1 | boot { 2 | generate grub 3 | default "Funtoo Linux" 4 | timeout 3 5 | } 6 | 7 | "Funtoo Linux" { 8 | kernel kernel[-v] 9 | initrd initramfs[-v] 10 | params += real_root=auto rootfstype=auto 11 | } 12 | 13 | "Funtoo Linux (nomodeset)" { 14 | kernel kernel[-v] 15 | initrd initramfs[-v] 16 | params += real_root=auto rootfstype=auto nomodeset 17 | } 18 | -------------------------------------------------------------------------------- /etc/boot.conf.example: -------------------------------------------------------------------------------- 1 | boot { 2 | generate grub 3 | # "generate grub-legacy" if you are using grub-legacy-0.97 4 | 5 | # Below, you can specify the kernel image to boot by default, 6 | # or the default boot entry name 7 | 8 | default bzImage 9 | # default Windows 7 10 | } 11 | 12 | display { 13 | # gfxmode 1440x900 14 | # background /boot/background.jpg 15 | } 16 | 17 | "All my kernels" { 18 | # 19 | # This entry use reasonable defaults to find all matching kernels. An 20 | # "All my kernels - " boot entry will be generated for 21 | # *each* kernel found. 22 | # 23 | # type "boot-update --showdefaults" to see default settings. 24 | } 25 | 26 | "Funtoo Linux console" { 27 | kernel bzImage 28 | } 29 | 30 | "Funtoo Linux with uvesafb" { 31 | kernel bzImage-RHEL5-uvesafb[-v] 32 | params += video=uvesafb:1440x900-8,mtrr:2 33 | } 34 | 35 | "Xen" { 36 | type xen 37 | xenkernel xen-4.1.1.gz 38 | xenparams loglvl=all guest_loglvl=all 39 | kernel bzImage[-v] 40 | initrd initramfs[-v] 41 | } 42 | 43 | "Windows 7" { 44 | type win7 45 | params root=/dev/sda1 46 | } 47 | 48 | "Windows XP" { 49 | type winxp 50 | params root=/dev/sda4 51 | } 52 | -------------------------------------------------------------------------------- /etc/ego.conf: -------------------------------------------------------------------------------- 1 | # This is the ego.conf file. 2 | 3 | [global] 4 | 5 | release = 1.2 6 | -------------------------------------------------------------------------------- /make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | VERSION=`cat VERSION` 4 | 5 | prep() { 6 | install -d dist 7 | rm -f dist/ego-$VERSION* 8 | cd doc 9 | for x in *.rst; do 10 | cat $x | sed -e "s/##VERSION##/$VERSION/g" | rst2man.py > ${x%.rst} 11 | done 12 | cd .. 13 | sed -i -e '/^VERSION =/s/^.*$/VERSION = "'$VERSION'"/g' ego 14 | } 15 | 16 | commit() { 17 | cd doc 18 | git add *.[1-8] 19 | cd .. 20 | git commit -a -m "$VERSION distribution release" 21 | git tag -f "$VERSION" 22 | git push 23 | git push --tags 24 | git archive --format=tar --prefix=ego-${VERSION}/ HEAD > dist/ego-${VERSION}.tar 25 | bzip2 dist/ego-$VERSION.tar 26 | } 27 | 28 | 29 | if [ "$1" = "prep" ] 30 | then 31 | prep 32 | elif [ "$1" = "commit" ] 33 | then 34 | commit 35 | elif [ "$1" = "all" ] 36 | then 37 | prep 38 | commit 39 | fi 40 | -------------------------------------------------------------------------------- /modules-info/boot.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Boot features (boot-update)", 3 | "author" : "Daniel Robbins", 4 | "version" : "1.0", 5 | "actions" : [ "update", "success" ], 6 | "shortcut" : "/usr/sbin/boot-update" 7 | } 8 | -------------------------------------------------------------------------------- /modules-info/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Change ego.conf options from command-line", 3 | "author" : "Daniel Robbins", 4 | "version" : "1.0", 5 | "actions" : [ "get", "set" ] 6 | } 7 | -------------------------------------------------------------------------------- /modules-info/doc.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Display wiki documentation", 3 | "author" : "Daniel Robbins", 4 | "version" : "1.0", 5 | "actions" : [ ], 6 | "shortcut" : "/usr/bin/edoc" 7 | } 8 | -------------------------------------------------------------------------------- /modules-info/kit.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Kit-related information", 3 | "author" : "Daniel Robbins", 4 | "version" : "1.0", 5 | "actions" : [ "status", "list", "show" ] 6 | } 7 | -------------------------------------------------------------------------------- /modules-info/profile.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Manage Funtoo Linux profiles", 3 | "author" : "Daniel Robbins", 4 | "version" : "1.0", 5 | "actions" : [ "list", "show", "show-json", "get" ], 6 | "shortcut" : "/usr/sbin/epro" 7 | } 8 | -------------------------------------------------------------------------------- /modules-info/query.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Query package information", 3 | "author" : "Antoine Pinsard", 4 | "version" : "1.1", 5 | "actions" : [ "versions", "origin", "bugs" ] 6 | } 7 | -------------------------------------------------------------------------------- /modules-info/sync.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Synchronize Portage tree", 3 | "author" : "Daniel Robbins", 4 | "version" : "1.0", 5 | "actions" : [ "update", "status" ] 6 | } 7 | -------------------------------------------------------------------------------- /modules-info/upgrade.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "Upgrade-related tools", 3 | "author" : "Daniel Robbins", 4 | "version" : "1.0", 5 | "actions" : [ "status", "list", "show", "upgrade" ] 6 | } 7 | -------------------------------------------------------------------------------- /modules/config.ego: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import sys 4 | from ego.module import EgoModule 5 | from ego.output import Color, Output 6 | 7 | 8 | class Module(EgoModule): 9 | 10 | valid_sections = ["kits", "profiles", "global"] 11 | 12 | def noop(self): 13 | self.parser.print_usage() 14 | 15 | def handle_get_action(self): 16 | print(self.options.action) 17 | val = self.config.get_setting(self.options.section[0], self.options.key[0], default="") 18 | print(val) 19 | 20 | def handle_set_action(self): 21 | section = self.options.section[0] 22 | key = self.options.key[0] 23 | value = self.options.value[0] 24 | 25 | if section not in self.valid_sections: 26 | Output.fatal("Section should be one of: " + repr(self.valid_sections)) 27 | 28 | # for kits, do some validation of config settings: 29 | 30 | if section == "kits": 31 | sha1s = self.config.kit_sha1_metadata 32 | if key not in sha1s: 33 | Output.fatal("No such kit: %s" % key) 34 | if value not in sha1s[key]: 35 | Output.error("No such branch for kit %s: %s" % ( key, value )) 36 | Output.header("Available branches") 37 | for branch in sha1s[key].keys(): 38 | print(" ", branch) 39 | print() 40 | sys.exit(1) 41 | 42 | val = self.config.get_setting(section, key, default="") 43 | 44 | Output.header("Changing setting %s/%s" % ( section, key)) 45 | print(Color.darkcyan("Old value:"), val) 46 | self.config.set_setting(section, key, value) 47 | print(Color.cyan("New value:"), value) 48 | print() 49 | print("Setting saved to %s." % self.config.settings_path) 50 | 51 | def add_arguments(self, parser): 52 | 53 | subparsers = parser.add_subparsers(title='actions', dest='action') 54 | 55 | get_parser = subparsers.add_parser('get', help="get a configuration setting") 56 | get_parser.add_argument('section', nargs=1) 57 | get_parser.add_argument('key', nargs=1) 58 | get_parser.set_defaults(handler=self.handle_get_action) 59 | 60 | set_parser = subparsers.add_parser('set', help="set a configuration setting") 61 | set_parser.add_argument('section', nargs=1) 62 | set_parser.add_argument('key', nargs=1) 63 | set_parser.add_argument('value', nargs=1) 64 | set_parser.set_defaults(handler=self.handle_set_action) 65 | 66 | def handle_show_action(self): 67 | print(self.config) 68 | 69 | def handle(self): 70 | handler = getattr(self.options, 'handler', self.noop) 71 | handler() 72 | 73 | # vim: ts=4 sw=4 noet 74 | -------------------------------------------------------------------------------- /modules/doc.ego: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | import sys 3 | import requests 4 | import urllib.parse 5 | 6 | from ego.module import EgoModule 7 | from mediawiki.cli_parser import wikitext_parse 8 | 9 | class Module(EgoModule): 10 | 11 | def add_arguments(self, parser): 12 | parser.add_argument('wiki_page', help="The name of a wiki page") 13 | 14 | def handle(self): 15 | try: 16 | url = "https://www.funtoo.org/api.php?action=query&prop=revisions&rvprop=content&format=json&formatversion=2&titles=%s" % urllib.parse.quote(self.options.wiki_page) 17 | print(url) 18 | wikitext_page = requests.get(url).json()["query"]["pages"][0]["revisions"][0]["content"] 19 | wikitext_parse(wikitext_page, sys.stdout) 20 | except BrokenPipeError: 21 | # this gets rid of ugly broken pipe message from python: 22 | sys.stderr.close() 23 | sys.exit(1) 24 | 25 | # vim: ts=4 noet sw=4 26 | -------------------------------------------------------------------------------- /modules/upgrade-ideas.ego: -------------------------------------------------------------------------------- 1 | class UpgradeHandler: 2 | pass 3 | 4 | class KitHandler(UpgradeHandler): 5 | pass 6 | 7 | class ReleaseHandler(UpgradeHandler): 8 | pass 9 | 10 | class Release12UpgradeHandler(UpgradeHandler): 11 | 12 | key = "release" 13 | 14 | _kits = [ 15 | "core-kit" 16 | "security-kit", 17 | "media-kit", 18 | "java-kit", 19 | "ruby-kit", 20 | "haskell-kit", 21 | "lisp-scheme-kit", 22 | "lang-kit", 23 | "dev-kit", 24 | "desktop-kit" 25 | ] 26 | 27 | @classmethod 28 | def available_upgrades(cls): 29 | 30 | reqs = [] 31 | results = [] 32 | 33 | for kit in cls._kits: 34 | if kit == "media-kit": 35 | reqs.append({"kit": kit, "branch": "1.1-prime"}) 36 | reqs.append({"kit": kit, "branch": "1.0-prime"}) 37 | 38 | for kit in cls._kits: 39 | results.append({"kit": kit, "branch": "1.2-prime"}) 40 | 41 | return [ 42 | { 43 | "target": {"release": "1.2"}, 44 | "requirements": reqs, 45 | "results": results 46 | } 47 | ] 48 | 49 | def get_steps(self): 50 | 51 | 52 | class PythonKitUpgradeHandler(KitHandler): 53 | 54 | key = "python-kit" 55 | 56 | @classmethod 57 | def available_upgrades(cls): 58 | 59 | return [ 60 | { 61 | "target": {"kit": "python-kit", "branch": "3.6-prime"}, 62 | "requirements": [ 63 | {"kit": "python-kit", "branch": "3.4-prime"} 64 | ] 65 | } 66 | ] 67 | 68 | def get_steps(self, cur_kits, new_kits): 69 | new_branch = new_kits["python-kit"] 70 | old_branch = cur_kits["python_kit"] 71 | new_v, new_rating = new_branch.split("-") # "3.6", "prime" 72 | old_v, old_rating = old_branch.split("-") 73 | new_major = Decimal(new_v[:3]) # 3.6 74 | old_major = Decimal(old_v[:3]) 75 | post_steps = [ "emerge -uDN @world" ] 76 | if new_major != old_major: 77 | post_steps += ["eselect python set --python3 python%s" % new_major] 78 | for major in self.settings["remove"]: 79 | post_steps.append("emerge -C =dev-lang/python-%s" % major) 80 | return [], post_steps 81 | 82 | 83 | class Module(EgoModule): 84 | 85 | def setup(self): 86 | self.repo = GitHelper(self, self.root) 87 | 88 | @property 89 | def root(self): 90 | if not hasattr(self, '_root'): 91 | root = self.config.meta_repo_root 92 | if not os.path.exists(os.path.dirname(root)): 93 | os.makedirs(os.path.dirname(root)) 94 | self._root = root 95 | return self._root 96 | 97 | def list_upgrades(self): 98 | for my_class in PythonKitUpgradeHandler, Release12UpgradeHandler: 99 | print(my_class.key) 100 | for upgrade in my_class.available_upgrades(): 101 | print(" ",upgrade["target"]) -------------------------------------------------------------------------------- /modules/upgrade.ego: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | from ego.module import EgoModule 4 | 5 | class Module(EgoModule): 6 | 7 | def add_arguments(self, parser): 8 | subparsers = parser.add_subparsers(title='actions', dest='action') 9 | #status_parser = subparsers.add_parser('status', help="Show upgrades applied to system.") 10 | #status_parser.set_defaults(handler=self.release_info) 11 | #show_parser = subparsers.add_parser('show', help="Alias for the status command.") 12 | #show_parser.set_defaults(handler=self.release_info) 13 | list_parser = subparsers.add_parser('list', help="List all available upgrades.") 14 | list_parser.set_defaults(handler=self.list_upgrades) 15 | 16 | def handle(self): 17 | handler = getattr(self.options, 'handler', self.list_upgrades) 18 | handler() -------------------------------------------------------------------------------- /python/ego/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/ego/__init__.py -------------------------------------------------------------------------------- /python/ego/release.py: -------------------------------------------------------------------------------- 1 | import os 2 | from ego.output import Output 3 | 4 | 5 | class ReleaseHandler: 6 | 7 | """ 8 | 9 | ReleaseHandler is used to load and set the current release version of Funtoo Linux. 10 | This information is stored in /var/lib/ego/release. 11 | If no release version is set, the release is None. 12 | 13 | set_release() is used to set the current release version. 14 | 15 | """ 16 | 17 | def __init__(self): 18 | 19 | self.release = None 20 | 21 | try: 22 | if not os.path.exists("/var/lib/ego"): 23 | os.makedirs("/var/lib/ego") 24 | except PermissionError: 25 | Output.fatal("Couldn't create /var/lib/ego. Ensure you have proper permissions.") 26 | try: 27 | if os.path.exists("/var/lib/ego/release"): 28 | with open("/var/lib/ego/release", "r") as myf: 29 | self.release = myf.read().strip() 30 | except PermissionError: 31 | Output.fatal("Unable to read /var/lib/ego/release. Please check permissions.") 32 | 33 | def set_release(self, release): 34 | with open("/var/lib/ego/release", "w") as myf: 35 | myf.write("%s/%s" % release) 36 | -------------------------------------------------------------------------------- /python/ego/upgrade.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import os 4 | from ego.output import Output 5 | import json 6 | 7 | 8 | class UpgradeLister: 9 | 10 | """ 11 | 12 | UpgradeLister is used to list new to-be-applied upgrade files stored in /var/git/meta-repo/upgrades/YYYY/. 13 | 14 | The get_new_upgrades() method is a generator that returns a dict of info on each to-be-applied upgrade JSON. 15 | The set_last_upgrade() method is used to update /var/lib/ego/last-upgrade to the most recent upgrade applied. 16 | 17 | """ 18 | 19 | def __init__(self): 20 | 21 | self.last_upgrade = None 22 | 23 | try: 24 | if not os.path.exists("/var/lib/ego"): 25 | os.makedirs("/var/lib/ego") 26 | except PermissionError: 27 | Output.fatal("Couldn't create /var/lib/ego. Ensure you have proper permissions.") 28 | try: 29 | if os.path.exists("/var/lib/ego/last-upgrade"): 30 | with open("/var/lib/ego/last-upgrade", "r") as myf: 31 | self.last_upgrade = myf.read().strip() 32 | except PermissionError: 33 | Output.fatal("Unable to read /var/lib/ego/last-upgrade. Please check permissions.") 34 | 35 | def set_last_upgrade(self, year, num): 36 | with open("/var/lib/ego/last-upgrade", "w") as myf: 37 | myf.write("%s/%s" % (year, num)) 38 | 39 | def get_new_upgrades(self): 40 | 41 | if self.last_upgrade is not None: 42 | upgrade_year, upgrade_num = self.last_upgrade.split("/") 43 | upgrade_year = int(upgrade_year) 44 | upgrade_num = int(upgrade_num) 45 | else: 46 | upgrade_year = upgrade_num = 0 47 | 48 | # upgrade_dir = self.config.meta_repo_root + "/upgrades" 49 | upgrade_dir = "/var/src/meta-repo/upgrades" 50 | for cur_year_dir in sorted(list(os.listdir(upgrade_dir))): 51 | if not os.path.isdir(upgrade_dir + "/" + cur_year_dir): 52 | continue 53 | try: 54 | cur_year = int(cur_year_dir) 55 | except ValueError: 56 | continue 57 | if cur_year < upgrade_year: 58 | continue 59 | upgrade_path = upgrade_dir + "/" + cur_year_dir 60 | for cur_upgrade in os.listdir(upgrade_path): 61 | try: 62 | cur_upgrade_num = cur_upgrade.split("-")[0] 63 | except IndexError: 64 | continue 65 | try: 66 | cur_upgrade_num = int(cur_upgrade_num) 67 | except ValueError: 68 | continue 69 | if cur_year == upgrade_year and cur_upgrade_num < upgrade_num: 70 | continue 71 | elif cur_year < upgrade_year: 72 | continue 73 | yield {"path": upgrade_path + "/" + cur_upgrade, "year": cur_year, "number": cur_upgrade_num} 74 | 75 | 76 | class UpgradeHandler: 77 | 78 | """ 79 | 80 | UpgradeHandler is used to load an individual JSON upgrade file for processing. 81 | 82 | """ 83 | 84 | def __init__(self, path, year, number): 85 | self.path = path 86 | self.year = year 87 | self.number = number 88 | with open(self.path, "r", encoding="utf-8") as myf: 89 | self.json_data = json.loads(myf.read()) 90 | 91 | @property 92 | def name(self): 93 | return self.json_data["name"] 94 | 95 | @property 96 | def steps(self): 97 | return self.json_data["steps"] 98 | -------------------------------------------------------------------------------- /python/funtoo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/funtoo/__init__.py -------------------------------------------------------------------------------- /python/funtoo/boot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/funtoo/boot/__init__.py -------------------------------------------------------------------------------- /python/funtoo/boot/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: ascii -*- 2 | """ package of bootloader-specific extensions """ 3 | __all__ = ["grub", "grub-legacy", "lilo"] 4 | -------------------------------------------------------------------------------- /python/funtoo/boot/helper.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import os 4 | from enum import Enum, unique 5 | from subprocess import getoutput 6 | from typing import Optional 7 | 8 | from funtoo.boot.config import BootConfigFile 9 | from funtoo.boot.cpu import AMD, CPU, Intel, ScanPaths 10 | 11 | 12 | class fstabInfo: 13 | def __init__(self, root_path): 14 | self.root_path = root_path 15 | self.devices = {} 16 | self.mountpoints = {} 17 | fn = open(os.path.join(self.root_path, "/etc/fstab".lstrip("/")), "r") 18 | for line in fn.readlines(): 19 | line = line[0 : line.find("#")] 20 | split = line.split() 21 | if len(split) != 6: 22 | continue 23 | self.devices[split[0]] = split 24 | self.mountpoints[split[1]] = split 25 | fn.close() 26 | 27 | def hasEntry(self, fs): 28 | return fs in self.mountpoints 29 | 30 | def getFilesystemOfDevice(self, d): 31 | if d in self.devices: 32 | return self.devices[d][2] 33 | return "" 34 | 35 | def getRootDevice(self): 36 | return self.mountpoints["/"][0] if "/" in self.mountpoints else "" 37 | 38 | def getRootMountFlags(self): 39 | return self.mountpoints["/"][3] if "/" in self.mountpoints else "" 40 | 41 | 42 | def get_scanpaths(boot_config: BootConfigFile) -> ScanPaths: 43 | sections = boot_config.getSections() 44 | scanpaths = set() 45 | for sect in sections: 46 | paths = set(boot_config.item(sect, "scan").split()) 47 | scanpaths |= paths 48 | return scanpaths 49 | 50 | 51 | def get_cpu_vendor() -> str: 52 | return getoutput("LANG=C LC_ALL=C /usr/bin/lscpu | grep ^Vendor").split(" ").pop() 53 | 54 | 55 | @unique 56 | class CPUEnum(Enum): 57 | GenuineIntel = Intel 58 | AuthenticAMD = AMD 59 | 60 | 61 | def get_cpu_instance(boot_config: BootConfigFile) -> Optional[CPU]: 62 | try: 63 | vendor = get_cpu_vendor() 64 | cpu = CPUEnum[vendor].value 65 | scanpaths = get_scanpaths(boot_config) 66 | return cpu(scanpaths) 67 | except KeyError: 68 | return None 69 | 70 | 71 | # vim: ts=4 sw=4 noet 72 | -------------------------------------------------------------------------------- /python/funtoo/core/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: ascii -*- 2 | __all__ = ["config"] 3 | -------------------------------------------------------------------------------- /python/git_helper.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import os 4 | from cmdtools import run_statusoutput, run 5 | from pathlib import Path 6 | from datetime import datetime 7 | from ego.output import Output 8 | 9 | 10 | class GitHelper(object): 11 | def __init__(self, module, root, quiet=False): 12 | self.module = module 13 | self.root = root 14 | self.quiet = quiet 15 | 16 | def localBranches(self): 17 | if os.path.exists(sedlf.root): 18 | retval, out = run_statusoutput('git -C %s for-each-ref --format="(refname)" refs/heads' % self.root) 19 | if retval == 0: 20 | for ref in out.split(): 21 | yield ref.split("/")[-1] 22 | 23 | def localBranchExists(self, branch): 24 | return not run("git -C %s show-ref --verify --quiet refs/heads/%s" % (self.root, branch), quiet=self.quiet) 25 | 26 | def isReadOnly(self): 27 | try: 28 | Path(self.root + "/foo").touch() 29 | except (FileNotFoundError, PermissionError): 30 | return True 31 | else: 32 | os.unlink(self.root + "/foo") 33 | return False 34 | 35 | def readOnlyCheck(self): 36 | if self.isReadOnly(): 37 | Output.fatal("Repository is at %s is read-only. Cannot update." % self.root) 38 | 39 | def fetchRemote(self, branch, remote="origin", options=None): 40 | options = options or [] 41 | self.readOnlyCheck() 42 | opts = " ".join(options) 43 | run("git -C %s remote set-branches %s %s" % (self.root, remote, branch), quiet=self.quiet) 44 | return run( 45 | "git -C %s fetch %s %s refs/heads/%s:refs/remotes/%s/%s" % (self.root, opts, remote, branch, remote, branch), 46 | quiet=self.quiet, 47 | ) 48 | 49 | def clone(self, url, branch, depth: int = None): 50 | if depth is not None and depth != 0: 51 | depth_str = "--depth=%s" % depth 52 | else: 53 | depth_str = "" 54 | return run("git clone -b %s %s --single-branch %s %s" % (branch, depth_str, url, self.root), quiet=self.quiet) 55 | 56 | def pull(self, options=None): 57 | options = options or [] 58 | self.readOnlyCheck() 59 | opts = " ".join(options) 60 | return run("git -C %s pull %s --ff-only" % (self.root, opts), quiet=self.quiet) 61 | 62 | def reset(self, options=None): 63 | options = options or [] 64 | self.readOnlyCheck() 65 | opts = " ".join(options) 66 | return run("git -C %s reset %s" % (self.root, opts), quiet=self.quiet) 67 | 68 | def clean(self, options=None): 69 | options = options or [] 70 | self.readOnlyCheck() 71 | opts = " ".join(options) 72 | return run("git -C %s clean %s" % (self.root, opts), quiet=self.quiet) 73 | 74 | def exists(self): 75 | return os.path.exists(self.root) 76 | 77 | def is_git_repo(self): 78 | return os.path.exists(os.path.join(self.root, ".git")) 79 | 80 | def checkout(self, branch="master", origin=None): 81 | if origin is not None: 82 | args = "%s %s" % (origin, branch) 83 | else: 84 | args = branch 85 | retval = run("git -C %s checkout %s" % (self.root, args), quiet=self.quiet) 86 | return retval == 0 87 | 88 | def last_sync(self): 89 | """Returns datetime of last sync, or None if not a git repo.""" 90 | check_f = self.root + "/.git/FETCH_HEAD" 91 | try: 92 | return datetime.fromtimestamp(os.path.getmtime(check_f)) 93 | except FileNotFoundError: 94 | return None 95 | 96 | @property 97 | def commitID(self): 98 | retval, out = run_statusoutput("git -C %s rev-parse HEAD" % self.root) 99 | if retval == 0: 100 | return out.strip() 101 | else: 102 | return None 103 | -------------------------------------------------------------------------------- /python/mediawiki/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/mediawiki/__init__.py -------------------------------------------------------------------------------- /python/mediawiki/new_cli_parser.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import mwparserfromhell 4 | import urllib.parse 5 | import requests 6 | import sys 7 | 8 | ignore_nodes = [mwparserfromhell.nodes.comment.Comment] 9 | ignore_tags = ["languages"] 10 | ignore_magic_words = ["__NOTITLE__", "__TOC__", "__NOTOC__"] 11 | 12 | 13 | class TextType(str): 14 | pass 15 | 16 | 17 | class WikiTextWord(str): 18 | pass 19 | 20 | 21 | class OutputPadding(str): 22 | def __repr__(self): 23 | return "" 24 | 25 | 26 | class WikiTextSegment(list): 27 | pass 28 | 29 | 30 | class WikiTextSpace(str): 31 | def __repr__(self): 32 | return "" 33 | 34 | 35 | class WikiTextNewLine(str): 36 | def __repr__(self): 37 | return "" 38 | 39 | 40 | class WikiTextNewBlock(str): 41 | def __repr__(self): 42 | return "" 43 | 44 | 45 | def parse(node): 46 | global ignore_tags 47 | 48 | cur_level = 1 49 | 50 | if not isinstance(node, mwparserfromhell.nodes.Node): 51 | nodes = mwparserfromhell.parse(node).nodes 52 | else: 53 | nodes = node.nodes 54 | 55 | for node in nodes: 56 | 57 | # if type(node) == mwparserfromhell.nodes.tag.Tag and node.tag == "table": 58 | # for line in node.contents.split("\n"): 59 | # if line.startswith("!"): 60 | # continue 61 | # else: 62 | # for stuff in parse([line, "\n"], all_pages): 63 | # yield stuff 64 | if type(node) == mwparserfromhell.nodes.template.Template: 65 | yield node 66 | elif type(node) == mwparserfromhell.nodes.Tag and node.tag == "translate": 67 | # recurse 68 | for n in parse(node.contents): 69 | yield n 70 | elif type(node) == mwparserfromhell.nodes.Tag: 71 | print("TAG", node.tag) 72 | print("CONTENTS", node.contents) 73 | yield node 74 | elif isinstance(node, mwparserfromhell.nodes.comment.Comment): 75 | continue 76 | elif type(node) == mwparserfromhell.nodes.Heading: 77 | # expand any templates or other wikitext in the heading, using this same function... 78 | out = "" 79 | for obj in parse(node.title): 80 | out += str(obj) 81 | node.title = out 82 | cur_level = node.level 83 | yield node 84 | else: 85 | yield node 86 | 87 | 88 | def wikitree(wikitext): 89 | 90 | # "Wikicode" are collections (lists) of nodes. Nodes can be more wikicode. 91 | # Nodes are individual wiki elements. 92 | 93 | wikicode = mwparserfromhell.parse(wikitext) 94 | for node in wikicode.nodes: 95 | yield node 96 | 97 | 98 | def wikitext_parse(wikitext: str, category=None, all_pages=None): 99 | for el in parse(wikitree(wikitext)): 100 | yield el 101 | 102 | 103 | wiki_page = "Install" 104 | url = ( 105 | "https://www.funtoo.org/api.php?action=query&prop=revisions&rvprop=content&format=json&formatversion=2&titles=%s" 106 | % urllib.parse.quote(wiki_page) 107 | ) 108 | wikitext_page = requests.get(url).json()["query"]["pages"][0]["revisions"][0]["content"] 109 | 110 | for node in wikitext_parse(wikitext_page): 111 | print(" ", type(node), str(node)[:80]) 112 | -------------------------------------------------------------------------------- /python/tests/profile_basics.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import sys 4 | import unittest 5 | 6 | sys.path.insert(0, "..") 7 | from ego.profile import * 8 | import os 9 | 10 | 11 | class ProfileTest(unittest.TestCase): 12 | def setUp(self): 13 | 14 | # In the same directory as this test is a directory called 'profiles'. We set this up to be our fake profiles 15 | # directory, and also pretend the cwd is core-kit, so our fake 'core-kit' has a 'profiles' directory in it. 16 | # and we also have a file called 'parent' in the 'profiles' directory that we use to be our fake 17 | # /etc/portage/make.profile/parent. 18 | 19 | filedir = os.path.dirname(os.path.abspath(__file__)) 20 | self.mydir = os.path.normpath(os.path.join(filedir, "profiles")) 21 | self.pc = ProfileCatalog(self.mydir) 22 | self.pt = ProfileTree(self.pc, "core-kit", {"core-kit": filedir}, root_parent_dir="profiles") 23 | 24 | def test_classify(self): 25 | ps = ProfileSpecifier(self.pt, self.mydir, "funtoo/1.0/linux-gnu/flavor/core") 26 | self.assertEqual(ps.classify(), ProfileType.FLAVOR) 27 | 28 | def test_basic(self): 29 | # can we grab the flavor? and is it the correct one? 30 | flav_list = list(self.pt.get_children(child_types=[ProfileType.FLAVOR])) 31 | self.assertEqual(len(flav_list), 1) 32 | self.assertEqual(flav_list[0].spec_str, "core-kit:funtoo/1.0/linux-gnu/flavor/desktop") 33 | 34 | def test_basic_recurse(self): 35 | # can we recursively grab all mix-ins inherited in the profile? 36 | mixin_list = list(self.pt.recursively_get_children(child_types=[ProfileType.MIX_IN])) 37 | self.assertEqual(len(mixin_list), 14) 38 | 39 | def test_from_string(self): 40 | for t in list(ProfileType): 41 | self.assertEqual(ProfileType.from_string(t._strval), t) 42 | 43 | def test_mixin_list(self): 44 | mix_in_set = { 45 | "print", 46 | "mediaformat-audio-extra", 47 | "mediaformat-video-common", 48 | "lxde", 49 | "mediadevice-audio-consumer", 50 | "dvd", 51 | "mediaformat-gfx-common", 52 | "selinux", 53 | "gfxcard-intel-glamor", 54 | "gnome", 55 | "X", 56 | "gnome-3.16-fixups", 57 | "python3-only", 58 | "mate", 59 | "xfce", 60 | "mediaformat-gfx-extra", 61 | "no-systemd", 62 | "mediadevice-audio-pro", 63 | "kde", 64 | "audio", 65 | "no-emul-linux-x86", 66 | "kde-plasma-5", 67 | "hardened", 68 | "media-pro", 69 | "media", 70 | "mediadevice-video-pro", 71 | "mediaformat-audio-common", 72 | "cinnamon", 73 | "mediadevice-video-consumer", 74 | "vmware-guest", 75 | "mediadevice-base", 76 | "mediaformat-video-extra", 77 | "lxqt", 78 | "console-extras", 79 | "openvz-host", 80 | } 81 | mix_in_set_2 = set(self.pc.list(ProfileType.MIX_IN)) 82 | self.assertEqual(mix_in_set, mix_in_set_2) 83 | mix_in_set_with_arch = { 84 | "print", 85 | "mediaformat-audio-extra", 86 | "mediaformat-video-common", 87 | "lxde", 88 | "mediadevice-audio-consumer", 89 | "dvd", 90 | "mediaformat-gfx-common", 91 | "selinux", 92 | "gfxcard-intel-glamor", 93 | "gnome", 94 | "X", 95 | "gnome-3.16-fixups", 96 | "python3-only", 97 | "mate", 98 | "xfce", 99 | "mediaformat-gfx-extra", 100 | "no-systemd", 101 | "mediadevice-audio-pro", 102 | "kde", 103 | "audio", 104 | "no-emul-linux-x86", 105 | "kde-plasma-5", 106 | "hardened", 107 | "media-pro", 108 | "media", 109 | "mediadevice-video-pro", 110 | "mediaformat-audio-common", 111 | "cinnamon", 112 | "mediadevice-video-consumer", 113 | "vmware-guest", 114 | "mediadevice-base", 115 | "mediaformat-video-extra", 116 | "lxqt", 117 | "console-extras", 118 | "openvz-host", 119 | } 120 | mix_in_set_with_arch_2 = set(self.pc.list(ProfileType.MIX_IN, arch="x86-64bit")) 121 | self.assertEqual(mix_in_set_with_arch, mix_in_set_with_arch_2) 122 | 123 | 124 | if __name__ == "__main__": 125 | unittest.main() 126 | -------------------------------------------------------------------------------- /python/tests/profile_change.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import sys 4 | import unittest 5 | 6 | sys.path.insert(0, "..") 7 | from ego.profile import ProfileCatalog, ProfileTree, ProfileType 8 | import os 9 | 10 | 11 | class ProfileTest(unittest.TestCase): 12 | def setUp(self): 13 | 14 | # In the same directory as this test is a directory called 'profiles'. We set this up to be our fake profiles 15 | # directory, and also pretend the cwd is core-kit, so our fake 'core-kit' has a 'profiles' directory in it. 16 | # and we also have a file called 'parent' in the 'profiles' directory that we use to be our fake 17 | # /etc/portage/make.profile/parent. 18 | 19 | filedir = os.path.dirname(os.path.abspath(__file__)) 20 | self.pc = ProfileCatalog(os.path.normpath(os.path.join(filedir, "profiles"))) 21 | self.pt = ProfileTree(self.pc, "core-kit", {"core-kit": filedir}, root_parent_dir="profiles") 22 | 23 | def test_change_flavor(self): 24 | # can we grab the flavor? and is it the correct one? 25 | flav_list = list(self.pt.get_children(child_types=[ProfileType.FLAVOR])) 26 | self.assertEqual(len(flav_list), 1) 27 | self.assertEqual(flav_list[0].spec_str, "core-kit:funtoo/1.0/linux-gnu/flavor/desktop") 28 | self.pt.insert_or_replace_entry(ProfileType.FLAVOR, "core-kit:funtoo/1.0/linux-gnu/flavor/core") 29 | flav_list = list(self.pt.get_children(child_types=[ProfileType.FLAVOR])) 30 | self.assertEqual(len(flav_list), 1) 31 | self.assertEqual(flav_list[0].spec_str, "core-kit:funtoo/1.0/linux-gnu/flavor/core") 32 | 33 | 34 | if __name__ == "__main__": 35 | unittest.main() 36 | -------------------------------------------------------------------------------- /python/tests/profile_enum.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python3 2 | 3 | import sys 4 | import unittest 5 | 6 | sys.path.insert(0, "..") 7 | from ego.profile import ProfileType 8 | 9 | 10 | class ProfileEnumTest(unittest.TestCase): 11 | def test_compare(self): 12 | self.assertGreater(ProfileType.BUILD, ProfileType.ARCH) 13 | self.assertGreater(ProfileType.SUBARCH, ProfileType.BUILD) 14 | self.assertGreater(ProfileType.FLAVOR, ProfileType.SUBARCH) 15 | self.assertGreater(ProfileType.MIX_IN, ProfileType.FLAVOR) 16 | self.assertGreater(ProfileType.MIX_IN, ProfileType.ARCH) 17 | 18 | def test_string_compare(self): 19 | self.assertEqual(ProfileType.ARCH, "arch") 20 | self.assertEqual(ProfileType.BUILD, "build") 21 | self.assertEqual(ProfileType.SUBARCH, "subarch") 22 | self.assertEqual(ProfileType.FLAVOR, "flavor") 23 | self.assertEqual(ProfileType.MIX_IN, "mix-ins") 24 | 25 | 26 | if __name__ == "__main__": 27 | unittest.main() 28 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/make.defaults: -------------------------------------------------------------------------------- 1 | # Main ARM profile 2 | 3 | ARCH="arm" 4 | ACCEPT_KEYWORDS="arm" 5 | 6 | CHOST="arm-unknown-linux-gnu" 7 | CFLAGS="-O2" 8 | CXXFLAGS="${CFLAGS}" 9 | FFLAGS="${CFLAGS}" 10 | FCFLAGS="${CFLAGS}" 11 | 12 | MULTILIB_ABIS="arm" 13 | DEFAULT_ABI="arm" 14 | ABI=${DEFAULT_ABI} 15 | LIBDIR_arm="lib" 16 | CHOST_arm="${CHOST}" 17 | 18 | # 2006/08/18 - Donnie Berkholz 19 | # Defaults for video drivers 20 | VIDEO_CARDS="exynos fbdev omap omapfb" 21 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/package.keywords/funtoo-arm-keywords: -------------------------------------------------------------------------------- 1 | # Jean-Francis Roy (June 24, 2014) 2 | # Keyword app-text/pastebinit, reported to be working fine on ARM. 3 | # FL-1304 4 | app-text/pastebinit ~arm 5 | 6 | # Jean-Francis Roy (June 24, 2014) 7 | # Keyword app-admin/lib_users, reported to be working fine on ARM. 8 | # FL-1303 9 | app-admin/lib_users ~arm 10 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/package.unmask: -------------------------------------------------------------------------------- 1 | # QA-85: unmask to resolve internal compiler error bug 2 | =sys-devel/gcc-4.9.3 3 | 4 | # QA-85 and FL-2694: unmask for testing, builds under ARM 5 | =dev-libs/icu-55.1-r1002 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/package.use.force: -------------------------------------------------------------------------------- 1 | # support of llvm_targets 2 | sys-devel/clang llvm_targets_ARM 3 | sys-devel/llvm llvm_targets_ARM 4 | 5 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/package.use.mask/funtoo: -------------------------------------------------------------------------------- 1 | # Jean-Francis Roy (26 June 2014) 2 | # oracle-jdk-bin nsplugin is not available for ARM 3 | dev-java/oracle-jdk-bin nsplugin 4 | 5 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/package.use/funtoo-use-oleg: -------------------------------------------------------------------------------- 1 | # enable llvm_targets 2 | sys-devel/clang llvm_targets_BPF 3 | sys-devel/llvm llvm_targets_BPF 4 | 5 | # enable pic USE for ffmpeg 6 | media-video/ffmpeg pic -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/parent: -------------------------------------------------------------------------------- 1 | ../.. 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv5te/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv5tel-softfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv5te" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv5te/use.mask: -------------------------------------------------------------------------------- 1 | -armv5te 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv6j_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv6j-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv6j -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv6j_hardfp/use.mask: -------------------------------------------------------------------------------- 1 | armv6 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv6j_vfp_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv6j-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv7a-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv7-a -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_hardfp/package.mask: -------------------------------------------------------------------------------- 1 | # FL-1190 2 | >www-client/firefox-17.0.9 3 | 4 | # FL-1191 5 | >mail-client/thunderbird-17.0.9 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_hardfp/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_neon_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv7a-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_neon_hardfp/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_neonvfpv4_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv7a-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_neonvfpv4_hardfp/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_vfpv3_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv7a-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_vfpv3_hardfp/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_vfpv3d16_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv7a-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_vfpv3d16_hardfp/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_vfpv3d32_hardfp/make.defaults: -------------------------------------------------------------------------------- 1 | CHOST="armv7a-hardfloat-linux-gnueabi" 2 | CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d32 -mfloat-abi=hard" 3 | CXXFLAGS="${CFLAGS}" 4 | FFLAGS="${CFLAGS}" 5 | FCFLAGS="${CFLAGS}" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/armv7a_vfpv3d32_hardfp/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/odroid-xu4/make.defaults: -------------------------------------------------------------------------------- 1 | # For ODroid XU-4 big.LITTLE 2 | CHOST="armv7a-hardfloat-linux-gnueabi" 3 | CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a15.cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" 4 | CXXFLAGS="${CFLAGS}" 5 | FFLAGS="${CFLAGS}" 6 | FCFLAGS="${CFLAGS}" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/odroid-xu4/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/raspi/make.defaults: -------------------------------------------------------------------------------- 1 | # Raspberry Pi 1 Model B, Model A, Model B+, Model A, Compute Module, Raspberry Pi Zero 2 | CHOST="armv6j-hardfloat-linux-gnueabi" 3 | CFLAGS="-O2 -pipe -march=armv6j -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" 4 | CXXFLAGS="${CFLAGS}" 5 | FFLAGS="${CFLAGS}" 6 | FCFLAGS="${CFLAGS}" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/raspi2/make.defaults: -------------------------------------------------------------------------------- 1 | # For Raspberry Pi 2 Model B (Broadcom BCM2836 released Feb 2015) 2 | CHOST="armv7a-hardfloat-linux-gnueabi" 3 | CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" 4 | CXXFLAGS="${CFLAGS}" 5 | FFLAGS="${CFLAGS}" 6 | FCFLAGS="${CFLAGS}" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/raspi2/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/raspi3/make.defaults: -------------------------------------------------------------------------------- 1 | # For Raspberry Pi 2 Model B version 1.2 (Oct 2016) and Raspberry Pi 3 Model B 2 | CHOST="armv7a-hardfloat-linux-gnueabi" 3 | CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a53 -mfpu=neon-vfpv4 -mfloat-abi=hard" 4 | CXXFLAGS="${CFLAGS}" 5 | FFLAGS="${CFLAGS}" 6 | FCFLAGS="${CFLAGS}" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/subarch/raspi3/use.mask: -------------------------------------------------------------------------------- 1 | -neon 2 | -armvfp 3 | -armv5te 4 | -armv6 5 | -armv6t2 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/use.force: -------------------------------------------------------------------------------- 1 | # Force the flag which corresponds to ARCH. 2 | arm 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/make.defaults: -------------------------------------------------------------------------------- 1 | # Main ARM64 (Aarch64/ARMv8) profile; endian independent. 2 | 3 | ARCH="arm64" 4 | ACCEPT_KEYWORDS="arm64" 5 | 6 | MULTILIB_ABIS="arm64" 7 | DEFAULT_ABI="arm64" 8 | ABI=${DEFAULT_ABI} 9 | LIBDIR_arm64="lib64" 10 | 11 | CFLAGS="-O2" 12 | CXXFLAGS="${CFLAGS}" 13 | FFLAGS="${CFLAGS}" 14 | FCFLAGS="${CFLAGS}" 15 | 16 | # Defaults for video drivers 17 | VIDEO_CARDS="fbdev" 18 | 19 | #little hack to by-pass makedev/baselayout collision. 20 | COLLISION_IGNORE="${COLLISION_IGNORE} /sbin/MAKEDEV" -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/package.keywords: -------------------------------------------------------------------------------- 1 | # Funtoo stages have packages included that do not have arm64 keywords yet. Let's put keywords for them and test. 2 | =sys-apps/usbutils-007 ~arm64 3 | =sys-fs/xfsprogs-4.5.0 ~arm64 4 | =net-misc/ifenslave-1.1.0-r6 ~arm64 -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/package.use.force: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2016 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | 5 | # Michał Górny (24 Sep 2016) 6 | # Force the host target to avoid dependency hell 7 | sys-devel/clang llvm_targets_AArch64 8 | sys-devel/llvm llvm_targets_AArch64 9 | 10 | # James Le Cuirot (16 May 2016) 11 | # For reasons best known to themselves, Oracle do not ship the 12 | # libawt_xawt.so library on arm64 even though they do on arm32. 13 | dev-java/oracle-jdk-bin headless-awt 14 | 15 | # Mike Frysinger (16 Mar 2015) 16 | # Needs dev-lang/luajit tested #499974 17 | dev-libs/efl oldlua 18 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/parent: -------------------------------------------------------------------------------- 1 | ../.. -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/subarch/arm64_generic/make.defaults: -------------------------------------------------------------------------------- 1 | # generic arm64 is little endian by default 2 | CHOST="aarch64-unknown-linux-gnu" 3 | 4 | # also set CHOST_arm64 which is defined in multilib.eclass and by used by many ebuilds 5 | CHOST_arm64="${CHOST}" 6 | 7 | CFLAGS="-O2 -pipe -march=armv8-a" 8 | CXXFLAGS="${CFLAGS}" 9 | FFLAGS="${CFLAGS}" 10 | FCFLAGS="${CFLAGS}" -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/use.force: -------------------------------------------------------------------------------- 1 | # Force the flag which corresponds to ARCH. 2 | arm64 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/arm-64bit/use.stable.mask: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2015 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Id$ 4 | # 5 | # This file requires eapi 5 or later. New entries go on top. 6 | # Please use the same syntax as in use.mask 7 | 8 | # Ben de Groot (24 Aug 2015) 9 | # Not yet stable, bug #543326 10 | qt5 11 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/make.defaults: -------------------------------------------------------------------------------- 1 | # Distributed under the terms of the GNU General Public License v2 2 | 3 | MULTILIB_ABIS="amd64" 4 | CHOST="x86_64-pc-linux-gnu" 5 | 6 | # Michał Górny (26 Jan 2013) 7 | # Hide the ABI_X86 USE_EXPAND back for non-multilib profile. 8 | USE_EXPAND_HIDDEN="ABI_X86" 9 | 10 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/package.use.force: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2012 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-multilib/package.use.force,v 1.1 2012/06/24 23:44:46 tetromino Exp $ 4 | 5 | # Alexandre Rostovtsev (24 Jun 2012) 6 | # Force 64-bit parts of wine, bug #351436 7 | app-emulation/wine win64 8 | 9 | # support of llvm_targets 10 | sys-devel/clang llvm_targets_X86 11 | sys-devel/llvm llvm_targets_X86 12 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/package.use.mask/01-gentoo: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | 4 | # Yixun Lan (12 Jul 2017) 5 | # GLEP 73 Immutability, USE=ovmf requires hvm 6 | app-emulation/xen-tools ovmf 7 | 8 | # NP-Hardass (11 Jul 2017) 9 | # GLEP 73 Immutability, USE=test requires 10 | # abi_x86_32 at this time. 11 | app-emulation/wine test 12 | app-emulation/wine-vanilla test 13 | app-emulation/wine-staging test 14 | app-emulation/wine-d3d9 test 15 | app-emulation/wine-any test 16 | 17 | # Mike Frysinger (12 Aug 2016) 18 | # Requires sys-boot/grub:0 which is masked here. 19 | sys-apps/memtest86+ floppy 20 | 21 | # Alexandre Rostovtsev (24 Jun 2012) 22 | # Disable 32-bit parts of wine, bug #351436 23 | app-emulation/wine mono 24 | 25 | # Intel Integrated Primitive (sci-libs/ipp) support 26 | media-libs/opencv ipp 27 | 28 | # Tomas Chvatal (13 Nov 2014) 29 | # The apulse is 32b used there only 30 | net-im/skype apulse 31 | 32 | # Tim Harder (17 Jan 2016) 33 | # Skype requires multilib support 34 | net-im/bitlbee skype 35 | 36 | # Alexis Ballier (13 Aug 2009) 37 | # Requires wine 38 | media-sound/lmms vst 39 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/package.use/llvm: -------------------------------------------------------------------------------- 1 | sys-devel/clang llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX 2 | sys-devel/llvm llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/parent: -------------------------------------------------------------------------------- 1 | ../x86-64bit 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/README.txt: -------------------------------------------------------------------------------- 1 | The subarches for pure64 are maintained in the x86-64bit subarch and are 2 | copied over here when funtoo-overlay is merged. 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-bulldozer-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver1 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-excavator-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver4 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx avx2 fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-jaguar-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=btver2 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-k10-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=amdfam10 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-k8+sse3-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=k8-sse3 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-k8-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=k8 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-piledriver-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver2 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/amd64-steamroller-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver3 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/atom_64-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/btver1_64-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=btver1 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext mmxext popcnt sse sse2 sse3 sse4a ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/core-avx-i-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=core-avx-i -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/core2_64-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=core2 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/corei7-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=corei7 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/generic_64-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-mtune=generic -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/intel64-broadwell-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=broadwell -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/intel64-haswell-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=haswell -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/intel64-ivybridge-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=ivybridge -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/intel64-nehalem-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=nehalem -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/intel64-sandybridge-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=sandybridge -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/intel64-silvermont-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=silvermont -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/intel64-westmere-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=westmere -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/native_64-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=native -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/nocona-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=nocona -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/opteron_64-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=opteron -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/subarch/xen-pentium4+sse3_64-pure64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=nocona -mno-tls-direct-seg-refs -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/toolchain-version: -------------------------------------------------------------------------------- 1 | 1.1 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/use.mask/01-gentoo: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | 4 | # USE flags masked because providing packages have ABI=x86 5 | 6 | # 2007/08/29 Christoph Mende 7 | # app-accessibility/mbrola is x86 only 8 | mbrola 9 | 10 | # 2007/08/24 Michael Marineau 11 | # Xen HVM support requires building 32-bit binaries. 12 | hvm 13 | 14 | # 2008/02/13 - Chris Gianelloni 15 | # Mask multilib, since we cannot use it. 16 | multilib 17 | 18 | # 2009/05/11 Doug Goldstein 19 | # Mask 32bit since this will always require emulation packages 20 | 32bit 21 | 22 | # Michał Górny (26 Jan 2013) 23 | # Mask the multilib flags back for non-multilib profile. 24 | abi_x86_32 25 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/pure64/use.mask/multilib: -------------------------------------------------------------------------------- 1 | multilib 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="x86" 2 | ABI="x86" 3 | ACCEPT_KEYWORDS="x86" 4 | MULTILIB_ABIS="x86" 5 | DEFAULT_ABI="x86" 6 | IUSE_IMPLICIT="abi_x86_32" 7 | LIBDIR_x86="lib" 8 | 9 | CHOST="i686-pc-linux-gnu" 10 | CFLAGS="-O2 -mtune=i686 -pipe" 11 | CXXFLAGS="${CFLAGS}" 12 | 13 | # kvm defaults 14 | QEMU_SOFTMMU_TARGETS="i386" 15 | QEMU_USER_TARGETS="i386" 16 | 17 | GRUB_PLATFORMS="efi-32 pc" 18 | 19 | # FL-2055: CPU instruction set flags 20 | USE_EXPAND_HIDDEN="-CPU_FLAGS_X86" 21 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/package.use: -------------------------------------------------------------------------------- 1 | # enable llvm_targets 2 | sys-devel/clang llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX 3 | sys-devel/llvm llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/package.use.force: -------------------------------------------------------------------------------- 1 | # support of llvm_targets 2 | sys-devel/clang llvm_targets_X86 3 | sys-devel/llvm llvm_targets_X86 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/package.use.mask/cpu-features: -------------------------------------------------------------------------------- 1 | # Mounir Lamouri (07 Nov 2009) 2 | # Masked in base, unmask for amd64/x86. Bug 267264 3 | media-gfx/k3d -cuda 4 | 5 | # Tomáš Chvátal (10 Sep 2009) 6 | # quakeforge has video_cards_voodoo enabled only for x86 7 | games-fps/quakeforge -video_cards_tdfx 8 | 9 | # Raúl Porcel (02 Dec 2008) 10 | media-libs/realcodecs win32codecs 11 | 12 | # Tomas Chvatal (24 Nov 2008) 13 | # masked in base, unmask for x86/amd64 14 | sci-misc/boinc -cuda 15 | 16 | # Robert Buchholz (16 Aug 2008) 17 | # masked in base, unmask for x86/amd64 18 | dev-python/kaa-base -tls 19 | 20 | # Steve Dibb (29 Sept 2008) 21 | media-video/mplayer -cpudetection -custom-cpuopts -win32codecs -bindist -vdpau 22 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/package.use.mask/funtoo-mask: -------------------------------------------------------------------------------- 1 | media-libs/x265 10bit -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/parent: -------------------------------------------------------------------------------- 1 | ../.. 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/amd64-k8+sse3_32/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=k8-sse3 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/amd64-k8_32/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=k8 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/athlon-4/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=athlon-4 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/athlon-mp/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=athlon-mp -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/athlon-tbird/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=athlon-tbird -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/athlon-xp/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=athlon-xp -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/athlon/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=athlon -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/atom_32/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=atom -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/btver1/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=btver1 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext mmxext popcnt sse sse2 sse3 sse4a ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/core2_32/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/generic_32/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-mtune=generic -O2 -fomit-frame-pointer -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/geode/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=geode -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow mmx mmxext" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/i486/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -mtune=i686 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/i686/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=i686 -mtune=generic -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/k6-2/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=k6-2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow mmx" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/k6-3/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=k6-3 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow mmx" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/k6/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=k6 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/native_32/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/pentium-m/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=pentium-m -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/pentium-mmx/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=pentium-mmx -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/pentium/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=pentium -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/pentium2/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=pentium2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/pentium3/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=pentium3 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/pentium4/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/pentiumpro/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=pentiumpro -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/prescott/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=prescott -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/subarch/xen-pentium4+sse3/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=prescott -mno-tls-direct-seg-refs -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/toolchain-version: -------------------------------------------------------------------------------- 1 | 1.1 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/use.force: -------------------------------------------------------------------------------- 1 | # Force the flag which corresponds to ARCH. 2 | x86 3 | 4 | # Add new abi's FL-452 5 | abi_x86_32 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-32bit/virtuals: -------------------------------------------------------------------------------- 1 | # Copyright 2004 Gentoo Foundation. 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/arch/x86/virtuals,v 1.1 2008/04/01 17:40:04 wolf31o2 Exp $ 4 | 5 | # This file is used to either override or extend the parent profile's 6 | # virtuals mappings. In this case, this is for ARCHITECTURE SPECIFIC 7 | # mappings 8 | 9 | virtual/bootloader sys-boot/grub 10 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/eapi: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/make.defaults: -------------------------------------------------------------------------------- 1 | USE="multilib" #architecture features 2 | USE="$USE mmx sse sse2" #processor features 3 | 4 | ARCH="amd64" 5 | ACCEPT_KEYWORDS="${ARCH}" 6 | 7 | CHOST="x86_64-pc-linux-gnu" 8 | CFLAGS="-O2 -pipe" 9 | CXXFLAGS="${CFLAGS}" 10 | # FL-2051. set sane CPU_FLAGS_X86 11 | CPU_FLAGS_X86="mmx mmxext sse sse2" 12 | 13 | # 2006/06/07 - Danny van Dyk 14 | # Multilib settings for all amd64 subprofiles. 15 | MULTILIB_ABIS="amd64 x86" 16 | DEFAULT_ABI="amd64" 17 | # Do not remove this one, or all kinds of hell breaks loose. 18 | ABI="amd64" 19 | 20 | # 64bit specific settings. 21 | CHOST_amd64="x86_64-pc-linux-gnu" 22 | CDEFINE_amd64="__x86_64__" 23 | 24 | # 32bit specific settings. 25 | CFLAGS_x86="-m32" 26 | LDFLAGS_x86="-m elf_i386" 27 | ASFLAGS_x86="--32" 28 | CHOST_x86="i686-pc-linux-gnu" 29 | CDEFINE_x86="__i386__" 30 | 31 | # This is so we build with multilib from the start 32 | STAGE1_USE="multilib nptl nptlonly unicode" 33 | 34 | # FEATURES="multilib-strict" specific settings. 35 | MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" 36 | MULTILIB_STRICT_DENY="64-bit.*shared object" 37 | MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" 38 | 39 | # Let baselayout create the lib symlink. 40 | SYMLINK_LIB="yes" 41 | 42 | # 64-bit LIBDIR 43 | LIBDIR_amd64="lib64" 44 | LIBDIR_amd64_fbsd="lib64" 45 | LIBDIR_ppc64="lib64" 46 | LIBDIR_sparc64="lib64" 47 | 48 | # 32-bit LIBDIR 49 | LIBDIR_ppc="lib32" 50 | LIBDIR_x86="lib32" 51 | LIBDIR_x86_fbsd="lib32" 52 | LIBDIR_sparc32="lib32" 53 | 54 | # kvm defaults 55 | QEMU_SOFTMMU_TARGETS="i386 x86_64" 56 | QEMU_USER_TARGETS="i386 x86_64" 57 | 58 | # Add new abi's FL-452 59 | # FL-2055: CPU instruction set flags 60 | USE_EXPAND_HIDDEN="-ABI_X86 -CPU_FLAGS_X86" 61 | 62 | GRUB_PLATFORMS="efi-64 pc" 63 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/package.use.force: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2011 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/package.use.force,v 1.6 2011/04/21 10:30:15 flameeyes Exp $ 4 | 5 | # support of llvm_targets 6 | sys-devel/clang llvm_targets_X86 7 | sys-devel/llvm llvm_targets_X86 8 | 9 | # FL-1832; force multilib support on sys-devel/gcc 10 | sys-devel/gcc abi_x86_32 11 | 12 | # Diego Elio Pettenò (21 Apr 2011) 13 | # The plugin is 32-bit only (and I'm not even sure if it works with 14 | # modern iscan); make sure it only installs the firmware for amd64! 15 | media-gfx/iscan-plugin-gt-f500 minimal 16 | 17 | # (23 Oct 2006) 18 | # upstream forces sse2 on regardless of what the use flag is 19 | dev-libs/openssl sse2 20 | dev-libs/openssl cpu_flags_x86_sse2 21 | 22 | # Santiago M. Mola (17 Sep 2008) 23 | # x86emu is the only backend available for amd64 (bug #224987) 24 | sys-apps/v86d x86emu 25 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/package.use.mask/02-gentoo: -------------------------------------------------------------------------------- 1 | # This file is a placeholder for $PORTDIR/profiles/features/multilib/package.use.mask which is added by merge.py 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/package.use.mask/cpu-features: -------------------------------------------------------------------------------- 1 | # Samuli Suominen (10 May 2009) 2 | # Broken SSE2 detection for x86_64 wrt #262405 3 | media-libs/libsoundtouch sse2 4 | media-libs/libsoundtouch cpu_flags_x86_sse2 5 | 6 | # Jeremy Olexa (24 Dec 2008) 7 | # unmask USE=bindist on amd64 - also unmasking the other flags that were under a 8 | # bad comment heading. see bug #246144 9 | media-video/mplayer -cpudetection -custom-cpuopts -bindist -vdpau 10 | 11 | # Tomas Chvatal (31 Jan 2009) 12 | # masked in base, unmaks for x86/amd64 13 | sci-misc/boinc -cuda 14 | 15 | # Oct 23th 2006; blubb@gentoo.org 16 | # the asm is 64bit save, but it doesn't compile anyway 17 | games-emulation/visualboyadvance mmx 18 | games-emulation/visualboyadvance cpu_flags_x86_mmx 19 | 20 | # Oct 23th 2006; blubb@gentoo.org 21 | # upstream forces sse2 for amd64; mmx flag does nothing 22 | app-crypt/johntheripper mmx 23 | app-crypt/johntheripper cpu_flags_x86_mmx 24 | 25 | # Oct 23th 2006; blubb@gentoo.org 26 | # x86 asm only: 27 | games-emulation/xmame mmx 28 | games-emulation/xmess mmx 29 | media-gfx/inkscape mmx 30 | media-libs/allegro mmx sse 31 | media-libs/libfame mmx 32 | media-libs/libmovtar mmx 33 | media-libs/sdl-gfx mmx 34 | media-libs/smpeg mmx 35 | media-video/mjpegtools mmx 36 | net-irc/xchat mmx 37 | net-irc/xchat-gnome mmx 38 | net-misc/asterisk mmx 39 | x11-terms/eterm mmx 40 | media-tv/xawtv mmx 41 | games-emulation/xmame cpu_flags_x86_mmx 42 | games-emulation/xmess cpu_flags_x86_mmx 43 | media-gfx/inkscape cpu_flags_x86_mmx 44 | media-libs/allegro cpu_flags_x86_mmx cpu_flags_x86_sse 45 | media-libs/libfame cpu_flags_x86_mmx 46 | media-libs/libmovtar cpu_flags_x86_mmx 47 | media-libs/sdl-gfx cpu_flags_x86_mmx 48 | media-libs/smpeg cpu_flags_x86_mmx 49 | media-video/mjpegtools cpu_flags_x86_mmx 50 | net-irc/xchat cpu_flags_x86_mmx 51 | net-irc/xchat-gnome cpu_flags_x86_mmx 52 | net-misc/asterisk cpu_flags_x86_mmx 53 | x11-terms/eterm cpu_flags_x86_mmx 54 | media-tv/xawtv cpu_flags_x86_mmx 55 | 56 | 57 | # x86_64 opts are enabled with USE sse. so masking the rest 58 | media-sound/mpg123 mmx 3dnow 3dnowext 59 | media-sound/mpg123 cpu_flags_x86_mmx cpu_flags_x86_3dnow cpu_flags_x86_3dnowext 60 | 61 | # Oct 24th 2006; blubb@gentoo.org 62 | # bug 152646 63 | x11-themes/polymer mmx sse2 64 | x11-themes/polymer cpu_flags_x86_mmx cpu_flags_x86_sse2 65 | 66 | # 8 Aug 2008: Alexis Ballier 67 | # x86 asm only, it won't be built on amd64 if mmx useflag is enabled but that 68 | # saves people from needlessly installing nasm 69 | # Refs bug #93279 70 | media-sound/lame mmx 71 | media-sound/lame cpu_flags_x86_mmx 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/package.use/llvm: -------------------------------------------------------------------------------- 1 | sys-devel/clang llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX 2 | sys-devel/llvm llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/package.use/multilib: -------------------------------------------------------------------------------- 1 | # FL-1927: enable 32 bit flag to nvidia-cg-toolkit: 2 | media-gfx/nvidia-cg-toolkit abi_x86_32 3 | 4 | # FL-1858, apulse is majorily used for Skype, and Skype is 32-bit. 5 | media-sound/apulse abi_x86_32 6 | 7 | # FL-1885, binary package with likely wanted 32-bit counterpart 8 | x11-drivers/ati-drivers abi_x86_32 9 | 10 | # For binutils-libs, required by GNOME and other desktop things 11 | sys-libs/binutils-libs abi_x86_32 12 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/parent: -------------------------------------------------------------------------------- 1 | ../.. 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-bulldozer/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver1 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-excavator/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver4 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx avx2 fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-jaguar/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=btver2 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-k10/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=amdfam10 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-k8+sse3/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=k8-sse3 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-k8/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=k8 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-piledriver/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver2 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/amd64-steamroller/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=bdver3 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/atom_64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=bonnell -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/btver1_64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -fomit-frame-pointer -march=btver1 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext mmxext popcnt sse sse2 sse3 sse4a ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/core-avx-i/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=core-avx-i -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/core2_64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=core2 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/corei7/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=corei7 -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/generic_64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-mtune=generic -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-broadwell/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=broadwell -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-haswell/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=haswell -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-ivybridge/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=ivybridge -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-nehalem/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=nehalem -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-sandybridge/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=sandybridge -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-silvermont/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=silvermont -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-westmere/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=westmere -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/native_64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-march=native -O2 -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/nocona/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=nocona -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/opteron_64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=opteron -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/xen-pentium4+sse3_64/make.defaults: -------------------------------------------------------------------------------- 1 | CFLAGS="-O2 -march=nocona -mno-tls-direct-seg-refs -pipe" 2 | CXXFLAGS="${CFLAGS}" 3 | FFLAGS="${CFLAGS}" 4 | FCFLAGS="${CFLAGS}" 5 | 6 | CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/toolchain-version: -------------------------------------------------------------------------------- 1 | 1.1 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/use.force: -------------------------------------------------------------------------------- 1 | # Force enable multilib USE flag 2 | multilib 3 | # Add new abi's FL-452 4 | abi_x86_64 5 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/use.mask/core: -------------------------------------------------------------------------------- 1 | # UNMASK 2 | 3 | -multilib 4 | -amd64 5 | -ssse3 6 | -emul-linux-x86 7 | -lilo 8 | -ada 9 | -oci8 10 | -db2 11 | -nvram 12 | -oci8-instant-client 13 | 14 | # MASK 15 | capslib 16 | cmucl 17 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/use.mask/cpu-features: -------------------------------------------------------------------------------- 1 | -3dnowext 2 | -3dnow 3 | -ssse3 4 | -sse2 5 | -sse 6 | -mmxext 7 | -mmx 8 | -cpu_flags_x86_3dnow 9 | -cpu_flags_x86_3dnowext 10 | -cpu_flags_x86_aes 11 | -cpu_flags_x86_avx 12 | -cpu_flags_x86_avx2 13 | -cpu_flags_x86_fma3 14 | -cpu_flags_x86_fma4 15 | -cpu_flags_x86_mmx 16 | -cpu_flags_x86_mmxext 17 | -cpu_flags_x86_padlock 18 | -cpu_flags_x86_popcnt 19 | -cpu_flags_x86_sse 20 | -cpu_flags_x86_sse2 21 | -cpu_flags_x86_sse3 22 | -cpu_flags_x86_sse4_1 23 | -cpu_flags_x86_sse4_2 24 | -cpu_flags_x86_sse4a 25 | -cpu_flags_x86_ssse3 26 | -cpu_flags_x86_xop 27 | 28 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/use.mask/hardware: -------------------------------------------------------------------------------- 1 | # UNMASK 2 | 3 | -nvidia 4 | -input_devices_synaptics 5 | -input_devices_virtualbox 6 | -input_devices_vmmouse 7 | -input_devices_wacom 8 | -video_cards_nouveau 9 | -video_cards_nvidia 10 | -video_cards_fglrx 11 | -video_cards_via 12 | -video_cards_virtualbox 13 | -video_cards_vmware 14 | -dxr3 15 | -kqemu 16 | 17 | -sane_backends_canon_pp 18 | -sane_backends_hpsj5s 19 | -sane_backends_mustek_pp 20 | -sane_backends_qcam 21 | 22 | # MASK 23 | 24 | alsa_cards_cs5535audio 25 | video_cards_i740 26 | video_cards_imstt 27 | video_cards_newport 28 | video_cards_nsc 29 | 3dfx 30 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/current/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/current/make.defaults: -------------------------------------------------------------------------------- 1 | # This trick requires that the arch is selected *first* 2 | 3 | ACCEPT_KEYWORDS="~${ARCH} ${ARCH}" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/current/package.keywords: -------------------------------------------------------------------------------- 1 | =sys-fs/zfs-0.6.5.7 ~amd64 2 | =sys-fs/zfs-kmod-0.6.5.7 ~amd64 3 | =sys-kernel/spl-0.6.5.7 ~amd64 -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/experimental/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/experimental/make.defaults: -------------------------------------------------------------------------------- 1 | # This trick requires that the arch is selected *first* 2 | 3 | ACCEPT_KEYWORDS="~${ARCH} ${ARCH}" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/README: -------------------------------------------------------------------------------- 1 | I am attempting to use package.unmask instead of package.keywords for a more straightforward way to move things to stable. 2 | 3 | This, however, has not been tested, so proceed with caution. 4 | 5 | -Daniel 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/make.defaults: -------------------------------------------------------------------------------- 1 | ACCEPT_KEYWORDS="${ARCH}" 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/package.keywords/funtoo-gnome: -------------------------------------------------------------------------------- 1 | # stabilize a list of gnome ebuilds: 2 | =gnome-extra/nautilus-tracker-tags-1.8.0 amd64 x86 3 | =x11-libs/gtk+-3.20.9 amd64 x86 4 | =media-libs/grilo-0.3.2 amd64 x86 5 | =x11-themes/adwaita-icon-theme-3.20 amd64 x86 6 | =gnome-base/gnome-desktop-3.20.2 amd64 x86 7 | =gnome-base/gsettings-desktop-schemas-3.20.0 amd64 x86 8 | =media-libs/clutter-1.26.0 amd64 x86 9 | 10 | # FL-3782: stabilize app-misc/tracker-1.8.0 on gnome. 11 | =app-misc/tracker-1.8.0 amd64 x86 12 | # FL-2157: stabilize packages required for multilib updates: 13 | 14 | =dev-libs/libsigc++-2.4.1 amd64 x86 15 | =dev-cpp/atkmm-2.22.7-r1 amd64 x86 16 | =dev-cpp/pangomm-2.34.0-r1 amd64 x86 17 | =dev-cpp/cairomm-1.10.0-r1 amd64 x86 18 | 19 | #https://bugs.gentoo.org/show_bug.cgi?id=540138 set stable keyword to autoconf-archive, dependency for gnome-common: 20 | =sys-devel/autoconf-archive-2015.02.04 amd64 x86 21 | 22 | ## FL-2090: set keywords to appstream-glib and appdata-tools ## 23 | =dev-libs/appstream-glib-0.3.4 amd64 x86 24 | =dev-util/appdata-tools-0.1.8-r1 amd64 x86 25 | 26 | ################################### 27 | =x11-misc/colord-1.2.5-r1 amd64 x86 28 | =dev-libs/libgusb-0.1.6-r1 amd64 x86 29 | =x11-libs/libwnck-3.4.9 amd64 x86 30 | =gnome-base/librsvg-2.40.5 amd64 x86 31 | =media-libs/grilo-0.2.11 amd64 x86 32 | =x11-libs/libnotify-0.7.6-r1 amd64 x86 33 | =app-accessibility/caribou-0.4.15 amd64 x86 34 | =dev-util/gtk-doc-am-1.21 amd64 x86 35 | =media-plugins/grilo-plugins-0.2.13 amd64 x86 36 | =dev-libs/folks-0.10.0 amd64 x86 37 | =net-misc/modemmanager-1.4.0 amd64 x86 38 | =mail-client/geary-0.8.2 amd64 x86 39 | =dev-util/gtk-doc-1.21 amd64 x86 40 | =dev-libs/gom-0.2.1 amd64 x86 41 | =gnome-extra/gnome-do-plugins-0.8.5 amd64 x86 42 | =gnome-extra/gnome-do-0.9 amd64 x86 43 | =media-libs/mesa-10.3.5 amd64 x86 44 | =media-libs/x265-1.4 amd64 x86 45 | =media-libs/libbluray-0.6.2 amd64 x86 46 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/package.keywords/funtoo-libreoffice: -------------------------------------------------------------------------------- 1 | ## FL-2061. list of libraries for libreoffice/libreoffice-bin. Please, do not edit and change the list without coordinating and without bugs.funtoo.org reports. 2 | =app-office/libreoffice-l10n-4.4.2.2 amd64 x86 3 | =app-text/libabw-0.1.1 amd64 x86 4 | =app-text/libebook-0.1.2 amd64 x86 5 | =app-text/libetonyek-0.1.1 amd64 x86 6 | =app-text/libmspub-0.1.2 amd64 x86 7 | =app-text/libmwaw-0.3.4 amd64 x86 8 | =app-text/libodfgen-0.1.3 amd64 x86 9 | =app-text/libwpd-0.10.0-r1 amd64 x86 10 | =app-text/libwpg-0.3.0 amd64 x86 11 | =app-text/libwps-0.3.1 amd64 x86 12 | =dev-libs/libixion-0.7.0 amd64 x86 13 | =dev-libs/liborcus-0.7.0 amd64 x86 14 | =dev-libs/librevenge-0.0.2 amd64 x86 15 | =media-libs/glew-1.12.0 amd64 x86 16 | =media-libs/glm-0.9.6.1 amd64 x86 17 | =media-libs/libcdr-0.1.1 amd64 x86 18 | =media-libs/libfreehand-0.1.0 amd64 x86 19 | =media-libs/libvisio-0.1.1 amd64 x86 20 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/package.mask/funtoo: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/package.unmask/funtoo-stable: -------------------------------------------------------------------------------- 1 | =dev-libs/gmp-5* 2 | ~sys-fs/device-mapper-1.02.28 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/build/stable/package.use.stable.mask/01-gentoo: -------------------------------------------------------------------------------- 1 | # Agostino Sarubbo (24 May 2013) 2 | # Justin Lecher (30 May 2313) 3 | # Temporary mask because it needs texinfo-5 4 | # hvm needs qemu #471122 5 | >=app-emulation/xen-tools-4.2.1-r3 qemu hvm 6 | 7 | # Chris Reffett (23 Nov 2012) 8 | # CMake's PHP module can't find our install location, so 9 | # libkolab(xml) fails with the php flag enabled, bug #430858. 10 | net-libs/libkolab php 11 | net-libs/libkolabxml php 12 | 13 | # Samuli Suominen (12 Apr 2013) 14 | # Waiting for >=app-cdr/brasero-3 stabilization 15 | app-pda/gtkpod cdr 16 | # Pawel Hajdan jr (11 Apr 2013) 17 | # Usually requires recent ffmpeg/libav, not ready for stable. 18 | www-client/chromium system-ffmpeg 19 | 20 | # Pacho Ramos (01 Apr 2013) 21 | # Needed to stabilize anjuta-3.6 22 | =dev-util/devhelp-3.6.1-r1 gedit 23 | 24 | # Andreas K. Huettel (28 Mar 2013) 25 | # No stable sci-chemistry/avogadro yet but we want kde-4.10 to go stable 26 | >=kde-base/kalzium-4.10.0 editor 27 | 28 | # Sergey Popov (08 Jun 2013) 29 | # Mask unstable dependencies in leechcraft metapackage 30 | app-leechcraft/leechcraft-meta unstable 31 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/core/make.defaults: -------------------------------------------------------------------------------- 1 | USE="unicode nptl modules" #core kernel and userland 2 | USE="$USE acl pam ssl crypt cracklib xattr" #core security 3 | USE="$USE nls iconv xml pcre" #core subsystems 4 | USE="$USE zlib bzip2" #core compression 5 | USE="$USE berkdb gdbm" #core databases 6 | USE="$USE readline ncurses" #core gui/interactivity frameworks 7 | USE="$USE mudflap openmp python cxx" #core languages 8 | USE="$USE ipv6 tcpd resolvconf icu" #core networking 9 | USE="$USE -alsa -cups -X -gtk -kde -introspection" # For FL-46, FL-124, do not enable GUI flags 10 | USE="$USE -systemd" # FL-1329 11 | INPUT_DEVICES="evdev synaptics" #FL-159 12 | 13 | 14 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/core/package.mask: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/tests/profiles/funtoo/1.0/linux-gnu/flavor/core/package.mask -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/core/package.use: -------------------------------------------------------------------------------- 1 | # FL-4141: enable LZMA use in the_silver_searcher. a workaround 2 | sys-apps/the_silver_searcher lzma 3 | 4 | #FL-1846 5 | sys-libs/zlib minizip 6 | 7 | # Stage3 kernel now getting built with binary flag. 8 | sys-kernel/debian-sources binary 9 | 10 | #FL-1498: enable gtk USE flag for gnash for clean emerge if non-dekstop profile used 11 | www-plugins/gnash gtk 12 | 13 | #FL-1479 14 | net-libs/webkit-gtk -geoloc 15 | 16 | #FL-848 17 | net-fs/samba -acl 18 | net-fs/cifs-utils -acl 19 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/core/parent: -------------------------------------------------------------------------------- 1 | ../minimal 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/desktop/package.use: -------------------------------------------------------------------------------- 1 | # FL-3430 disable ffmpeg USE as a workaround 2 | =media-plugins/gst-plugins-meta-0.10* -ffmpeg 3 | 4 | # set policylkit USE for consolekit. Desktop need this. 5 | sys-auth/consolekit policykit 6 | 7 | # FL-1868. enale bluetooth USE in pulseaudio 8 | media-sound/pulseaudio bluetooth 9 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/desktop/parent: -------------------------------------------------------------------------------- 1 | ../workstation 2 | ../../mix-ins/print 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/hardened/parent: -------------------------------------------------------------------------------- 1 | ../core 2 | ../../mix-ins/hardened 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/minimal/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/minimal/package.use.force: -------------------------------------------------------------------------------- 1 | dev-util/pkgconf pkg-config 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/minimal/package.use.mask: -------------------------------------------------------------------------------- 1 | =dev-lang/python-2* berkdb 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/minimal/packages: -------------------------------------------------------------------------------- 1 | # Distributed under the terms of the GNU General Public License, v2 2 | 3 | *app-admin/ego 4 | *app-arch/bzip2 5 | *app-arch/cpio 6 | *app-arch/gzip 7 | *app-arch/tar 8 | *app-arch/xz-utils 9 | *app-editors/nano 10 | *app-eselect/eselect-vi 11 | *app-portage/gentoolkit 12 | *app-shells/bash 13 | *dev-lang/perl 14 | *dev-lang/python 15 | *dev-libs/mpc 16 | *dev-vcs/git 17 | *net-dns/openresolv 18 | *net-misc/bridge-utils 19 | *net-misc/dhcpcd 20 | *net-misc/ifenslave 21 | *net-misc/iputils 22 | *net-misc/rsync 23 | *net-misc/wget 24 | *sys-apps/baselayout 25 | *sys-apps/busybox 26 | *sys-apps/coreutils 27 | *sys-apps/diffutils 28 | *sys-apps/file 29 | *sys-apps/findutils 30 | *sys-apps/gawk 31 | *sys-apps/gptfdisk 32 | *sys-apps/grep 33 | *sys-apps/iproute2 34 | *sys-apps/kbd 35 | *sys-apps/less 36 | *sys-apps/man-pages 37 | *sys-apps/net-tools 38 | *sys-apps/openrc 39 | *sys-apps/pciutils 40 | *sys-apps/sed 41 | *sys-apps/shadow 42 | *sys-apps/texinfo 43 | *sys-apps/usbutils 44 | *sys-apps/util-linux 45 | *sys-apps/which 46 | *sys-devel/autoconf 47 | *sys-devel/automake 48 | *sys-devel/bc 49 | *sys-devel/binutils 50 | *sys-devel/bison 51 | *sys-devel/flex 52 | *sys-devel/gcc 53 | *sys-devel/gnuconfig 54 | *sys-devel/libtool 55 | *sys-devel/m4 56 | *sys-devel/make 57 | *sys-devel/patch 58 | *sys-fs/e2fsprogs 59 | *sys-fs/xfsprogs 60 | *sys-libs/ncurses 61 | *sys-libs/readline 62 | *sys-libs/zlib 63 | *sys-process/procps 64 | *sys-process/psmisc 65 | *virtual/dev-manager 66 | *virtual/libc 67 | *virtual/man 68 | *virtual/modutils 69 | *virtual/os-headers 70 | *virtual/package-manager 71 | *virtual/ssh 72 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/minimal/packages.build: -------------------------------------------------------------------------------- 1 | # Distributed under the terms of the GNU General Public License v2 2 | 3 | # This file describes the packages needed to build a stage1 based on this 4 | # profile. Packages in this file are built in order. 5 | 6 | # While shadow could be in here, it breaks stage 1 and stage 2 building for the 7 | # releases. PLEASE DO NOT ENABLE THIS UNLESS YOU HAVE THOROUGHLY TESTED IT! 8 | 9 | app-arch/bzip2 10 | app-arch/gzip 11 | app-arch/tar 12 | app-arch/xz-utils 13 | app-shells/bash 14 | net-misc/rsync 15 | net-misc/wget 16 | sys-devel/autoconf 17 | sys-devel/automake 18 | sys-devel/libtool 19 | sys-apps/baselayout 20 | sys-apps/coreutils 21 | sys-apps/diffutils 22 | sys-apps/file 23 | sys-apps/findutils 24 | sys-apps/gawk 25 | sys-apps/grep 26 | sys-apps/less 27 | sys-apps/net-tools 28 | sys-apps/sed 29 | sys-apps/texinfo 30 | sys-devel/binutils 31 | sys-devel/bison 32 | sys-devel/flex 33 | sys-devel/gcc 34 | sys-devel/gettext 35 | sys-devel/gnuconfig 36 | sys-devel/make 37 | sys-devel/patch 38 | virtual/editor 39 | virtual/libc 40 | virtual/os-headers 41 | virtual/package-manager 42 | sys-apps/openrc 43 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/minimal/profile.bashrc: -------------------------------------------------------------------------------- 1 | # Copyright 2006-2009 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v 1.4 2009/10/16 17:37:56 arfrever Exp $ 4 | 5 | if [[ ${EBUILD_PHASE} == "setup" ]]; then 6 | export PYTHONDONTWRITEBYTECODE="1" 7 | fi 8 | 9 | for conf in ${PN} ${PN}-${PV} ${PN}-${PV}-${PR}; do 10 | [[ -r ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} ]] \ 11 | && . ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} 12 | done 13 | 14 | if ! declare -F elog >/dev/null ; then 15 | elog() { 16 | einfo "$@" 17 | } 18 | fi 19 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/server/parent: -------------------------------------------------------------------------------- 1 | ../core 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/workstation/make.defaults: -------------------------------------------------------------------------------- 1 | USE="opengl" 2 | USE="$USE nsplugin" ## enable Java plugin. http://bugs.funtoo.org/browse/FL-1136 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/workstation/package.use: -------------------------------------------------------------------------------- 1 | # QA-25: enable xa USE in media-libs/mesa, needed for certain video cards. 2 | media-libs/mesa xa 3 | 4 | # QA-25: enable both gtk2 and gtk3 flags, as riequired by nvidia-drivers 5 | x11-drivers/nvidia-drivers gtk2 gtk3 6 | 7 | # FL-1700: enable amdcccle: 8 | x11-drivers/ati-drivers qt4 9 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/flavor/workstation/parent: -------------------------------------------------------------------------------- 1 | ../core 2 | ../../mix-ins/X 3 | ../../mix-ins/audio 4 | ../../mix-ins/dvd 5 | ../../mix-ins/media 6 | ../../mix-ins/console-extras 7 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/make.defaults: -------------------------------------------------------------------------------- 1 | ELIBC="glibc" 2 | KERNEL="linux" 3 | USERLAND="GNU" 4 | LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" 5 | USE="kernel_linux userland_GNU elibc_glibc" 6 | 7 | ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" 8 | ACCEPT_PROPERTIES="* -reboot" 9 | 10 | USE_EXPAND="CPU_FLAGS_X86 OSS_CARDS APACHE2_MODULES APACHE2_MPMS FOO2ZJS_DEVICES MISDN_CARDS FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS DVB_CARDS LIRC_DEVICES INPUT_DEVICES LINGUAS LLVM_TARGETS USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS ALSA_CARDS ALSA_PCM_PLUGINS LCD_DEVICES CAMERAS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS RUBY_TARGETS PHP_TARGETS XFCE_PLUGINS XTABLES_ADDONS GPSD_PROTOCOLS COLLECTD_PLUGINS ABI_X86" 11 | 12 | # Nginx variables 13 | USE_EXPAND="${USE_EXPAND} NGINX_MODULES_EXTERNAL NGINX_MODULES_HTTP NGINX_MODULES_MAIL" 14 | 15 | # This setting should be kept in sync with a >=dev-lang/php-5.x mask, 16 | # so that PHP_TARGETS always refers to the latest unmasked x.y version 17 | # of PHP. 18 | PHP_TARGETS="php5-6" 19 | 20 | # USE_EXPAND variables whose contents are not shown in package manager 21 | # output. Changes need discussion on gentoo-dev. 22 | USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS ABI_X86" 23 | 24 | COLLISION_IGNORE="/lib/modules/* *.py[co] *\$py.class" 25 | COLLISION_IGNORE="${COLLISION_IGNORE} /lib/firmware/*" 26 | CONFIG_PROTECT="/etc" 27 | CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" 28 | 29 | # We don't want to remove /etc/portage/ and it's contents. 30 | UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /etc/portage/*" 31 | 32 | # Variables that are set exclusively by the profile 33 | # and not by user configuration files. 34 | PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" 35 | 36 | # Benedikt Böhm (27 Nov 2007) 37 | # Sane defaults for built-in apache modules 38 | APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 39 | 40 | # Miroslav Šulc (19 Nov 2008) 41 | # Netbeans modules/clusters 42 | NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" 43 | 44 | # Default Ruby build targets 45 | RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" 46 | 47 | # Small default list of enabled plugins for collectd 48 | COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 49 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/README: -------------------------------------------------------------------------------- 1 | See http://en.wikipedia.org/wiki/Mixin. 2 | 3 | Mix-ins are not stand-alone profiles, but they enable certain functionality, such 4 | as media support, common workstation settings, or RHEL5-compatibility. You use 5 | them in combination with an official system profile. 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/X/make.defaults: -------------------------------------------------------------------------------- 1 | USE="X udev dbus" # desktop gui frameworks 2 | USE="$USE dri" # desktop hardware support 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/audio/make.defaults: -------------------------------------------------------------------------------- 1 | # Audio settings 2 | 3 | USE="alsa" 4 | ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 5 | ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/cinnamon/make.defaults: -------------------------------------------------------------------------------- 1 | USE="colord gnome gnome-keyring gnome-online-accounts gstreamer gtk gtk3 gtkstyle introspection libnotify policykit pulseaudio tracker" 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/cinnamon/package.use: -------------------------------------------------------------------------------- 1 | # Required for a more complete experience. 2 | gnome-extra/cinnamon-control-center socialweb 3 | gnome-extra/nm-applet bluetooth modemmanager 4 | net-misc/networkmanager bluetooth connection-sharing consolekit upower wifi 5 | 6 | # Required for a clean emerge. 7 | app-text/poppler cairo 8 | media-gfx/imagemagick png jpeg 9 | net-misc/networkmanager modemmanager ppp 10 | x11-libs/cairo opengl 11 | 12 | # FL-2486 13 | app-misc/tracker -ffmpeg 14 | 15 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/cinnamon/parent: -------------------------------------------------------------------------------- 1 | ../gnome -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/console-extras/make.defaults: -------------------------------------------------------------------------------- 1 | USE="pppd gpm" 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/dvd/make.defaults: -------------------------------------------------------------------------------- 1 | USE="cdr dvd dvdr dvdread" 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gfxcard-intel-glamor/make.defaults: -------------------------------------------------------------------------------- 1 | USE="glamor vaapi vdpau" 2 | VIDEO_CARDS="intel i965" 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gfxcard-intel-glamor/package.mask: -------------------------------------------------------------------------------- 1 | <=x11-base/xorg-server-1.19 2 | x11-drivers/xf86-video-intel 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gfxcard-intel-glamor/package.use: -------------------------------------------------------------------------------- 1 | x11-libs/libva-vdpau-driver abi_x86_32 2 | x11-libs/libva abi_x86_32 3 | x11-libs/libva-intel-driver abi_x86_32 4 | x11-libs/libvdpau abi_x86_32 5 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome-3.16-fixups/make.defaults: -------------------------------------------------------------------------------- 1 | USE="$USE openrc-force" 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome-3.16-fixups/package.unmask: -------------------------------------------------------------------------------- 1 | # temporary, for testing purposes 2 | sys-apps/portage 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome-3.16-fixups/package.use: -------------------------------------------------------------------------------- 1 | x11-wm/mutter -kms 2 | >=media-libs/clutter-1.22.4 egl 3 | >=www-servers/apache-2.4.16 apache2_mpms_prefork 4 | >=gnome-base/gnome-control-center-3.16.3 networkmanager 5 | 6 | dev-libs/icu abi_x86_32 7 | dev-libs/libxml2 abi_x86_32 8 | dev-util/pkgconf abi_x86_32 9 | media-libs/glu abi_x86_32 10 | media-libs/harfbuzz abi_x86_32 11 | sys-apps/attr abi_x86_32 12 | sys-devel/llvm abi_x86_32 13 | sys-fs/eudev abi_x86_32 14 | sys-libs/ncurses abi_x86_32 15 | x11-libs/cairo abi_x86_32 16 | x11-libs/libdrm abi_x86_32 17 | x11-libs/pixman abi_x86_32 18 | app-arch/bzip2 abi_x86_32 19 | dev-libs/expat abi_x86_32 20 | dev-libs/glib abi_x86_32 21 | dev-libs/libcroco abi_x86_32 22 | dev-libs/libffi abi_x86_32 23 | dev-libs/libpthread-stubs abi_x86_32 24 | dev-libs/lzo abi_x86_32 25 | gnome-base/librsvg abi_x86_32 26 | media-gfx/graphite2 abi_x86_32 27 | media-libs/fontconfig abi_x86_32 28 | media-libs/freeglut abi_x86_32 29 | media-libs/freetype abi_x86_32 30 | media-libs/jasper abi_x86_32 31 | media-libs/libjpeg-turbo abi_x86_32 32 | media-libs/libpng abi_x86_32 33 | media-libs/mesa abi_x86_32 34 | media-libs/tiff abi_x86_32 35 | sys-fs/eudev abi_x86_32 36 | sys-libs/gpm abi_x86_32 37 | sys-libs/zlib abi_x86_32 38 | virtual/glu abi_x86_32 39 | virtual/jpeg abi_x86_32 40 | virtual/libffi abi_x86_32 41 | virtual/libiconv abi_x86_32 42 | virtual/libudev abi_x86_32 43 | virtual/opengl abi_x86_32 44 | virtual/pkgconfig abi_x86_32 45 | x11-libs/gdk-pixbuf abi_x86_32 46 | x11-libs/libX11 abi_x86_32 47 | x11-libs/libXau abi_x86_32 48 | x11-libs/libXdamage abi_x86_32 49 | x11-libs/libXdmcp abi_x86_32 50 | x11-libs/libXext abi_x86_32 51 | x11-libs/libXfixes abi_x86_32 52 | x11-libs/libXft abi_x86_32 53 | x11-libs/libXi abi_x86_32 54 | x11-libs/libXrandr abi_x86_32 55 | x11-libs/libXrender abi_x86_32 56 | x11-libs/libXxf86vm abi_x86_32 57 | x11-libs/libxcb abi_x86_32 58 | x11-libs/libxshmfence abi_x86_32 59 | x11-libs/pango abi_x86_32 60 | x11-proto/damageproto abi_x86_32 61 | x11-proto/dri2proto abi_x86_32 62 | x11-proto/dri3proto abi_x86_32 63 | x11-proto/fixesproto abi_x86_32 64 | x11-proto/glproto abi_x86_32 65 | x11-proto/inputproto abi_x86_32 66 | x11-proto/kbproto abi_x86_32 67 | x11-proto/presentproto abi_x86_32 68 | x11-proto/randrproto abi_x86_32 69 | x11-proto/renderproto abi_x86_32 70 | x11-proto/xcb-proto abi_x86_32 71 | x11-proto/xextproto abi_x86_32 72 | x11-proto/xf86bigfontproto abi_x86_32 73 | x11-proto/xf86driproto abi_x86_32 74 | x11-proto/xf86vidmodeproto abi_x86_32 75 | x11-proto/xproto abi_x86_32 76 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome-3.16-fixups/use.mask: -------------------------------------------------------------------------------- 1 | -openrc-force 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome/README: -------------------------------------------------------------------------------- 1 | package.mask and package.unmask come from the funtoo-gnome-overlay, maintained there. 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome/eapi: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome/make.defaults: -------------------------------------------------------------------------------- 1 | USE="colord eds evo gnome gnome-keyring gnome-online-accounts gstreamer gtk gtk3 gtkstyle introspection libnotify nautilus policykit pulseaudio tracker" 2 | USE="$USE openrc-force" 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome/package.mask: -------------------------------------------------------------------------------- 1 | # mask recent dev-perl/SGMLSpm. This breaks gnome's power manager. It's unknown whether it breaks anything else. Keep the mask in gnome profile for now. 2 | >=dev-perl/SGMLSpm-1.03-r8 -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/gnome/use.mask: -------------------------------------------------------------------------------- 1 | -openrc-force 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/hardened/make.defaults: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation. 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/make.defaults,v 1.19 2014/09/03 18:48:15 axs Exp $ 4 | 5 | # Jorge Manuel B. S. Vicetto (16 Nov 2011) 6 | # Rename STAGE1_USE to BOOTSTRAP_USE and stack it to the parent value 7 | BOOTSTRAP_USE="${BOOTSTRAP_USE} hardened pax_kernel pic xtpax -jit -orc" 8 | 9 | USE="hardened pax_kernel pic urandom xtpax -fortran -jit -orc" 10 | 11 | # Ian Stakenvicius, 2014-09-03 12 | # Set a variable just to indicate that the current profile is a hardened one 13 | # This variable can be leveraged in ebuilds for pkg_postinst messages that 14 | # indicate said package is, say, configured in a way that defeats the purpose 15 | # of running hardened. 16 | PROFILE_IS_HARDENED=1 17 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/hardened/package.mask: -------------------------------------------------------------------------------- 1 | # ati-drivers update. masked for testing: 2 | =x11-drivers/ati-drivers-15.12 3 | 4 | # Hardened versions of gcc-4.0* through gcc-4.2* are not available. 5 | =sys-devel/gcc-4.0* 6 | =sys-devel/gcc-4.1* 7 | =sys-devel/gcc-4.2* 8 | 9 | # =sys-devel/gdb-7.0 is not hardened-ready according to xake & Zorry. 10 | # sys-devel/gdb-7.1 works fine 11 | # 2010-03-26 zorry 12 | =sys-devel/gdb-7.0* 13 | 14 | # Can't be used on hardened. See upstream, 15 | # http://developer.skype.com/jira/browse/SCL-616 16 | media-sound/skype-call-recorder 17 | net-im/skype 18 | net-im/skypetab-ng 19 | dev-python/skype4py 20 | 21 | # >=sci-libs/acml-3.6 requires gcc-4.2. 22 | >=sci-libs/acml-3.6 23 | 24 | # broken on hardened, use sys-apps/elfix to fix gnustack 25 | sys-devel/prelink 26 | # depends on prelink 27 | app-crypt/hmaccalc 28 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/hardened/package.use.force: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/package.use.force,v 1.2 2013/03/18 03:18:19 blueness Exp $ 4 | 5 | # Kacper Kowalik (24 Aug 2011) 6 | # Force hardened flag to make repoman happy 7 | app-emulation/wine hardened 8 | 9 | # Needed for XATTR_PAX flags (17 Mar 2013) 10 | # Thanks Arfrever 11 | sys-apps/portage xattr 12 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/hardened/package.use.mask: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/package.use.mask,v 1.15 2013/08/09 09:02:17 xarthisius Exp $ 4 | 5 | sys-apps/hwloc gl 6 | 7 | sys-devel/gcc -hardened 8 | sys-libs/glibc -hardened 9 | 10 | # bug 407689 11 | media-tv/xbmc profile 12 | 13 | # Have no way to disable jit in esr release. 14 | =www-client/firefox-10* pgo 15 | 16 | # bug #468404 17 | net-analyzer/wireshark profile 18 | 19 | # FL-1841, mem-scramble is known to cause memory allocation issues 20 | app-shells/bash mem-scramble 21 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/hardened/packages: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2013 Gentoo Foundation. 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/packages,v 1.3 2013/03/25 00:26:32 blueness Exp $ 4 | 5 | # This file extends the base packages file for all hardened profiles 6 | 7 | *sys-apps/paxctl 8 | *sys-apps/elfix 9 | *dev-libs/gmp 10 | 11 | # FL-3421. dev-libs/mpc required for plugins. 12 | *dev-libs/mpc -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/hardened/use.mask: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2012 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/hardened/linux/use.mask,v 1.18 2013/01/12 12:36:18 zorry Exp $ 4 | 5 | -hardened 6 | 7 | emul-linux-x86 8 | 9 | # tcc is x86-only 10 | tcc 11 | 12 | # precompiled headers are not compat with ASLR. 13 | pch 14 | 15 | # prelink is masked for hardened 16 | prelink 17 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/kde-plasma-5/eapi: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/kde-plasma-5/make.defaults: -------------------------------------------------------------------------------- 1 | # Distributed under the terms of the GNU General Public License v2 2 | 3 | USE="consolekit declarative dri introspection kde kipi phonon plasma policykit qml qt5 semantic-desktop widgets xcomposite xinerama xscreensaver" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/kde-plasma-5/package.mask: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/kde-plasma-5/package.unmask: -------------------------------------------------------------------------------- 1 | # FL-3081: add consolekit-1.0.0, required for powerdevil and SDDM. Unmask only in kde-plasma-5 mix-in. 2 | >=sys-auth/consolekit-1.0.1 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/kde-plasma-5/package.use: -------------------------------------------------------------------------------- 1 | # FL-3982: temporary disable python use for kdegames-meta 2 | >=kde-apps/kdegames-meta-17.04.3 -python 3 | 4 | # Distributed under the terms of the GNU General Public License v2 5 | # QA-466. kwayland and qtgui of SLOT=5 needs egl USE enabled. 6 | dev-qt/qtgui:5 egl 7 | dev-qt/qtwayland:5 egl 8 | 9 | # Required by kde-plasma/plasma-pa 10 | media-sound/pulseaudio gnome 11 | 12 | # kde-frameworks/networkmanager-qt need polkit compiled with introspection: 13 | sys-auth/polkit introspection 14 | 15 | # plasma 5 builds need wayland with abi_x86_32 USE and libxcb need xkb USE: 16 | dev-libs/wayland abi_x86_32 17 | x11-libs/libxcb xkb 18 | 19 | # plasma 5 builds still building applications that are qt4 only. Adjust USE flags for them: 20 | dev-qt/qtopengl qt3support 21 | dev-qt/qtcore qt3support 22 | dev-qt/qtdeclarative qt3support 23 | dev-qt/qtgui qt3support 24 | dev-qt/qtsql qt3support 25 | 26 | # Avoid circular dependency when installing from scratch 27 | dev-util/cmake -qt4 -qt5 28 | 29 | # Not required, but makes life easier with Qt; bug 457934 30 | app-arch/unzip natspec 31 | 32 | # Required by app-office/akonadi-server 33 | dev-qt/qtsql mysql 34 | 35 | # Required by dev-qt/qtcore 36 | dev-libs/libpcre pcre16 37 | 38 | # Required by media-gfx/graphviz which is required by kde-apps/kcachegrind 39 | media-libs/gd fontconfig 40 | 41 | # Required by kde-apps/ktp-text-ui 42 | kde-apps/ktp-common-internals otr 43 | 44 | # Required by kde-apps/libkexiv2 45 | media-gfx/exiv2 xmp 46 | 47 | # Required by kde-apps/okteta 48 | dev-qt/qtscript scripttools 49 | 50 | # Required by kde-base/pykde4 51 | dev-python/PyQt4 script sql webkit 52 | 53 | # Required by kde-frameworks/kactivities 54 | sys-libs/zlib minizip 55 | 56 | # Required by kde-frameworks/kapidox 57 | media-gfx/graphviz python 58 | 59 | # Required by kde-frameworks/kcoreaddons 60 | dev-qt/qtcore icu 61 | 62 | # Required by kde-plasma/kwin 63 | media-libs/mesa egl wayland 64 | 65 | # Required by net-libs/signon-ui 66 | net-libs/libproxy -kde 67 | 68 | # Required by kde-apps/kdenlive 69 | >=media-libs/mlt-0.9.8-r2 kdenlive melt 70 | 71 | # Allow certain KDE 4 components to be coinstalled with Plasma 5 72 | kde-apps/solid-runtime -bluetooth 73 | kde-frameworks/baloo minimal 74 | sys-auth/polkit-kde-agent minimal 75 | 76 | # Required by app-office/libreoffice 77 | media-libs/phonon designer 78 | 79 | #Required by kde-apps/kate[addons] 80 | dev-libs/libgit2 threads 81 | 82 | # FIXME: unnecessary REQUIRED_USE ^^ ( qt4 qt5 ) 83 | =app-crypt/pinentry-0.9.6-r5 -qt4 90 | =kde-misc/kdiff3-0.9.98-r1 -kde -qt4 92 | >=media-libs/opencv-2.4.12-r1 -qt4 93 | =sys-auth/polkit-qt-0.112.0-r1 qt5 4 | >=x11-libs/libxcb-1.11-r1 xkb 5 | >=dev-libs/libpcre-8.36 pcre16 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mate/eapi: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mate/make.defaults: -------------------------------------------------------------------------------- 1 | USE="base cairo caja gdu consolekit extras gtk3 introspection policykit themes udisks" 2 | USE="$USE openrc-force" -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mate/package.mask: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mate/package.mask -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mate/package.use: -------------------------------------------------------------------------------- 1 | # disable gnome use for x11-misc/notification-daemon, when enabled this trigger a block with mate-notification, which is what mate desktop using. 2 | x11-misc/notification-daemon -gnome 3 | 4 | # QA-471 enable gtk3 5 | media-gfx/eom -python 6 | app-editors/pluma -python 7 | dev-libs/libmateweather -python 8 | app-crypt/gcr gtk 9 | 10 | # QA-465: enable xkb USE for libxcb 11 | x11-libs/libxcb xkb 12 | 13 | # updates to mate mix-in:: 14 | app-crypt/pinentry gnome-keyring 15 | media-plugins/alsa-plugins pulseaudio 16 | 17 | media-libs/libcanberra gtk3 18 | mate-base/mate-settings-daemon libnotify 19 | mate-extra/mate-dialogs libnotify 20 | mate-extra/mate-screensaver libnotify 21 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mate/use.mask: -------------------------------------------------------------------------------- 1 | -openrc-force 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/media-pro/parent: -------------------------------------------------------------------------------- 1 | ../media 2 | ../mediadevice-audio-pro 3 | ../mediadevice-video-pro 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/media/parent: -------------------------------------------------------------------------------- 1 | ../mediadevice-audio-consumer 2 | ../mediadevice-video-consumer 3 | ../mediaformat-audio-common 4 | ../mediaformat-gfx-common 5 | ../mediaformat-video-common 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-audio-consumer/make.defaults: -------------------------------------------------------------------------------- 1 | # Consumer-level audio device support (music players, etc.) 2 | 3 | # ios, ipod: Apple iOS devices 4 | # mtp: used by Android phones 5 | USE="ios ipod mtp" 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-audio-consumer/parent: -------------------------------------------------------------------------------- 1 | ../mediadevice-base 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-audio-pro/make.defaults: -------------------------------------------------------------------------------- 1 | # Pro-level audio device support 2 | 3 | USE="jack" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-audio-pro/parent: -------------------------------------------------------------------------------- 1 | ../mediadevice-audio-consumer 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-base/make.defaults: -------------------------------------------------------------------------------- 1 | # Common media device support 2 | 3 | USE="cdda cdio ieee1394" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-video-consumer/make.defaults: -------------------------------------------------------------------------------- 1 | # Consumer-level video device support (DVD, BluRay, webcams) 2 | 3 | USE="bluray dvd v4l" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-video-consumer/parent: -------------------------------------------------------------------------------- 1 | ../mediadevice-base 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-video-pro/make.defaults: -------------------------------------------------------------------------------- 1 | # Pro-level video device support 2 | 3 | USE="dc1394 dv iec61883" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediadevice-video-pro/parent: -------------------------------------------------------------------------------- 1 | ../mediadevice-video-consumer 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-audio-common/make.defaults: -------------------------------------------------------------------------------- 1 | # Commonly found audio file formats. 2 | 3 | USE="cddb flac lame mad mp3 ogg sndfile taglib vorbis wav wavpack" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-audio-extra/make.defaults: -------------------------------------------------------------------------------- 1 | # Extra audio file formats. 2 | 3 | USE="aacplus adplug alac amr amrenc audiofile celt fluidsynth gme gsm mac midi mikmod modplug musepack opus shorten sid sox speex toolame wildmidi" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-audio-extra/parent: -------------------------------------------------------------------------------- 1 | ../mediaformat-audio-common 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-gfx-common/make.defaults: -------------------------------------------------------------------------------- 1 | # Commonly found graphic file formats. 2 | 3 | USE="apng exif gif ico jpeg jpeg2k pdf png svg tiff truetype webp wmf" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-gfx-extra/make.defaults: -------------------------------------------------------------------------------- 1 | # Extra graphic file formats. 2 | 3 | USE="aalib djvu fpx hdri imagemagick jbig lcms mng openexr pnm tga" 4 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-gfx-extra/parent: -------------------------------------------------------------------------------- 1 | ../mediaformat-gfx-common 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-video-common/make.defaults: -------------------------------------------------------------------------------- 1 | # Commonly found video file formats. 2 | 3 | # audio codecs 4 | USE="a52 aac dts faac faad twolame" 5 | # video codecs 6 | USE="$USE libmpeg2 mjpeg mpeg quicktime theora vpx x264 x265 xvid win32codecs" 7 | # containers, subtitles, functions 8 | USE="$USE encode ffmpeg libass libguess matroska postproc" 9 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-video-extra/make.defaults: -------------------------------------------------------------------------------- 1 | # Extra audio supoort 2 | USE="fdk" 3 | 4 | # Extra video file formats. 5 | 6 | USE="dirac dv kate libtiger nuv schroedinger" 7 | 8 | # fancy streaming protocols 9 | USE="$USE live mms rtmp rtsp" 10 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/mediaformat-video-extra/parent: -------------------------------------------------------------------------------- 1 | ../mediaformat-video-common 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/mix-ins/no-emul-linux-x86/package.mask: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | # $Header: /var/cvsroot/gentoo-x86/profiles/arch/amd64/no-emul-linux-x86/package.mask,v 1.5 2014/12/08 23:50:23 mgorny Exp $ 4 | 5 | # Michał Górny (14 Sep 2014) 6 | # on behalf of gx86-multilib project 7 | # Mask emul-linux-x86 packages. 8 | app-emulation/emul-linux-x86-baselibs 9 | app-emulation/emul-linux-x86-cpplibs 10 | app-emulation/emul-linux-x86-db 11 | app-emulation/emul-linux-x86-gstplugins 12 | app-emulation/emul-linux-x86-gtklibs 13 | app-emulation/emul-linux-x86-gtkmmlibs 14 | app-emulation/emul-linux-x86-medialibs 15 | app-emulation/emul-linux-x86-motif 16 | app-emulation/emul-linux-x86-opengl 17 | app-emulation/emul-linux-x86-qtlibs 18 | app-emulation/emul-linux-x86-sdl 19 | app-emulation/emul-linux-x86-soundlibs 20 | app-emulation/emul-linux-x86-xlibs 21 | 22 | # Ian Stakenvicius (12 Nov 2014) 23 | # on behalf of gx86-multilib project 24 | # Allow emul's for java, for now, as there are no other multilib 25 | # alternatives yet, and these emul packages are satisfied with 26 | # gx86-multilib dependencies 27 | #app-emulation/emul-linux-x86-java 28 | =www-client/firefox-51.0 skia 3 | 4 | ## FL-426, gupnp and gupnp-igd need introspection flag enabled, this USE flag is disabled by core base profile, 5 | ## funtoo-use-force enables profile disabled flags. 6 | net-libs/gupnp introspection 7 | net-libs/gupnp-igd introspection 8 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use.mask/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/tests/profiles/funtoo/1.0/linux-gnu/package.use.mask/.keep -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use.mask/01-gentoo: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 Gentoo Foundation 2 | # Distributed under the terms of the GNU General Public License v2 3 | 4 | # Jason Zaman (06 Sep 2015) 5 | # This is masked in base/package.use.mask as Linux only. 6 | sys-auth/consolekit -cgroups 7 | 8 | # Michael Palimaka (03 Sep 2015) 9 | # Native inotify support is preferred on linux. 10 | kde-frameworks/kdelibs fam 11 | kde-frameworks/kcoreaddons fam 12 | 13 | # Christian Ruppert (23 Aug 2015) 14 | # seccomp seems completely broken currently but has been added as global default 15 | # apparently... #558100 16 | # https://archives.gentoo.org/gentoo-dev/message/38503d86a1c41bccfa607745467b1be7 17 | net-dns/bind seccomp 18 | 19 | # Matt Turner (07 Mar 2014) 20 | # media-libs/libomxil-bellagio keyworded on amd64/x86 21 | media-libs/mesa openmax 22 | 23 | # Thomas Sachau (25 Dez 2013) 24 | # mask frost USE flag, broken with >=net-libs/polarssl-1.3.0, bug 489256 25 | net-p2p/fms frost 26 | 27 | # Markos Chandras (10 Nov 2013) 28 | # Does not build with polarssl in the tree. 29 | # see eg 9e36f0475f011912ee0897aa6487d7b9c190600e 30 | # in polarssl upstream. 31 | # The polarssl use flag may go away if the rtmpdump 32 | # upstream will not fix this problem soon 33 | media-video/rtmpdump polarssl 34 | 35 | # Diego Elio Pettenò (27 Aug 2012) 36 | # The libpci access is only used for linux. 37 | net-analyzer/net-snmp -pci 38 | 39 | # Richard Yao (22 August 2012) 40 | # USE=kernel-builtin is dangerous. Only those that know what they are doing 41 | # should use it until documentation improves. 42 | sys-fs/zfs kernel-builtin 43 | 44 | # Diego Elio Pettenò (20 Aug 2012) 45 | # The prevent-removal USE flag is only implemented for Linux. 46 | sys-auth/pam_mktemp -prevent-removal 47 | 48 | sys-devel/gcc hardened 49 | sys-libs/glibc hardened 50 | 51 | # Samuli Suominen (30 Apr 2012) 52 | # This is replaced by native CONFIG_INOTIFY_USER support wrt #413403 53 | =dev-libs/glib-2* fam 54 | 55 | # Samuli Suominen (10 Jan 2012) 60 | # Masked in base/package.use.mask as Linux -only feature 61 | app-arch/libarchive -e2fsprogs 62 | 63 | # Diego E. Pettenò (20 Aug 2009) 64 | # 65 | # Mask oss USE flag for PulseAudio; it's present for compatibility 66 | # with FreeBSD and other operating systems that have no better 67 | # interfaces, but people would probably abuse it with Linux as well. 68 | # 69 | # Older versions also had an OSS compatibility wrapper on that USE so 70 | # they are excluded. 71 | >=media-sound/pulseaudio-0.9.16_rc5 oss 72 | 73 | # Diego E. Pettenò (27 Mar 2011) 74 | # 75 | # Unmask pdnsd's Linux-specific USE flags. 76 | net-dns/pdnsd -isdn -urandom 77 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use.mask/funtoo-use-mask: -------------------------------------------------------------------------------- 1 | # mask autotrace USE for imagemagick. https://bugs.funtoo.org/browse/FL-3861 2 | media-gfx/imagemagick autotrace 3 | 4 | # FL-3730: mask CUDA use for media-video/mpv 5 | media-video/mpv cuda 6 | 7 | # FL-3588: mask go USE for gcc ebuilds, where it enabled. gcc-5.4.0 has no go USE. 8 | sys-devel/gcc go 9 | 10 | # QA-445: mask udev USE in util-linux. This allows to break circ dep with udev/eudev. Workaround without fork necessity. 11 | sys-apps/util-linux udev 12 | 13 | 14 | # FL-3253. workaround app-editors/neovim bug with jemalloc, until https://github.com/neovim/neovim/issues/4920 fixed. 15 | app-editors/neovim -jemalloc 16 | 17 | # FL-3065: temporarily mask guile USE for graphviz. Need fixes in guile and in swig, which used for guile. 18 | media-gfx/graphviz guile 19 | 20 | # This 2 packages using Gpm_Wgetch, which is what ncurses upstream suggest to avoid. 21 | media-libs/aalib gpm 22 | www-client/w3m gpm 23 | 24 | # Oleg Vinichenko (9.7.15) 25 | # mask ruby USE flag for gdal. Broken 26 | sci-libs/gdal ruby 27 | 28 | # Oleg Vinichenko (10.3.15) 29 | # mask rdp USE for vlc until freerdp get better shape: 30 | media-video/vlc rdp 31 | 32 | 33 | #Oleg Vinichenko (15.12.14) 34 | #FL-1874: mask gles USE in xbmc, breaks. 35 | media-tv/xbmc gles 36 | 37 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use/abi_x86_32: -------------------------------------------------------------------------------- 1 | # xorg 2 | 3 | app-arch/bzip2 abi_x86_32 4 | dev-libs/expat abi_x86_32 5 | dev-libs/glib abi_x86_32 6 | dev-libs/gmp abi_x86_32 7 | dev-libs/icu abi_x86_32 8 | dev-libs/libffi abi_x86_32 9 | dev-libs/libpthread-stubs abi_x86_32 10 | dev-libs/libpcre abi_x86_32 11 | dev-libs/libxml2 abi_x86_32 12 | dev-libs/lzo abi_x86_32 13 | dev-libs/nettle abi_x86_32 14 | dev-util/pkgconf abi_x86_32 15 | media-gfx/graphite2 abi_x86_32 16 | media-libs/fontconfig abi_x86_32 17 | media-libs/freeglut abi_x86_32 18 | media-libs/freetype abi_x86_32 19 | media-libs/glu abi_x86_32 20 | media-libs/harfbuzz abi_x86_32 21 | media-libs/jasper abi_x86_32 22 | media-libs/libjpeg-turbo abi_x86_32 23 | media-libs/libpng abi_x86_32 24 | media-libs/mesa abi_x86_32 25 | media-libs/tiff abi_x86_32 26 | sys-apps/attr abi_x86_32 27 | sys-apps/util-linux abi_x86_32 28 | sys-devel/llvm abi_x86_32 29 | sys-fs/eudev abi_x86_32 30 | sys-libs/gpm abi_x86_32 31 | sys-libs/ncurses abi_x86_32 32 | sys-libs/zlib abi_x86_32 33 | virtual/glu abi_x86_32 34 | virtual/jpeg abi_x86_32 35 | virtual/libffi abi_x86_32 36 | virtual/libiconv abi_x86_32 37 | virtual/libintl abi_x86_32 38 | virtual/libudev abi_x86_32 39 | virtual/opengl abi_x86_32 40 | virtual/pkgconfig abi_x86_32 41 | x11-libs/cairo abi_x86_32 42 | x11-libs/gdk-pixbuf abi_x86_32 43 | x11-libs/libICE abi_x86_32 44 | x11-libs/libSM abi_x86_32 45 | x11-libs/libX11 abi_x86_32 46 | x11-libs/libXau abi_x86_32 47 | x11-libs/libXdamage abi_x86_32 48 | x11-libs/libXdmcp abi_x86_32 49 | x11-libs/libXext abi_x86_32 50 | x11-libs/libXfixes abi_x86_32 51 | x11-libs/libXft abi_x86_32 52 | x11-libs/libXi abi_x86_32 53 | x11-libs/libXmu abi_x86_32 54 | x11-libs/libXrandr abi_x86_32 55 | x11-libs/libXrender abi_x86_32 56 | x11-libs/libXt abi_x86_32 57 | x11-libs/libXxf86vm abi_x86_32 58 | x11-libs/libdrm abi_x86_32 59 | x11-libs/libpciaccess abi_x86_32 60 | x11-libs/libxcb abi_x86_32 61 | x11-libs/libxshmfence abi_x86_32 62 | x11-libs/pango abi_x86_32 63 | x11-libs/pixman abi_x86_32 64 | x11-proto/damageproto abi_x86_32 65 | x11-proto/dri2proto abi_x86_32 66 | x11-proto/dri3proto abi_x86_32 67 | x11-proto/fixesproto abi_x86_32 68 | x11-proto/glproto abi_x86_32 69 | x11-proto/inputproto abi_x86_32 70 | x11-proto/kbproto abi_x86_32 71 | x11-proto/presentproto abi_x86_32 72 | x11-proto/randrproto abi_x86_32 73 | x11-proto/renderproto abi_x86_32 74 | x11-proto/xcb-proto abi_x86_32 75 | x11-proto/xextproto abi_x86_32 76 | x11-proto/xf86bigfontproto abi_x86_32 77 | x11-proto/xf86driproto abi_x86_32 78 | x11-proto/xf86vidmodeproto abi_x86_32 79 | x11-proto/xproto abi_x86_32 80 | 81 | # gnome 82 | dev-libs/elfutils abi_x86_32 83 | dev-libs/libcroco abi_x86_32 84 | gnome-base/librsvg abi_x86_32 85 | 86 | # ati-drivers 87 | 88 | x11-proto/xineramaproto abi_x86_32 89 | x11-libs/libXinerama abi_x86_32 90 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use/cherokee: -------------------------------------------------------------------------------- 1 | www-servers/cherokee threads admin fastcgi 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use/core: -------------------------------------------------------------------------------- 1 | # set default uses for LXC. 2 | app-emulation/lxc seccomp cgmanager 3 | 4 | # add threads for boehm-gc. needed enabled for stage builds. 5 | dev-libs/boehm-gc threads 6 | 7 | # avoid having a gawk->readline->ncurses dependency, since gawk is used in almost all configure scripts. 8 | sys-apps/gawk -readline 9 | sys-apps/util-linux static-libs 10 | sys-fs/eudev gudev static-libs 11 | virtual/libudev static-libs 12 | x11-libs/gtk+ X 13 | # FL-2902: 14 | sys-fs/eudev rule-generator 15 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use/python: -------------------------------------------------------------------------------- 1 | =dev-lang/python-2* -berkdb 2 | dev-lang/python sqlite 3 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/package.use/xorg: -------------------------------------------------------------------------------- 1 | x11-base/xorg-server xorg 2 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/parent: -------------------------------------------------------------------------------- 1 | # Inherit gentoo's base profile. Overrides go in funtoo/1.0/linux-gnu. 2 | :base 3 | # Inherit gentoo's arch specific entries, which are moved from :base into arch/base. Overrides go in funtoo/1.0/linux-gnu. 4 | ../../../arch/base 5 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/use.force: -------------------------------------------------------------------------------- 1 | # Force the GNU/Linux ELIBC, KERNEL, and USERLAND 2 | # flags that apply to the majority of profiles. 3 | elibc_glibc 4 | kernel_linux 5 | userland_GNU 6 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/use.mask/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funtoo/ego/15d9fe5e5242be6e5ee1f1e71f5f14d0963f8429/python/tests/profiles/funtoo/1.0/linux-gnu/use.mask/.keep -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/use.mask/01-gentoo: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2015 Gentoo Foundation. 2 | # Distributed under the terms of the GNU General Public License v2 3 | 4 | # This file masks out USE flags that are simply NOT allowed in the default 5 | # profile for any architecture. This works, for example, if a non-default 6 | # profile (such as the selinux profiles) have a USE flag associated with 7 | # them. 8 | 9 | # Diego Elio Pettenò (27 Aug 2012) 10 | # netlink is a Linux-specific interface 11 | -netlink 12 | 13 | # Samuli Suominen (19 Apr 2013) 14 | # Linux specific module loading/unloading support 15 | -kmod 16 | -------------------------------------------------------------------------------- /python/tests/profiles/funtoo/1.0/linux-gnu/use.mask/funtoo-defaults: -------------------------------------------------------------------------------- 1 | # FL-2054: disable libav support 2 | libav 3 | -------------------------------------------------------------------------------- /python/tests/profiles/parent: -------------------------------------------------------------------------------- 1 | core-kit:funtoo/1.0/linux-gnu/arch/x86-64bit 2 | core-kit:funtoo/1.0/linux-gnu/build/current 3 | core-kit:funtoo/1.0/linux-gnu/arch/x86-64bit/subarch/intel64-westmere 4 | core-kit:funtoo/1.0/linux-gnu/flavor/desktop 5 | core-kit:funtoo/1.0/linux-gnu/mix-ins/gnome 6 | java-kit:funtoo/kits/python-kit/3.4-prime 7 | net-kit:funtoo/kits/python-kit/3.4-prime 8 | games-kit:funtoo/kits/python-kit/3.4-prime 9 | media-kit:funtoo/kits/python-kit/3.4-prime 10 | security-kit:funtoo/kits/python-kit/3.4-prime 11 | science-kit:funtoo/kits/python-kit/3.4-prime 12 | core-kit:funtoo/kits/python-kit/3.4-prime 13 | kde-kit:funtoo/kits/python-kit/3.4-prime 14 | xorg-kit:funtoo/kits/python-kit/3.4-prime 15 | text-kit:funtoo/kits/python-kit/3.4-prime 16 | core-hw-kit:funtoo/kits/python-kit/3.4-prime 17 | editors-kit:funtoo/kits/python-kit/3.4-prime 18 | php-kit:funtoo/kits/python-kit/3.4-prime 19 | dev-kit:funtoo/kits/python-kit/3.4-prime 20 | perl-kit:funtoo/kits/python-kit/3.4-prime 21 | nokit:funtoo/kits/python-kit/3.4-prime 22 | gnome-kit:funtoo/kits/python-kit/3.4-prime 23 | desktop-kit:funtoo/kits/python-kit/3.4-prime 24 | python-kit:funtoo/kits/python-kit/3.4-prime 25 | -------------------------------------------------------------------------------- /python/tests/profiles/profiles.ego.desc: -------------------------------------------------------------------------------- 1 | { 2 | "mix-ins" : "funtoo/1.0/linux-gnu/mix-ins", 3 | "flavor" : "funtoo/1.0/linux-gnu/flavor", 4 | "arch" : "funtoo/1.0/linux-gnu/arch", 5 | "build" : "funtoo/1.0/linux-gnu/build" 6 | } 7 | -------------------------------------------------------------------------------- /python/tests/test_tabulate_color.py: -------------------------------------------------------------------------------- 1 | from unittest import TestCase 2 | from python.third_party import tabulate_color 3 | 4 | 5 | class Test(TestCase): 6 | 7 | def test__rst_escape_first_column(self): 8 | # GIVEN 9 | given_headers = ["A"] 10 | given_rows = ["a"] 11 | 12 | # WHEN 13 | new_rows, new_headers = tabulate_color._rst_escape_first_column(given_rows, given_headers) 14 | 15 | # THEN 16 | self.assertListEqual(['A'], new_headers) 17 | self.assertListEqual([['a']], new_rows) 18 | 19 | def test_escape_empty(self): 20 | # GIVEN 21 | given_headers = [""] 22 | given_rows = [""] 23 | 24 | # WHEN 25 | new_rows, new_headers = tabulate_color._rst_escape_first_column(given_rows, given_headers) 26 | 27 | # THEN 28 | self.assertListEqual(['..'], new_headers) 29 | self.assertListEqual([[]], new_rows) 30 | 31 | def test__rst_escape_first_column_multiple(self): 32 | # GIVEN 33 | given_headers = ["A", "B", "C"] 34 | given_rows = ["a", "b", "c"] 35 | 36 | # WHEN 37 | new_rows, new_headers = tabulate_color._rst_escape_first_column(given_rows, given_headers) 38 | 39 | # THEN 40 | self.assertListEqual(['A', 'B', 'C'], new_headers) 41 | self.assertListEqual([['a'], ['b'], ['c']], new_rows) 42 | 43 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | -e git+https://gitlab.com/apinsard/appi.git@0.2#egg=appi 2 | mwparserfromhell 3 | git+https://github.com/apinsard/portage.git@master 4 | requests 5 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | ignore = W191 3 | max-line-length = 120 4 | --------------------------------------------------------------------------------