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 16 Nov 2018, 02:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
PaDS 1.1.4 - updated version of 1.0.4
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 4 [59 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Fri 20 Jul 2018, 12:03    Post subject:  

musher0 wrote:
Plus when one transforms libraries form deb archives, the /usr/lib/package/*.pc file is missing.

Checked multiple different Puppies and its devx files.

None of them included a directory /usr/lib/package.

However, directories like /usr aren't touched in any manner, so everything from a .deb file should appear inside the new created .sfs. I don't think there are extraction tools used, that will exclude stuff in /usr on extraction like it is done with /DEBIAN/control.

The /usr/bin/undeb definitely doesn't.

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

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

PostPosted: Fri 20 Jul 2018, 12:36    Post subject:  

Hi *RSH.

That is when one wishes to compile an app that needs a library, and that
library needs to be identified with such a *.pc file during the compilation
process.

Probably it is not needed in your context of building an sfs with already
compiled applications. It would be nice to have, though, since it would
perhaps, eventually, save some developer "a trip" to pkgs.org just to get
this little file! Wink
Quote:
(These *.pc files are like index cards for libraries. They have no function
in themselves, they are not executable. They only describe the library a
little bit, what it does and what other library it may need. Some have just
a couple of lines. Some are longer.

Their only value is to be there, in the /usr/lib/package directory, when the
compilation process for an executable looks for them.

The funny thing is, I should say: "the frustrating thing is", the compiler is
lazy. The library can very well be in the Puppy, but if this little index card
is not there, the compiler says: "no-no, that library is not there" -- when it
may actually be there. The compiler does not look for the lib, it looks for
this "index card".

Now these "index cards" need to be in a special format. One cannot just
write anything in a text file and put the required file name on it.)

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Fri 20 Jul 2018, 13:12    Post subject:  

Ok, I see. Thanks.

In the end -at least to me- that means this stuff should go into the devx or any devx-extension .sfs, since the devx is needed for compiling.

PaDS is not intended to create devx .sfs modules or even .sfs modules needed for compiling or related to compiling.

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

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

PostPosted: Fri 20 Jul 2018, 16:39    Post subject:  

ITSMERSH wrote:
Ok, I see. Thanks.

In the end -at least to me- that means this stuff should go into the devx or any devx-extension .sfs, since the devx is needed for compiling.
(...)

That is a brilliant idea !!! It would save Puppy developers a lot of grief.
I hope one of the Superior Powers at Woof-CE is listening !!! Smile

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1161
Location: Chatswood, NSW

PostPosted: Tue 31 Jul 2018, 20:48    Post subject: Combining 64-bit SFS?  

G'tag RSH,

I'm slowly setting up some 64-bit Frugal Pups and want to use a combined 64-bit sfs to boot-load my applications, profiles, etc. so each new 64-bit Pup uses the same single sfs.

In 32-bit, I have the SFS-Combiner from MU but this excellent but old combiner doesn't run in 64-bit Pups. So I've been looking around for a new combiner.

PaDS-1.1.3 reads to me that it can merge SFS so I'm hoping to replace the old combiner with your package that will run in both 32 and 64 bit.

In a 32-bit Pup (on sda1), PaDS stalled when I tried to select files to add/use in my data directory on my sdb3 data partition (where I archive my 64-bit sfs - my 64-bit Pups are all on sdb6).
I could select a directory on sdb3 to use to put the new sfs but could not get past the sdb3 root to reach the directory with the sfs to merge - these were greyed out (screenshot).

I did a quick test in a 64-bit Pup and PaDS113 complained of a missing file or something but going past that, still gave a greyed out add-file option.

Am I wrong in trying to use PaDS to combine sfs files?
If so, can you suggest a package that will do this in both 32-bit and 64-bit Pups?
If not, am I doing something wrong in trying to select-to-add files in a different partition?

Thanks for any help or ideas.

David S.
PaDS113-starting.jpg
 Description   PaDS113 starts OK in a 32-bit Pup and can choose sdb3 to store the newly merged file
 Filesize   83.03 KB
 Viewed   177 Time(s)

PaDS113-starting.jpg

PaDS113-stalled.jpg
 Description   trying to add files in a sub-directory on sdb3 but it is greyed?
 Filesize   64.39 KB
 Viewed   177 Time(s)

PaDS113-stalled.jpg

Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Wed 01 Aug 2018, 07:54    Post subject:  

Hi David.

What's the 32bit / 64bit Puppies you've been using on that?

Edit:

What's the versions of gtkdialog in these Puppies?

_________________
RSH

Last edited by ITSMERSH on Wed 01 Aug 2018, 15:53; edited 1 time in total
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2777
Location: 500 seconds from Sol

PostPosted: Wed 01 Aug 2018, 09:14    Post subject:  

Hi davids45,

Being able to use SFSes as sources for creating a combined SFS was the first addition ITSMERSH made to the previously published PaDS. I was certain that while testing I was able to choose a working directory on a partition OTHER THAN the partition on which the Puppy running PaDS was located, But I double-checked.

Although the screenshot doesn't show it, I'm running PaDS under Xenialpup64 which is on sda4. Before running PaDS, xdotool was installed, and sdb1 was mounted. To reach the Temp1 folder on sdb1, I clicked the folder icon below the Title "Choose working directory..." then starting on the Left-most pane selected Filesystem> then from the middle pane successively mnt>sdb1>Temp1.

None of the folders on sdb1 had been greyed out. Assuming you followed steps like the above, something else must be interfering with PaDS' ability. A permission problem?

mikesLr
SelectionUnderPaDS.png
 Description   Selecting a Working Directory
 Filesize   114.6 KB
 Viewed   140 Time(s)

SelectionUnderPaDS.png

Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Wed 01 Aug 2018, 17:49    Post subject:  

Suddenly I can recall entering that issue described by davids45 exactly one time while developing the new version of PaDS. Though, it was gone after I added '*.*' being the default filter for files.

There's a good chance just changing that filter to 'All Files' will enable the directories and files to be entered/selected.

_________________
RSH
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1161
Location: Chatswood, NSW

PostPosted: Wed 01 Aug 2018, 19:40    Post subject: Merging sfs in 64-bit Pups
Subject description: And 32-bits too
 

G'day mikeslr and G'tag RSH,

Thanks for your replies Smile .

Mike,
If I've quickly read your post correctly, it was the next step where I went 'grey' - I could pick the working directory but not then select sfs files to add to do the merge.

RSH,
I'll see if I can find the filter that you noted may need an edit.
Unfortunately, it will probably be a 'boy look' so I fear I'll miss it for being too easy to see, like pairs of socks in my sock drawer Embarassed .

I'll report back on the Pups I try in response to your earlier reply-post to help sort out my problem if needed.

David S.
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Wed 01 Aug 2018, 19:53    Post subject:  

File /usr/local/pd2sfsgui/petsNdebs2sfsgui, Line 326.

Quote:
I could pick the working directory but not then select sfs files to add to do the merge.

I think there's something wrong.

The working directory is different to the directory from where to add files (.deb, .sfs etc.).

If you want to select files to be added into the new .sfs you just choose a directory and exit the file selector by Ok. All files from this directory will be present then in the left frame of files.

From that frame you will select the files that should go to the right frame of files (or mid frame as mikeslr called it) by clicking the Add button after all files are selected/chosen.

Hope that helps somehow (my bad English, sorry)

_________________
RSH

Last edited by ITSMERSH on Wed 01 Aug 2018, 21:28; edited 2 times in total
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Wed 01 Aug 2018, 21:27    Post subject:  

Quote:
There's a good chance just changing that filter to 'All Files' will enable the directories and files to be entered/selected.

This was meant to NOT to change it to 'All Files' within the code, but to change it in the file selector. Sorry, if there was any misunderstanding.

_________________
RSH
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1161
Location: Chatswood, NSW

PostPosted: Wed 01 Aug 2018, 22:00    Post subject:  

G'tag RSH,

Thank you for the instant replies Shocked .

Here is my line 326 in the script you noted:

Quote:
<action>my_RSH_gtk_fileselect_workaround "Load" "$(cat /tmp/my_return_file_containing_the_results.txt)" "*.*|*.deb|*.pet|*.tar.gz|*.sfs|*.txz|*.tazpkg" "directory" "/tmp/my_return_file_containing_the_results.txt"</action>


With the PaDS pet I'd downloaded, I tried again in a Stretch7.5-k3.16.45 (same result as yesterday) and now in a Bionicpup-18.05-k4.9.96 (both frugal Pups on sda1).
In Bionic just now, I was prompted to install the tools debs on first running PaDS and did this (2 .debs installed).

I ran PaDS (second screenshot), but again, in the 'Add files...' step, I could not select a sub-directory in sdb3 - I tried to double-click on the Puppy_Archive sub-directory of sdb3 (first screenshot) but nothing happened.

The sfs files I want to merge into one sfs are several more sub-directories down in my Puppy_Archive on sdb3.

I could try again by moving these sfs to a /root location in a Pup to see if that is a work-around?
The sfs are all quite small as they are all made of symlinks so I can run these programs in new Pups on my frugal partitions while having the full-sized programs on my large data partitions.
This is working well with my many 32-bit Pups but I lack a sfs-combiner in the 64-bit Pups. I can combine the 64-bit sfs with the 32-bit combiner in a 32-bit Pup then drop the resulting sfs into the 64-bit Pup partition's root but I was hoping to find a tidier method using just the 64-bit Pups for the merging/combining.

Thanks again for your help and patience.

And your English is much better than my hochschule Deutsch (one year, about 50 years ago!).

David S.
select-subdirectory-in-sdb3-fail.jpg
 Description   clicking on PuppyArchive sub-directory doesn't open this sub-directory
 Filesize   80.35 KB
 Viewed   86 Time(s)

select-subdirectory-in-sdb3-fail.jpg

pads113-bionic-start.jpg
 Description   starting PaDS in a BionicPup
 Filesize   127.38 KB
 Viewed   86 Time(s)

pads113-bionic-start.jpg

Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Wed 01 Aug 2018, 22:48    Post subject:  

Ok,

for my N.E.M.E.S.I.S. developments I have permanently installed Bionic Pup 18.05. So I booted into that Puppy, installed PaDS 1.1.3 and could reproduce the issue.

Seems to be caused by newer version of gtkdialog, as it works well in Puppies pre Bionic Pup (Tahr, Xenial).

Now there's two ways to solve this for some period until I will be able to upload a updated version.

1. When choosing the directory to select .sfs (or any other) files, just click the butten on the lower right corner and select 'All Files'. Change the location in that file selector once (to /root/ for example) and then back to the file system.

All directories shold now allow to be entered.

2. Change the code in file /usr/local/pd2sfsgui/petsNdebs2sfsgui at line 326 from:
Code:
"*.*|*.deb|*.pet|*.tar.gz|*.sfs|*.txz|*.tazpkg"

to:
Code:
""

Yes, only keeping the double-quotes with no spaces within !!! Exclamation
Screenshot.jpg
 Description   
 Filesize   94.9 KB
 Viewed   83 Time(s)

Screenshot.jpg


_________________
RSH
Back to top
View user's profile Send private message 
ITSMERSH


Joined: 02 May 2018
Posts: 456

PostPosted: Thu 02 Aug 2018, 13:43    Post subject:  

Any results?
_________________
RSH
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1161
Location: Chatswood, NSW

PostPosted: Thu 02 Aug 2018, 20:00    Post subject: A few quick tests yesterday  

G'tag RSH,

I've tried PaDS in a few 32-bit and 64-bit Pups with little success. Firstly as a pet (+.debs), but then I tried to make an sfs of Pads and the two extra deb packages so I could easily unload it from a Pup if PaDS did not run as hoped. I have a PaDS sfs with the 32-bit debs and another with the 64bit/amd debs.

Test results
No slacko-based pup (2) got past selecting the working directory; the Pup freezes with a gtk panel appearing on the task bar. The extra files needed for the gui being .deb files may have been part of this failing?

A Stretch Pup also stopped at the selecting the 'Load' directory that has the sfs to merge = the original problem I had.

A Bionic 32-bit and 64-bit Pup did not work, freezing the Pup or stopping at the 'Load'.

But I found a Xenial Pup (xenial75-k4.4.95) was good and I made a combined sfs as I had hoped Very Happy Very Happy .
I haven't tried my all-in-one PaDS sfs in this Pup to check my sfs is OK - I'll delete the pet files and re-do this test with the sfs.

Other thoughts
I was wondering if Muppy-Filer (which I install (sfs) in every 32-bit Pup as it is such a useful little program) is conflicting in someway with PaDS?
I manually deleted PaDS in one Pup (via the .packages files list), including deleting a couple of 2012-dated lib files (which seemed a bit old?) and later found Muppy-Filer had stopped running.
So I thought of a possible conflict if these lib files were part of Muppy-Filer as well as PaDS?

Is there a quick way to find the gtk version in a Pup - you did say this could be important?

I apologise that my testing has been very brief and a bit random so far, but with your extra feedback (your last post suggestions), I will try to be a bit organised from now on Embarassed .

I will concentrate on my 64-bit Pups as these do not have a sfs-combiner as far as I know and do not have Muppy-Filer.

Thanks again.

David S.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 4 [59 Posts]   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) » 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.0757s ][ Queries: 12 (0.0174s) ][ GZIP on ]