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);
<         }
<

Reply via email to