wok-next rev 13788
spacefm: use tazbox (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 11:09:31 2013 +0100 (2013-01-05) |
parents | 1e6f4c0e4262 |
children | c4f7bb49f2e8 |
files | libegl-mesa/receipt spacefm/receipt spacefm/stuff/prefdlg.ui.diff spacefm/stuff/settings.h.diff spacefm/stuff/vfs-file-task.c.diff |
line diff
1.1 --- a/libegl-mesa/receipt Fri Jan 04 21:34:07 2013 +0100 1.2 +++ b/libegl-mesa/receipt Sat Jan 05 11:09:31 2013 +0100 1.3 @@ -15,5 +15,4 @@ 1.4 { 1.5 mkdir -p $fs/usr/lib 1.6 cp -a $install/usr/lib/libEGL* $fs/usr/lib 1.7 - cp -a $install/usr/lib/egl $fs/usr/lib 1.8 }
2.1 --- a/spacefm/receipt Fri Jan 04 21:34:07 2013 +0100 2.2 +++ b/spacefm/receipt Sat Jan 05 11:09:31 2013 +0100 2.3 @@ -20,13 +20,15 @@ 2.4 compile_rules() 2.5 { 2.6 cd $src 2.7 + patch -Np1 -i $stuff/prefdlg.ui.diff 2.8 + patch -Np1 -i $stuff/settings.h.diff 2.9 + patch -Np1 -i $stuff/vfs-file-task.c.diff 2.10 + 2.11 # We dont want bash hardcoded 2.12 - sed -i s'|/bin/bash|/bin/sh|'g src/*.c 2.13 - sed -i s'|/bin/bash|/bin/sh|'g src/*.h 2.14 - sed -i s'|/bin/bash|/bin/sh|'g src/*/*.c 2.15 - sed -i s'|/bin/bash|/bin/sh|'g src/*/*.c 2.16 + sed -i s'|/bin/bash|/bin/sh|'g src/*.c src/*.h src/*/*.c src/*/*.h 2.17 + 2.18 ./configure \ 2.19 - --with-preferable-sudo="/usr/bin/subox" \ 2.20 + --with-preferable-sudo="/usr/bin/tazbox" \ 2.21 --disable-pixmaps \ 2.22 $CONFIGURE_ARGS && 2.23 make && make install
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/spacefm/stuff/prefdlg.ui.diff Sat Jan 05 11:09:31 2013 +0100 3.3 @@ -0,0 +1,12 @@ 3.4 +--- spacefm-0.8.4.orig/data/ui/prefdlg.ui 3.5 ++++ spacefm-0.8.4/data/ui/prefdlg.ui 3.6 +@@ -153,6 +153,9 @@ 3.7 + <col id="0">/usr/bin/ktsuss</col> 3.8 + </row> 3.9 + <row> 3.10 ++ <col id="0">/usr/bin/tazbox</col> 3.11 ++ </row> 3.12 ++ <row> 3.13 + <col id="0">/usr/bin/gksu</col> 3.14 + </row> 3.15 + <row>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/spacefm/stuff/settings.h.diff Sat Jan 05 11:09:31 2013 +0100 4.3 @@ -0,0 +1,10 @@ 4.4 +--- spacefm-0.8.4.orig/src/settings.h 4.5 ++++ spacefm-0.8.4/src/settings.h 4.6 +@@ -274,6 +274,7 @@ 4.7 + static const char* gsu_commands[] = // order and contents must match prefdlg.ui 4.8 + { 4.9 + "/usr/bin/ktsuss", 4.10 ++ "/usr/bin/tazbox", 4.11 + "/usr/bin/gksu", 4.12 + "/usr/bin/gksudo", 4.13 + "/usr/bin/gnomesu",
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/spacefm/stuff/vfs-file-task.c.diff Sat Jan 05 11:09:31 2013 +0100 5.3 @@ -0,0 +1,15 @@ 5.4 +--- spacefm-0.8.4.orig/src/vfs/vfs-file-task.c 5.5 ++++ spacefm-0.8.4/src/vfs/vfs-file-task.c 5.6 +@@ -1725,6 +1725,12 @@ 5.7 + argv[a++] = g_strdup( "SpaceFM Command" ); 5.8 + single_arg = TRUE; 5.9 + } 5.10 ++ else if ( !strcmp( use_su, "/usr/bin/tazbox" ) ) 5.11 ++ { 5.12 ++ // tazbox 5.13 ++ argv[a++] = g_strdup( "su" ); 5.14 ++ single_arg = TRUE; 5.15 ++ } 5.16 + else if ( strstr( use_su, "kdesu" ) ) 5.17 + { 5.18 + // kdesu kdesudo