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 Fri 01 Aug 2014, 23:02
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Extract-pet 1.7 - localised
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Mon 17 Dec 2012, 17:21    Post subject:  Extract-pet 1.7 - localised  

Extract-pet 1.7 - localised

Purpose: a simple right-click on pet package to extract all
files with their paths preserved. The original
file remains untouched. Cool

Requirements for v1.7: Rox Filer or Thunar file manager.
Tested on Carolina and PreciseNOP which use Thunar.


Warning: When destination of extraction is a FAT32 drive -->
certain characters in filename aren't allowed. This can
cause potential problems!!! In particular I have found the colon
character to be a problem on files stored on USB sticks. You will
get a strange,confusing warning message.


I have improved Tazoc's script to give an additional
place to store the extracted folder and localised
the app.

It uses a combination of yaf-splash and Xdialog messages.

Extract-pet.pot.gz
Description  pot file for translators to fill and send back
gz

 Download 
Filename  Extract-pet.pot.gz 
Filesize  2.11 KB 
Downloaded  264 Time(s) 
Extract-pet_NLS-1.7.pet
Description  foreign locales -French and German
pet

 Download 
Filename  Extract-pet_NLS-1.7.pet 
Filesize  2.03 KB 
Downloaded  500 Time(s) 
Extract-pet-1.7.pet
Description  application to install
pet

 Download 
Filename  Extract-pet-1.7.pet 
Filesize  2.94 KB 
Downloaded  708 Time(s) 

Last edited by don570 on Sat 16 Mar 2013, 15:26; edited 8 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Thu 20 Dec 2012, 21:34    Post subject:  

I noticed that this app won't work if pet package has white space
in file name. It's not a simple matter of quoting variables.

I'll continue to work on this over the weekend.

_____________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Sat 29 Dec 2012, 17:08    Post subject:  

new version 1.4

I've been concentrating on getting my extraction programs to work correctly
even when the packages have whitespace in their name. This happens
(albeit rarely) when the Windows downloader finds a similar file
stored on your hard disk so it makes a name change automatically
during the download. The file isn't corrupted at all . It's just that the
filename now has a space . An example --->

Code:
bash_advanced_guide-6.6e (1).pet


Fixed in version 1.4 extract-pet

_____________________________________________

I discovered that extractions shouldn't be done to
a Fat32 drive such as a USB stick. That's because Fat32 doesn't
support the colon character in filenames whereas linux does.
This could cause potential problems, so the general rule
should be DON"T DO EXTRACTION TO FAT32

_______________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Sat 29 Dec 2012, 17:24    Post subject:  

Here's another example of how Windows changes the filename of
a pet package, resulting in whitespace in the downloaded file



____________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Mon 31 Dec 2012, 13:12    Post subject:  

New version 1.5

-I've worked on the warning messages.

-I've found that problems with extracting on a Fat32 drive are rare
except for scripts that I have written!! That's because I use
a colon character for localization files i.e. fr:french or de:german

_______________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Mon 14 Jan 2013, 19:32    Post subject: new version 1.6  

new version 1.6

- I have included LOC304 and LOC305. I was working too fast and
left them out Embarassed

These locales will warn people about extracting on a FAT32 USB stick.
I have read on internet that not only some text characters won't
translate proplerly but also links have a problem with FAT32.

___________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Sat 16 Mar 2013, 15:02    Post subject: version 1.7  

version 1.7

Conversion to gettext localization and compatibility to
Thunar file manager. Tested on Carolina and PreciseNOP
which use Thunar.

There are French and German translations available.
I include the pot file which anyone can fill in translations to
their native language and send back to me.
Remove fake .gz extension to obtain pot file.

I can quickly make a mo file, which is placed in NLS file.



.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1571

PostPosted: Wed 20 Mar 2013, 16:07    Post subject:  

Out of curiosity: what /root/.config/pclock/orangebox.rc is doing in Extract-pet-1.7.pet ?
_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Thu 11 Apr 2013, 14:00    Post subject:  

I am putting it consistently in my pet packages now so that
I get a yellow color when Xdialog is launched

I decided to switch from orange to yellow. It looks better.

Other programmers can use it if they want.
Just keep it in the same location and same name.

_______________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0699s ][ Queries: 13 (0.0119s) ][ GZIP on ]