Buildpet
Posted: Sat 22 Sep 2012, 20:31
Hello,
When I first started compiling apps, I felt a sense of great satisfaction of being able to be able make pets from source files. But after some time, I realized that, with so many sources out there, it would be much, much more efficient to have some sort of automated build scripts do it all for you. Once you have created a build-script, then it should do everything for you, from downloading the source, configuring it, and converting into a pet.
So I started creating my own build-scripts which did the job, but then I discovered Iguleder's buildpkg system, which allowed for much smaller build-scripts, and also created smaller pets than my own system.
When I first tried it out, I was amazed, and delighted! Iguleder had done some fantastic work on this, and I could tell that he spent a lot of time creating the scripts. So the bulk of this project was already completed, thanks to Iguleder.
I took the buildpkg script and have adapted it so that it will create a suffix at the end of the pets. Also I have added a few bug fixes and some extra features. Newer scripts will have extra info sent to the /home/buildpet_info folder, or to /tmp/buildpet_info, if running without a savefile.
I also plan to add a grahical interface to this system, later on. After all this is complete, then I will periodically create and add build scripts to the repository.
I hope to end up with a large collection of build scripts so that eventually, a novice user will be able to load up any version of Puppy and be able to create pets from source files with a few clicks of the mouse .
Currently however, there is no GUI in place but using it from the terminal is not so difficult:
1) First you will need to install buildpet
2) load the devx sfs file. For drivers, the kernel-sources sfs must also be loaded
3) Open up a terminal emulator or exit to the console.
Example to build leafpad:
or
Done! That's it. The pets will end up in /root/my-pets. The only downside to this, is that for big apps, you will need a large savefile, since the sources will be extracted to the /root/my-pets folder. I may alter this in the future, but for now I just wanted to get it working right.
The only thing that the scripts will not do, is check for needed dependencies; But if a build fails to compile, there should be error messages that will tell you what dependencies are missing.
Download links are below.
Compilers
If you wish, you can post your configure options for apps that I haven't made scripts for. I can then test them, create new build-scripts and upload them to a repository.
When I first started compiling apps, I felt a sense of great satisfaction of being able to be able make pets from source files. But after some time, I realized that, with so many sources out there, it would be much, much more efficient to have some sort of automated build scripts do it all for you. Once you have created a build-script, then it should do everything for you, from downloading the source, configuring it, and converting into a pet.
So I started creating my own build-scripts which did the job, but then I discovered Iguleder's buildpkg system, which allowed for much smaller build-scripts, and also created smaller pets than my own system.
When I first tried it out, I was amazed, and delighted! Iguleder had done some fantastic work on this, and I could tell that he spent a lot of time creating the scripts. So the bulk of this project was already completed, thanks to Iguleder.
I took the buildpkg script and have adapted it so that it will create a suffix at the end of the pets. Also I have added a few bug fixes and some extra features. Newer scripts will have extra info sent to the /home/buildpet_info folder, or to /tmp/buildpet_info, if running without a savefile.
I also plan to add a grahical interface to this system, later on. After all this is complete, then I will periodically create and add build scripts to the repository.
I hope to end up with a large collection of build scripts so that eventually, a novice user will be able to load up any version of Puppy and be able to create pets from source files with a few clicks of the mouse .
Currently however, there is no GUI in place but using it from the terminal is not so difficult:
1) First you will need to install buildpet
2) load the devx sfs file. For drivers, the kernel-sources sfs must also be loaded
3) Open up a terminal emulator or exit to the console.
Example to build leafpad:
Code: Select all
buildpet /usr/share/buildpet/document/leafpad.bp
Code: Select all
cd /usr/share/buildpet/document
buildpet leafpad.bp
The only thing that the scripts will not do, is check for needed dependencies; But if a build fails to compile, there should be error messages that will tell you what dependencies are missing.
Download links are below.
Compilers
If you wish, you can post your configure options for apps that I haven't made scripts for. I can then test them, create new build-scripts and upload them to a repository.