Commit 54144c9a authored by Sam Thursfield's avatar Sam Thursfield

Rename config.h to config-miners.h

This fixes compile warnings which show up when we build with
-Dtracker_core=subproject. This is an example of the kind of
warning:

    [7/186] Compiling C object 'subprojects/tracker/src/tracker-store/7bb4675@@tracker-store@exe/tracker-config.c.o'.
    In file included from ../subprojects/tracker/src/tracker-store/tracker-config.c:21:
    subprojects/tracker/./config.h:25: warning: "GETTEXT_PACKAGE" redefined
       25 | #define GETTEXT_PACKAGE "tracker"
          |
    In file included from <command-line>:
    ./config.h:25: note: this is the location of the previous definition
       25 | #define GETTEXT_PACKAGE "tracker-miners"
          |
parent 6055f5ed
......@@ -368,8 +368,8 @@ conf.set('FUNCTIONAL_TESTS_TRACKER_WRITEBACK_PATH', join_paths(meson.current_bui
conf.set('FUNCTIONAL_TESTS_TRACKER_STORE_PATH', tracker_store_path)
configure_file(input: 'config.h.meson.in',
output: 'config.h',
configure_file(input: 'config-miners.h.meson.in',
output: 'config-miners.h',
configuration: conf)
# Global compiler defines. We avoid add_global_arguments() as it breaks
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <glib.h>
#include "tracker-encoding-enca.h"
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include "unicode/utypes.h"
#include "unicode/localpointer.h"
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <glib.h>
#include "tracker-encoding.h"
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <ctype.h>
......
......@@ -19,7 +19,7 @@
* Author: Carlos Garnacho <carlos@lanedo.com>
*/
#include "config.h"
#include "config-miners.h"
#include "tracker-extract-info.h"
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE_EXTENDED 1 /* strptime is XPG4v2 */
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <locale.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
/* For timegm usage on __GLIBC__ we need _GNU_SOURCE, should be
* defined in config.h based on configure checks...
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <gio/gio.h>
#include <gio/gunixinputstream.h>
......
......@@ -19,7 +19,7 @@
* Authors: Carlos Garnacho <carlosg@gnome.org>
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include "tracker-domain-ontology.h"
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <unistd.h>
......
......@@ -24,7 +24,7 @@
* DEALINGS IN THE SOFTWARE.
*/
#include "config.h"
#include "config-miners.h"
#ifdef __linux__
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <locale.h>
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <sys/time.h>
#include <sys/resource.h>
......
/*** BEGIN file-header ***/
#include <config.h>
#include <config-miners.h>
#include "tracker-miners-enum-types.h"
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#ifdef __linux__
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include "tracker-seccomp.h"
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE_EXTENDED 1 /* strcasecmp is XPG4v2 */
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdio.h>
#include <string.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <stdlib.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include "tracker-extract-watchdog.h"
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <stdlib.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-miners-common/tracker-dbus.h>
#include <libtracker-sparql/tracker-sparql.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <sys/statvfs.h>
#include <fcntl.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#ifdef HAVE_HAL
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#ifdef HAVE_UPOWER
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -17,7 +17,7 @@
* 02110-1301 USA
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-miners-common/tracker-dbus.h>
#include <libtracker-sparql/tracker-sparql.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-miners-common/tracker-dbus.h>
#include <libtracker-sparql/tracker-sparql.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <gio/gio.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdlib.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdio.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#define G_SETTINGS_ENABLE_BACKEND
#include <gio/gsettingsbackend.h>
......
......@@ -19,7 +19,7 @@
* Author: Sam Thursfield <sam.thursfield@codethink.co.uk>
*/
#include "config.h"
#include "config-miners.h"
#include <stdlib.h>
#include <string.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <errno.h>
#include <fcntl.h>
......
......@@ -19,7 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-miners-common/tracker-common.h>
#include <libtracker-extract/tracker-extract.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include "tracker-extract-controller.h"
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-sparql/tracker-sparql.h>
#include <libtracker-extract/tracker-extract.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <gio/gio.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-miners-common/tracker-common.h>
#include <libtracker-extract/tracker-extract.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdio.h>
#include <string.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <errno.h>
#include <fcntl.h>
......
......@@ -20,7 +20,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
/* Ensure we have a valid backend enabled */
#if !defined(GSTREAMER_BACKEND_DISCOVERER) && \
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-miners-common/tracker-file-utils.h>
#include <libtracker-extract/tracker-extract.h>
......
......@@ -20,7 +20,7 @@
* Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
*/
#include "config.h"
#include "config-miners.h"
#include <stdio.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdio.h>
#include <setjmp.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdio.h>
#include <stdlib.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -19,7 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <errno.h>
#include <string.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <libtracker-miners-common/tracker-common.h>
......
......@@ -19,7 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <sys/mman.h>
#include <sys/types.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <stdlib.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <png.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include <config.h>
#include "config-miners.h"
#include <glib.h>
#include <glib/gstdio.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <errno.h>
#include <fcntl.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <errno.h>
#include <fcntl.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdio.h>
#include <string.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <errno.h>
#include <fcntl.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <unistd.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#define _XOPEN_SOURCE
#include <time.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <unistd.h>
......
......@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <string.h>
#include <stdlib.h>
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "config-miners.h"
#include <stdlib.h>