jds SVN: spec-files
Laszlo (Laca) Peter
laca at sun.com
Thu May 3 09:07:28 PDT 2007
On Thu, 2007-05-03 at 23:51 +0800, Halton Huo wrote:
> Laca,
>
> Only use %gtk_doc_option in ./configure? How about %files section?
Somehow it works in other packages. I'm guessing that glib/gtk
include prebuilt gtk-docs in the tarballs and install them anyway.
> If we use --without-gtk-doc for pkgtool, there will be package error
> like:
>
> pkgbuild: pkgbuild: File not found by
> glob: /var/tmp/pkgbuild-halton/SUNWgnome-ui-designer-2.18.0-build/usr/share/gtk-doc
You can do something like this in %files:
%if %{?!_without_gtk_doc:1}%{?_without_gtk_doc:0}
%{_datadir}/gtk-doc
%endif
Laca
> I can not get the example in SUNWgnome-base-libs.spec, think will be
> same problem for this spec.
>
> Thanks,
> Halton.
>
> On Thu, 2007-05-03 at 21:52 +0800, Halton Huo wrote:
> > Changed, thanks for pointing out.
> >
> > Halton.
> > On Thu, 2007-05-03 at 09:38 -0400, Laszlo (Laca) Peter wrote:
> > > On Thu, 2007-05-03 at 03:40 -0700, Halton.Huo at Sun.COM wrote:
> > >
> > > > Log message:
> > > > * base-specs/glade.spec: Bump to 3.2.1, add --enable-gtk-doc.
> > >
> > > Please use the %gtk_doc_option macro so that it can be disabled
> > > using pkgtool --without-gtk-doc to speed up test builds.
> > > See base-specs/glib2.spec for an example.
> > >
> > > Thanks,
> > > Laca
> > >
> > >
>
More information about the jds-notify
mailing list