The time now is Mon 23 Apr 2018, 23:26
All times are UTC - 4 |
Author |
Message |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
Posted: Tue 22 Dec 2009, 04:53 Post subject:
|
|
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,
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1438 Location: England
|
Posted: Tue 22 Dec 2009, 09:15 Post subject:
|
|
Here is the deb I used to get Kdenlive working.
http://ftp.aarnet.edu.au/debian/pool/main/f/ffmpeg/
http://ftp.aarnet.edu.au/debian/pool/main/f/ffmpeg/libswscale0_0.5+svn20090706-2+b1_i386.deb
Last edited by abushcrafter on Tue 22 Dec 2009, 18:33; edited 1 time in total
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Tue 22 Dec 2009, 17:37 Post subject:
|
|
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: | 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: | 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: | rm /usr/share/gimp
rm /usr/share/gimp-lqr-plugin
rm /usr/share/gimp-texturize
rm /etc/gimp |
add this line-
Code: | rm /to/wherever/they/should/go |
Good Luck,
s
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Wed 23 Dec 2009, 14:05 Post subject:
|
|
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.
|
Back to top
|
|
 |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
Posted: Thu 24 Dec 2009, 05:57 Post subject:
|
|
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.
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1438 Location: England
|
Posted: Thu 24 Dec 2009, 08:39 Post subject:
|
|
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
|
Back to top
|
|
 |
esmourguit

Joined: 17 Nov 2006 Posts: 1393 Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie
|
Posted: Thu 24 Dec 2009, 10:59 Post subject:
|
|
Bonjour à tous,
Here is the line i included in the AppRun file for Gimp :
Code: | 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
_________________ Toutou Linux - Pets francisés
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Thu 24 Dec 2009, 13:38 Post subject:
|
|
esmourguit wrote: | Bonjour à tous,
Here is the line i included in the AppRun file for Gimp :
Code: | 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.
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Thu 24 Dec 2009, 13:45 Post subject:
Subject description: If anyone has repaired any of my apps or created their own |
|
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).
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Thu 24 Dec 2009, 14:16 Post subject:
|
|
esmourguit wrote: | Bonjour à tous,
Here is the line i included in the AppRun file for Gimp :
Code: | 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: | ln -s $APPDIR/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES
|
add this line-
Code: | mv /usr/share/locale/fr/LC_MESSAGES tmp |
At the end of the script on last line restore that directory-
Code: | mv tmp /usr/share/locale/fr/LC_MESSAGES |
Hope that works
Cheers,
s
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Fri 25 Dec 2009, 16:35 Post subject:
|
|
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.
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1438 Location: England
|
Posted: Fri 25 Dec 2009, 16:43 Post subject:
|
|
auto forgive
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1434 Location: somewhere at the end of rainbow...
|
Posted: Sat 26 Dec 2009, 10:02 Post subject:
|
|
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
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Sat 26 Dec 2009, 12:57 Post subject:
|
|
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.
|
Back to top
|
|
 |
Peterm321
Joined: 29 Jan 2009 Posts: 386
|
Posted: Sun 27 Dec 2009, 00:39 Post subject:
|
|
Quote: | 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.
|
Back to top
|
|
 |
|
|
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
|