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 Thu 02 Oct 2014, 05:01
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Hassle-Free Roxapps
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: 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, Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: 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, Wink


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
View user's profile Send_private_message 
PupGeek

Joined: 06 Sep 2009
Posts: 388

PostPosted: 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
View user's profile Send_private_message 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: 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. Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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
View user's profile Send_private_message Visit_website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: 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 Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send_private_message 
PupGeek

Joined: 06 Sep 2009
Posts: 388

PostPosted: 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 Wink


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
View user's profile Send_private_message 
PupGeek

Joined: 06 Sep 2009
Posts: 388

PostPosted: Thu 24 Dec 2009, 13:45    Post_subject:
Sub_title: 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
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: 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 Wink


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 Very Happy

Cheers,
s
Back to top
View user's profile Send_private_message 
PupGeek

Joined: 06 Sep 2009
Posts: 388

PostPosted: 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
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Fri 25 Dec 2009, 16:43    Post_subject:  

auto forgive Smile
Back to top
View user's profile Send_private_message Visit_website 
Dingo


Joined: 11 Dec 2007
Posts: 1419
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send_private_message Visit_website 
PupGeek

Joined: 06 Sep 2009
Posts: 388

PostPosted: 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
View user's profile Send_private_message 
Peterm321

Joined: 29 Jan 2009
Posts: 232

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1032s ][ Queries: 12 (0.0066s) ][ GZIP on ]