Merge pull request #2708 from offlinehacker/pkgs/network-manager/gnome3

network-manager: Fix all plugins to use gnome3 and gtk3, like nm-applet does
This commit is contained in:
lethalman 2014-05-20 22:44:01 +02:00
commit cd4063b99b
6 changed files with 13 additions and 16 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, openconnect, intltool, pkgconfig, networkmanager
, withGnome ? true, gtk2, gconf, libgnome_keyring, procps, module_init_tools }:
, withGnome ? true, gnome3, procps, module_init_tools }:
stdenv.mkDerivation rec {
name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
};
buildInputs = [ openconnect networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk2 libgnome_keyring gconf ];
++ stdenv.lib.optionals withGnome [ gnome3.gtk gnome3.libgnome_keyring gnome3.gconf ];
nativeBuildInputs = [ intltool pkgconfig ];
configureFlags = [
"${if withGnome then "--with-gnome --with-gtkver=2" else "--without-gnome"}"
"${if withGnome then "--with-gnome --with-gtkver=3" else "--without-gnome"}"
"--disable-static"
];

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, openvpn, intltool, pkgconfig, networkmanager
, withGnome ? true, gtk2, libgnome_keyring, procps, module_init_tools }:
, withGnome ? true, gnome3, procps, module_init_tools }:
stdenv.mkDerivation rec {
name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
};
buildInputs = [ openvpn networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk2 libgnome_keyring ];
++ stdenv.lib.optionals withGnome [ gnome3.gtk gnome3.libgnome_keyring ];
nativeBuildInputs = [ intltool pkgconfig ];
configureFlags = [
"${if withGnome then "--with-gnome --with-gtkver=2" else "--without-gnome"}"
"${if withGnome then "--with-gnome --with-gtkver=3" else "--without-gnome"}"
"--disable-static"
];

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, networkmanager, pptp, ppp, intltool, pkgconfig, substituteAll
, withGnome ? false, gtk, libgnome_keyring }:
, withGnome ? true, gnome3 }:
stdenv.mkDerivation rec {
name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
};
buildInputs = [ networkmanager pptp ppp ]
++ stdenv.lib.optionals withGnome [ gtk libgnome_keyring ];
++ stdenv.lib.optionals withGnome [ gnome3.gtk gnome3.libgnome_keyring ];
nativeBuildInputs = [ intltool pkgconfig ];
configureFlags =
if withGnome then "--with-gnome --with-gtkver=2" else "--without-gnome";
if withGnome then "--with-gnome --with-gtkver=3" else "--without-gnome";
postConfigure = "sed 's/-Werror//g' -i Makefile */Makefile";

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, vpnc, intltool, pkgconfig, networkmanager
, withGnome ? true, gtk2, libgnome_keyring, procps, module_init_tools }:
, withGnome ? true, gnome3, procps, module_init_tools }:
stdenv.mkDerivation rec {
name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
@ -14,12 +14,12 @@ stdenv.mkDerivation rec {
};
buildInputs = [ vpnc networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk2 libgnome_keyring ];
++ stdenv.lib.optionals withGnome [ gnome3.gtk gnome3.libgnome_keyring ];
nativeBuildInputs = [ intltool pkgconfig ];
configureFlags = [
"${if withGnome then "--with-gnome --with-gtkver=2" else "--without-gnome"}"
"${if withGnome then "--with-gnome --with-gtkver=3" else "--without-gnome"}"
"--disable-static"
];

View file

@ -1569,11 +1569,9 @@ let
networkmanager_pptp = callPackage ../tools/networking/network-manager/pptp.nix { };
networkmanager_pptp_gnome = networkmanager_pptp.override { withGnome = true; };
networkmanager_vpnc = callPackage ../tools/networking/network-manager/vpnc.nix { };
networkmanager_openconnect = callPackage ../tools/networking/network-manager/openconnect.nix { gconf = gnome.GConf; };
networkmanager_openconnect = callPackage ../tools/networking/network-manager/openconnect.nix { };
networkmanagerapplet = newScope gnome ../tools/networking/network-manager-applet { };

View file

@ -1190,7 +1190,6 @@ let
networkmanager = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
networkmanagerapplet = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
networkmanager_pptp = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
networkmanager_pptp_gnome = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
neverball = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
nfsUtils = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
ngspice = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };