PPM: repo radiobuttons fixed
August 31, 2012 —
BarryK
This is an ancient bug! Users have reported that after selecting repositories in the Configuration window, then (after restarting ppm and) back in the main window, the repo radiobuttons were incorrect.
I had some very messy code in script /usr/local/petget/pkg_chooser.sh, now cleaned up, and that bug fixed.
Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/a9cddfa2f6
Comments
uget failing in latest woof2Username: AnnonymousCoward
Hi, I'm not sure where I should post this, but uget failed to download in a woof build today. Even when I downloaded the .pet manually, and added it to packages-pet, when I ran ./2createpackages and specified uget I got the following error: *********************************************** Preprocessing ubuntu precise pkgs database... Checking syntax of PKGS_SPECS_TABLE... Press ENTER only to build all pkgs, or type generic name of one pkg: uget Exiting from support/findpkgs, already created up-to-date pkg list: /mnt/sdb3/woofproject/woof-out_x86_x86_ubuntu_precise/status/findpkgs_FINAL_PKGS-ubuntu-precise Processing uget processing uget-1.4.8.5-1-pup4.pet gzip: stdin: decompression OK, trailing garbage ignored tar: Child returned status 2 tar: Exiting with failure status due to previous errors Script finished.
missed it
Username: 01micko
"Hi Barry I just built a Slacko beta from woof yesterday. I opted for the "classic" PPM and when it starts I see Slackware, Puppy-noarch and Salix but Slacko is absent. Does this fix address that? I would have missed it in my woof download. TIA
Re: uget
Username: BarryK
"AnnonymousCoward, I downloaded the uget PET and tested it, it is ok. I don't know why you are getting that problem. Something must be mis-configured. My first thought was that you have created the entry in variable PKGS_SPECS_TABLE incorrectly. You need to read the instructions in the file that has PKGS_SPECS_TABLE, especially "Empty field, then use PET pkg" in regard to the third field. This should be enough: [i]yes|uget||exe[/i] Or, to force get it from a particular repo: [i]yes|uget||exe|pet:4[/i] However, you can put "uget" into the third field if you tell it that it is a PET and not a package from the compatible distro: [i]yes|uget|uget|exe|pet:[/i] However, I don't see how that is the problem. It would seem that something else has been mis-configured to make Woof treat a PET as a package from a compatible repo?
Re Slacko repos
Username: BarryK
"01micko, let me know what five repos you want to appear at first start of PPM in Slacko, I will check that it works right. List them in order that you would like them to appear in the gui window, left-to-right.
re slacko
Username: 01micko
"Slacko, Slackware, Salix, Noarch. Leave a spot reserved for Slacky when they catch up, usually a month or so after Slackware final. Thanks
PPM: Exec line fixed
Username: BarryK
"'feelsub' reported the problem with PPM when Installed gimp, the .desktop file has a line: [i]Exec=gimp-2.8 %U[/i] Puppy does not like those % params! I have modified /usr/local/petget/installpkg.sh, inserted at line 378: [code] #120901 get rid of param on end of Exec, ex: Exec=gimp-2.8 %U sed -i -e 's/\(^Exec=[^%]*\).*/\1/' -e 's/ *$//' $ONEDOT #'s/\(^Exec=[^ ]*\).*/\1/'[/code] This will be in the next Woof commit.
Cached Search
Username: Iguleder1
"Barry, have you thought of caching Woof's package search results? This could be shared with PPM, to provide a much smoother experience to end users. Today I [url=https://github.com/iguleder/roar-ng/commit/6e4e035a70da1041b67ab3e67cff3a9f086b6880]implemented[/url] such a thing and I think it's awesome. This cache makes my 1download implementation run 11% faster (measured with /usr/bin/time).
Re PPM caching
Username: BarryK
"Yes, I do need to look at a few ways of speeding up the PPM. Just a note to everyone about the PPM. In Precise Puppy I installed VLC 2.0.3 from PPM, but it did not initially detect all needed dependencies. I need to fix this, will probably do it tomorrow. Or the next... on holiday in Melbourne right now, lots happening. I am thinking of beta5 in 2 - 3 days, followed hopefully by RC.
Re cached search
Username: BarryK
"Iguleder, Perhaps that is what Woof is already doing, as file status/findpkgs_FINAL_PKGS-ubuntu-precise (in the case of Precise Puppy).
Tags: woof