Hassle-Free Roxapps

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#31 Post by esmourguit »

Bonjour à tous,
In 4.31, i created a file GIMP.roxfs version 4, in which I introduced the French localization files. When I launch the application it starts always in English.
However if I copy the french localization files in the appropriate directory before running the application, it starts in French.
How is it possible to change (I suppose AppRun) to load localization files just before opening Gimp?
Thank you in advance.
Cordialement, ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#32 Post by abushcrafter »

Last edited by abushcrafter on Tue 22 Dec 2009, 22:33, edited 1 time in total.

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#33 Post by seaside »

esmourguit wrote:Bonjour à tous,
In 4.31, i created a file GIMP.roxfs version 4, in which I introduced the French localization files. When I launch the application it starts always in English.
However if I copy the french localization files in the appropriate directory before running the application, it starts in French.
How is it possible to change (I suppose AppRun) to load localization files just before opening Gimp?
Thank you in advance.
Cordialement, ;)
esmourguit,

Instead of copying the files, you could link them in AppRun.
Open the file AppRun in an editor and look for-

Code: Select all

 ln -s $APPDIR/share/gimp /usr/share
ln -s $APPDIR/share/gimp-lqr-plugin /usr/share
ln -s $APPDIR/share/gimp-texturize /usr/share
ln -s /mnt/GIMP/etc/gimp /etc / 
after these lines put in one like this-

Code: Select all

ln -s /from/wherever/you/copy/language/files /to/wherever/they/should/go
this will link the files before the program loads and it should then start in the proper language.

Also, you'll want to remove the links by adding another line after these-

Code: Select all

rm /usr/share/gimp
rm /usr/share/gimp-lqr-plugin
rm /usr/share/gimp-texturize
rm /etc/gimp
add this line-

Code: Select all

rm /to/wherever/they/should/go
Good Luck,
s

PupGeek
Posts: 353
Joined: Sun 06 Sep 2009, 11:30

#34 Post by PupGeek »

That's right seaside, I never linked the locale files. If you have recompressed a .roxfs and included any locale packs, you must link them over to your system directories in the AppRun script. Not sure how to set a default language, though.

And Abush, I haven't forgotten about you. I have just been very busy lately.

Also, folks, If the sfs converter in pup 4.3 allows you to choose a temp directory, stay away from windoze partitions as the necessary symlinks will end up missing from the final result.

Does puppy 4.3 not come with ffmpeg? Im beginning to think that with all the differences between puppy 4.2 and 4.3 that 4.3 really should have been a 5.x instead.

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#35 Post by esmourguit »

Bonjour à tous,
@ seaside,
Sorry for this late response. I have a lot of work right now.
Thank you very much for the advice, i complete the changes as soon as possible.
Cordialement. ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#36 Post by abushcrafter »

PupGeek wrote:That's right seaside, I never linked the locale files. If you have recompressed a .roxfs and included any locale packs, you must link them over to your system directories in the AppRun script. Not sure how to set a default language, though.

And Abush, I haven't forgotten about you. I have just been very busy lately.

Also, folks, If the sfs converter in pup 4.3 allows you to choose a temp directory, stay away from windoze partitions as the necessary symlinks will end up missing from the final result.

Does puppy 4.3 not come with ffmpeg? Im beginning to think that with all the differences between puppy 4.2 and 4.3 that 4.3 really should have been a 5.x instead.
Auto forgive. 4.3 ffmpeg yes

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#37 Post by esmourguit »

Bonjour à tous,
Here is the line i included in the AppRun file for Gimp :

Code: Select all

ln -s $APPDIR/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES
But as there is already a directory /usr/share/locale/fr/LC_MESSAGES, the link with the LC_MESSAGES folder in the file sfs does not work : in fact, the result is that there is a link to LC_MESSAGES in the directory /usr/share/locale/fr/LC_MESSAGES (ie /usr/share/locale/fr/LC_MESSAGES/LC_MESSAGES).

However, if I change the name of existing directory (or delete the directory) /usr/share/locale/fr/LC_MESSAGES, the link is automatic.

Have you an idea about the little trick to add?

Cordialement ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

PupGeek
Posts: 353
Joined: Sun 06 Sep 2009, 11:30

#38 Post by PupGeek »

esmourguit wrote:Bonjour à tous,
Here is the line i included in the AppRun file for Gimp :

Code: Select all

ln -s $APPDIR/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES
But as there is already a directory /usr/share/locale/fr/LC_MESSAGES, the link with the LC_MESSAGES folder in the file sfs does not work : in fact, the result is that there is a link to LC_MESSAGES in the directory /usr/share/locale/fr/LC_MESSAGES (ie /usr/share/locale/fr/LC_MESSAGES/LC_MESSAGES).

However, if I change the name of existing directory (or delete the directory) /usr/share/locale/fr/LC_MESSAGES, the link is automatic.

Have you an idea about the little trick to add?

Cordialement ;)
If the specified directory already exists, you need to link the files within to that specified directory instead. Again, I am not sure how to deal with locale, so I cannot help you with setting the default language. Also keep in mind, to add a line at the end of the script to remove whatever files or directories you placed in... use rm ${PathAndFilename} for files and rmdir ${PathAndDirectory} for directories.

PupGeek
Posts: 353
Joined: Sun 06 Sep 2009, 11:30

#39 Post by PupGeek »

