Overlay with profile

atratsevskiy
root 15 years ago
parent de6861c012
commit 49e5304940

@ -1,8 +0,0 @@
sys-apps/openrc amd64
sys-apps/baselayout amd64
sys-apps/sysvinit amd64
=sys-apps/util-linux-2.16.1 amd64
sys-fs/aufs2 amd64
~sys-fs/udev-146 amd64
=sys-kernel/gentoo-sources-2.6.31-r4 amd64
x11-drivers/nvidia-drivers amd64

@ -1,24 +1,14 @@
# Adds support for lirc (Linux's Infra-Red Remote Control)
# Hardware
USE="lirc"
# Adds LDAP support (Lightweight Directory Access Protocol)
USE="${USE} ldap"
# support for the remote desktop protocol
USE="${USE} rdesktop"
# Adds mySQL Database support
# Network protocols
USE="${USE} ldap rdesktop"
# Sql support
USE="${USE} mysql"
# Adds support for the postgresql database
#USE="${USE} postgres"
# enable WebKit support
# Web
USE="${USE} webkit"
# Enables support for Evolution-Data-Server(eds)
USE="${USE} -eds"
# Adds GNOME support
USE="${USE} -gnome"
# Adds support for kde-base/kde (K Desktop Enviroment)
USE="${USE} kde"
# Adds support for the Qt GUI/Application Toolkit version 4.x
USE="${USE} qt4"
# Enable the Qt3Support libraries for Qt4
USE="${USE} qt3support"
# Adds support for the Qt GUI/Application Toolkit version 3.x
USE="${USE} -qt3"
# Window manager and speciality
USE="${USE} -eds -gnome kde qt4 qt3support -qt3"

@ -1,2 +1,5 @@
# Disable support for Evolution-Data-Server(eds),GNOME, K Desktop Enviroment
USE="-eds -gnome -kde"
# Network protocols
USE="ldap rdesktop"
# Window manager and specialities
USE="${USE} -eds -gnome -kde"

@ -1,4 +1,2 @@
# Adds GNOME support
USE="gnome"
# Disable support for kde-base/kde (K Desktop Enviroment)
USE="${USE} -kde"
# Window manager and speciality
USE="gnome -kde"

