[desktop-discuss] gnome-mag-1.0.pc

Laszlo (Laca) Peter laca at sun.com
Tue Aug 14 14:12:37 PDT 2007


Hi Doug,

On Tue, 2007-08-14 at 08:52 -0700, Doug Scott wrote:
> G'day,
>    I am getting the following error from pkg-config on vermillion-7.1.
> 
> jdsbuild at prae> pkg-config --list-all | tail -1
> Variable 'datarootdir' not defined in
> '/usr/lib/pkgconfig/gnome-mag-1.0.pc'
> 
> It is fixed by swapping the following to lines -
> 
> idldir=${datarootdir}/idl/gnome-mag-1.0
> datarootdir=${prefix}/share
> 
> Doug

Please file a bug in bugzilla.gnome.org and add the following comment
in the spec file, right above the Patch2 line:
 
> ===================================================================
> --- base-specs/gnome-mag.spec   (revision 11855)
> +++ base-specs/gnome-mag.spec   (working copy)
> @@ -18,6 +18,7 @@
>  Source:
> http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.14/%{name}-%{version}.tar.bz2
>  #owner:dcarbery date:2007-06-07 type:bug bugzilla:444137,444138
>  Patch1:       gnome-mag-01-x11-build-error.diff

# owner:drdoug date:2007-08-14 type:bug bugzilla:<bugzilla_id>

> +Patch2:       gnome-mag-02-pkg-config.diff
>  URL:          http://developer.gnome.org/projects/gap/
>  BuildRoot:    %{_tmppath}/%{name}-%{version}-build
>  Docdir:       %{_defaultdocdir}/%{name}

Then please commit.

Thanks,
Laca



More information about the desktop-discuss mailing list