Re: [Ekiga-list] ekiga-snapshot-config-tool Debian packaging looks for wrong schema file



Mark T.B. Carroll wrote:
ekiga-snapshot-config-tool --install-schemas gives,

I/O warning : failed to load external entity "/etc/gconf/schemas/ekiga.schemas"
Failed to open `/etc/gconf/schemas/ekiga.schemas': No such file or directory

My version of the ekiga-snapshot Debian package is 0-20090214-1 which
instead has a /usr/share/gconf/schemas/ekiga-snapshot.schemas file.

upstream, please apply the patch attached.

Do you think it is still useful to distribute this small script? Is it better to just inform people about the gconftool command line to remove their ekiga configuration?

--
Eugen
--- ekiga-config-tool.in	2009-01-07 11:02:09.000000000 +0100
+++ ekiga-config-tool.in-ok	2009-02-26 15:46:25.000000000 +0100
@@ -71,8 +71,8 @@
 
 	$GETTEXT "Removing schemas"; echo
 	SOURCE=`echo $SOURCE | sed "s/xml:://"`
-	SCHEMAS=$SOURCE/schemas/apps/ekiga
-	SOURCE=$SOURCE/apps/ekiga
+	SCHEMAS=$SOURCE/schemas/apps/@PACKAGE_NAME@
+	SOURCE=$SOURCE/apps/@PACKAGE_NAME@
 	echo $SCHEMAS
 	echo $SOURCE
 	rm -rf $SOURCE
@@ -96,7 +96,7 @@
 
 	$GETTEXT "Installing schemas"; echo
 	GCONF_CONFIG_SOURCE=$SOURCE  $GCONFTOOL \
-	--makefile-install-rule $SYSCONFDIR/gconf/schemas/ekiga.schemas
+	--makefile-install-rule $SYSCONFDIR/gconf/schemas/@PACKAGE_NAME  schemas
     fi
 }
 
@@ -120,7 +120,7 @@
         fixgconfperm;
         ;;
   *)
-        $GETTEXT "Usage:  ekiga-config-tool OPTION"; echo
+        $GETTEXT "Usage:  @PACKAGE_NAME -config-tool OPTION"; echo
 	$GETTEXT "Fixes problems with the Ekiga settings"; echo; echo
 	$GETTEXT "  --clean                remove all user settings"; echo
 	$GETTEXT "  --install-schemas      install schemas with default settings (run as root)"; echo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]