Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 24 Jun 2017, 08:33
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Rox and desktop files: how to display Comment[fr]
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 6 [86 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
musher0


Joined: 04 Jan 2009
Posts: 10310
Location: Gatineau (Qc), Canada

PostPosted: Mon 06 Apr 2015, 21:17    Post subject:  

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

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Tue 07 Apr 2015, 03:14    Post subject:  

kde add something to the exec line that is good for breaking other systems too Very Happy

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

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

MIke
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Tue 07 Apr 2015, 03:31    Post subject: Rox and desktop files
Subject description: how to display translated Comment
 

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
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Tue 07 Apr 2015, 06:01    Post subject:  

Thanks Mikeb, works fine Very Happy
[it] and [it_CH] too.
Confirmed!

_________________
www.xanad.tk Html5 Parallax
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 3051
Location: The Blue Marble

PostPosted: Tue 07 Apr 2015, 06:46    Post subject:  

Great work mikeb. Patch file please?
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Tue 07 Apr 2015, 06:53    Post subject:  

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
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3051
Location: The Blue Marble

PostPosted: Tue 07 Apr 2015, 07:42    Post subject:  

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 Laughing

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!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Tue 07 Apr 2015, 07:55    Post subject:  

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/s4ettwe6jiho2kn/AACwAqnjmqahAjoGj16pY77Ia?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 Very Happy

mike
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3051
Location: The Blue Marble

PostPosted: Tue 07 Apr 2015, 08:07    Post subject:  

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!
mikeb.patch.gz
Description 
gz

 Download 
Filename  mikeb.patch.gz 
Filesize  1.14 KB 
Downloaded  210 Time(s) 

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10310
Location: Gatineau (Qc), Canada

PostPosted: Tue 07 Apr 2015, 14:38    Post subject:  

@jamesbond: Of course the by-line for this edit will be mikeb's, right ... ? Is that noted somewhere in your file?
_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Tue 07 Apr 2015, 15:00    Post subject:  

So first I get a boat, now I have a patch....anyone got a wooden leg and a parrot handy?

mike
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10310
Location: Gatineau (Qc), Canada

PostPosted: Tue 07 Apr 2015, 15:19    Post subject:  

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 Evil Will destroy a keyboard in no time, shucks.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Tue 07 Apr 2015, 15:34    Post subject:  

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... Shocked

mike

ps

arrrrrrrrr!!!!!
pps
why does ginger look like Mr Krabbs?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10310
Location: Gatineau (Qc), Canada

PostPosted: Tue 07 Apr 2015, 23:31    Post subject:  

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

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Wed 08 Apr 2015, 04:42    Post subject:  

serious ... this is the puppy linux forum isn't it Very Happy

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 6 [86 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1514s ][ Queries: 14 (0.0204s) ][ GZIP on ]