Re: [Cooker] gnome-applets install error

2002-04-16 Thread Steve Fox

On Fri, 2002-04-12 at 18:19, Alexander Skwar wrote:
 gnome-applets   ##
 warning: failed to load external entity 
/etc/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,
 
»/etc/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,«
 konnte nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
 warning: failed to load external entity modemlights*,panel-menu*}
 »modemlights*,panel-menu*}« konnte nicht geöffnet werden: Datei oder Verzeichnis 
nicht gefunden
 Fehler: execution of %post scriptlet from gnome-applets-1.98.0-1mdk failed, exit 
status 1

It installed without errors for me. Do you have the latest GConf
installed too?

-- 

Steve Fox
http://k-lug.org
When i think of the OpenBSD commiters, I picture the two old muppets
that sit in the theater and gripe at everyone - mrx, on BlueNet




Re: [Cooker] gnome-applets install error

2002-04-13 Thread Alexander Skwar

»R.I.P. Deaddog« sagte am 2002-04-13 um 13:52:41 +0800 :
 -for SCHEMA in 
%{_sysconfdir}/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,
 modemlights*,panel-menu*} ; do
^

Isn't there a space too much?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 3 days 13 hours 56 minutes




Re: [Cooker] gnome-applets install error

2002-04-12 Thread R.I.P. Deaddog

On Sat, 13 Apr 2002, Alexander Skwar wrote:

 gnome-applets   ##
 warning: failed to load external entity 
/etc/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,
 
»/etc/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,«
 konnte nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
 warning: failed to load external entity modemlights*,panel-menu*}
 »modemlights*,panel-menu*}« konnte nicht geöffnet werden: Datei oder Verzeichnis 
nicht gefunden
 Fehler: execution of %post scriptlet from gnome-applets-1.98.0-1mdk failed, exit 
status 1
 
 [askwar@teich askwar]$ rpm -q gnome-applets
 gnome-applets-1.98.0-1mdk

Hi fcrozat,

Sounds like gnome-applets.spec has genuine problem in %%post here:
the shell expension doesn't work correctly. Attached a patch that
hopefully fix it by avoiding shell expension completely. The source
of problem seems to be an extra space; anyway I haven't tested it
thoroughly so not sure about that yet.

Abel


-- 
Abel Cheung
GPG Key: (0xC67186FF) http://deaddog.org/gpg.asc


--- gnome-applets.spec.orig 2002-04-10 21:34:38.0 +0800
+++ gnome-applets.spec  2002-04-13 13:48:36.0 +0800
 -47,17 +47,14 
 
 %{find_lang} %{name}-2.0 --with-gnome --all-name
 
-rm -f $RPM_BUILD_ROOT%{_datadir}/applets/Utility/gnotes_applet.desktop
-rm -f $RPM_BUILD_ROOT%{_datadir}/applets/Utility/bug-applet.desktop
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
 if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q || true 
; fi
-for SCHEMA in 
%{_sysconfdir}/gconf/schemas/{battstat*,cdplayer*,charpick*,drivemount*,geyes*,gkb*,gtik*,gweather*,mini-commander*,
 modemlights*,panel-menu*} ; do
-   GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 
--makefile-install-rule $SCHEMA  /dev/null
+for SCHEMA in battstat cdplayer charpick drivemount geyes gkb gtik gweather 
+mini-commander modemlights panel-menu; do
+   GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 
+--makefile-install-rule %{_sysconfdir}/gconf/schemas/${SCHEMA}.schemas  /dev/null
 done
 
 %postun