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 6B4921381F3 for ; Sun, 14 Apr 2013 09:40:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5040E09D2; Sun, 14 Apr 2013 09:40:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6501E09C7 for ; Sun, 14 Apr 2013 09:40:09 +0000 (UTC) Received: from [192.168.1.33] (117.Red-88-11-52.dynamicIP.rima-tde.net [88.11.52.117]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id DA2A233BEC8; Sun, 14 Apr 2013 09:40:06 +0000 (UTC) Message-ID: <1365932403.6940.8.camel@localhost> Subject: [gentoo-dev] mono-env.eclass: new eclass to be used by most of dotnet packages From: Pacho Ramos To: gentoo-dev@lists.gentoo.org Cc: dotnet@gentoo.org Date: Sun, 14 Apr 2013 11:40:03 +0200 Content-Type: multipart/mixed; boundary="=-bBrXydwCqH11lbsc3OaL" X-Mailer: Evolution 3.8.0 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 X-Archives-Salt: b3c06c53-33cf-46fd-a84c-93321695c2bb X-Archives-Hash: 45428d1e929b71733bffea76a5fd4d22 --=-bBrXydwCqH11lbsc3OaL Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Due reasons explained here: https://bugs.gentoo.org/show_bug.cgi?id=462052#c1 We would like to start a process of simplifying dotnet maintained eclasses a lot because they are currently really hard to maintain. As a start point, we will need a simple eclass simply to export some variables needed to build most of dotnet packages. That variables are currently being exported by mono.eclass, the idea would be to split the "environment exporting" part out of it (and deprecate current mono.eclass in the future) --=-bBrXydwCqH11lbsc3OaL Content-Disposition: attachment; filename="mono-env.eclass" Content-Type: text/plain; name="mono-env.eclass"; charset="UTF-8" Content-Transfer-Encoding: 7bit # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # @ECLASS: mono-env.eclass # @MAINTAINER: # dotnet@gentoo.org # @BLURB: Set environment variables commonly used by dotnet packages. # @DESCRIPTION: # Set environment variables commonly used by dotnet packages. # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the # shared dir to ${T} so that ${T}/.wapi can be used during the install process. export MONO_SHARED_DIR="${T}" # export more variables as needed by other dotnet packages export MONO_REGISTRY_PATH="${T}/registry" export XDG_DATA_HOME="${T}/data" export HOME="${T}/home" # Building mono, nant and many other dotnet packages is known to fail if LC_ALL # variable is not set to C. To prevent this all mono related packages will be # build with LC_ALL=C (see bugs #146424, #149817) export LC_ALL=C # Monodevelop-using applications need this to be set or they will try to create config # files in the user's ~ dir. export XDG_CONFIG_HOME="${T}" # Fix bug 83020: # "Access Violations Arise When Emerging Mono-Related Packages with MONO_AOT_CACHE" unset MONO_AOT_CACHE --=-bBrXydwCqH11lbsc3OaL--