From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BAA80138A1F for ; Thu, 30 Jan 2014 11:49:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCFADE0BFC; Thu, 30 Jan 2014 11:49:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD338E0BEF for ; Thu, 30 Jan 2014 11:49:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 2687C33F84C for ; Thu, 30 Jan 2014 11:49:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -0.858 X-Spam-Level: X-Spam-Status: No, score=-0.858 tagged_above=-999 required=5.5 tests=[AWL=-0.356, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WJ4-356s5evg for ; Thu, 30 Jan 2014 11:49:05 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6516533EE64 for ; Thu, 30 Jan 2014 11:49:04 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W8q79-0008N8-9w for gentoo-dev@gentoo.org; Thu, 30 Jan 2014 12:48:59 +0100 Received: from ppp118-209-68-246.lns20.mel4.internode.on.net ([118.209.68.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jan 2014 12:48:59 +0100 Received: from kensington by ppp118-209-68-246.lns20.mel4.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jan 2014 12:48:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Michael Palimaka Subject: [gentoo-dev] Re: New eclass: xdg-basedir Date: Thu, 30 Jan 2014 22:48:48 +1100 Message-ID: <52EA3C20.6090302@gentoo.org> References: <52E9C8F6.6080106@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org Cc: freedesktop-bugs@gentoo.org X-Gmane-NNTP-Posting-Host: ppp118-209-68-246.lns20.mel4.internode.on.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52E9C8F6.6080106@gentoo.org> X-Archives-Salt: ea509355-2c21-443e-b8d0-02792e6b729b X-Archives-Hash: 1c2b96b26ff7cec691489cf8f30e6fb4 On 01/30/2014 02:37 PM, Mike Gilbert wrote: > Here's a simple eclass that pretty much just extracts the XDG stuff from > the gnome2_environment_reset function. > > One difference: it creates 3 of the 4 directories under ${HOME} instead > of ${T}, just to mimic the default behavior in the XDG basedir spec a > bit more closely. > > Please give a look. > Hi, Thanks for working on this. Two thoughts: 1. Would it be worth consolidating this, fdo-mime.eclass, and some other gnome2-utils stuff (eg. gnome2_icon_cache_update) into a larger freedesktop eclass? 2. xdg-basedir-setup -> xdg-basedir_setup is more consistent with other modern eclasses, especially if there are additional functions in the future. Best regards, Michael