Page 2 of 2

Posted: Sat 22 Oct 2011, 11:12
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..

Posted: Sat 22 Oct 2011, 13:17
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.

Posted: Sat 22 Oct 2011, 13:25
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.

Posted: Sat 22 Oct 2011, 14:18
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

Posted: Sat 22 Oct 2011, 22:34
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.

Posted: Sun 23 Oct 2011, 00:24
by technosaurus
AFAIK all that is needed is a recompile of gtkdialog and use glipper-lite instead of glipper.

Posted: Tue 01 Nov 2011, 10:08
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]
}

ROX-Filer Modification

Posted: Sat 18 Feb 2012, 10:59
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!

Re: ROX-Filer Modification

Posted: Mon 19 Mar 2012, 12:53
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:

Posted: Tue 21 Jan 2014, 04:05
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)