]> git.pld-linux.org Git - packages/glom.git/blame - glom-mime_update.patch
- make mime database updating configurable (patch), updated deps, rel.2
[packages/glom.git] / glom-mime_update.patch
CommitLineData
4dff17ce 1diff -aurN glom-1.0.4.orig/configure.in glom-1.0.4/configure.in
2--- glom-1.0.4.orig/configure.in 2006-05-21 14:57:14.000000000 +0200
3+++ glom-1.0.4/configure.in 2006-08-18 22:28:56.000000000 +0200
4@@ -61,6 +61,11 @@
5 # Evaluate the --enable-warnings=level option.
6 GLOM_ARG_ENABLE_WARNINGS()
7
8+AC_ARG_ENABLE(update-mime-database,
9+ AC_HELP_STRING([--disable-update-mime-database],
10+ [do not run the update-mime-database utility (mostly useful for package maintainers) ]))
11+AM_CONDITIONAL(UPDATE_MIME_DATABASE, test "$enable_update_mime_database" != "no")
12+
13 # Generate Makefiles, configuration files and scripts:
14 AC_OUTPUT(Makefile \
15 docs/Makefile \
16diff -aurN glom-1.0.4.orig/Makefile.am glom-1.0.4/Makefile.am
17--- glom-1.0.4.orig/Makefile.am 2006-05-21 12:21:43.000000000 +0200
18+++ glom-1.0.4/Makefile.am 2006-08-18 22:31:39.000000000 +0200
19@@ -30,9 +30,10 @@
20 # appregdir = $(datadir)/application-registry
21 # appreg_DATA = glom.applications
22
23-
24+if UPDATE_MIME_DATABASE
25 install-data-hook:
26 -update-mime-database "$(DESTDIR)${datadir}/mime"
27+endif
28
29 EXTRA_DIST = $(desktop_in_files) $(MimeDatabase_DATA) $(appreg_DATA) $(mimeinfo_DATA) \
30 autogen.sh \
This page took 0.056531 seconds and 4 git commands to generate.