wicd: remove unused patches, remove ast with plain rm
This commit is contained in:
parent
6901f6346d
commit
18681ae58e
@ -18,12 +18,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./no-var-install.patch
|
./no-var-install.patch
|
||||||
#./no-trans.patch
|
|
||||||
#./mkdir-networks.patch
|
|
||||||
./pygtk.patch
|
./pygtk.patch
|
||||||
./no-optimization.patch
|
./no-optimization.patch
|
||||||
./dhclient.patch
|
./dhclient.patch
|
||||||
./no-ast-transl.patch
|
|
||||||
./fix-app-icon.patch
|
./fix-app-icon.patch
|
||||||
./fix-gtk-issues.patch
|
./fix-gtk-issues.patch
|
||||||
];
|
];
|
||||||
@ -44,6 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
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-gtk.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-gtk.in
|
||||||
sed -i "2iexport PATH=\$PATH\$\{PATH:+:\}${python}/bin" in/scripts=wicd-cli.in
|
sed -i "2iexport PATH=\$PATH\$\{PATH:+:\}${python}/bin" in/scripts=wicd-cli.in
|
||||||
sed -i "3iexport PYTHONPATH=\$PYTHONPATH\$\{PYTHONPATH:+:\}$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pycairo}):$(toPythonPath ${pythonDBus})" in/scripts=wicd-cli.in
|
sed -i "3iexport PYTHONPATH=\$PYTHONPATH\$\{PYTHONPATH:+:\}$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pycairo}):$(toPythonPath ${pythonDBus})" in/scripts=wicd-cli.in
|
||||||
|
rm po/ast.po
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
wicd normally makes the NETWORKS directory and install the dhclient.conf.template.default at install time,
|
|
||||||
but we cannot do that, so we make it at runtime instead.
|
|
||||||
|
|
||||||
--- wicd-1.7.0/in/scripts=wicd.in 2010-01-14 23:49:11.000000000 -0500
|
|
||||||
+++ wicd-1.7.0/in/scripts=wicd.in 2010-11-16 22:35:50.272555487 -0500
|
|
||||||
@@ -1,3 +1,6 @@
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
+mkdir -p %NETWORKS%
|
|
||||||
+ln -sf @TEMPLATE-DEFAULT@ %ETC%dhclient.conf.template.default
|
|
||||||
+
|
|
||||||
exec %PYTHON% -O %SHARE%daemon/wicd-daemon.py $@
|
|
File diff suppressed because it is too large
Load Diff
@ -1,15 +0,0 @@
|
|||||||
--- wicd-1.7.2.4/setup.py 2013-03-14 21:28:21.360580941 +0100
|
|
||||||
+++ wicd-1.7.2.4/setup.py 2013-03-14 21:22:50.125721943 +0100
|
|
||||||
@@ -599,12 +599,6 @@
|
|
||||||
if not wpath.no_install_pmutils:
|
|
||||||
data.append((wpath.pmutils, ['other/55wicd']))
|
|
||||||
print 'Using pid path', os.path.basename(wpath.pidfile)
|
|
||||||
- print 'Language support for',
|
|
||||||
- for pofile in glob('po/*.po'):
|
|
||||||
- language = pofile.replace('po/', '').replace('.po', '')
|
|
||||||
- print language,
|
|
||||||
- data.append((wpath.translations + language + '/LC_MESSAGES/',
|
|
||||||
- ['translations/' + language + '/LC_MESSAGES/wicd.mo']))
|
|
||||||
print
|
|
||||||
except Exception, e:
|
|
||||||
print str(e)
|
|
Loading…
x
Reference in New Issue
Block a user