Page 3 of 5

Posted: Mon 06 Apr 2015, 19:07
by mikeb
Ah ha...the formula that states productivity is inversly proportional to time spent on the forum.

Well I am the chef so its a bit time consuming and I post inbetween ingredients. :)

If I try and edit .c files I would burn the result.

Mike

Posted: Mon 06 Apr 2015, 20:24
by musher0
Let's see. The recipe says: add a pinch of C on the steak, then dice the
carrot onto edit.c, and stir... :)

Posted: Mon 06 Apr 2015, 21:24
by mikeb
Ahhh string manipulation is so painfully ugly... well only took and hour or so to split about the _ ...actually my printf did not show until closing this time just to confuse.

Ok this should try full LANG and then just the first part and finally use fallback

mike

Posted: Tue 07 Apr 2015, 01:01
by musher0
Ahhh, what mikeb can do on a full stomach!!!

Magnificent! Fantastic! How can we ever repay you! Wow! Yippee!
Many, many thanks! (Background noise of audience applauding... fade-out)
:) 8) :lol: :D

Posted: Tue 07 Apr 2015, 01:13
by LazY Puppy
Magnificent! Fantastic!
Confirmed! :D

Posted: Tue 07 Apr 2015, 01:17
by musher0
mikeb wrote:fichiers Desktop sont très exigeantes
don't blame me though my translation was worse...

I don't want to pass out while compiling.... please don't hold any breath during this food related pause

Actually i will slip a note into the version output to distinguish the build.

mike
To come back on this... never mind the translations. You're doing fine.

I'm more concerned about the other entries of the *.desktop files:
almost no one writes a *.desktop file that is standard compliant.

Added:
In particular, every one is trying to impose his/her own idea of
"Categories". And this brings chaos, my friend, worse: a real mess.

Even at the level of the standards committee.

For example, you can tell that none of the members there is or has ever
been a musician: the purely musical or sound programs should be in the
Audio category only, not merged inside the "AudioVideo" category.

Etc. etc., etc. Lack of logic all around.

We should open a separate thread about this mess.

BFN.

musher0

Posted: Tue 07 Apr 2015, 07:14
by mikeb
kde add something to the exec line that is good for breaking other systems too :D

Actually I find an empty stomach a great motivator especially if the next filling is not guaranteed :)

So nothing else to do then for now... anyone want the sources...or at least the altered file?

MIke

Rox and desktop files

Posted: Tue 07 Apr 2015, 07:31
by L18L
A big Thank You also from me.
mikeb wrote:So nothing else to do then for now...
The topic is SOLVED by you.
(If you are bored you can add similiar things with GenericName and Comment to JWM menu.)
mikeb wrote:... anyone want the sources...or at least the altered file?
or the patch file?
I think Barry, Mick, James, woof, etc. ...... will get them (and compile for 64 bit).


___
EDIT
changed jwm_menu_create to JWM menu

Posted: Tue 07 Apr 2015, 10:01
by xanad
Thanks Mikeb, works fine :D
[it] and [it_CH] too.
Confirmed!

Posted: Tue 07 Apr 2015, 10:46
by jamesbond
Great work mikeb. Patch file please?

Posted: Tue 07 Apr 2015, 10:53
by mikeb
Ah a patch file..the ultimate weapon of confusion.

Well you have filer.c and main.c needs altering to not show the running as root message.

Actually how is rox obtained for official puppy making...is there a build package or is it compiled each time and if so from what? main.c must be hacked for starters

I used the 2.11 download from ROX website...

I also could build for 2.10 which runs on gtk 2.8 + ..at least its working on puppy 4.12.

Mike

Posted: Tue 07 Apr 2015, 11:42
by jamesbond
mikeb wrote:Actually how is rox obtained for official puppy making...is there a build package or is it compiled each time and if so from what? main.c must be hacked for starters
I can't say for contemporary puppies, but for Fatdog it is built from source from the latest git master (https://github.com/rox-desktop/rox-filer); with my own patches applied, using automated build script. So I don't depend on pre-built binary or pre-patched source, instead I apply the patches on vanilla sources as needed and then build it. I know that Quirky April follows the same method as well but using T2 as the build system.