If anyone has either repaired one of my roxapps or has created their own, please feel free to share it. I uploaded these to bring awareness to a way of packaging new apps that, when perfected, are easy to use and keep the file system clean. They do not require unioning with your filesystem like .sfs modules and they do not require installation to your system directories (for the most part at least).

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#40 Post by seaside »

esmourguit wrote:Bonjour à tous,
Here is the line i included in the AppRun file for Gimp :

Code: Select all

ln -s $APPDIR/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES
But as there is already a directory /usr/share/locale/fr/LC_MESSAGES, the link with the LC_MESSAGES folder in the file sfs does not work : in fact, the result is that there is a link to LC_MESSAGES in the directory /usr/share/locale/fr/LC_MESSAGES (ie /usr/share/locale/fr/LC_MESSAGES/LC_MESSAGES).

However, if I change the name of existing directory (or delete the directory) /usr/share/locale/fr/LC_MESSAGES, the link is automatic.

Have you an idea about the little trick to add?

Cordialement ;)
One way could be to rename the directory temporarily and then restore it like this -

Before this line-

Code: Select all

ln -s $APPDIR/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES
add this line-

Code: Select all

 mv  /usr/share/locale/fr/LC_MESSAGES  tmp 
At the end of the script on last line restore that directory-

Code: Select all

 mv tmp /usr/share/locale/fr/LC_MESSAGES 
Hope that works :D

Cheers,
s

PupGeek
Posts: 353
Joined: Sun 06 Sep 2009, 11:30

#41 Post by PupGeek »

Dayam, this puppy 4.3 is not too friendly.... it should have been called puppy 5.0, as the kernel version requires squashfs 4.x and will not use older versions. Maybe a puppy 4.3 with a retro kernel would be a good idea. I am working on the Kdenlive app and its a real pain...... I could swear it worked on the puppy 4.2 original without a problem. With 4.3, it needs an updated ffmpeg and all kinds of crap..... Also it seems that the mlt package needs to be installed for it to work, but Im still getting crashes because of libdc1394_control (actually the lack thereof). If anybody beats me to the punch, please feel free to upload your version..... Its this kind of community support on which Linux thrives.

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#42 Post by abushcrafter »

auto forgive :)

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#43 Post by Dingo »

PupGeek wrote:Dayam, this puppy 4.3 is not too friendly....
Version 4.3.1 with retro kernel is available (I think you may already know)

http://puppylover.netsons.org/dokupuppy/
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

PupGeek
Posts: 353
Joined: Sun 06 Sep 2009, 11:30

#44 Post by PupGeek »

actually i didnt know dingo but thanks. I'll have to check it out.

Anyways, I will try and get this Kdenlive working for 4.3. Tried GIMP and it seems to work perfectly after converting the sfs.

Peterm321
Posts: 411
Joined: Thu 29 Jan 2009, 14:09
Location: UK

#45 Post by Peterm321 »

Dayam, this puppy 4.3 is not too friendly.... it should have been called puppy 5.0, as the kernel version requires squashfs 4.x and will not use older versions. Maybe a puppy 4.3 with a retro kernel would be a good idea.
Its a pity that the squashfs kernel object driver was not backwards compatible however DPUP and maybe others have a program called
unsquashfs_v3.3 which can unpack previous version SFS files.

PupGeek
Posts: 353
Joined: Sun 06 Sep 2009, 11:30

#46 Post by PupGeek »

Peter, Puppy 4.3 has a .sfs converter to convert older squashfs files to the newer version. My biggest moan is how many libraries and dependencies are not present in 4.3 that were in 4.2. But in 4.3's defense, it does have the faad package for decoding mp4 files that 4.2 doesn't have by default.

User avatar
ravensrest
Posts: 365
Joined: Fri 22 Feb 2008, 16:43
Location: Grants Pass, Oregon

#47 Post by ravensrest »

I first tried running both kdenlive and avidemux under puppy 4.0. Neither would run. I then tried running both kdenlive and avidemux under puppy 4.1.2 (mediapup). Avidemux worked great. Kdenlive started and then disappeared after a few seconds. I then renamed both kdenlive.roxfs and avidemux.roxfs (roxfs -- > sfs) and converted them using the sfs3 to sfs4 converter in Puppy 4.3.1 and then renamed the sfs back to roxfs. Neither would run under Puppy 4.3.1.

I subsequently expanded and saved the avidemux directory structure in 4.1.2 and then created a new squashed file in 4.3.1 from it and loaded it into 4.3.1 at boot time. Then ran avidemux2_gtk from rxvt and discovered there a dependencies (libxcbxxxx for some) missing from 4.3.1 that are present in 4.1.2

If someone can tell me all the dependencies, I will hunt them up and produce a working sfs for 4.3.1.

Meanwhile, ny chance of you uploading versions set to go under 4.3.1?

BS

User avatar
ravensrest
Posts: 365
Joined: Fri 22 Feb 2008, 16:43
Location: Grants Pass, Oregon

#48 Post by ravensrest »

I now have a roxapp that runs avidemux in Puppy 4.3.1, but it is too large to post here.

Mu, PupGeek if you would like to add it to your collection of downloads, please let me know and I shall be happy to send it to you.

In the meantime, if anyone else wants it, send me an email.

BS

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

Just thanks

#49 Post by mimeini »

I just want to thank for this apps. Especially kdenlive but actually the whole concept it is very clean and can i say beautiful.. yes i think so.

Cheers
Mikkel

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

Just thanks

#50 Post by mimeini »

sorry postet two times. Don't think I can remove this again???

Post Reply