SPECS: monkey-bubble.spec - BR: gcc-c++, scrollkeeper

Zbyniu Krzystolik zbyniu at geocarbon.pl
Thu Dec 16 04:53:55 CET 2004


Mniej wiecej Thu, Dec 16, 2004 at 04:24:16AM +0100, zainteresowany Andrzej Krzysztofowicz rzekl:
> Zbyniu Krzystolik wrote:
> > 
> > Mniej wiecej Thu, Dec 16, 2004 at 03:55:14AM +0100, zainteresowany Andrzej Krzysztofowicz rzekl:
> > > Zbyniu Krzystolik wrote:
> > > > Mniej wiecej Thu, Dec 16, 2004 at 03:33:01AM +0100, zainteresowany Andrzej Krzysztofowicz rzekl:
> > > > > zbyniu wrote:
> > > > > > diff -u SPECS/monkey-bubble.spec:1.4 SPECS/monkey-bubble.spec:1.5
> > > > > > --- SPECS/monkey-bubble.spec:1.4	Thu Jul  8 00:15:12 2004
> > > > > > +++ SPECS/monkey-bubble.spec	Thu Dec 16 02:25:50 2004
> > > > > > @@ -11,9 +11,11 @@
> > > > > >  Patch0:		%{name}-gcc34.patch
> > > > > >  URL:		http://home.gna.org/monkeybubble/
> > > > > >  BuildRequires:	GConf2-devel
> > > > > > +BuildRequires:	gcc-c++
> > > > > 
> > > > > And libstdc++ is not necessary ?
> > > > 
> > > > libstdc++ is installed from deps, but libstdc++-devel is not required
> > > 
> > > Are you sure ?
> > 
> > I havn't got libstdc++-devel in builder chroot.  
> 
> Strange.
> C++ code that does not require C++ libs ?

Yes, it's strange, so I'm ckecking always 3 times ;-)

> > > > > >  BuildRequires:	gstreamer-GConf-devel >= 0.8.1
> > > > > >  BuildRequires:	librsvg-devel
> > > > > >  BuildRequires:	libgnomeui-devel
> > > > > > +BuildRequires:	scrollkeeper
> > > > > 
> > > > > Hmm, what is it intended for at build time?
> > > > 
> > > > build process call scrollkeeper-preinstall
> > > > 
> > > > for file in monkey-bubble-C.omf; do \
> > > >   scrollkeeper-preinstall /usr/share/gnome/help/monkey-bubble/C/monkey-bubble.xml ./$file $file.out; \
> > > > done; \
> > > 
> > > Are you sure scrollkeeper-preinstall should mess in the build system?
> > > (/usr/share/gnome/help/monkey-bubble/C/monkey-bubble is _not_ in the build
> > > area, and probably should _not_ be required to exist (before monkey-bubble
> > > has been built and installed).
> > 
> > /usr/share/gnome/help/monkey-bubble/C/monkey-bubble is not exist;
> > man scrollkeeper-preinstall
> 
>        scrollkeeper-preinstall [ -n ] url input-omf-file output-omf-file
> [...]
>        The url is typically the "file:" URI followed by the absolute path to a
>        document  which is (or will be) installed.  (eg. "file:/usr/doc/scroll-
>                       ^^^^   ^^^^^^^^
> It neither _is_ nor _will_ be installed at build time.
> And rpm does not need scrollkeeper-preinstall call to install the file
> properly. Or am I wrong ?

$ diff -u monkey-bubble-C.omf monkey-bubble-C.omf.out
--- monkey-bubble-C.omf Tue Jun 29 08:53:25 2004
+++ monkey-bubble-C.omf.out  Thu Dec 16 03:58:34 2004
@@ -24,7 +24,7 @@
       user's guide
     </type>
     <format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
-    <identifier url="monkey-bubble.xml"/>
+    <identifier url="file:/usr/share/gnome/help/monkey-bubble/C/monkey-bubble.xml"/>
     <language code="C"/>
     <relation seriesid="d7834910-40e7-11d6-87e4-aa5f78e530ae"/>
     <rights type="GNU FDL" license.version="1.1" holder="Thomas Cataldo"/>

> In the "install" phase the file is obviously installed in another dir.

Not exactly - monkey-bubble-C.omf indicates
/usr/share/gnome/help/monkey-bubble/C/monkey-bubble.xml 

Everything is ok.

> Is the path just hardcoded into the document for any reason ?

I don't now what for it's so complicated :-) 

Zbyniu
-- 
\78\32\14\46\67\67\90\1A
%% Timeo me dubitare %%





More information about the pld-devel-en mailing list