@ -1,240 +1,49 @@
# support for the XScreenSaver extension
# Artwork
#USE="${USE} xscreensaver"
# Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
USE="${USE} alsa"
# Adds support for aRts: the KDE sound daemon
USE="${USE} -arts"
# Adds support for libaudiofile where applicable
USE="${USE} audiofile"
# Enables ID3 tagging with id3tag library
USE="${USE} id3tag"
# Adds support for the flac audio codec
USE="${USE} flac"
# Adds support for mad (high-quality mp3 decoder library and cli frontend)
USE="${USE} mad"
# Add support for reading mp3 files
USE="${USE} mp3"
# Adds libmpeg3 support to various packages
USE="${USE} mpeg"
# Adds support for network audio sound
USE="${USE} nas"
# Adds support for the Ogg container format
#(commonly used by Vorbis, Theora and flac)
USE="${USE} ogg"
# Adds support for the OggVorbis audio encoding - DEPRECATED useflag
USE="${USE} oggvorbis"
# Adds support for the Open Audio Library
USE="${USE} openal"
# Adds support for the crossplatform portaudio audio API
USE="${USE} portaudio"
# Adds support for the OggVorbis audio codec
USE="${USE} vorbis"
# Adds libmikmod support to allow playing of SoundTracker-style music files
USE="${USE} mikmod"
# Enables cdparanoia support
USE="${USE} cdparanoia"
# Adds support for CD writer hardware
USE="${USE} cdr"
# Adds support for DVDs
USE="${USE} dvd"
# Adds support for DVD writer hardware (e.g. in xcdroast)
USE="${USE} dvdr"
# Enables usage of Ogle's libdvdread for DVD playback
USE="${USE} dvdread"
# Video CD support
USE="${USE} vcd"
# Adds support for Clam AntiVirus software (usually with a plugin)
USE="${USE} clamav"
# Add support for encryption -- using mcrypt or gpg where applicable
USE="${USE} crypt"
# Adds support for Secure Socket Layer connections
USE="${USE} ssl"
# Adds support for 3dnow multimedia processor instructions
USE="${USE} 3dnow"
# Adds support for Advanced Configuration and Power Interface
USE="${USE} acpi"
# Adds APM (Advanced Power Management) support
#USE="${USE} apm"
# Enables Bluetooth Support
#USE="${USE} bluetooth"
# adds cairo support
USE="${USE} cairo"
# Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
USE="${USE} dbus"
# Enable direct rendering: used for accelerated 3D and some 2D, like DMA
USE="${USE} dri"
# Enable Hardware Abstraction Layer (HAL) support
USE="${USE} hal"
# Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
USE="${USE} ieee1394"
# Adds support for optimizations for Pentium MMX and Athlon class processors
USE="${USE} mmx"
# Enables mmx2 support
USE="${USE} mmxext"
# Enable binary Nvidia driver support
USE="${USE} nvidia"
# Adds support for OpenGL
USE="${USE} opengl"
# Adds support for scanner hardware (e.g. build the sane frontend in kdegraphics)
USE="${USE} scanner"
# Enable support for multiprocessors
USE="${USE} smp"
# fast floating point optimization for PentiumIII+ class chips
USE="${USE} sse"
# faster floating point optimization for SS[2E2 capable chips
USE="${USE} sse2"
# Enable SSE3 support
USE="${USE} sse3"
# Enable SSE4.1 support
USE="${USE} sse4"
# Enable SSE4.2 support
USE="${USE} sse4"
# Enable SSE4a support
USE="${USE} sse4a"
# Enable SSE5 support
USE="${USE} sse5"
# faster floating point optimization for SSSE3 capable chips
#(Intel Core 2 and later chips)
USE="${USE} ssse3"
# Adds USB support to applications that have optional USB support (e.g. cups)
USE="${USE} usb"
# Enable support for the Xorg composite extension
USE="${USE} xcomposite"
# Enable support for the IRC protocol
USE="${USE} irc"
# Enable jabber IM protocol support
USE="${USE} jabber"
# Enables voice calls for jabber
USE="${USE} jingle"
# Enable Oscar (AIM/ICQ) IM protocol support
USE="${USE} oscar"
# Enable Yahoo Messenger IM protocol support
USE="${USE} yahoo"
# Adds support for X11
USE="${USE} X"
# Adds support for reading EXIF headers from JPEG and TIFF images
USE="${USE} exif"
# Add supports for Adobe's FDF toolkit
USE="${USE} fdftk"
# Adds support for media-libs/gd (to generate graphics on the fly)
USE="${USE} gd"
# Adds GIF image support
USE="${USE} gif"
# Enables support for Imagemagick (image converter)
USE="${USE} imagemagick"
# Adds JPEG image support
USE="${USE} jpeg"
# Support for JPEG 2000, a wavelet-based image compression format
USE="${USE} jpeg2k"
# Adds support for libmng (MNG images)
USE="${USE} mng"
# Adds general support for PDF, this replaces the pdflib and cpdflib flags
USE="${USE} pdf"
# Adds support for libpng (PNG images)
USE="${USE} png"
# Adds support for SVG.
USE="${USE} svg"
# Adds support for the tiff image format
USE="${USE} tiff"
# Adds support for the wmf vector image format
USE="${USE} wmf"
# Adds support for wxWidgets/wxGTK GUI toolkit
USE="${USE} wxwindows"
# Support for XPM graphics format
USE="${USE} xpm"
# Adds support for Java
# Audio
USE="${USE} alsa -arts audiofile id3tag flac mad mp3 mpeg nas ogg oggvorbis openal portaudio vorbis mikmod"
# CD and DVD
USE="${USE} cdparanoia cdr dvd dvdr dvdread vcd"
# Guard and security
USE="${USE} clamav crypt ssl"
# Hardware
USE="${USE} 3dnow acpi cairo dbus dri hal ieee1394 mmx mmxext nvidia opengl scanner smp sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssse3 usb xcomposite"
#USE="${USE} apm bluetooth"
# Internet Messager
USE="${USE} irc jabber jingle oscar yahoo"
# Image support
USE="${USE} X exif fdftk gd gif imagemagick jpeg jpeg2k mng pdf png svg tiff wmf wxwindows xpm"
# Languages support
USE="${USE} -java"
# Adds dictionary support
# Locale and Fonts
USE="${USE} spell"
# Adds support for mbox (/var/spool/mail) style mail spools
# Mail
USE="${USE} mbox"
# Adds digital camera support
# Photo
USE="${USE} gphoto2"
# Builds plugins for Netscape compatible browsers
# System
USE="${USE} nsplugin"
# Enables support for decoding ATSC A/52 streams used in DVD
USE="${USE} a52"
# Enables support for MPEG-4 AAC Audio
USE="${USE} aac"
# Adds support for media-libs/aalib (ASCII-Graphics Library)
USE="${USE} aalib"
# Adds avifile (Library for avi) support
USE="${USE} avi"
# Access cddb servers to retrieve and submit information about compact disks
USE="${USE} cddb"
# Enables support for a codec used by many camcorders
USE="${USE} dv"
# Adds support for encoding of audio or video files
USE="${USE} encode"
# Adds framebuffer support for the console, via the kernel
USE="${USE} fbcon"
# Enable ffmpeg support
USE="${USE} ffmpeg"
# Adds support for creating flash files using Ming
USE="${USE} flash"
# Adds support for media-libs/libggi (non-X video api/drivers)
USE="${USE} ggi"
# Add support for colored ASCII-art graphics
USE="${USE} libcaca"
# Enables support for lzo compression
USE="${USE} lzo"
# Adds support for the matroska container format
USE="${USE} matroska"
# Enable mplayer support
USE="${USE} mplayer"
# Enable support for the musepack audio codec
USE="${USE} musepack"
# Installs the real video codecs
USE="${USE} real"
# Adds support for Simple Direct Layer (media library)
USE="${USE} sdl"
# Adds support for the speex audio codec
USE="${USE} speex"
# Support for SRT subtitle format
USE="${USE} srt"
# Adds support for SVGAlib (graphics library)
USE="${USE} svga"
# Enables Targa video output
USE="${USE} tga"
# Adds support for OpenQuickTime
USE="${USE} quicktime"
# Adds support for the Theora Video Compression Codec
USE="${USE} theora"
# Enables video4linux support
USE="${USE} v4l"
# Enable video4linux2 support
USE="${USE} v4l2"
# Support for vidix video output
USE="${USE} vidix"
# use win32codecs package for dll avi decoding support (wmv and what not)
USE="${USE} win32codecs"
# Enables support for xanim based codecs
USE="${USE} xanim"
# Enable h264 encoding using x264
USE="${USE} x264"
# Add support for the XINE movie libraries
USE="${USE} xine"
# Add support for the xinerama X11 extension, which allows you to stretch your
#display across multiple monitors
USE="${USE} xinerama"
# Adds in optional support for the Xvideo extension (an X API for video playback)
USE="${USE} xv"
# Adds support for xvid.org's open-source mpeg-4 codec
USE="${USE} xvid"
# Support for XVideo Motion Compensation (accelerated mpeg playback)
USE="${USE} xvmc"
# Chooses Apache1 support when a package optionally supports Apache1
#-apache
# Chooses Apache2 support when a package supports both Apache1 and Apache2
#apache2
# Adds libwww support (General purpose WEB API)
USE="${USE} libwww"
# Adds support for installing web-based applications into a virtual-hosting
#environment
USE="${USE} vhosts"
# enable javascript support
#USE="${USE} javascript"
# Enables Bluetooth Support
# Video
USE="${USE} a52 aac aalib avi cddb dv encode fbcon ffmpeg flash ggi libcaca lzo matroska mplayer musepack real sdl speex srt svga tga quicktime theora v4l v4l2 vidix win32codecs xanim x264 xine xinerama xv xvid xvmc"
# Web
#USE="${USE} -apache apache2 javascript"
USE="${USE} libwww vhosts"
# Wireless
USE="${USE} bluetooth"
# Adds support for x11-libs/gtk+ (The GIMP Toolkit)
# Window manager and speciality
USE="${USE} gtk"

