Skip to content

Commit

Permalink
More usage of gnome3.defaultIconTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabrunox committed May 19, 2015
1 parent 1b6401f commit 9adde87
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/video/pitivi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {

buildInputs = [
gobjectIntrospection clutter-gst clutter-gtk librsvg gnome3.gnome_desktop
hicolor_icon_theme gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic
gnome3.defaultIconTheme
gnome3.gsettings_desktop_schemas libnotify
] ++ (with gst; [
gstreamer gst-python gst-editing-services
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/misc/d-feet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ stdenv.mkDerivation rec {

buildInputs = [
pkgconfig libxml2 itstool intltool glib gtk3 pep8 python
gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic
gnome3.defaultIconTheme
makeWrapper pygobject3 libwnck3
];

Expand Down
3 changes: 2 additions & 1 deletion pkgs/misc/emulators/cdemu/analyzer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ let pkg = import ./base.nix {
pkgSha256 = "1rb3f7c08dxc02zrwrkfvq7qlzlmm0kd2ah1fhxj6ajiyshi8q4v";
};
in callPackage pkg {
buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper gnome3.gnome_icon_theme_symbolic gnome3.gnome_icon_theme gdk_pixbuf librsvg ];
buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper
gnome3.defaultIconTheme gdk_pixbuf librsvg ];
drvParams = {
postFixup = ''
wrapProgram $out/bin/image-analyzer \
Expand Down
3 changes: 2 additions & 1 deletion pkgs/misc/emulators/cdemu/gui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ let pkg = import ./base.nix {
pkgSha256 = "1m5ab325r586v2y2d93a817phn6wck67y5mfkf948mph40ks0mqk";
};
in callPackage pkg {
buildInputs = [ python pygobject3 gtk3 glib libnotify intltool makeWrapper gnome3.gnome_icon_theme_symbolic gnome3.gnome_icon_theme gdk_pixbuf librsvg ];
buildInputs = [ python pygobject3 gtk3 glib libnotify intltool makeWrapper
gnome3.defaultIconTheme gdk_pixbuf librsvg ];
drvParams = {
postFixup = ''
wrapProgram $out/bin/gcdemu \
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/audio/gvolicon/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, makeWrapper, alsaLib, pkgconfig, fetchgit, gnome3, hicolor_icon_theme, gdk_pixbuf, librsvg }:
{ stdenv, makeWrapper, alsaLib, pkgconfig, fetchgit, gnome3, gdk_pixbuf, librsvg }:

stdenv.mkDerivation {
name = "gvolicon";
Expand All @@ -9,7 +9,7 @@ stdenv.mkDerivation {
};

buildInputs = [ pkgconfig makeWrapper alsaLib gnome3.gtk ];
propagatedBuildInputs = [ gnome3.gnome_icon_theme gnome3.gnome_icon_theme_symbolic hicolor_icon_theme gdk_pixbuf librsvg ];
propagatedBuildInputs = [ gnome3.defaultIconTheme gdk_pixbuf librsvg ];
installPhase = ''
make install PREFIX=$out
wrapProgram "$out/bin/gvolicon" \
Expand Down
9 changes: 6 additions & 3 deletions pkgs/tools/audio/pasystray/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{stdenv, fetchurl, unzip, autoconf, automake, makeWrapper, pkgconfig, gnome_icon_theme, avahi, gtk3, libnotify, pulseaudio, x11}:
{stdenv, fetchurl, unzip, autoconf, automake, makeWrapper, pkgconfig
, avahi, gtk3, libnotify, pulseaudio, x11}:

stdenv.mkDerivation rec {
name = "pasystray-0.4.0";
Expand All @@ -8,7 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1gpb7yqcxqglv50iqbkg2lg3r0z07jm4ir2zqmvns6sgddks590w";
};

buildInputs = [ unzip autoconf automake makeWrapper pkgconfig gnome_icon_theme avahi gtk3 libnotify pulseaudio x11 ];
buildInputs = [ unzip autoconf automake makeWrapper pkgconfig
gnome3.defaultIconTheme
avahi gtk3 libnotify pulseaudio x11 ];

preConfigure = ''
aclocal
Expand All @@ -19,7 +22,7 @@ stdenv.mkDerivation rec {

preFixup = ''
wrapProgram "$out/bin/pasystray" \
--prefix XDG_DATA_DIRS : "${gnome_icon_theme}/share:$GSETTINGS_SCHEMAS_PATH"
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:$GSETTINGS_SCHEMAS_PATH"
'';

meta = with stdenv.lib; {
Expand Down
7 changes: 4 additions & 3 deletions pkgs/tools/networking/gupnp-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "160dgh9pmlb85qfavwqz46lqawpshs8514bx2b57f9rbiny8kbij";
};

buildInputs = [gupnp libuuid gssdp pkgconfig gtk3 intltool gupnp_av gnome3.gnome_icon_theme gnome3.gnome_themes_standard makeWrapper];
buildInputs = [gupnp libuuid gssdp pkgconfig gtk3 intltool gupnp_av
gnome3.defaultIconTheme gnome3.gnome_themes_standard makeWrapper];

postInstall = ''
wrapProgram "$out/bin/gupnp-av-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gnome_icon_theme}/share:$out/share"
wrapProgram "$out/bin/gupnp-universal-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gnome_icon_theme}/share:$out/share"
wrapProgram "$out/bin/gupnp-av-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.defaultIconTheme}/share:$out/share"
wrapProgram "$out/bin/gupnp-universal-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.defaultIconTheme}/share:$out/share"
'';
}
4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2208,9 +2208,7 @@ let

pa_applet = callPackage ../tools/audio/pa-applet { };

pasystray = callPackage ../tools/audio/pasystray {
inherit (gnome3) gnome_icon_theme;
};
pasystray = callPackage ../tools/audio/pasystray { };

pnmixer = callPackage ../tools/audio/pnmixer { };

Expand Down

0 comments on commit 9adde87

Please sign in to comment.