The gstreamer plugins are a required dependency for KDE 4.4.x or higher. I could also patch the startkde script and set a GST_PLUINGS environment variable there, but I think users also want to be able to let Phonon use all their installed plugins and not just the required plugins.
Btw. the gstreamer plugins are only installed in the systemPackages if a user enables KDE in the NixOS configuration. Otherwise, the gstreamer plugins are not installed (unless a user explicitly puts them in environment.systemPackages) -----Original Message----- From: Lluís Batlle [mailto:[email protected]] Sent: Wed 3/3/2010 2:35 PM To: [email protected]; Sander van der Burg - EWI Cc: [email protected] Subject: Re: [Nix-commits] SVN commit: nix - 20350 - sandervanderburg - in nixos/trunk/modules: programs/bash services/x11/desktop-managers Couldn't this change not affect bashrc? Maybe it could go to the kde4 session script. And I wonder if the gstreamer things could be kept out of the system packages, so, not in the PATH. Regards, Lluís. 2010/3/3 Sander van der Burg <[email protected]>: > Author: sandervanderburg > Date: 2010-03-03 13:22:06 +0000 (Wed, 03 Mar 2010) > New Revision: 20350 > > You can view the changes in this commit at: > https://svn.nixos.org/viewvc/nix?rev=20350&view=rev > > Modified: > nixos/trunk/modules/programs/bash/bashrc.sh > nixos/trunk/modules/services/x11/desktop-managers/kde4.nix > > Log: > Added gstreamer plugins to the systemPackages, so that Phonon does not crash > on shutdown when using KDE 4.4.x > > Changes: > > Modified: nixos/trunk/modules/programs/bash/bashrc.sh > =================================================================== > --- nixos/trunk/modules/programs/bash/bashrc.sh 2010-03-03 10:37:38 UTC (rev > 20349) > +++ nixos/trunk/modules/programs/bash/bashrc.sh 2010-03-03 13:22:06 UTC (rev > 20350) > @@ -11,6 +11,7 @@ > export PAGER="less -R" > export EDITOR=nano > export LOCATE_PATH=/var/cache/locatedb > +export GST_PLUGIN_PATH=/var/run/current-system/sw/lib/gstreamer-0.10 > �...@shellinit@ > > > > Modified: nixos/trunk/modules/services/x11/desktop-managers/kde4.nix > =================================================================== > --- nixos/trunk/modules/services/x11/desktop-managers/kde4.nix 2010-03-03 > 10:37:38 UTC (rev 20349) > +++ nixos/trunk/modules/services/x11/desktop-managers/kde4.nix 2010-03-03 > 13:22:06 UTC (rev 20350) > @@ -52,6 +52,9 @@ > pkgs.kde4.kdebase_runtime > pkgs.kde4.kdebase_workspace > pkgs.shared_mime_info > + pkgs.gst_all.gstreamer > + pkgs.gst_all.gstPluginsBase > + pkgs.gst_all.gstPluginsGood > ] ++ optional (pkgs.kde4 ? oxygen_icons) pkgs.kde4.oxygen_icons; > > environment.x11Packages = > > _______________________________________________ > nix-commits mailing list > [email protected] > http://mail.cs.uu.nl/mailman/listinfo/nix-commits >
_______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
