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 Tue 21 Oct 2014, 13:22
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Menu | Setup | Setup Puppy | Check dependencies installed pk
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
lcb

Joined: 08 Jan 2012
Posts: 3

PostPosted: Mon 09 Jan 2012, 12:52    Post_subject:  Menu | Setup | Setup Puppy | Check dependencies installed pk
Sub_title: Oversizes/surpasses display; More than 1 package selection by default
 

1 - Dialog does not render to fit graphics resolution, going beyond right side screen edge.

2 - The engine defaults the first option on the left column when there is more than one column of packages installed even if any package on the next column is selected (becoming two selected packages and not mapping/recognizing the intended package to check)

[Resolution specs on the testing situation:
HDisplay 1024: HSyncStart 1048, HSyncEnd 1184, HTotal 1344
VDisplay 768, VSyncStart 771, VSyncEnd 777, VTotal 806 ]
Xorg 1.9.5
VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440]

Slacko Puppy 5.3.1 - Frugal installation on HD
Kernel : Linux 2.6.37.6 (i686)
Compiled : #1 SMP Sun Jul 10 08:27:28 EST 2011
C Library : GNU C Library version 2.13 (stable)

Regards

[Update]
(a) After removing Midori and a couple dependencies I noticed - although still having 2 columns and still being marked by default the first item on the left column (tvtime) - the engine recognized the item checked on the right - Unetbootin). It seems to me the issue of not being recognized on the right only arises after a certain number of installed packages. [screenshot 2 attached]
(b) After re-installing Iron 16.0.950.0-slacko over installed same version to correct some dependencies I noticed the previous installation still remained on the list of installed apps (so, being 2 exact same apps in the list)
(c) After this Iron installation, again, selecting any item on the right column is not recognized), being checked for dependencies the item from the left.[screenshot 3 attached]
---
(d) On a non related matter (sorry, but only avoiding creating another post and because is not so important), Putty-0.61 does not create any menu entry.

/ Mods pls move this to Slacko Puppy 5.3.1 feedback and bug reports, for some reason I didn't post on the correct thread /
DependenciesEngineFullSnapshot3.png
Description  DependenciesEngineFullSnapshot-3
png

 Download 
Filename  DependenciesEngineFullSnapshot3.png 
Filesize  107.61 KB 
Downloaded  273 Time(s) 
DependenciesEngineFullSnapshot2.png
Description  DependenciesEngineFullSnapshot-2
png

 Download 
Filename  DependenciesEngineFullSnapshot2.png 
Filesize  107.62 KB 
Downloaded  272 Time(s) 
DependenciesEngineFullSnapshot.png
Description  DependenciesEngineFullSnapshot
png

 Download 
Filename  DependenciesEngineFullSnapshot.png 
Filesize  111.98 KB 
Downloaded  250 Time(s) 

Edited_time_total
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 09 Jan 2012, 13:23    Post_subject:  

Quote:
1 - Dialog does not render to fit graphics resolution, going beyond right side screen edge.

I have seen this earlier more than one time. I have seen this also going beyond horizontal screen edges.

I think it is gtkdialog. When it "builds" the gui the outer size seems to be set depending on the size and count of inner objects - without "having an eye" of the screen size (resolution).

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Sat 14 Jan 2012, 00:15    Post_subject:  

lcb wrote:
1 - Dialog does not render to fit graphics resolution, going beyond right side screen edge.

2 - The engine defaults the first option on the left column when there is more than one column of packages installed even if any package on the next column is selected (becoming two selected packages and not mapping/recognizing the intended package to check)

I am attaching a couple of versions of the "Check dependencies installed pkg" utility (a.k.a. check_deps.sh) for testing. Either of these should eliminate the two problems you are experiencing, as well as a couple of other problems.

The reason that I made two versions is because there are (at least) a couple of different flavors of this utility. I run the original flavor that came with Racy-5.2.2. You probably are running the internationalized flavor that comes with Slacko 5.3.1.

