Puppy Package Manager - check dependancies via menus problem
Puppy Package Manager - check dependancies via menus problem
Hi, decided to do some additions to my 4.3.1
also decided I should check their dependancies
dependancies screen came up
but my new packages didn't show, they were off the page bottom
was about to put it into the 4.3.1 problems topic, but
I went back to my 3.0.1 and added a "few" extras, same result.
It looks like there is no scroll bar inbuilt in either version
haven't checked my lupi207 yet (it's already got a showstopper problem for me) but I suspect it may also has the same problem.
could one of the programmers (or barry:-) have a look please and see what can be done
thanks
scsijon
also decided I should check their dependancies
dependancies screen came up
but my new packages didn't show, they were off the page bottom
was about to put it into the 4.3.1 problems topic, but
I went back to my 3.0.1 and added a "few" extras, same result.
It looks like there is no scroll bar inbuilt in either version
haven't checked my lupi207 yet (it's already got a showstopper problem for me) but I suspect it may also has the same problem.
could one of the programmers (or barry:-) have a look please and see what can be done
thanks
scsijon
Last edited by scsijon on Tue 06 Jul 2010, 00:47, edited 1 time in total.
Hope this helps (screen set to 1024x768)
Menu
Setup
Check dependencies installed pkg
can't see all packages installed (can see first 28 of my 43 installed packages)
go full screen with top right button and still can't see all installed packages with no way of seeing the rest.
regards
scsijon
4.3.1 (your cd)
Menu
Setup
Check dependencies installed pkg
can't see all packages installed (can see first 28 of my 43 installed packages)
go full screen with top right button and still can't see all installed packages with no way of seeing the rest.
regards
scsijon
4.3.1 (your cd)
Check dependencies installed pkg:BarryK wrote:I am afraid that there is not enough detail to describe this problem.
In Puppy 4.3.1 and later, PPM shows dependencies in tabbed windows, so can show many dependencies, a scroll bar is not required.
I get the same thing as scsijon.
Hope this helps (screen set to 1024x768)
Menu
Setup
Check dependencies installed pkg
can't see all packages installed (can see first 28 of my 43 installed packages)
go full screen with top right button and still can't see all installed packages with no way of seeing the rest.
- Attachments
-
- screen1.jpg
- (177.68 KiB) Downloaded 1110 times
Hi everyone. Checking through forum for answers and found my question. I have the same issue as mentioned, the "Check dependencies" from the Menu generates a list which overscans the screen at the bottom and is not moveable, same as image shown in post by bigpup.
I am running UPup 4.5.8 on an HP DC7600, 3.4GHz processor, 1Gig RAM, integrated video and sound, full install on hard drive.
My other issue with PPM is that although I check to download package and all dependencies, a list of missing dependencies and libraries is always generated after successful download/install. None of the packages, such as Gimp, will operate after install. Again, PPM is used to locate and install the packages.
Any help would be appreciated. Thanks, Norm
I am running UPup 4.5.8 on an HP DC7600, 3.4GHz processor, 1Gig RAM, integrated video and sound, full install on hard drive.
My other issue with PPM is that although I check to download package and all dependencies, a list of missing dependencies and libraries is always generated after successful download/install. None of the packages, such as Gimp, will operate after install. Again, PPM is used to locate and install the packages.
Any help would be appreciated. Thanks, Norm
The code might be fixable here :
/usr/local/petget/check_deps.sh
lines 138 to 165
I`m googling for it right now; renaming gtkdialog3 to gtkdialog2 made the window not plopping up.
I`m not a programmer and I also tried wrapping <progressbar text-xalign="1" text-yalign="1"> from zigbert but no luck until now.
I guess 01micko could fix it
/usr/local/petget/check_deps.sh
lines 138 to 165
Code: Select all
export DEPS_DIALOG="<window title=\"Puppy Package Manager\" icon-name=\"gtk-about\">
<vbox>
<text><label>Please choose what package you would like to check the dependencies of:</label></text>
<frame User-installed packages>
${RADBUTTONS}
</frame>
<hbox>
${ACTIONBUTTON}
<button cancel></button>
</hbox>
</vbox>
</window>
"
RETPARAMS="`gtkdialog3 --program=DEPS_DIALOG`"
#ex returned:
#RADIO_audacious-1.5.1="true"
#EXIT="BUTTON_CHK_DEPS"
#eval "$RETPARAMS"
#[ "$EXIT" != "BUTTON_CHK_DEPS" ] && exit
[ "`echo "$RETPARAMS" | grep 'BUTTON_CHK_DEPS'`" = "" ] && exit
APKGNAME="`echo "$RETPARAMS" | grep '^RADIO_' | grep '"true"' | cut -f 1 -d '=' | cut -f 2 -d '_'`"
dependcheckfunc
fi
I`m not a programmer and I also tried wrapping <progressbar text-xalign="1" text-yalign="1"> from zigbert but no luck until now.
I guess 01micko could fix it
/usr/local/petget/check_deps.sh
note : the lines are to be found out; posted it because mine is messed up ATM
it is about Xdialog replacing gtkdialog3
inspired partially from /usr/local/jwmconfig2/focusModel
Code: Select all
TEMPO="/tmp/checkdepends-choice.tmp.$$"
ONEPKG="`echo -n "$ONEPKGSPEC" | cut -f 1 -d '|' | tr -d '|'`"
ONEDESCR="`echo -n "$ONEPKGSPEC" | cut -f 2 -d '|' | tr -d '|'`"
echo "${ONEPKG} ${ONEDESCR}" >> /tmp/petget_depchk_buttons
((aa++))
RADBUTTONS="`cat /tmp/petget_depchk_buttons | tr ' ' ':'`"
Xdialog --title "check_deps.sh" \
--combobox "Please choose what package you would like to check the dependencies of: \n
User-installed packages \n \n " 0 4 $aa \
$RADBUTTONS 2> $TEMPO
retval=$?
echo $retval
#--------clean exit------->>
case $retval in
1)
exit 0;;
255)
exit 0;;
esac
APKGNAME=`cat $TEMPO | cut -f 1 -d ':'`
it is about Xdialog replacing gtkdialog3
inspired partially from /usr/local/jwmconfig2/focusModel
It seems that quirky 130 has got an improved /usr/local/petget/check_deps.sh :
But the problem would come up again, if more than 46 or 48 pkgs are installed.if [ "$RADBUTTONS" != "" ];then #100902 test if too many installed pkgs
nRADBUT=`echo "$RADBUTTONS" | wc -l`
if [ $nRADBUT -gt 23 ];then
#layout as two columns...
RADBUTTONS1="`cat /tmp/petget_depchk_buttons | head -n 23`"
RADBUTTONS2="`cat /tmp/petget_depchk_buttons | tail -n +24`"
RADBUTTONS="<hbox><vbox>${RADBUTTONS1}</vbox><vbox>${RADBUTTONS2}</vbox></hbox>"
fi
fi
While looking once more into /usr/local/petget/check_deps.sh
that I am studying for gtkdialog possibillities I found another problem with packages :
would not be the best solution because it might be that there are packages like ' RADIO_PACKAGEOLD_ORIG-1.2.3 ' somewhere.
or
I think would be the better solution. ( line ~188 ) .
that I am studying for gtkdialog possibillities I found another problem with packages :
would cut ' RADIO_tendra_4.1.2="true" ' first into ' RADIO_tendra_4.1.2 ' and then into just ' tendra ' with the crash : cat ~/.packages/tendra.files file not found.APKGNAME="`echo "$RETPARAMS" | grep '^RADIO_' | grep '"true"' | cut -f 1 -d '=' | cut -f 2 -d "_" `"
Code: Select all
APKGNAME="`echo "$RETPARAMS" | grep '^RADIO_' | grep '"true"' | cut -f 1 -d '=' | cut -f 2 -d 'O' | sed 's/^_//'`"
Code: Select all
A3="`echo "$RETPARAMS" | grep '^RADIO_' | grep '"true"' | cut -f 1 -d '=' | sed 's/^RADIO_//'`"
Code: Select all
A4="`echo "$RETPARAMS" | grep '^RADIO_' | grep '"true"' | sed 's/^RADIO_//' | sed 's/\=\"true\"//'`"
And with this 104/5 lines diff -up
the check_deps.sh
would look like this :
[EDIT : the diff -uaNd in the following post works for me now
So I deleted the diff -up attachment ]
the check_deps.sh
would look like this :
[EDIT : the diff -uaNd in the following post works for me now
So I deleted the diff -up attachment ]
- Attachments
-
- chech_deps_table.png
- (65.16 KiB) Downloaded 805 times
Last edited by Karl Godt on Mon 29 Nov 2010, 20:59, edited 1 time in total.
diff -up isn't working which I was told at linuxquestions.org
Also there was a problem with geany or pdksh which I tested that day (public domain KornShell ~300KB ) that cutted everything behind the column 72 .
diff -uaNd does work.
(hopefully)
Excuse for any Inconvenience !
Also there was a problem with geany or pdksh which I tested that day (public domain KornShell ~300KB ) that cutted everything behind the column 72 .
diff -uaNd does work.
(hopefully)
Excuse for any Inconvenience !
- Attachments
-
- diff-uaNd-check_deps.sh.patch.gz
- diff -uaNd now
- (1.5 KiB) Downloaded 437 times
ok this is going to drive me nutz
i've been trying to get this to work in puppy 5.20(lucid)*(lupu not luci)
the attached file is basically what check_deps.sh output always looks like in every distro ive tried from 4.x up thru
have tried to change in frugal, full and a few tweaked installs.
(frugal to full aka pupmode=12)
the fist update i do on any 5.20(lupu) install is to update the ppm
(PPM:Configure:Update)
i had originally tried the quickpet "Update Lupu PPM"
didn't seem to change anything
so was this .gz supposed to make the check_deps.sh look like the previous post sshot?
(http://murga-linux.com/puppy/viewtopic. ... h&id=34943)
"diff-uaNd-check_deps.sh.patch.gz"
tried to download it an petget wanted to install, so i let it.
still looks like the attached image
can anyone point me in any direction on how to fix this?
[/img]
i've been trying to get this to work in puppy 5.20(lucid)*(lupu not luci)
the attached file is basically what check_deps.sh output always looks like in every distro ive tried from 4.x up thru
have tried to change in frugal, full and a few tweaked installs.
(frugal to full aka pupmode=12)
the fist update i do on any 5.20(lupu) install is to update the ppm
(PPM:Configure:Update)
i had originally tried the quickpet "Update Lupu PPM"
didn't seem to change anything
so was this .gz supposed to make the check_deps.sh look like the previous post sshot?
(http://murga-linux.com/puppy/viewtopic. ... h&id=34943)
"diff-uaNd-check_deps.sh.patch.gz"
tried to download it an petget wanted to install, so i let it.
still looks like the attached image
can anyone point me in any direction on how to fix this?
[/img]
- Attachments
-
- sshot-004.jpg
- and QuickPet (New?)
- (130.8 KiB) Downloaded 376 times
-
- sshot-005.jpg
- the "new" PPM?
- (131.01 KiB) Downloaded 397 times
I thought about a long big text, but this would belong to a howto section .
Patches are applied with the
command
As far as I can see it : `patch` is part of the devx_PUP_VERSION.sfs
Roughly : place the patch file in the dir of the origfile , do a
and a
unzip the patch.diff.p.patch.gz
have a look at it
and
The diff command seems to work on shellscripts better with
The patch should work flawlessly on 5.1.1 but may reject the main part on older puppies because there had been some changes [ some medium-little handwork needed ]
I had not put any changelog remarks in the head part of the file .
Anyway, thanks for the response .
Patches are applied with the
Code: Select all
patch ##--help
As far as I can see it : `patch` is part of the devx_PUP_VERSION.sfs
Roughly : place the patch file in the dir of the origfile , do a
Code: Select all
cd /usr/local/petget
Code: Select all
cp ORIGFILE ORIGFILE.orig
Code: Select all
gunzip diff-uaNd-check_deps.sh.patch.gz
Code: Select all
geany diff-uaNd-check_deps.sh.patch &
Code: Select all
patch < diff-uaNd-check_deps.sh.patch
Code: Select all
diff -U1 -aNd FILE
I had not put any changelog remarks in the head part of the file .
Anyway, thanks for the response .