@ -1,49 +1,20 @@
# Enable support for Microsoft Compiled HTML Help files
USE="chm"
# support DjVu, a PDF-like document format esp. suited for scanned documents
USE="${USE} djvu"
# Add E-Book suppport
USE="${USE} ebook"
# Documentation format
USE="chm djvu ebook"
# Adds support for FreeType and/or FreeType2 fonts
USE="${USE} truetype"
# Adds Native Language Support (using gettext - GNU locale utilities)
USE="${USE} nls"
# Adds support for the slang text display library
# (it's like ncurses, but different)
USE="${USE} slang"
# Adds support for Unicode
USE="${USE} unicode"
# build only the locales specified in /etc/locales.build
USE="${USE} userlocales"
# Locale and Fonts
USE="${USE} truetype nls slang unicode userlocales"
# Adds mailwrapper support to allow multiple MTAs to be installed
# Mail
USE="${USE} -mailwrapper"
# Enable embedded bittorrent transport plugin
USE="${USE} bittorrent"
# Adds FTP (File Transfer Protocol) support
USE="${USE} ftp"
# Adds support for IP version 6
USE="${USE} ipv6"
# Adds support for NFS file system
USE="${USE} nfs"
# Adds support for SAMBA
USE="${USE} samba"
# Net protocols
USE="${USE} bittorrent ftp ipv6 nfs samba"
# Add support for CUPS (Common Unix Printing System)
USE="${USE} cups"
# Adds support for the foomatic printing driver database
USE="${USE} foomaticdb"
# Printing
USE="${USE} cups foomaticdb"
# Install support files for logrotate
USE="${USE} logrotate"
# Enable support for Native POSIX Threads Library, the new threading module
# (requires linux-2.6 or better usually)
USE="${USE} nptl"
# Disables building the linuxthreads fallback in glibc ebuilds that support
# building both linuxthreads and nptl
USE="${USE} nptlonly"
# System
USE="${USE} logrotate nptl nptlonly"
CXXFLAGS="${CFLAGS}"
ALSA_CARDS="ca0106 emu10k1 hda-intel intel8x0 intel8x0m pcsp via82xx"
@ -53,6 +24,5 @@ FEATURES="parallel-fetch -unmerge-orphans"
FOO2ZJS_DEVICES="*"
INPUT_DEVICES="keyboard mouse evdev synaptics"
LDFLAGS="-Wl,--as-needed"
PORTAGE_NICENESS=19
VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv radeon savage tdfx trident vesa vga via vmware"

