[companion-discuss] Re: spec files for building 'Solaris CUPS Print Suite' ...
Laszlo (Laca) Peter
Laszlo.Peter at Sun.COM
Wed Jul 12 17:41:24 PDT 2006
Hi Paul,
Wow, this is great stuff!
Some questions/comments:
- I noticed that you build everything with gcc, is there a reason they
need to be build with gcc or is that just the way the CCD has always
been built? In JDS, we build everything with Sun Studio.
- The patch for pkgbuild basically disables checking for unpackaged
files. If you really want to do that, you can do it using:
%define _unpackaged_files_terminate_build 0
But it's not a good idea to do so. It's better to use rm and rmdir
commands in %install to delete the files and directories you don't
want to include in the packages.
Thanks,
Laca
On Wed, 2006-07-12 at 08:21 +0100, Paul Cunningham wrote:
> I have resent this because the first time (yesterday) it was blocked by
> the alias and not released due to the size of the attachment. I have
> reduced the attachment size by removing all the unnecessary bits and
> attached that now. Please read on .......
>
> Paul
>
> Paul Cunningham wrote:
> > Hi all,
> >
> > Attached are my first attempts at creating a set of gnome style spec
> > files for building the opensource packages that make up the "Solaris
> > CUPS Print Suite". The packages they build are direct replacements for
> > the packages that are on (or were on) the Companion CD (CCD) - whoops
> > it's a DVD now.
> >
> > These packages are:
> > SFWcups SFWespgs SFWfltk SFWgutenprint SFWpnm2ppa
> > SFWcupsprint SFWffilters SFWfppds SFWhpijs SFWxpp
> > where package SFWcupsprint is a dummy package that pulls all the others
> > together (via dependencies).
> >
> > I have briefly tested them on sparc, but I only have one network
> > printer, and as such they all work together okay.
> >
> > The attached tarball contains the spec files, patches, include files and
> > a Makefile. I have only built them on Solaris 10 sparc but they should
> > hopefully work okay on x86 and Solaris nv. At the time of creating the
> > spec files they used the latest stable version of the packages (except
> > gutenprint which is rc3).
> >
> > The next step is to break down the CUPS package into sub-packages in the
> > way that Norm (Solaris Print Group) has suggested (so that it works
> > along side the Solaris Print System) .....
> >
> > Norm wrote:
> > > I was thinking about breaking down the packaging into something along
> > > the lines of
> > > SFWcups-libs
> > > SFWcups-spooler
> > > SFWcups-commands
> > > SFWcups-filters
> >
> > I hope these are useful to someone, let me know. If I have missed any
> > packages that should be in the suite let me know. Also if you find any
> > problem with the resultant packages also let me know.
> >
> > Regards
> > Paul
> > --
> > -----------------------------------------------------------------
> > Paul Cunningham
> >
> _______________________________________________
> companion-discuss mailing list
> companion-discuss at opensolaris.org
> http://opensolaris.org/mailman/listinfo/companion-discuss
More information about the companion-discuss
mailing list