site  contact  subhomenews

PPM dependency improvements

July 11, 2010 — BarryK
I am currently working on the Puppy Package Manager.

One thing that I have just fixed is handling of the PKG_NAME_ALIASES variable. This variable is defined in the PKGS_MANAGEMENT file, which in a running Puppy is in /root/.packages.

This variable declares alternate names for packages. Different distros may have different names for the same package, also some PETs used in Puppy may have different names from those in the host distro.

Each entry in PKG_NAME_ALIASES is space-delimited and has a comma-separated list of equivalent names. For example: libungif,libgif,giflib

In the above example, you may install a package, for example a Slackware package, that lists 'giflib' as one of the dependencies, however Puppy has 'libgif' as the name of the installed package. PPM will filter out this bogus missing dependency.

PKG_NAME_ALIASES can have glob wildcards, for example 'cxxlibs,glibc*,libc-*', and that was not working. I have fixed it.

I tested with the 'ffmpegthumbnailer' package on the Slacky repository, which has 'cxxlibs' as one of its dependencies.

But, there is another problem, that I intend to tackle next. Spup 0.4 has an ffmpeg PET that I compiled myself, and 'ffmpegthumbnailer' is not compatible with it, will only work with the older ffmpeg at the Slacky repository.


Dependencies checker
Username: bigpup
Have you looked at this bug when trying to check dependencies for installed pets?"11 Jul 2010, 13:52"01719"'ppm mod if time and simple"scsijon"can I request, please, if it's simple and you have time, and since your working on ppm, to add a tickbox to leave the downloaded file in root rather than deleting after installing."13 Jul 2010, 18:42"01719"'Package in /root"BarryK"Well, one workaround is to download it somewhere other than /root. This is nagging at my memory... I think that it was ttuuxxx who requested this some time ago, and I thought that I did implement it, that is, not delete package if it is in /root. But I can't quite remember. Are you using a recent PPM? Username: 13 Jul 2010, 18:58
"01719"'working on the Puppy Package Manager"L18L"glad to see that you are working "only" on dependencies because I have just uploaded my internationalized version of dotpup inclusive ppm and installer, see Best regards and thanks for woof Username: 14 Jul 2010, 20:15

Tags: woof