Originally Posted by pcbsd64
|
|
I have to ask, what is there to approve and why even get users to build the module first, when the outcome or finished PBI is completely controlled by the current version of the FreeBSD port? Why not just build PBI's of all the FreeBSD ports and be done with it.
|
In general, that is what most of the PBI's currently in the AppCafe right now are, just FreeBSD ports repackaged as PBI's. The reason that PBI's go through the approval process, is that some ports do not handle the default conversion into a PBI very well and need some minor tweaking (handled directly from the PBI module, not modifying the port at all). Some examples of this are: including missing dependencies, adjusting python/ruby script headers to point to the proper python/ruby version contained in the PBI, adding desktop/menu entries for specific binaries, etc...
|
Quote:
|
|
I had mistakenly believed that PBI's were user generated customizations that the PCBSD community could share in, if they found them useful. Similar to the Arch User Repository for Arch Linux.
|
In general, the PBI format is just that, a packaging format only. There is nothing preventing anyone from creating PBI's out of whatever customized ports/programs that they would like, and then distributing those PBI's to whomever they wish (there are even handy tools for creating/managing your own PBI repositories included on your PC-BSD system!) The general rule for the official PC-BSD repository is to simply stick with an unmodified FreeBSD ports tree, and only use currently supported/maintained versions of programs by doing so. One good reason for this is to cut down on the amount of man-hours required to keep our PBI's current, while utilizing the contributions of the multitude the FreeBSD port commiters and maintainers. I personally feel that by making PBI's out of FreeBSD ports, I am helping those who created that program or port to distribute their work to the general public in an easy to use format.
|
Quote:
|
|
If I want to change anything about a PBI, to make it more useful, I need to have that change first implemented by the maintainer of the port, then the PBI can be built including that change. I don't see any difference, then, other than the location of files, from installing a PBI or installing from ports.
|
To get an "unsanctioned" program change into a PBI supplied through the official PC-BSD repository, we simply ask that you first submit your change(s) to the current maintainer of the respective FreeBSD port. This in no way prevents you from building, using, or distributing any "custom" PBI that you desire (even if it is not built from FreeBSD port). Alternatively, we believe that asking people to submit their changes to the FreeBSD port maintainer helps people contribute to the FreeBSD (and PC-BSD) system as a whole, rather than restricting the benefit of your changes to a smaller "ecosystem" of users.
|
Quote:
|
|
There should be a way for Applications that are not in ports to run on PCBSD. gPodder 2 for example, is not in ports. It has been replaced by gPodder 3, which does not interface with a "mp3 player" device for listening to the podcast away from your computer. It would be nice to have a PBI of gPodder2, we used to, but now we can't because its not in ports.
|
As I mentioned earlier, the PBI is just a packaging format. As long as you build your PBI on a PC-BSD 9.x system, it is (almost) guaranteed to work on any other PC-BSD 9.x system. Once the PBI is actually created, there is no distinction between PBI built from ports, and PBI's built from local sources.
While the PC-BSD repository currently only builds from FreeBSD ports, there is no strict requirement that we cannot include PBI's from other sources (aside from the time/maintainership issues mentioned above). As an example, I would recommend taking a look at the (nonport) module that we use to build the Minecraft PBI[1]. While it does use ports for some dependancies, the main scripts are completely unique to that particular PBI module. This does not modify or change the program in any way, but simply performs the necessary steps to set up the program to run properly.
[1]
http://trac.pcbsd.org/browser/pbi/mo...port/minecraft
|
Quote:
|
|
I don't believe that this inclusion of PBI's that are not sanctioned by FreeBSD developers would fork the PCBSD project. It might even make it more popular.
|
I couldn't agree more. I look forward to the day when there are tons of PBI repositories available to users, ranging from developers hosting their commercial applications to your standard users publishing their "enhanced" versions of free software.