Here's something I've been working on for some time: an automated, elegant and simple way to install packages from source, similar to FreeBSD's ports, Gentoo's Portage and Arch's AUR.

This tool has many advantages:
1) Compatibility - one build script and you have a package for any Puppy (well, theoretically) one-click away.
2) In most cases, you can change the package version field in the build script and there you have the latest version. Very convenient.
3) No need to host sources or binary packages, just tiny text files that define how to build each package.
4) It's way cooler than traditional PET packages

The name is Puppizard, because it's a system that allows you to build packages automatically ... like magic. It is named after the wonderful Sorcery from Salix OS.

This thing allows you to install packages from source (i.e download their sources, build them locally, strip them and install) easily. It was written and tested on 5.2.5.

It has minimal dependencies: xz and Dash. AdvanceCOMP and OptiPNG are recommended.

Packages built using Puppizard come without static libraries, which waste space and harm compatibility. Also, they lack debugging symbols.

Also, I must note that in some cases Puppizard only re-packages binary packages made by someone else. For example, in the cases of Opera and Flash (since they're non-free) and Libreoffice (because it would take ages and lots of space to build). Believe me, there's a good reason for this.

It is also possible to use Puppizard to package browsers (or other packages) with built-in update functionality (Firefox, Chrome, ...), so puplets that have them built-in don't become "deprecated" quickly.

Before installing a new version, make sure you completely remove the previous one.

And by the way, USE AT YOUR OWN RISK.

Changelog

001:
- first version.

002:
- A message box when Yad is missing
- Solved the hanging bug vovchik reported for Puppizard
- Each build script now creates a stripped package through strippkg and dir2pkg; the latter calls petget and offers the user to install it
- Minor improvements and bug fixes for the build scripts
- A note appears when AdvanceCOMP or OptiPNG are not present.

003:
- A message appears if you don't have the devx installed.
- Small bug fixes for build scripts
- The build scripts are now organized in directories
- More bug fixes

And is there a way others on the forum can help you support more packages?

Just ... join the fun!

Write build scripts (I suggest you to use leafpad.sh as an example), test them (make sure you run them in an empty directory and get a working package to make sure they're good) and reply _________________My homepageMy GitHub profile

You could easily mod it to call dir2pet after the stripping instead of installing the packages ... and you could also call another script for automatically splitting it to EXE, DEV, DOC, NLS. I wrote many scripts that do that and posted them on the forums._________________My homepageMy GitHub profile

Brilliant script. Thanks. I just compiled galculator and everything went smoothly. There is one little problem with the gui, however. If you select nothing and want to quit, it goes into a loop and keeps reloading and displaying itself. But that is pretty trivial and easy to fix.

Working on 002 already: I changed its behavior - packages are not installed by default; I moved the stripping code to /usr/bin/strippkg and that's what runs instead. I also fixed the bug vovchik reported.

I want to add a call to dir2pet (or mksquashfs, whatever) in pur-install, which is nothing but a plain install script now.

By the way - is it a good idea to turn the built packages into .tgz (or .txz) archives? These can be installed with PPM, because it believes they're either Slackware or Arch packages.

Regarding system requirements - the faster your machine is, the faster it will run. I use it on my Eee and it's very fast._________________My homepageMy GitHub profile

Wow, this is far-reaching. For newbies and experienced PUP users, a new generation of tool additions running PUPs.

One thing already pointed out, by you, is two requirements: DEVX and YAD (for GUI).

Question on requirements:
Is there any way that the installation of PUR could check for these at installation time? Maybe an alert to the user or something.

Anyway, I foresee a great deal of use for your creation.

Thanks....thanks....thanks._________________Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Enginesor use DogPile

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum