From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QuYHb-00041S-NA for garchives@archives.gentoo.org; Fri, 19 Aug 2011 23:15:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4379C21C02B; Fri, 19 Aug 2011 23:15:09 +0000 (UTC) Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 2596D21C02B for ; Fri, 19 Aug 2011 23:14:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAHAGrtTk5FpZIk/2dsb2JhbABBmHGPHHiBQAEBBAE6HCgLCzQSFCU3h3G4VYVpXwSYLYdChDU X-IronPort-AV: E=Sophos;i="4.68,253,1312171200"; d="scan'208";a="131962724" Received: from 69-165-146-36.dsl.teksavvy.com (HELO waltdnes.org) ([69.165.146.36]) by ironport2-out.pppoe.ca with SMTP; 19 Aug 2011 19:14:00 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Fri, 19 Aug 2011 19:14:07 -0400 From: "Walter Dnes" Date: Fri, 19 Aug 2011 19:14:07 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] move to xfce and forget kde and gnome Message-ID: <20110819231407.GA4717@waltdnes.org> References: <4E4E50EF.9030904@gmail.com> <4E4E7F01.5060609@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E4E7F01.5060609@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: b3bfa073dd28acd5976c514b82da6d30 On Fri, Aug 19, 2011 at 05:19:29PM +0200, Space Cake wrote > I'll try to avoid as many kde/gnome application as I can :) I don't > really like them because I want to have my window in front of me right > when click on the icon :). I just started to clean-up my useflags, > changed to desktop profile and I'll leave my machine here for the > weekend to re-emerge everything is needed for this change. I'm sure > some revdep-rebuild and depclean still waiting for me and also I think > lot of kde / gnome libs will remain because of the dependencies... Here's my "autodepclean" script. It parses the output of a pretend depclean and generates, but does not execute, a script called "cleanscript", which has to be run as root. Note the warning to check "cleanscript" before running it. Remove the commands to unmerge the stuff you want to keep. In addition to some gentoo-sources kernels, it now wants to remove nano, ever since "virtual/editor" showed up in Gentoo. I get the warning... !!! 'app-editors/nano' (virtual/editor) is part of your system profile. !!! Unmerging it may be damaging to your system. Here's the script... #!/bin/bash # autodepclean script v 0.01 released under GPL v3 by Walter Dnes 2010/08/18 # Generates a file "cleanscript" to remove unused ebuilds, including # buildtime-only dependancies. # # Warning; this script is still beta. I recommend that you check the output # in cleanscript before running it. It is agressive about removing unused # gentoo-sources versions. This includes those that are higher than your # current kernel. This is technically correct for removing unused ebuilds, # but it may not be what you want. # echo "#!/bin/bash" > cleanscript echo "#" > cleanscript.000 emerge --pretend --depclean |\ grep -A1 "^ .*/" |\ grep -v "^ \*" |\ grep -v "^--" |\ sed ":/: { N s:\n:: s/ selected: /-/ s/^ /emerge --depclean =/ }" >> cleanscript.000 while read do echo "${REPLY}" >> cleanscript if [ "${REPLY:0:6}" == "emerge" ]; then echo "revdep-rebuild" >> cleanscript fi done < cleanscript.000 chmod 744 cleanscript -- Walter Dnes