@ -0,0 +1,8 @@
sys-apps/openrc amd64 x86
sys-apps/baselayout amd64 x86
sys-apps/sysvinit amd64 x86
=sys-apps/util-linux-2.16.1 amd64 x86
sys-fs/aufs2 amd64 x86
~sys-fs/udev-146 amd64 x86
=sys-kernel/gentoo-sources-2.6.31-r4 amd64 x86
x11-drivers/nvidia-drivers amd64 x86

@ -1,4 +1,2 @@
#Adds LDAP support (Lightweight Directory Access Protocol)
USE="ldap"
#Adds support for RADIUS authentication
USE="${USE} radius"
# Network protocols
USE="ldap radius"

@ -1,26 +1,12 @@
#activate default security enhancements for toolchain (gcc, glibc, binutils)
#USE="${USE} hardened"
#Adds kerberos support
#USE="${USE} kerberos"
#Adds support for the Simple Authentication and Security Layer
#USE="${USE} sasl"
# Guard and Security
USE="hardened kerberos sasl system"
#Adds support for reading EXIF headers from JPEG and TIFF images
USE="${USE} exif"
#Adds GIF image support
USE="${USE} gif"
#Adds JPEG image support
USE="${USE} jpeg"
#Support for JPEG 2000, a wavelet-based image compression format
USE="${USE} jpeg2k"
#Adds support for libpng (PNG images)
USE="${USE} png"
#Adds support for the tiff image format
USE="${USE} tiff"
# Image
USE="${USE} exif gif jpeg jpeg2k png tiff"
#Adds support for IMAP (Internet Mail Application Protocol)
USE="${USE} imap"
#Adds support for maildir (~/.maildir) style mail spools
USE="${USE} maildir"
# Mail
USE="${USE} imap maildir"
# Window managers and speciality
USE="${USE} -gnome -gtk -kde -qt3 -qt4 -qt3support -X"

@ -1,9 +0,0 @@
sys-apps/openrc x86
sys-apps/baselayout x86
sys-apps/sysvinit x86
=sys-apps/util-linux-2.16.1 x86
sys-fs/aufs2 x86
~sys-fs/udev-146 x86
=sys-kernel/gentoo-sources-2.6.31-r4 x86
x11-drivers/nvidia-drivers x86

@ -4,4 +4,5 @@
=sys-apps/calculate-lib-9999
=sys-apps/calculate-server-9999
# hasn't patch for Calculate profiles
>app-admin/eselect-1.2.6

