]> git.pld-linux.org Git - packages/glom.git/commitdiff
- make updating mime database configurable
authorfreetz <freetz@pld-linux.org>
Fri, 18 Aug 2006 20:51:13 +0000 (20:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glom-mime_update.patch -> 1.1

glom-mime_update.patch [new file with mode: 0644]

diff --git a/glom-mime_update.patch b/glom-mime_update.patch
new file mode 100644 (file)
index 0000000..02430c4
--- /dev/null
@@ -0,0 +1,30 @@
+diff -aurN glom-1.0.4.orig/configure.in glom-1.0.4/configure.in
+--- glom-1.0.4.orig/configure.in       2006-05-21 14:57:14.000000000 +0200
++++ glom-1.0.4/configure.in    2006-08-18 22:28:56.000000000 +0200
+@@ -61,6 +61,11 @@
+ # Evaluate the --enable-warnings=level option.
+ GLOM_ARG_ENABLE_WARNINGS()
++AC_ARG_ENABLE(update-mime-database,
++        AC_HELP_STRING([--disable-update-mime-database],
++        [do not run the update-mime-database utility (mostly useful for package maintainers) ]))
++AM_CONDITIONAL(UPDATE_MIME_DATABASE, test "$enable_update_mime_database" != "no")
++
+ # Generate Makefiles, configuration files and scripts:
+ AC_OUTPUT(Makefile \
+   docs/Makefile \
+diff -aurN glom-1.0.4.orig/Makefile.am glom-1.0.4/Makefile.am
+--- glom-1.0.4.orig/Makefile.am        2006-05-21 12:21:43.000000000 +0200
++++ glom-1.0.4/Makefile.am     2006-08-18 22:31:39.000000000 +0200
+@@ -30,9 +30,10 @@
+ # appregdir = $(datadir)/application-registry
+ # appreg_DATA = glom.applications
+-
++if UPDATE_MIME_DATABASE
+ install-data-hook: 
+       -update-mime-database "$(DESTDIR)${datadir}/mime"
++endif
+ EXTRA_DIST = $(desktop_in_files) $(MimeDatabase_DATA) $(appreg_DATA) $(mimeinfo_DATA) \
+              autogen.sh \
This page took 0.149096 seconds and 4 git commands to generate.