[UPDATE, 2012-Feb-21:
The "internationalized flavor" mentioned in this post does not refer to the newly internationalized version currently in woof2 (which didn't yet exist when I wrote this post), but to the i18n scripts version internationalized by L18L, rodin.s, and shinobar at the end of 2010, and updated through 2011-11-30. For a version of these proposed fixes based on the current internationalized version in woof2 and Racy 5.2.2.7, see my post dated 2012-Feb-21, further down this thread.]


The other two problems that I hope I have fixed:

3. Package names with underscores in them were not supported. For instance, checking a package named "openssh_client-4.7p1" would attempt to check a package named "openssh" instead. If no package with that name existed, no missing libraries would be reported.

4. If ldd reports a library missing, check_deps.sh looks for it by name to see if it lives somewhere where ldd cannot find it. If found it reports "These needed libraries exist but are not in the library search path." So far, so good. (See Barry's explanation at http://bkhome.org/blog/?viewDetailed=01778.) But if the name is a symlink and the actual library that the symlink points at is missing, check_deps.sh was fooled into reporting that the library exists.

Preliminary testing indicates that these both work in Racy 5.2.2. (For the internationalized version, the internationalized petget pet has to be installed on Racy first. It can be found in the Slacko repository at http://distro.ibiblio.org/puppylinux/pet_packages-slacko/petget-20111130.pet. )

Note that check_deps-slacko531-20120112.sh must be copied to /usr/local/petget/, as it needs to be run from that directory.

I have not tested in Slacko yet, so I hope that some folks who have Slacko will please give these a try and report the results. Of course I welcome feedback from testing on any recent Puppy.

So far the only drawback that I have seen is that the keyboard support for the GTK list widget is poor (or maybe I've not implemented it correctly). When you use the keyboard to select an item below the bottom or above the top of the window, the list does not automatically scroll -- it needs to be done manually with the Ctrl and arrow keys (or the mouse). But it works fine with the mouse.

check_deps-racy522-20120112.sh.gz is based on the version dated 2011-07-06 07:34 UTC, which comes with Racy 5.2.2 (and is still current in Woof2).

check_deps-slacko531-20120112.sh.gz is based on the internationalized version dated 2011-11-30 12:09 UTC, which I grabbed from the Slacko repository.

[UPDATE, 2012-Feb-21:
For new version based on current version in woof2, see my post dated 2012-Feb-21, further down this thread.]


[EDITED 2011-Jan-17 to provide link to repository and instructions to copy check_deps-slacko531-20120112.sh to /usr/local/petget/.]

[EDITED 2012-Feb-21 to add today's two green updates.]
check_deps-racy522-20120112.sh.gz
Description  Based on Racy's check_deps.sh
gz

 Download 
Filename  check_deps-racy522-20120112.sh.gz 
Filesize  3.52 KB 
Downloaded  180 Time(s) 
check_deps-slacko531-20120112.sh.gz
Description  Based on Slacko's check_deps.sh
gz

 Download 
Filename  check_deps-slacko531-20120112.sh.gz 
Filesize  3.79 KB 
Downloaded  195 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
lcb

Joined: 08 Jan 2012
Posts: 3

PostPosted: Sun 15 Jan 2012, 18:51    Post_subject:  

Hi npierce,

thanks for looking at this matter.

check_deps-racy522-20120112.sh.gz works, it's functional although different interface, as expected. I didn't notice yet any false dependencies or not checking for the correct package dependencies - So, does the job as it should.

check_deps-slacko531-20120112.sh.gz has some glitches...
" ./check_deps.sh: line 17: ./i18n_head: No such file or directory "
line 17: source "$APPDIR/i18n_head"

Around line 212 there is a syntax error somewhere - the code is not recognizable after that line.

Thank you very much.
Back to top
View user's profile Send_private_message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Tue 17 Jan 2012, 00:50    Post_subject:  

Hi lcb,

Thanks for testing these.

I am glad to hear that the Racy version worked for you.

lcb wrote:
check_deps-slacko531-20120112.sh.gz has some glitches...
" ./check_deps.sh: line 17: ./i18n_head: No such file or directory "
line 17: source "$APPDIR/i18n_head"

Whoops. I hadn't noticed that the script used its own directory as the source for other scripts. I should have provided instructions to put the file in the /usr/local/petget/ directory, which is where check_deps.sh normally lives. If you have the internationalized flavor of petget, i18n_head also lives in that directory.

If you don't have the internationalized flavor, it can be found in the Slacko repository at http://distro.ibiblio.org/puppylinux/pet_packages-slacko/petget-20111130.pet. (I am assuming that you already have it if you are running Slacko.)

I'll edit my previous post to add these instructions.

After moving the file, it should work for you. Please let me know if it doesn't.

Thanks again for taking the time to test these and reporting your results.

npierce
Back to top
View user's profile Send_private_message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Tue 21 Feb 2012, 15:09    Post_subject:  

Here is an updated check_deps.sh with the same proposed fixes as in the files that I posted in January.

This is based on the version currently in woof2 and Racy 5.2.2.7. I've also attached a diff.
check_deps-racy5227-20120221.sh.gz
Description  Based on Racy 5.2.2.7 check_deps.sh
gz

 Download 
Filename  check_deps-racy5227-20120221.sh.gz 
Filesize  3.64 KB 
Downloaded  182 Time(s) 
check_deps-racy5227-20120221.sh.diff.gz
Description  diff -u for Racy 5.2.2.7 check_deps.sh and above file
gz

 Download 
Filename  check_deps-racy5227-20120221.sh.diff.gz 
Filesize  1.48 KB 
Downloaded  165 Time(s) 
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Tue 21 Feb 2012, 20:43    Post_subject:  

npierce,
Thanks for this, now in Woof:
http://bkhome.org/blog/?viewDetailed=02710

_________________
http://bkhome.org/news/
Back to top
View user's profile Send_private_message Visit_website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Fri 24 Feb 2012, 13:33    Post_subject:  

You're welcome. Thanks for adding it to Woof.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
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.0783s ][ Queries: 13 (0.0056s) ][ GZIP on ]