From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G0GD4-0006nb-AC for garchives@archives.gentoo.org; Tue, 11 Jul 2006 11:15:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6BBCIuB026108; Tue, 11 Jul 2006 11:12:18 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6BB4Lot008865 for ; Tue, 11 Jul 2006 11:04:22 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E7F506413D for ; Tue, 11 Jul 2006 11:04:20 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17493-04 for ; Tue, 11 Jul 2006 11:04:15 +0000 (UTC) Received: from mailout2.igs.net (mailout2.igs.net [216.58.97.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 116F764333 for ; Tue, 11 Jul 2006 11:04:14 +0000 (UTC) Received: from waltdnes.org (i216-58-9-94.cybersurf.com [216.58.9.94]) by mailout2.igs.net (Postfix) with SMTP id 06F0147E879 for ; Tue, 11 Jul 2006 07:04:14 -0400 (EDT) Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 11 Jul 2006 07:04:16 -0400 From: "Walter Dnes" Date: Tue, 11 Jul 2006 07:04:16 -0400 To: Gentoo Users List Subject: [gentoo-user] Cleaner USE variable in /etc/make.conf Message-ID: <20060711110416.GB6816@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.331 required=5.5 tests=[AWL=-0.021, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, TW_GT=0.077, TW_IV=0.077] X-Spam-Score: -2.331 X-Spam-Level: X-Archives-Salt: 2d9004f9-cb4e-4aa8-8507-f42c8b2e4261 X-Archives-Hash: fe55f5f12d25c85e379ff510d1d4ce65 I have a long USE variable (starts with "-*", so I enter stuff manually. At one point it got to be something like... USE="-* 3dnow X a52 aac alsa bitmap-fonts bzip2 cdr dga dio divx4linux dri dvd dvdr dvdread encode exif ffmpeg flac fortran gb gif gtk2 imlib jpeg maildir mikmod mime mmap mmx mng mp3 mpeg ncurses nptl nptlonly nsplugin offensive ogg opengl plotutils png posix quicktime readline sdl sharedmem slang sockets sse sse2 theora threads tiff truetype truetype-fonts type1-fonts vcd vorbis win32codecs wmf xpm xv zlib" BLEAGH! I've now broken it up into logical groupings... USE_cpu="3dnow mmx sse sse2" USE_font="bitmap-fonts truetype-fonts type1-fonts" USE_gui="X dga dri gtk2 opengl sdl xv" USE_multimedia="a52 aac alsa divx4linux encode exif ffmpeg flac gif jpeg mikmod mng mp3 mpeg ogg png quicktime theora tiff vcd vorbis win32codecs wmf xpm" USE_misc="bzip2 cdr dio dvd dvdr dvdread fortran gb imlib maildir mime mmap ncurses nptl nptlonly nsplugin offensive plotutils posix readline sharedmem slang sockets threads zlib" which is followed by... USE="-* ${USE_cpu} ${USE_font} ${USE_gui} ${USE_multimedia} ${USE_misc}" My USE variable still ends up with the same information, but I have an easier time editing it. The only question I have is whether there are any groups of reserved variable names /etc/make.conf, so that I don't screw up system variables. This won't be the final config. I'm trying to figure out a logical way to break up "USE_multimedia", but I run into programs like mplayer that work with audio, video, and still images. "USE_misc" will always be a candidate for taking stuff out. -- Walter Dnes In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list