mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
wicd: bring translations back.
This commit is contained in:
parent
a8a3cc00fd
commit
f7efab5fd8
@ -1,6 +1,6 @@
|
||||
{stdenv, fetchurl, python, pygobject, pycairo, pyGtkGlade, pythonDBus,
|
||||
wpa_supplicant, dhcp, dhcpcd, wirelesstools, nettools, openresolv, iproute, iputils,
|
||||
locale ? "C" }:
|
||||
pythonPackages, locale ? "C" }:
|
||||
|
||||
# Wicd has a ncurses interface that we do not build because it depends
|
||||
# on urwid which has not been packaged at this time (2009-12-27).
|
||||
@ -14,15 +14,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "15ywgh60xzmp5z8l1kzics7yi95isrjg1paz42dvp7dlpdfzpzfw";
|
||||
};
|
||||
|
||||
buildInputs = [ python ];
|
||||
buildInputs = [ python pythonPackages.Babel ];
|
||||
|
||||
patches = [
|
||||
./no-var-install.patch
|
||||
./no-trans.patch
|
||||
#./no-trans.patch
|
||||
#./mkdir-networks.patch
|
||||
./pygtk.patch
|
||||
./no-optimization.patch
|
||||
./dhclient.patch
|
||||
./no-ast-transl.patch
|
||||
];
|
||||
|
||||
# Should I be using pygtk's propogated build inputs?
|
||||
@ -35,7 +36,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
sed -i "2iexport PATH=\$PATH\$\{PATH:+:\}${python}/bin:${wpa_supplicant}/sbin:${dhcpcd}/sbin:${dhcp}/sbin:${wirelesstools}/sbin:${nettools}/sbin:${nettools}/bin:${iputils}/sbin:${openresolv}/sbin:${iproute}/sbin" in/scripts=wicd.in
|
||||
sed -i "3iexport PYTHONPATH=\$PYTHONPATH\$\{PYTHONPATH:+:\}$(toPythonPath $out):$(toPythonPath ${pygobject}):$(toPythonPath ${pythonDBus})" in/scripts=wicd.in
|
||||
sed -i "4iexport LC_ALL=\\\"${locale}\\\"" in/scripts=wicd.in
|
||||
sed -i "2iexport PATH=\$PATH\$\{PATH:+:\}${python}/bin" in/scripts=wicd-client.in
|
||||
sed -i "3iexport PYTHONPATH=\$PYTHONPATH\$\{PYTHONPATH:+:\}$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pygobject})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${pythonDBus})" in/scripts=wicd-client.in
|
||||
sed -i "2iexport PATH=\$PATH\$\{PATH:+:\}${python}/bin" in/scripts=wicd-gtk.in
|
||||
|
1040
pkgs/tools/networking/wicd/no-ast-transl.patch
Normal file
1040
pkgs/tools/networking/wicd/no-ast-transl.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user