ROX-Filer Modification

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#21 Post by sc0ttman »

disciple wrote:1. It shouldn't save 300kb when you put it in an .sfs (although I'm surprised - it does actually save 40kb).[.quote]
But it unpacks into less RAM..
2. The only problem you're likely to encounter with upxing is that ldd doesn't work on a upxed executable. But I don't think I've ever see anyone needing to ldd rox...
Neither have I, that's why I was thinking about it.. I tested for a day or so, seemed fine... Would need to test all features, on an older PC to know for sure though, I guess..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#22 Post by disciple »

But it unpacks into less RAM...
Do you mean when you run it? (No - it loads into the same amount of ram)
Or if/when your Puppy copies the entire contents of the main .sfs into ram?
Neither have I, that's why I was thinking about it.. I tested for a day or so, seemed fine... Would need to test all features, on an older PC to know for sure though, I guess..
Do you mean you would need to test all features of the upxed program, and on an older post? I don't think so.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#23 Post by disciple »

disciple wrote:2. The only problem you're likely to encounter with upxing is that ldd doesn't work on a upxed executable. But I don't think I've ever seen anyone needing to ldd rox...
Sorry, no, there is another problem. If someone strips a upxed executable for some reason, it will be permanently broken. Also, things like rox describe upxed executables as "statically linked", which could cause confusion.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#24 Post by technosaurus »

here it is with latest git:
compiled with the -u user name support
removed the automatic display if running as root
(usually people remove the user requested version trying to eliminate the unrequested "running as user root")
no longer requires glade
It is smaller due to compiler optimizations, not upx-ing

I just packed the actual binary, feel free to make your own pet/puplet with it.

Here are the direct dependencies now:

Code: Select all

 NEEDED libgtk-x11-2.0.so.0
 NEEDED libxml2.so.2
 NEEDED libSM.so.6
 NEEDED libpthread.so.0
 NEEDED libc.so.6
 NEEDED libgdk-x11-2.0.so.0
 NEEDED libgdk_pixbuf-2.0.so.0
 NEEDED libX11.so.6
 NEEDED libpango-1.0.so.0
 NEEDED libgobject-2.0.so.0
 NEEDED libdl.so.2
 NEEDED libglib-2.0.so.0
 NEEDED libm.so.6
 NEEDED libICE.so.6

This is what they were before:

Code: Select all

 NEEDED libglade-2.0.so.0
 NEEDED libgtk-x11-2.0.so.0
 NEEDED libxml2.so.2
 NEEDED libgdk-x11-2.0.so.0
 NEEDED libatk-1.0.so.0
 NEEDED libpangoft2-1.0.so.0
 NEEDED libgdk_pixbuf-2.0.so.0
 NEEDED libm.so.6
 NEEDED libpangocairo-1.0.so.0
 NEEDED libcairo.so.2
 NEEDED libgio-2.0.so.0
 NEEDED libpango-1.0.so.0
 NEEDED libfreetype.so.6
 NEEDED libfontconfig.so.1
 NEEDED libgobject-2.0.so.0
 NEEDED libgmodule-2.0.so.0
 NEEDED libgthread-2.0.so.0
 NEEDED librt.so.1
 NEEDED libglib-2.0.so.0
 NEEDED libX11.so.6
 NEEDED libICE.so.6
 NEEDED libSM.so.6
 NEEDED libpthread.so.0
 NEEDED libc.so.6
 NEEDED libdl.so.2
Attachments
ROX-Filer.tar.bz2
(177.69 KiB) Downloaded 1169 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#25 Post by disciple »

technosaurus wrote:here it is with latest git:
compiled with the -u user name support
removed the automatic display if running as root
(usually people remove the user requested version trying to eliminate the unrequested "running as user root")
no longer requires glade
Woohoo!
What is left now that requires glade? gtkdialog doesn't really - AFAIK there isn't anybody using its glade functionality.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#26 Post by technosaurus »

AFAIK all that is needed is a recompile of gtkdialog and use glipper-lite instead of glipper.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#27 Post by Karl Godt »

Short Note about Rocket's and technosaurus's ROX-FILER-2.11 binaries :

1 . They both require GLIBC >=2.7 , so wont work on Puppy 4 series
2 . Both Rocket's and technosaurus's binaries dont show the show_user_message
3 . Since ROX-Filer -v 2.10 opening rox /proc tends to freeze the whole filer there @/proc
-> needs killall ROX-Filer and both Rocket's and technosauros's have the same behaviour . This behaviour appears mainly with save-file , not in PUPMODE=5 .

I have compiled ./AppRun --compile rox-2.10 with
/usr/include/apsymbols.h

Code: Select all

#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ )

// #if GCC_VERSION > 30302
// __asm__(".symver regexec,regexec@GLIBC_2.2.5");
// Compile/Desktop/ROX/rox-2.7.1/ROX-Filer/src/bulk_rename.c:226: undefined reference to `regexec@GLIBC_2.6.1'
// Compile/Desktop/ROX/rox-2.7.1/ROX-Filer/src/bulk_rename.c:226: undefined reference to `regexec@GLIBC_2.2.5'
// collect2: ld returned 1 exit status
// #endif
on Puppy 431 and my rox-2.10 still freezes @/proc directory , but killing the window does not kill the whole filer incl pinboard .

NOTE : I am testing this on Racy ATM , where the default ROX-Filer does freeze @/proc , so thats why i tried the both binaries from Rocket and technosaurus .

NOTE : rox-2.7.1 compiled in Puppy 431 does not freeze @/proc in Racy , but I have to work on the show_user_message part .
{
Also most files are shown as gtk-icon-stock question for now .
[edit=2011_11_01]
the naming for the /usr/local/apps/ROX-Filer/ROX/MIME files apparently changed between version 2.7.1 and 2.10 :
former /mime-application:pdf.png
to /application-pdf.png
for exemple
[/edit=2011_11_01]
}

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

ROX-Filer Modification

#28 Post by proebler »

Trying it out in Slacko 5.3.1, running from USB, frugal.

just down-loaded ROX-Filer-2.11-treeview_moveable_columns.fixed.tar.gz

1. extracted ROX-Filer (fom above)
2. renamed /usr/local/apps/ROX-Filer/ROX-Filer > RROX-Filer
3. copied-in the extracted ROX-Filer
4. restarted X server

seems to work ok with slackosave.2fs

Thank you Rocket, I like it!

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: ROX-Filer Modification

#29 Post by L18L »

running racy5.2.90 frugal.
ROX-Filer has movable columns

Anyhow, smaller file size is a good reason for testing:

1. extracted ROX-Filer (fom above)
2. renamed /usr/local/apps/ROX-Filer/ROX-Filer > ROX-Filer.orig
3. copied-in the extracted ROX-Filer

# /usr/local/apps/ROX-Filer/AppRun
/usr/local/apps/ROX-Filer/ROX-Filer: /usr/lib/libxml2.so.2: no version information available (required by /usr/local/apps/ROX-Filer/ROX-Filer)
#
:cry:

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#30 Post by technosaurus »

I posted this in another thread for a fork of ROX, but am adding the patch here for posterity ... it adds hacky tray applet functionality to rox (TODO make it less hacky)
Attachments
literocks-applets.patch.gz
(1.71 KiB) Downloaded 462 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply