After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 327449 - Option to disable update-mime-database
Option to disable update-mime-database
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
0.8.x
Other Mac OS
: Normal minor
: 1.0.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2006-01-17 23:49 UTC by Daniel Macks
Modified: 2006-01-19 04:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implements --disable-update-mime-database (1.76 KB, patch)
2006-01-18 23:07 UTC, Daniel Macks
none Details | Review

Description Daniel Macks 2006-01-17 23:49:41 UTC
During 'make install' in plugins/nautilus, update-mime-database is run to adjust the local system's mimetypes files. However, I build to a temp location on a dedicated build machine, so I don't want that to happen (I comment-out the lines of the Makefile*). A useful solution would be for ./configure to take a --disable-update-databases flag. See the 'bluefish' gnome package for an example of its implementation.
Comment 1 Stef Walter 2006-01-18 16:04:11 UTC
Interesting. Once again do you have any patches that enable this behaviour? 
Comment 2 Daniel Macks 2006-01-18 23:07:30 UTC
Created attachment 57623 [details] [review]
Implements --disable-update-mime-database
Comment 3 Stef Walter 2006-01-19 04:01:27 UTC
Thanks but....

Did you test this patch? It didn't apply cleanly to the seahorse-0-8 stable branch. It also didn't build for me (using automake 1.9) due to a uninstall-data-local/uninstall-local mixup. 

In any case it pointed me in the right direction and the --disable-update-mime-database option is now in the stable branch. Should be included in 0.8.1:

2006-01-18  Nate Nielsen  <nielsen@memberwebs.com>

    * configure.in:
    * plugins/nautilus/Makefile.am: Add --disable-update-mime-database
    option. Patch by <dmacks@netspace.org> Fixes bug #327449
Comment 4 Daniel Macks 2006-01-19 04:40:03 UTC
That was a diff against CVS HEAD, based on some apparently crappy cut'n'paste from another modified set of files where I was testing it. Sorry for the mixup, but thanks for fixing it. seahorse-0.8 is now available via fink for OS X users.