Re: dia.spec: Missing dependencies and Changes for SuSE
From: Lars Clausen <lars raeder dk>
To: dia-list gnome org,Marc Wäckerlin <marc waeckerlin org>
Subject: Re: dia.spec: Missing dependencies and Changes for SuSE
Date: Tue, 23 Mar 2004 21:12:57 +0100
On Tue, 2004-03-23 at 06:56, Marc Wäckerlin wrote:
> I'm building a SuSE RPM (for SuSE 9.0 with newest apt packages).
>
> Little change for SuSE: "freetype" and "freetype-devel" are named "freetype2"
> and "freetype2-devel"
Unfortunately, it is still freetype and freetype-devel in redhat.
What's the way to handle that, two different dia.spec files? Some kind
of conditional?
> The following dependencies are missing in dia.spec:
> Requires: libgnome libgnomeui popt esound
> BuildRequires: libgnome-devel libgnomeui-devel popt-devel esound-devel
>
> The dependency on popt and esound-devel is not even checked in ./configure,
> but results in compile respectively link errors.
Popt is optional, and I have *zero* idea what esound is there for.
I guess the gnome things are required since it compiles with
--enable-gnome. It is now (in 0.93) reasonable to use --enable-gnome
always, before then it cost you the menu shortcuts.
> More Problems, dia.desktop has been forgotten in installation ("make
> install"):
>
> RPM build errors:
> File not found: /tmp/rpm/usr/share/gnome/apps/Applications/dia.desktop
Strange, it's listed in Applications_DATA, not unlike dia.keys, which
doesn't seem to have a problem. Perhaps it shouldn't be listed under
%files?
> Python Support has been forgotten:
>
> dia.spec is missing option "--with-python" on the lines with "./configure" and
> "./autogen.sh".
>
> For Python you additionally need:
> Requires: python python-gtk
> BuildRequires: python python-gtk
I guess it makes sense to compile with that, too.
-Lars