Screwed up the diff. This time pkgbuild.pl is the distributed version,
and pkgbuild.pl.ips contains my modifications.

David

davidb at aurochs:/opt/dtbld/lib/pkgbuild-1.3.98$ diff pkgbuild.pl 
pkgbuild.pl.ips
118c118,119
<                   's', 's');
---
>                   's', 's',
>                   'k', 'k');
140c141
<     if ($key =~ /^[abicps]$/) {
---
>     if ($key =~ /^[abicpsk]$/) {
145c146
<       fatal ("--build (-b) requires one of a,b,i,c,p,l,s as its sole
argument");
---
>       fatal ("--build (-b) requires one of a,b,i,c,p,l,s,k as its sole 
> argument");
243a245
>               'bk'        => sub { set_build_command (0, 'k'); },
2472a2475,2478
>         if ($build_command =~ /k/) {
>             create_ips_packages ($spec);
>         }
>


On Wed, Apr 22, 2009 at 2:08 PM, David Blewett <david at dawninglight.net> 
wrote:
> Hi All:
>
> I found myself in a position today where the IPS package build process
> for FOSSqt failed, but only because there was an unexpected file (the
> 64-bit mysql plugin). I really didn't want to completely rebuild Qt to
> address that, so I hacked around in pkgbuild to allow for simply
> creating the IPS package for an existing SVr4 build. It basically adds
> a new build stage, named k (no special reason, just all the other ones
> that came to mind immediately were taken). Basically, doing:
>
> pkgbuild -bk foo.spec
>
> will generate the manifest and script files necessary to publish to an
> IPS repository. I didn't add it to the usage description, because I
> wasn't sure it should be advertised.
>
> David Blewett
>
> Diff:
>
> davidb at aurochs:/opt/dtbld$ diff ?lib/pkgbuild-1.3.98/pkgbuild.pl
> lib/pkgbuild-1.3.98/pkgbuild.pl.1
> 118,119c118
> < ? ? ? ? ? ? ? ? ? 's', 's',
> < ? ? ? ? ? ? ? ? ? 'k', 'k');
> ---
>> ? ? ? ? ? ? ? ? ? 's', 's');
> 141c140
> < ? ? if ($key =~ /^[abicpsk]$/) {
> ---
>> ? ? if ($key =~ /^[abicps]$/) {
> 146c145
> < ? ? ? fatal ("--build (-b) requires one of a,b,i,c,p,l,s,k as its
> sole argument");
> ---
>> ? ? ? fatal ("--build (-b) requires one of a,b,i,c,p,l,s as its sole 
>> argument");
> 245d243
> < ? ? ? ? ? ? ? 'bk' ? ? ? ?=> sub { set_build_command (0, 'k'); },
> 2475,2478d2472
> < ? ? ? ? if ($build_command =~ /k/) {
> < ? ? ? ? ? ? create_ips_packages ($spec);
> < ? ? ? ? }
> <
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ips_no_rebuild.diff
Type: application/octet-stream
Size: 656 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20090422/ed5e68e8/attachment.obj>

Reply via email to