Reply
 
Thread Tools Display Modes
  #1  
Old 06-24-2005, 01:28 AM
sblevin sblevin is offline
Senior Member
 
Join Date: Jun 2005
Location: Australia
Posts: 909
Thanks: 0
Thanked 0 Times in 0 Posts
Default New PBI concept - please comment.
New PBI concept


Ok - I've run totally aground on this -> http://www.pcbsd.org/forums/viewtopic.php?t=455

It creates bloat, and I STILL can't get X applications to open the display - console apps and daemons run just fine that way though.

My assessments so far;

1. Don't people get SHIRTY when you cross the same question into multiple different threads, even when they are for different operating systems (net/free/open BSD) : )

2. Running fully independant dependencies may devour RAM and potentially create instability when multiple different versions of the same dependency are loaded into memory.

3. Current PBI's can't remove anything other than the app itself or they will rip out system libs that may be needed for other apps to function.

4. Applications and their support libraries must be treated differently/seperately by the installer system - but this should be invisible to the end user.

What do I suggest?

PBI's should be a wrapper for complete packages that;

i) Supply full seperate packages for each dependency (eg. glut/pango)

ii) Interact with FreeBSD's or a new database of installed packages to maintain a list of whats on the system and what can be safely removed.

iii) Execute each of the original packages' scripts to update system config files, refresh fonts, set permissions etc. (just hacking in files doesn't configure anything)

iv) Do all the lovely PBI stuff, like icons, menu updates and mime type registrations.

In this model, a PBI is actually like a conglomerate of all required packages for an application. People can write their own packages, or use the precompiled ones. The PBI install might be a nice graphical way of extrating a bunch of packages into the distfiles folder (or similar) and running pkg_add, with the outputs dumped into the PBI installer window. The PBI installer makes all the nice shell adjustments as well, that pkg_add does NOT do.

The PBI installer should also have the ability to link icons to documentation via a simple KDE link to a file, not a link to link in a /bin folder. End user friendliness suggests (demands?) a link to instructions / documentation / websites / man pages from a programs' KDE Menu entry.

The PBI installer could also ask if it is allowed to get dependencies remotely if there is a problem (pkg_add -r does this already from a terminal screen, the PBI installer could supply a checkbox to enable the -r option)

I still believe the best way to maintain stability is to get "hard" about what IS an acceptable version of a support library, perhaps the PBI installer could check against a list of "known good" versions kept and updated locally, and/or check remotely with a PC-BSD official site (radio checkbox).

This is not JUST a graphical frontend to the ports/packages collection as it makes all the required user interface/shell adjustments as well.

Any thoughts?
Reply With Quote
  #2  
Old 06-24-2005, 01:45 AM
sblevin sblevin is offline
Senior Member
 
Join Date: Jun 2005
Location: Australia
Posts: 909
Thanks: 0
Thanked 0 Times in 0 Posts
Default
This looks good as well - > http://www.pcbsd.org/forums/viewtopic.php?t=481
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
comment configurer sa clé wifi ? kal_torak Support 1 08-13-2008 05:37 AM
Without any comment Hlebarkata_321 The Lounge 4 01-30-2008 09:21 PM
Proof of Concept -- EVIL PBI TerryP PBI Discussion 37 08-19-2007 09:06 PM
Server Concept piggy FreeBSD Help 0 10-25-2006 07:18 AM


All times are GMT. The time now is 09:35 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.