Subject: Re: gnome-session and gnome2-control-center still broken?
To: Gilles Gravier <Gilles@Gravier.org>
From: David Chapman <dchapman@canwest.victoria.bc.ca>
List: netbsd-users
Date: 04/01/2007 01:21:52
* Gilles Gravier <Gilles@Gravier.org> [2007-04-01 00:12]:
> Hi!
> 
> Anybody has, like me, a problem rebuilding x11/gnome-session and 
> x11/gnome2-control-center ?
> 
> Every time I go there and "make" I get an error (same for both 
> packages)... have been seeing this for the last 15 days.
> 
> gmake[2]: Entering directory 
> `/usr/pkgsrc/x11/gnome2-control-center/work/control-center-2.16.2/help'
> xsltproc -o control-center-ru.omf --stringparam db2omf.basename 
> control-center --stringparam db2omf.format 'docbook' --stringparam 
> db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam 
> db2omf.lang ru --stringparam db2omf.omf_dir "/usr/pkg/share/omf" 
> --stringparam db2omf.help_dir "/usr/pkg/share/gnome/help" --stringparam 
> db2omf.omf_in "`pwd`/./control-center.omf.in" 
> `/usr/pkgsrc/x11/gnome2-control-center/work/.tools/bin/pkg-config 
> --variable db2omf gnome-doc-utils` ru/control-center.xml
> db2omf: Could not construct the OMF maintainer element.
>  Add an author, corpauthor, editor, othercredit, or publisher
>  element with the role attribute set to "maintainer" to control-center.xml.
> gmake[2]: *** [control-center-ru.omf] Error 10
> gmake[2]: Leaving directory 
> `/usr/pkgsrc/x11/gnome2-control-center/work/control-center-2.16.2/help'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/pkgsrc/x11/gnome2-control-center/work/control-center-2.16.2'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop.
> make: stopped in /usr/pkgsrc/x11/gnome2-control-center
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/x11/gnome2-control-center
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/x11/gnome-session
> bash-3.2#
> 
> 
> Any ideas?
> 
Probably not right, but this worked for me:

cd /usr/pkgsrc/x11/gnome2-control-center/work/control-center-2.16.2/help/ru

edit control-center.xml

Look for <publisher>

Change this tag to <publisher role="maintainer">

Save.

Back out to /usr/pkgsrc/x11/gnome2-control-center/

Do *not* do a make clean.

Do a make install.

Hope this helps.

-- 
Dave Chapman
dchapman@canwest.victoria.bc.ca