Message ID | 20160718165552.1480-1-david@craven.ch |
---|---|
State | New |
Headers |
Received: (qmail 51061 invoked by uid 89); 18 Jul 2016 16:57:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=022, plugins X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 18 Jul 2016 16:57:05 +0000 Received: from localhost ([::1]:48992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <guix-devel-bounces+patchwork=sourceware.org@gnu.org>) id 1bPBqo-0002BW-Uo for patchwork@sourceware.org; Mon, 18 Jul 2016 12:57:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bounce+4c6c88.01b20-guix-devel=gnu.org@craven.ch>) id 1bPBqD-0001it-00 for guix-devel@gnu.org; Mon, 18 Jul 2016 12:56:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bounce+4c6c88.01b20-guix-devel=gnu.org@craven.ch>) id 1bPBq8-0002nq-Le for guix-devel@gnu.org; Mon, 18 Jul 2016 12:56:24 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:35486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bounce+4c6c88.01b20-guix-devel=gnu.org@craven.ch>) id 1bPBq7-0002mN-F7 for guix-devel@gnu.org; Mon, 18 Jul 2016 12:56:20 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=craven.ch; q=dns/txt; s=mx; t=1468860975; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=S2jqkN0fFbIyXNs77aS4kVomX9w1wzIedSBueyqn/Fk=; b=wGiZmIHGlw52Kn5R7kB0tOZ20fdxs41jLCfkWb1YHQxUg4tWampMobAo4N2mxKOb+spCe3I0 472KIxUaSTRou1/LnsI7nJ+3/WC38XznhDBZT8Agaro8TYRdrNZ++rZZpXyBomczpfZSRTL6 bcM2AV4HAjcGkG7ap89wY6eljM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=craven.ch; s=mx; q=dns; h=Sender: From: To: Cc: Subject: Date: Message-Id: In-Reply-To: References; b=ZjwHpwxF++1ylWnAxSb/cfrv+MXRo5+zep0uj0dGB/k3tpz3jE3tMnVLbTQxFAawkf1XlB 2a3Kg8UFc6hZ8WjLvFhz97Rlqvj3qbJTep44kA7oss8ZXhn6G2MbjzTNT6MdEEMz/i99YV/w ylE45rTohPjt025Q9xGGkqY89CQpw= X-Mailgun-Sid: WyIxMzZlMCIsICJndWl4LWRldmVsQGdudS5vcmciLCAiMDFiMjAiXQ== Received: from xps.craven.ch (pub151248148210.dh-hfc.datazug.ch [151.248.148.210]) by mxa.mailgun.org with ESMTP id 578d0a2e.7f61e75a9650-in8; Mon, 18 Jul 2016 16:56:14 -0000 (UTC) From: David Craven <david@craven.ch> To: guix-devel@gnu.org Subject: [PATCH 01/10] system: Do not export GST_PLUGIN_PATH in /etc/profile. Date: Mon, 18 Jul 2016 18:55:43 +0200 Message-Id: <20160718165552.1480-1-david@craven.ch> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160709125011.24587-1-david@craven.ch> References: <20160709125011.24587-1-david@craven.ch> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 198.61.254.10 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." <guix-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>, <mailto:guix-devel-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/guix-devel/> List-Post: <mailto:guix-devel@gnu.org> List-Help: <mailto:guix-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>, <mailto:guix-devel-request@gnu.org?subject=subscribe> Cc: David Craven <david@craven.ch> Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" <guix-devel-bounces+patchwork=sourceware.org@gnu.org> |
Commit Message
David Craven
July 18, 2016, 4:55 p.m. UTC
* gnu/system.scm (operating-system-etc-service): Remove "export" for 'GST_PLUGIN_PATH'. --- gnu/system.scm | 3 --- 1 file changed, 3 deletions(-)
Comments
On Mon 18 Jul 2016 18:55, David Craven <david@craven.ch> writes: > * gnu/system.scm (operating-system-etc-service): Remove "export" for > 'GST_PLUGIN_PATH'. > --- > gnu/system.scm | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/gnu/system.scm b/gnu/system.scm > index 476720b..fe62c3e 100644 > --- a/gnu/system.scm > +++ b/gnu/system.scm > @@ -433,9 +433,6 @@ fi > # See <http://bugs.gnu.org/22650>. > umask 022 > > -# Allow GStreamer-based applications to find plugins. > -export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\" > - > if [ -n \"$BASH_VERSION\" -a -f /etc/bashrc ] > then > # Load Bash-specific initialization code. What is the impact of this change on users? Will it still be possible to install rhythmbox, then some GStreamer plugins, and have rhythmbox recognize those plugins? Andy
> What is the impact of this change on users? > > Will it still be possible to install rhythmbox, then some GStreamer > plugins, and have rhythmbox recognize those plugins? I think that to do that you'd create a custom package called my rythmbox or something, declare rythmbox and the optional plugins as dependencies and add a startup script that sets the correct environment variables or something like that.
On Thu, Jul 21, 2016 at 1:17 PM, David Craven <david@craven.ch> wrote: >> What is the impact of this change on users? >> >> Will it still be possible to install rhythmbox, then some GStreamer >> plugins, and have rhythmbox recognize those plugins? > > I think that to do that you'd create a custom package called my > rythmbox or something, declare rythmbox and the optional plugins as > dependencies and add a startup script that sets the correct > environment variables or something like that. Why not simply move that variable declaration to the skeleton shell init script that is copied into $HOME/.bashrc so that everything still works properly without having to do anything ?
There are multiple solutions, I just think that this doesn't belong in /etc/profile (or $HOME/.bashrc for that matter), since this leads to an incomplete dependency specification.
diff --git a/gnu/system.scm b/gnu/system.scm index 476720b..fe62c3e 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -433,9 +433,6 @@ fi # See <http://bugs.gnu.org/22650>. umask 022 -# Allow GStreamer-based applications to find plugins. -export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\" - if [ -n \"$BASH_VERSION\" -a -f /etc/bashrc ] then # Load Bash-specific initialization code.