----

To make the patch, do this:
1. Assume your modified version of rox 2.11 is stored in /mnt/sdb1/work/rox-2.11
2. Rename it to /mnt/sdb1/work/rox-2.11-new
3. Re-extract the original rox-filer to /mnt/sdb1/work/rox-2.11
4. Then, cd to /mnt/sdb1/work
5. and then "diff -ur rox-2.11 rox-2.11-new > $HOME/rox.patch"
(the patch created this way is a bit "dirty" but is usable). And you can ship the patch to me :lol:

Alternatively, just make a tarball of your build directory and upload it somewhere; since you told me that it is build from rox 2.11 I can do the steps above myself. Once done I am happy to share the patch with the rest of us.

cheers!

Posted: Tue 07 Apr 2015, 11:55
by mikeb
Well the rox sources are a little unconventional plus there seem to be many variations floating around so not 100% on what's best in this case really.

Simplest way for now
https://www.dropbox.com/sh/s4ettwe6jiho ... Y77Ia?dl=1

Apart from needing to include i18n.h all changes are in the one function tip_from_desktop_file

I actually have a build from debian on one system and its layout has such as /usr/bin/rox for binary and /usr/share/rox for its data rather than the self contained apprun job usually found... did find it less confusing actually.

By the way you may wish to adjust my comments.. I normally don't get to share source changes cos no one wants them :D

mike

Posted: Tue 07 Apr 2015, 12:07
by jamesbond
Thanks Mike. Btw Fatdog own patches are in http://distro.ibiblio.org/fatdog/source/700/patches; there are 3 patches for rox filer (applicable to the latest git master) for anyone who want it.

EDIT:
Mikeb's patch attached. I also re-write the patch and put my version here.

cheers!

Posted: Tue 07 Apr 2015, 18:38
by musher0
@jamesbond: Of course the by-line for this edit will be mikeb's, right ... ? Is that noted somewhere in your file?

Posted: Tue 07 Apr 2015, 19:00
by mikeb
So first I get a boat, now I have a patch....anyone got a wooden leg and a parrot handy?

mike

Posted: Tue 07 Apr 2015, 19:19
by musher0
mikeb wrote:So first I get a boat, now I have a patch....anyone got a wooden leg and a parrot handy?

mike
Not me.

No parrot, only a budgie, once.

But I have a few pronunciation exercises, like: arr, arr, arr. (repeat 5x)

Also a long library shelf made of plywood that you could use as a plank.

Arm-hooks are not your style, I gather. :twisted: Will destroy a keyboard in no time, shucks.

Posted: Tue 07 Apr 2015, 19:34
by mikeb
The arm hook could be very useful for using the sea toilet in a storm.....

as long as i remember which arm has the hook afterwards... :shock:

mike

ps

arrrrrrrrr!!!!!
pps
why does ginger look like Mr Krabbs?

Posted: Wed 08 Apr 2015, 03:31
by musher0
Back to serious:

Anybody noticed interference between the wm and mikeb's modd'ed ROX?

Under wmx (yeah, I know, musher0's always off-off-Broadway...), it seems
that wmx-8 takes over the modded ROX after 3-4 minutes, and I can't click
on any ROX icon. Just the wmx menus appear.

Working with jwm and modd'ed ROX appears ok, AFAICT.

BFN.

musher0

Posted: Wed 08 Apr 2015, 08:42
by mikeb
serious ... this is the puppy linux forum isn't it :D

Hmm curious..something that works better with jwm.

Well I did free that which should be freed but there may be other patches applied to the rox in puppy but otherwise cannot think of a reason offhand.
I used 2.11 ...check what version you had with ROX-filer -v

I assume the rox you had was ok with wmx?

If I find anything I will report.

mike