On Thu, 2008-02-14 at 12:12 +0000, Dermot McCluskey wrote:
> My thought was to only put pkgs targeted for our
> next delivery into core, and put deps and temporary
> stuff into experimental.  Then, a build would do
> % cd spec-files-other
> % pktool build experimental/*.spec core/*.spec
> etc, and then RE would separate out which pkgs we
> need to actually deliver.
> 
> But I suppose we could do it other ways as well.
> 
> Thoughts?

Well, that works if we know all dependencies, i.e. we know
that nothing links "accidentally" to the bits we don't deliver.

Laca

> - Dermot
> 
> 
> Erwann Chenede wrote:
> > Hi Dermot,
> > 
> > Dermot McCluskey wrote:
> >> Erwann,
> >>
> >> Just want to confirm: do SUNWsexy-python and SUNWgnugetopt
> >> belong in core?  
> > SUNWsexy-python, yes, I've included in the compiz ARC will be posted today.
> > As for SUNWgnugetopt, I'm not sure, in light of the email discussion I 
> > had with
> > you and Laca I understood it should be in core.
> > SUNWgnugetopt and SUNWcompiz-bcop shouldn't be delivered they are just 
> > needed
> > to build the compiz-fusion plugins packages. So they need to be 
> > installed on
> > the build machine but not redistributed.
> > 
> >    Does it make sense ?
> > 
> >          Erwann
> > 
> > 
> >> If they need to be delivered in b85 along
> >> with compiz, then they should probably be added to Tom's
> >> spreadsheet as separate packages and ARced, OSRed and Export
> >> Controlled.
> >>
> >>
> >> - Dermot
> >>
> >>
> >>
> >> Erwann Chenede wrote:
> >>> Hi All,
> >>>
> >>>    This is the initial import of GNU getopt in spec-file-other.
> >>>    I've imported it because bcop requires it. (for info bcop an xslt 
> >>> parser is required to build
> >>>    compiz plugins).
> >>>
> >>>       Thanks,
> >>>
> >>>             Erwann
> >>>
> >>>
> >>> Index: patches/getopt-01-locale.h.diff
> >>> ===================================================================
> >>> --- patches/getopt-01-locale.h.diff    (revision 0)
> >>> +++ patches/getopt-01-locale.h.diff    (revision 0)
> >>> @@ -0,0 +1,10 @@
> >>> +--- getopt-1.1.4/nls.h.orig    2007-02-13 13:18:04.289795000 -0500
> >>> ++++ getopt-1.1.4/nls.h    2007-02-13 13:18:35.263303000 -0500
> >>> +@@ -24,6 +24,7 @@
> >>> +  * util-linux nls definitions
> >>> +  */
> >>> +
> >>> ++#include <locale.h>
> >>> + #ifdef NOT_UTIL_LINUX
> >>> +
> >>> + #ifndef GETOPT_NLS
> >>> Index: ChangeLog
> >>> ===================================================================
> >>> --- ChangeLog    (revision 11)
> >>> +++ ChangeLog    (working copy)
> >>> @@ -1,3 +1,11 @@
> >>> +2008-02-14 Erwann Chenede - <erwann.chenede at sun.com>
> >>> +
> >>> +    * core/SUNWgnugetopt.spec
> >>> +    * patches/getopt-01-locale.h.diff:
> >>> +      Initial import of GNU getopt
> >>> +    * core/SUNWcompiz-bcop.spec:
> >>> +      Changed dependency from SFEgetopt to SUNWgnugetopt
> >>> +
> >>> 2008-02-13 Erwann Chenede - <erwann.chenede at sun.com>
> >>>
> >>>     * core/SUNWsexy-python.spec
> >>> Index: core/SUNWgnugetopt.spec
> >>> ===================================================================
> >>> --- core/SUNWgnugetopt.spec    (revision 0)
> >>> +++ core/SUNWgnugetopt.spec    (revision 0)
> >>> @@ -0,0 +1,54 @@
> >>> +#
> >>> +# spec file for package SUNWgnugetopt
> >>> +#
> >>> +# includes module(s): getopt
> >>> +#
> >>> +# Owner: erwannc
> >>> +#
> >>> +
> >>> +%include Solaris.inc
> >>> +%include usr-gnu.inc
> >>> +
> >>> +Name:                    SUNWgnugetopt
> >>> +Summary:                 getopt - a GNU getopt(3) compatible getopt 
> >>> utility
> >>> +Version:                 1.1.4
> >>> +URL:                     http://software.frodo.looijaard.name/getopt/
> >>> +#Source:        
> >>> http://software.frodo.looijaard.name/getopt/files/getopt-%{version}.tar.gz
> >>>  
> >>>
> >>> +Source:            
> >>> http://pkgbuild.sf.net/spec-files-extra/tarballs/getopt-%{version}.tar.gz 
> >>>
> >>> +Patch1:                  getopt-01-locale.h.diff
> >>> +SUNW_BaseDir:            %{_basedir}
> >>> +BuildRoot:               %{_tmppath}/%{name}-%{version}-build
> >>> +%include default-depend.inc
> >>> +
> >>> +%prep
> >>> +rm -rf %name-%version
> >>> +%setup -q -n getopt-%version
> >>> +%patch1 -p1
> >>> +
> >>> +%build
> >>> +CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
> >>> +if test "x$CPUS" = "x" -o $CPUS = 0; then
> >>> +    CPUS=1
> >>> +fi
> >>> +
> >>> +make -j$CPUS CC="${CC}" CFLAGS="%optflags"
> >>> +
> >>> +%install
> >>> +rm -rf $RPM_BUILD_ROOT
> >>> +make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} 
> >>> mandir=%{_mandir}
> >>> +
> >>> +%clean
> >>> +rm -rf $RPM_BUILD_ROOT
> >>> +
> >>> +%files
> >>> +%defattr (-, root, bin)
> >>> +%dir %attr (0755, root, bin) %{_bindir}
> >>> +%{_bindir}/*
> >>> +%dir %attr(0755, root, sys) %{_datadir}
> >>> +%dir %attr(0755, root, bin) %{_mandir}
> >>> +%dir %attr(0755, root, bin) %{_mandir}/man1
> >>> +%{_mandir}/man1/*
> >>> +
> >>> +%changelog
> >>> +* Tue Feb 13 2007 - laca at sun.com
> >>> +- create
> >>> Index: core/SUNWcompiz-bcop.spec
> >>> ===================================================================
> >>> --- core/SUNWcompiz-bcop.spec    (revision 11)
> >>> +++ core/SUNWcompiz-bcop.spec    (working copy)
> >>> @@ -22,8 +22,8 @@
> >>> Patch1:             compiz-bcop-01-solaris-port.diff
> >>> SUNW_BaseDir:            %{_basedir}
> >>> BuildRoot:               %{_tmppath}/%{name}-%{version}-build
> >>> -BuildRequires:         SFEgetopt
> >>> -Requires:         SFEgetopt
> >>> +BuildRequires:         SUNWgnugetopt
> >>> +Requires:         SUNWgnugetopt
> >>> %include default-depend.inc
> >>>
> > 
> > 


Reply via email to