tags 297858 patch
thanks
The problem is that $(MAKE) install triggers
update-desktop-database, which fails if run without root privileges.
The patch I've written removes install/uninstall hooks, since I
think that everything that can be called via these hooks should
be run at package-install time anyway, rather that at build time.
Probably drivel should run update-desktop-database when it is
installed, I've got a patch for that too (available at
<URL:http://greek0.net/~greek0/patches>). If you wish I can submit a
new bug report against drivel with that patch attatched.
Cheers,
Greek0
--- drivel-1.2.4.orig/data/Makefile.in 2005-01-24 03:41:20.000000000 +0100
+++ drivel-1.2.4/data/Makefile.in 2005-03-03 23:23:57.000000000 +0100
@@ -513,7 +513,6 @@
install-data-am: install-data-local install-desktopDATA \
install-schemaDATA
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-exec-am:
@@ -542,7 +541,6 @@
uninstall-am: uninstall-desktopDATA uninstall-info-am \
uninstall-schemaDATA
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
uninstall-info: uninstall-info-recursive
@@ -574,12 +572,6 @@
@GCONF_SCHEMAS_INSTALL_TRUE@
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL)
--makefile-install-rule $(schema_DATA)
@[EMAIL PROTECTED]:
-install-data-hook:
[EMAIL PROTECTED]@ $(UPDATE_DESKTOP_DATABASE)
-
-uninstall-hook:
[EMAIL PROTECTED]@ $(UPDATE_DESKTOP_DATABASE)
-
dist-hook: drivel.spec
cp drivel.spec $(distdir)
# Tell versions [3.59,3.63) of GNU make to not export all variables.