@ -1,17 +1,20 @@
diff --git a/modules/profile.eselect b/modules/profile.eselect
index 813fea2..3d7da7f 100644
index 813fea2..313491a 100644
--- a/modules/profile.eselect
+++ b/modules/profile.eselect
@@ -11,6 +11,8 @@ MAINTAINER="eselect@gentoo.org"
@@ -11,6 +11,11 @@ MAINTAINER="eselect@gentoo.org"
SVN_DATE='$Date: 2009-09-20 22:26:07 +0200 (Sun, 20 Sep 2009) $'
VERSION=$(svn_date_to_version "${SVN_DATE}")
+CALCULATE_OVERLAY="/usr/local/portage/layman/calculate"
+CALCULATE_SHORTNAME=""
+[[ -f /etc/calculate/calculate.ini ]] && \
+ CALCULATE_SHORTNAME="/\/`cat /etc/calculate/calculate.ini | sed -rn '/calculate/ s/.*=(.+)/\1/p'`\// "
+
# get a list of valid profiles
find_targets() {
local arch p portdir=${1}
@@ -19,6 +21,17 @@ find_targets() {
@@ -19,6 +24,17 @@ find_targets() {
arch=$(arch)
[[ -z ${arch} ]] && return 1
@ -19,7 +22,7 @@ index 813fea2..3d7da7f 100644
+ if [[ -f "${ROOT}${CALCULATE_OVERLAY}/profiles/profiles.desc" ]]
+ then
+ for p in $(sed -n -e \
+ "s|^${arch}[[:space:]]\+\([^[:space:]]\+\).*$|\1|p" \
+ "${CALCULATE_SHORTNAME}s|^${arch}[[:space:]]\+\([^[:space:]]\+\).*$|\1|p" \
+ "${ROOT}${CALCULATE_OVERLAY}/profiles/profiles.desc")
+ do
+ echo ${p}
@ -29,7 +32,7 @@ index 813fea2..3d7da7f 100644
for p in $(sed -n -e "s|^${arch}[[:space:]]\+\([^[:space:]]\+\).*$|\1|p" \
"${ROOT}${portdir}/profiles/profiles.desc")
do
@@ -55,6 +68,24 @@ set_symlink() {
@@ -55,6 +71,24 @@ set_symlink() {
if [[ ${arch} != ${parch} && ${2} != "--force" ]] ; then
die -q "${target} is not a valid profile for ${arch}"
fi
@ -45,7 +48,7 @@ index 813fea2..3d7da7f 100644
+
+ # do a reverse lookup and find the arch associated with ${target}
+ parch=$(sed -n -e \
+ "s|^\([[:alnum:]]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \
+ "${CALCULATE_SHORTNAME}s|^\([[:alnum:]]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \
+ "${ROOT}${CALCULATE_OVERLAY}/profiles/profiles.desc")
+
+ if [[ ${arch} != ${parch} && ${2} != "--force" ]] ; then
@ -54,7 +57,7 @@ index 813fea2..3d7da7f 100644
fi
if [[ -z ${target} ]] ; then
@@ -69,6 +100,17 @@ set_symlink() {
@@ -69,6 +103,17 @@ set_symlink() {
fi
ln -s "..${portdir#"${EPREFIX}"}/profiles/${target}" \
"${EROOT}/etc/make.profile"
@ -72,7 +75,7 @@ index 813fea2..3d7da7f 100644
else
die -q "Target \"${1}\" doesn't appear to be valid!"
fi
@@ -87,6 +129,10 @@ do_show() {
@@ -87,6 +132,10 @@ do_show() {
local portdir=$(portageq portdir)
local profiledir=$(canonicalise "${ROOT}${portdir}/profiles")
link=${link##${profiledir}/}
@ -83,7 +86,7 @@ index 813fea2..3d7da7f 100644
write_kv_list_entry "${link}" ""
else
write_kv_list_entry "(unset)" ""
@@ -109,6 +155,10 @@ do_list() {
@@ -109,6 +158,10 @@ do_list() {
profiledir=$(canonicalise "${ROOT}${portdir}/profiles")
active=$(canonicalise "${EROOT}/etc/make.profile")
active=${active##${profiledir}/}

@ -8,17 +8,17 @@
# AMD64 Profiles
amd64 calculate/desktop/CLS/amd64 stable
amd64 calculate/desktop/CLSG/amd64 stable
amd64 calculate/desktop/CLD/amd64 stable
amd64 calculate/desktop/CLDX/amd64 stable
amd64 calculate/desktop/CLSG/amd64 stable
amd64 calculate/desktop/CLS/amd64 stable
amd64 calculate/server/CDS/amd64 stable
# x86 Profiles
x86 calculate/desktop/CLS/x86 stable
x86 calculate/desktop/CLSG/x86 stable
x86 calculate/desktop/CLD/x86 stable
x86 calculate/desktop/CLDX/x86 stable
x86 calculate/desktop/CLSG/x86 stable
x86 calculate/desktop/CLS/x86 stable
x86 calculate/server/CDS/x86 stable
# vim: set ts=8

Loading…
Cancel
Save