Laszlo (Laca) Peter wrote:
> On Mon, 2008-05-19 at 09:45 -0500, Tom Mueller wrote:
>> IPS has the concept of a "filter" on an image. For example, a
>> particular file can be tagged with an ISA tag (sparc or x86) and then
>> the image has a filter of ISA=x86.  Once this is done, only those
>> files that are either tagged with ISA=x86 or that have no ISA tag will
>> be downloaded.  This eliminates the need to have multiple packages
>> merely for supporting multiple ISAs.  
>>
>> These tags can also be used to specify files being for documentation,
>> localization, etc. 
> 
> So this is very interesting and it sounds like something we could
> use in pkgbuild to structure the package contents without
> splitting them.  Unfortunately I couldn't find out more about
> this feature, so I have some questions.  The goal would be to
> package all components of an application in one package and
> use tags to identify:
>  - development files (headers, pkg-config, devel docs)
>  - documentation (man pages, online help, devel docs)
>  - l10n content (message catalogs, man pages, online help)
> 
> Is it possible, and if so how, to do the following:
> 
>  - initially install only the (untagged) runtime bits
>  - add one more locale (i.e. files tagged for that locale) of a
>    previously installed package
>  - add the development files of a package previously installed
>    without them
>  - delete files belonging to a locale
>  - apply similar changes to an entire image

We're still kicking around the UI for doing this, but yes, this _will_
be possible soon.  In fact, the build architecture will also be
selectable, as will be 32 or 32+64, debug/no-debug, etc.

The filtering mechanisms are in place; we do need to figure out
the right way to name attributes, enable/disable filters on per-package
boundaries, change filters and re-evaluate pkgs, etc.

- Bart




-- 
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to