Hello community,

here is the log from the commit of package gnome-online-miners for 
openSUSE:Factory checked in at 2014-03-13 20:43:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-online-miners (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-online-miners.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-online-miners"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-online-miners/gnome-online-miners.changes  
2013-10-04 07:24:05.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.gnome-online-miners.new/gnome-online-miners.changes 
    2014-03-13 20:43:28.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Mar  8 23:30:07 UTC 2014 - [email protected]
+
+- Update to version 3.10.3:
+  + Bugs fixed: bgo#722278.
+- Changes from version 3.10.2:
+  + Bugs fixed: bgo#715026.
+
+-------------------------------------------------------------------

Old:
----
  gnome-online-miners-3.10.0.tar.xz

New:
----
  gnome-online-miners-3.10.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-online-miners.spec ++++++
--- /var/tmp/diff_new_pack.mqVaAk/_old  2014-03-13 20:43:28.000000000 +0100
+++ /var/tmp/diff_new_pack.mqVaAk/_new  2014-03-13 20:43:28.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-online-miners
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           gnome-online-miners
-Version:        3.10.0
+Version:        3.10.3
 Release:        0
 Summary:        Crawls through your online content
 License:        GPL-2.0+

++++++ gnome-online-miners-3.10.0.tar.xz -> gnome-online-miners-3.10.3.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/NEWS 
new/gnome-online-miners-3.10.3/NEWS
--- old/gnome-online-miners-3.10.0/NEWS 2013-09-24 16:29:11.000000000 +0200
+++ new/gnome-online-miners-3.10.3/NEWS 2014-01-20 17:55:58.000000000 +0100
@@ -1,3 +1,17 @@
+Overview of changes in 3.10.3
+=============================
+
+* Bugs fixed:
+ 722278 miner-main: Lower the CPU and disk I/O scheduling and priority
+
+
+Overview of changes in 3.10.2
+=============================
+
+* Bugs fixed:
+ 715026 owncloud: Regular files are missing
+
+
 Overview of changes in 3.10.0
 =============================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/aclocal.m4 
new/gnome-online-miners-3.10.3/aclocal.m4
--- old/gnome-online-miners-3.10.0/aclocal.m4   2013-09-24 16:29:56.000000000 
+0200
+++ new/gnome-online-miners-3.10.3/aclocal.m4   2014-01-20 17:56:28.000000000 
+0100
@@ -76,10 +76,20 @@
        AC_SUBST(DISABLE_DEPRECATED)
 ])
 
+# gnome-compiler-flags.m4
+#
+# serial 2
+#
+
 dnl GNOME_COMPILE_WARNINGS
 dnl Turn on many useful compiler warnings and substitute the result into
 dnl WARN_CFLAGS
 dnl For now, only works on GCC
+dnl Pass the default value of the --enable-compile-warnings configure option as
+dnl the first argument to the macro, defaulting to 'yes'.
+dnl Additional warning/error flags can be passed as an optional second 
argument.
+dnl
+dnl For example: GNOME_COMPILE_WARNINGS([maximum],[-Werror=some-flag -Wfoobar])
 AC_DEFUN([GNOME_COMPILE_WARNINGS],[
     dnl ******************************
     dnl More compiler warnings
@@ -119,6 +129,11 @@
         -Werror=missing-include-dirs \
     "
 
+    dnl Additional warning or error flags provided by the module author to
+    dnl allow stricter standards to be imposed on a per-module basis.
+    dnl The author can pass -W or -Werror flags here as they see fit.
+    additional_flags="m4_default([$2],[])"
+
     case "$enable_compile_warnings" in
     no)
         warning_flags=
@@ -127,10 +142,10 @@
         warning_flags="-Wall"
         ;;
     yes)
-        warning_flags="$base_warn_flags $base_error_flags"
+        warning_flags="$base_warn_flags $base_error_flags $additional_flags"
         ;;
     maximum|error)
-        warning_flags="$base_warn_flags $base_error_flags"
+        warning_flags="$base_warn_flags $base_error_flags $additional_flags"
         ;;
     *)
         AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to 
--enable-compile-warnings)
@@ -442,6 +457,21 @@
 m4_popdef([pkg_description])
 ]) dnl PKG_NOARCH_INSTALLDIR
 
+
+# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
+# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -------------------------------------------
+# Retrieves the value of the pkg-config variable for the given module.
+AC_DEFUN([PKG_CHECK_VAR],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
+
+_PKG_CONFIG([$1], [variable="][$3]["], [$2])
+AS_VAR_COPY([$1], [pkg_cv_][$1])
+
+AS_VAR_IF([$1], [""], [$5], [$4])dnl
+])# PKG_CHECK_VAR
+
 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/config/config.guess 
new/gnome-online-miners-3.10.3/config/config.guess
--- old/gnome-online-miners-3.10.0/config/config.guess  2013-09-24 
16:29:58.000000000 +0200
+++ new/gnome-online-miners-3.10.3/config/config.guess  2014-01-20 
17:56:30.000000000 +0100
@@ -1,8 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
-#   Copyright 1992-2013 Free Software Foundation, Inc.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012, 2013 Free Software Foundation, Inc.
 
-timestamp='2013-06-10'
+timestamp='2012-12-29'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -24,7 +26,7 @@
 # program.  This Exception is an additional permission under section 7
 # of the GNU General Public License, version 3 ("GPLv3").
 #
-# Originally written by Per Bothner.
+# Originally written by Per Bothner. 
 #
 # You can get the latest version of this script from:
 # 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
@@ -50,7 +52,9 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright 1992-2013 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
+2012, 2013 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -132,27 +136,6 @@
 UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 
-case "${UNAME_SYSTEM}" in
-Linux|GNU|GNU/*)
-       # If the system lacks a compiler, then just pick glibc.
-       # We could probably try harder.
-       LIBC=gnu
-
-       eval $set_cc_for_build
-       cat <<-EOF > $dummy.c
-       #include <features.h>
-       #if defined(__UCLIBC__)
-       LIBC=uclibc
-       #elif defined(__dietlibc__)
-       LIBC=dietlibc
-       #else
-       LIBC=gnu
-       #endif
-       EOF
-       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
-       ;;
-esac
-
 # Note: order is significant - the case branches are not exclusive.
 
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
@@ -874,21 +857,21 @@
        exit ;;
     *:GNU:*:*)
        # the GNU system
-       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo 
${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+       echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo 
${UNAME_RELEASE}|sed -e 's,/.*$,,'`
        exit ;;
     *:GNU/*:*:*)
        # other systems with GNU libc and userland
-       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' 
| tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' 
| tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
        exit ;;
     i*86:Minix:*:*)
        echo ${UNAME_MACHINE}-pc-minix
        exit ;;
     aarch64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     aarch64_be:Linux:*:*)
        UNAME_MACHINE=aarch64_be
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     alpha:Linux:*:*)
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -901,54 +884,59 @@
          EV68*) UNAME_MACHINE=alphaev68 ;;
        esac
        objdump --private-headers /bin/sh | grep -q ld.so.1
-       if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
-       exit ;;
-    arc:Linux:*:* | arceb:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+       echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
        exit ;;
     arm*:Linux:*:*)
        eval $set_cc_for_build
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
            | grep -q __ARM_EABI__
        then
-           echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+           echo ${UNAME_MACHINE}-unknown-linux-gnu
        else
            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
                | grep -q __ARM_PCS_VFP
            then
-               echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
+               echo ${UNAME_MACHINE}-unknown-linux-gnueabi
            else
-               echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
+               echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
            fi
        fi
        exit ;;
     avr32*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     cris:Linux:*:*)
-       echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+       echo ${UNAME_MACHINE}-axis-linux-gnu
        exit ;;
     crisv32:Linux:*:*)
-       echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+       echo ${UNAME_MACHINE}-axis-linux-gnu
        exit ;;
     frv:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     hexagon:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     i*86:Linux:*:*)
-       echo ${UNAME_MACHINE}-pc-linux-${LIBC}
+       LIBC=gnu
+       eval $set_cc_for_build
+       sed 's/^        //' << EOF >$dummy.c
+       #ifdef __dietlibc__
+       LIBC=dietlibc
+       #endif
+EOF
+       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+       echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
        exit ;;
     ia64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     m32r*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     m68*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     mips:Linux:*:* | mips64:Linux:*:*)
        eval $set_cc_for_build
@@ -967,63 +955,54 @@
        #endif
 EOF
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
-       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
+       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
        ;;
-    or1k:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
-       exit ;;
     or32:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     padre:Linux:*:*)
-       echo sparc-unknown-linux-${LIBC}
+       echo sparc-unknown-linux-gnu
        exit ;;
     parisc64:Linux:*:* | hppa64:Linux:*:*)
-       echo hppa64-unknown-linux-${LIBC}
+       echo hppa64-unknown-linux-gnu
        exit ;;
     parisc:Linux:*:* | hppa:Linux:*:*)
        # Look for CPU level
        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
-         PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
-         PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
-         *)    echo hppa-unknown-linux-${LIBC} ;;
+         PA7*) echo hppa1.1-unknown-linux-gnu ;;
+         PA8*) echo hppa2.0-unknown-linux-gnu ;;
+         *)    echo hppa-unknown-linux-gnu ;;
        esac
        exit ;;
     ppc64:Linux:*:*)
-       echo powerpc64-unknown-linux-${LIBC}
+       echo powerpc64-unknown-linux-gnu
        exit ;;
     ppc:Linux:*:*)
-       echo powerpc-unknown-linux-${LIBC}
-       exit ;;
-    ppc64le:Linux:*:*)
-       echo powerpc64le-unknown-linux-${LIBC}
-       exit ;;
-    ppcle:Linux:*:*)
-       echo powerpcle-unknown-linux-${LIBC}
+       echo powerpc-unknown-linux-gnu
        exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
-       echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
+       echo ${UNAME_MACHINE}-ibm-linux
        exit ;;
     sh64*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     sh*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     sparc:Linux:*:* | sparc64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     tile*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     vax:Linux:*:*)
-       echo ${UNAME_MACHINE}-dec-linux-${LIBC}
+       echo ${UNAME_MACHINE}-dec-linux-gnu
        exit ;;
     x86_64:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     xtensa*:Linux:*:*)
-       echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
        exit ;;
     i*86:DYNIX/ptx:4*:*)
        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1256,21 +1235,19 @@
        exit ;;
     *:Darwin:*:*)
        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
-       eval $set_cc_for_build
-       if test "$UNAME_PROCESSOR" = unknown ; then
-           UNAME_PROCESSOR=powerpc
-       fi
-       if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
-           if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
-               (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
-               grep IS_64BIT_ARCH >/dev/null
-           then
-               case $UNAME_PROCESSOR in
-                   i386) UNAME_PROCESSOR=x86_64 ;;
-                   powerpc) UNAME_PROCESSOR=powerpc64 ;;
-               esac
-           fi
-       fi
+       case $UNAME_PROCESSOR in
+           i386)
+               eval $set_cc_for_build
+               if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+                 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo 
'#endif') | \
+                     (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+                     grep IS_64BIT_ARCH >/dev/null
+                 then
+                     UNAME_PROCESSOR="x86_64"
+                 fi
+               fi ;;
+           unknown) UNAME_PROCESSOR=powerpc ;;
+       esac
        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
        exit ;;
     *:procnto*:*:* | *:QNX:[0123456789]*:*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/config/config.sub 
new/gnome-online-miners-3.10.3/config/config.sub
--- old/gnome-online-miners-3.10.0/config/config.sub    2013-09-24 
16:29:58.000000000 +0200
+++ new/gnome-online-miners-3.10.3/config/config.sub    2014-01-20 
17:56:30.000000000 +0100
@@ -1,8 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
-#   Copyright 1992-2013 Free Software Foundation, Inc.
+#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012, 2013 Free Software Foundation, Inc.
 
-timestamp='2013-04-24'
+timestamp='2012-12-29'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -68,7 +70,9 @@
 version="\
 GNU config.sub ($timestamp)
 
-Copyright 1992-2013 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
+2012, 2013 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -252,7 +256,7 @@
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | 
alpha64pca5[67] \
        | am33_2.0 \
-       | arc | arceb \
+       | arc \
        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
        | avr | avr32 \
        | be32 | be64 \
@@ -286,17 +290,16 @@
        | mipsisa64r2 | mipsisa64r2el \
        | mipsisa64sb1 | mipsisa64sb1el \
        | mipsisa64sr71k | mipsisa64sr71kel \
-       | mipsr5900 | mipsr5900el \
        | mipstx39 | mipstx39el \
        | mn10200 | mn10300 \
        | moxie \
        | mt \
        | msp430 \
        | nds32 | nds32le | nds32be \
-       | nios | nios2 | nios2eb | nios2el \
+       | nios | nios2 \
        | ns16k | ns32k \
        | open8 \
-       | or1k | or32 \
+       | or32 \
        | pdp10 | pdp11 | pj | pjl \
        | powerpc | powerpc64 | powerpc64le | powerpcle \
        | pyramid \
@@ -366,7 +369,7 @@
        | aarch64-* | aarch64_be-* \
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
-       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
+       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
        | avr-* | avr32-* \
        | be32-* | be64-* \
@@ -404,13 +407,12 @@
        | mipsisa64r2-* | mipsisa64r2el-* \
        | mipsisa64sb1-* | mipsisa64sb1el-* \
        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
-       | mipsr5900-* | mipsr5900el-* \
        | mipstx39-* | mipstx39el-* \
        | mmix-* \
        | mt-* \
        | msp430-* \
        | nds32-* | nds32le-* | nds32be-* \
-       | nios-* | nios2-* | nios2eb-* | nios2el-* \
+       | nios-* | nios2-* \
        | none-* | np1-* | ns16k-* | ns32k-* \
        | open8-* \
        | orion-* \
@@ -1352,7 +1354,7 @@
        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | 
-sunos[34]*\
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | 
-solaris* \
-             | -sym* | -kopensolaris* | -plan9* \
+             | -sym* | -kopensolaris* \
              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
              | -aos* | -aros* \
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1498,6 +1500,9 @@
        -aros*)
                os=-aros
                ;;
+       -kaos*)
+               os=-kaos
+               ;;
        -zvmoe)
                os=-zvmoe
                ;;
@@ -1589,9 +1594,6 @@
        mips*-*)
                os=-elf
                ;;
-       or1k-*)
-               os=-elf
-               ;;
        or32-*)
                os=-coff
                ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/configure 
new/gnome-online-miners-3.10.3/configure
--- old/gnome-online-miners-3.10.0/configure    2013-09-24 16:29:57.000000000 
+0200
+++ new/gnome-online-miners-3.10.3/configure    2014-01-20 17:56:29.000000000 
+0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GNOME Online Miners 3.10.0.
+# Generated by GNU Autoconf 2.69 for GNOME Online Miners 3.10.3.
 #
 # Report bugs to 
<https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='GNOME Online Miners'
 PACKAGE_TARNAME='gnome-online-miners'
-PACKAGE_VERSION='3.10.0'
-PACKAGE_STRING='GNOME Online Miners 3.10.0'
+PACKAGE_VERSION='3.10.3'
+PACKAGE_STRING='GNOME Online Miners 3.10.3'
 
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners'
 PACKAGE_URL=''
 
@@ -1355,7 +1355,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GNOME Online Miners 3.10.0 to adapt to many kinds of 
systems.
+\`configure' configures GNOME Online Miners 3.10.3 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1426,7 +1426,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GNOME Online Miners 3.10.0:";;
+     short | recursive ) echo "Configuration of GNOME Online Miners 3.10.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1563,7 +1563,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-GNOME Online Miners configure 3.10.0
+GNOME Online Miners configure 3.10.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1841,7 +1841,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by GNOME Online Miners $as_me 3.10.0, which was
+It was created by GNOME Online Miners $as_me 3.10.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2712,7 +2712,7 @@
 
 # Define the identity of the package.
  PACKAGE='gnome-online-miners'
- VERSION='3.10.0'
+ VERSION='3.10.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4425,6 +4425,8 @@
         -Werror=missing-include-dirs \
     "
 
+                additional_flags=""
+
     case "$enable_compile_warnings" in
     no)
         warning_flags=
@@ -4433,10 +4435,10 @@
         warning_flags="-Wall"
         ;;
     yes)
-        warning_flags="$base_warn_flags $base_error_flags"
+        warning_flags="$base_warn_flags $base_error_flags $additional_flags"
         ;;
     maximum|error)
-        warning_flags="$base_warn_flags $base_error_flags"
+        warning_flags="$base_warn_flags $base_error_flags $additional_flags"
         ;;
     *)
         as_fn_error $? "Unknown argument '$enable_compile_warnings' to 
--enable-compile-warnings" "$LINENO" 5
@@ -6822,7 +6824,7 @@
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
@@ -6840,7 +6842,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_i386"
            ;;
-         ppc64-*linux*|powerpc64-*linux*)
+         powerpcle-*linux*)
+           LD="${LD-ld} -m elf32lppclinux"
+           ;;
+         powerpc-*linux*)
            LD="${LD-ld} -m elf32ppclinux"
            ;;
          s390x-*linux*)
@@ -6859,7 +6864,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
-         ppc*-*linux*|powerpc*-*linux*)
+         powerpcle-*linux*)
+           LD="${LD-ld} -m elf64lppc"
+           ;;
+         powerpc-*linux*)
            LD="${LD-ld} -m elf64ppc"
            ;;
          s390*-*linux*|s390*-*tpf*)
@@ -13048,7 +13056,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by GNOME Online Miners $as_me 3.10.0, which was
+This file was extended by GNOME Online Miners $as_me 3.10.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13114,7 +13122,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-GNOME Online Miners config.status 3.10.0
+GNOME Online Miners config.status 3.10.3
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/configure.ac 
new/gnome-online-miners-3.10.3/configure.ac
--- old/gnome-online-miners-3.10.0/configure.ac 2013-09-24 16:29:23.000000000 
+0200
+++ new/gnome-online-miners-3.10.3/configure.ac 2014-01-20 17:55:58.000000000 
+0100
@@ -1,5 +1,5 @@
 AC_INIT([GNOME Online Miners],
-        [3.10.0],
+        [3.10.3],
         [https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-online-miners],
         [gnome-online-miners],
         [])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/m4/libtool.m4 
new/gnome-online-miners-3.10.3/m4/libtool.m4
--- old/gnome-online-miners-3.10.0/m4/libtool.m4        2013-09-24 
16:29:52.000000000 +0200
+++ new/gnome-online-miners-3.10.3/m4/libtool.m4        2014-01-20 
17:56:26.000000000 +0100
@@ -1312,7 +1312,7 @@
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
@@ -1326,7 +1326,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_i386"
            ;;
-         ppc64-*linux*|powerpc64-*linux*)
+         powerpcle-*linux*)
+           LD="${LD-ld} -m elf32lppclinux"
+           ;;
+         powerpc-*linux*)
            LD="${LD-ld} -m elf32ppclinux"
            ;;
          s390x-*linux*)
@@ -1345,7 +1348,10 @@
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
-         ppc*-*linux*|powerpc*-*linux*)
+         powerpcle-*linux*)
+           LD="${LD-ld} -m elf64lppc"
+           ;;
+         powerpc-*linux*)
            LD="${LD-ld} -m elf64ppc"
            ;;
          s390*-*linux*|s390*-*tpf*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/Makefile.am 
new/gnome-online-miners-3.10.3/src/Makefile.am
--- old/gnome-online-miners-3.10.0/src/Makefile.am      2013-08-21 
00:16:18.000000000 +0200
+++ new/gnome-online-miners-3.10.3/src/Makefile.am      2014-01-20 
17:55:58.000000000 +0100
@@ -7,6 +7,10 @@
     gom-tracker.h \
     gom-utils.c \
     gom-utils.h \
+    tracker-ioprio.c \
+    tracker-ioprio.h \
+    tracker-sched.c \
+    tracker-sched.h \
     $(NULL)
 
 libgom_1_0_la_CPPFLAGS = \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/Makefile.in 
new/gnome-online-miners-3.10.3/src/Makefile.in
--- old/gnome-online-miners-3.10.0/src/Makefile.in      2013-09-24 
16:29:58.000000000 +0200
+++ new/gnome-online-miners-3.10.3/src/Makefile.in      2014-01-20 
17:56:30.000000000 +0100
@@ -129,7 +129,8 @@
        $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
        $(am__DEPENDENCIES_1)
 am_libgom_1_0_la_OBJECTS = libgom_1_0_la-gom-miner.lo \
-       libgom_1_0_la-gom-tracker.lo libgom_1_0_la-gom-utils.lo
+       libgom_1_0_la-gom-tracker.lo libgom_1_0_la-gom-utils.lo \
+       libgom_1_0_la-tracker-ioprio.lo libgom_1_0_la-tracker-sched.lo
 libgom_1_0_la_OBJECTS = $(am_libgom_1_0_la_OBJECTS)
 AM_V_lt = $(am__v_lt_@AM_V@)
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
@@ -374,6 +375,10 @@
     gom-tracker.h \
     gom-utils.c \
     gom-utils.h \
+    tracker-ioprio.c \
+    tracker-ioprio.h \
+    tracker-sched.c \
+    tracker-sched.h \
     $(NULL)
 
 libgom_1_0_la_CPPFLAGS = \
@@ -658,6 +663,8 @@
 @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libgom_1_0_la-gom-miner.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libgom_1_0_la-gom-tracker.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libgom_1_0_la-gom-utils.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libgom_1_0_la-tracker-ioprio.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ 
@am__quote@./$(DEPDIR)/libgom_1_0_la-tracker-sched.Plo@am__quote@
 
 .c.o:
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF 
$(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -701,6 +708,20 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) 
$(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libgom_1_0_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -c -o libgom_1_0_la-gom-utils.lo `test -f 'gom-utils.c' 
|| echo '$(srcdir)/'`gom-utils.c
 
+libgom_1_0_la-tracker-ioprio.lo: tracker-ioprio.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libgom_1_0_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -MT libgom_1_0_la-tracker-ioprio.lo -MD -MP -MF 
$(DEPDIR)/libgom_1_0_la-tracker-ioprio.Tpo -c -o 
libgom_1_0_la-tracker-ioprio.lo `test -f 'tracker-ioprio.c' || echo 
'$(srcdir)/'`tracker-ioprio.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) 
$(DEPDIR)/libgom_1_0_la-tracker-ioprio.Tpo 
$(DEPDIR)/libgom_1_0_la-tracker-ioprio.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='tracker-ioprio.c' 
object='libgom_1_0_la-tracker-ioprio.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) 
$(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libgom_1_0_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -c -o libgom_1_0_la-tracker-ioprio.lo `test -f 
'tracker-ioprio.c' || echo '$(srcdir)/'`tracker-ioprio.c
+
+libgom_1_0_la-tracker-sched.lo: tracker-sched.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libgom_1_0_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -MT libgom_1_0_la-tracker-sched.lo -MD -MP -MF 
$(DEPDIR)/libgom_1_0_la-tracker-sched.Tpo -c -o libgom_1_0_la-tracker-sched.lo 
`test -f 'tracker-sched.c' || echo '$(srcdir)/'`tracker-sched.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) 
$(DEPDIR)/libgom_1_0_la-tracker-sched.Tpo 
$(DEPDIR)/libgom_1_0_la-tracker-sched.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='tracker-sched.c' 
object='libgom_1_0_la-tracker-sched.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) 
$(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC 
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) 
$(DEFAULT_INCLUDES) $(INCLUDES) $(libgom_1_0_la_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS) -c -o libgom_1_0_la-tracker-sched.lo `test -f 
'tracker-sched.c' || echo '$(srcdir)/'`tracker-sched.c
+
 gom_flickr_miner-gom-flickr-miner-main.o: gom-flickr-miner-main.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) 
$(gom_flickr_miner_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 
gom_flickr_miner-gom-flickr-miner-main.o -MD -MP -MF 
$(DEPDIR)/gom_flickr_miner-gom-flickr-miner-main.Tpo -c -o 
gom_flickr_miner-gom-flickr-miner-main.o `test -f 'gom-flickr-miner-main.c' || 
echo '$(srcdir)/'`gom-flickr-miner-main.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) 
$(DEPDIR)/gom_flickr_miner-gom-flickr-miner-main.Tpo 
$(DEPDIR)/gom_flickr_miner-gom-flickr-miner-main.Po
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/gom-miner-main.c 
new/gnome-online-miners-3.10.3/src/gom-miner-main.c
--- old/gnome-online-miners-3.10.0/src/gom-miner-main.c 2013-08-30 
18:47:24.000000000 +0200
+++ new/gnome-online-miners-3.10.3/src/gom-miner-main.c 2014-01-20 
17:55:34.000000000 +0100
@@ -25,9 +25,14 @@
 #error "gom-miner-main.c is meant to be included, not compiled standalone"
 #endif
 
+#include <unistd.h>
+
 #include <glib-unix.h>
 #include <glib.h>
 
+#include "tracker-ioprio.h"
+#include "tracker-sched.h"
+
 #define AUTOQUIT_TIMEOUT 5 /* seconds */
 
 static const gchar introspection_xml[] =
@@ -238,6 +243,18 @@
 main (int argc,
       char **argv)
 {
+  tracker_sched_idle ();
+  tracker_ioprio_init ();
+
+  errno = 0;
+  if (nice (19) == -1 && errno != 0)
+    {
+      const gchar *str;
+
+      str = g_strerror (errno);
+      g_warning ("Couldn't set nice value to 19, %s", (str != NULL) ? str : 
"no error given");
+    }
+
   ensure_autoquit_on ();
   loop = g_main_loop_new (NULL, FALSE);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/gom-owncloud-miner.c 
new/gnome-online-miners-3.10.3/src/gom-owncloud-miner.c
--- old/gnome-online-miners-3.10.0/src/gom-owncloud-miner.c     2013-08-30 
19:24:03.000000000 +0200
+++ new/gnome-online-miners-3.10.3/src/gom-owncloud-miner.c     2014-01-20 
17:55:34.000000000 +0100
@@ -43,9 +43,6 @@
   G_FILE_ATTRIBUTE_STANDARD_TYPE "," \
   G_FILE_ATTRIBUTE_TIME_MODIFIED
 
-/* GVfs marks regular files on remote shares as UNKNOWN */
-#define FILE_TYPE_NETWORK G_FILE_TYPE_UNKNOWN
-
 typedef struct {
   GError **error;
   GMainLoop *loop;
@@ -87,7 +84,7 @@
   g_hash_table_remove (job->previous_resources, identifier);
 
   name = g_file_info_get_name (info);
-  if (type == FILE_TYPE_NETWORK)
+  if (type == G_FILE_TYPE_REGULAR)
     class = gom_filename_to_rdf_type (name);
   else
     class = "nfo:DataContainer";
@@ -138,7 +135,7 @@
   if (*error != NULL)
     goto out;
 
-  if (type == FILE_TYPE_NETWORK)
+  if (type == G_FILE_TYPE_REGULAR)
     {
       const gchar *mime;
       const gchar *parent_id;
@@ -243,7 +240,7 @@
       name = g_file_info_get_name (info);
       child = g_file_get_child (dir, name);
 
-      if (type == FILE_TYPE_NETWORK || type == G_FILE_TYPE_DIRECTORY)
+      if (type == G_FILE_TYPE_REGULAR || type == G_FILE_TYPE_DIRECTORY)
         {
           account_miner_job_process_file (job, child, info, is_root ? NULL : 
dir, &local_error);
           if (local_error != NULL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/tracker-ioprio.c 
new/gnome-online-miners-3.10.3/src/tracker-ioprio.c
--- old/gnome-online-miners-3.10.0/src/tracker-ioprio.c 1970-01-01 
01:00:00.000000000 +0100
+++ new/gnome-online-miners-3.10.3/src/tracker-ioprio.c 2014-01-20 
17:55:34.000000000 +0100
@@ -0,0 +1,150 @@
+/*
+ * Copyright (C) 2005, Novell, Inc.
+ * Copyright (C) 2006, Jamie McCracken <[email protected]>
+ * Copyright (C) 2006, Anders Aagaard
+ *
+ * Based mostly on code by Robert Love <[email protected]>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+#include "config.h"
+
+#ifdef __linux__
+
+#include <stdio.h>
+#include <errno.h>
+
+#ifdef HAVE_LINUX_UNISTD_H
+#include <linux/unistd.h>
+#endif
+
+#include <sys/syscall.h>
+#include <unistd.h>
+
+#include <glib/gstdio.h>
+
+#endif /* __linux__ */
+
+#include "tracker-ioprio.h"
+
+/* We assume ALL linux architectures have the syscalls defined here */
+#ifdef __linux__
+
+/* Make sure the system call is supported */
+#ifndef __NR_ioprio_set
+
+#if defined(__i386__)
+#define __NR_ioprio_set                 289
+#define __NR_ioprio_get                 290
+#elif defined(__powerpc__) || defined(__powerpc64__)
+#define __NR_ioprio_set                 273
+#define __NR_ioprio_get                 274
+#elif defined(__x86_64__)
+#define __NR_ioprio_set                 251
+#define __NR_ioprio_get                 252
+#elif defined(__ia64__)
+#define __NR_ioprio_set                 1274
+#define __NR_ioprio_get                 1275
+#elif defined(__alpha__)
+#define __NR_ioprio_set                 442
+#define __NR_ioprio_get                 443
+#elif defined(__s390x__) || defined(__s390__)
+#define __NR_ioprio_set                 282
+#define __NR_ioprio_get                 283
+#elif defined(__SH4__)
+#define __NR_ioprio_set                 288
+#define __NR_ioprio_get                 289
+#elif defined(__SH5__)
+#define __NR_ioprio_set                 316
+#define __NR_ioprio_get                 317
+#elif defined(__sparc__) || defined(__sparc64__)
+#define __NR_ioprio_set                 196
+#define __NR_ioprio_get                 218
+#elif defined(__arm__)
+#define __NR_ioprio_set                 314
+#define __NR_ioprio_get                 315
+#else
+#error "Unsupported architecture!"
+#endif
+
+#endif /* __NR_ioprio_set */
+
+enum {
+       IOPRIO_CLASS_NONE,
+       IOPRIO_CLASS_RT,
+       IOPRIO_CLASS_BE,
+       IOPRIO_CLASS_IDLE,
+};
+
+enum {
+       IOPRIO_WHO_PROCESS = 1,
+       IOPRIO_WHO_PGRP,
+       IOPRIO_WHO_USER,
+};
+
+#define IOPRIO_CLASS_SHIFT 13
+
+static inline int
+ioprio_set (int which, int who, int ioprio_val)
+{
+       return syscall (__NR_ioprio_set, which, who, ioprio_val);
+}
+
+static int
+set_io_priority_idle (void)
+{
+       int ioprio, ioclass;
+
+       ioprio = 7; /* priority is ignored with idle class */
+       ioclass = IOPRIO_CLASS_IDLE << IOPRIO_CLASS_SHIFT;
+
+       return ioprio_set (IOPRIO_WHO_PROCESS, 0, ioprio | ioclass);
+}
+
+static int
+set_io_priority_best_effort (int ioprio_val)
+{
+       int ioclass;
+
+       ioclass = IOPRIO_CLASS_BE << IOPRIO_CLASS_SHIFT;
+
+       return ioprio_set (IOPRIO_WHO_PROCESS, 0, ioprio_val | ioclass);
+}
+
+void
+tracker_ioprio_init (void)
+{
+       if (set_io_priority_idle () == -1) {
+               g_message ("Could not set idle IO priority, attempting best 
effort of 7");
+
+               if (set_io_priority_best_effort (7) == -1) {
+                       g_message ("Could not set best effort IO priority 
either, giving up");
+               }
+       }
+}
+
+#else  /* __linux__ */
+
+void
+tracker_ioprio_init (void)
+{
+}
+
+#endif /* __linux__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/tracker-ioprio.h 
new/gnome-online-miners-3.10.3/src/tracker-ioprio.h
--- old/gnome-online-miners-3.10.0/src/tracker-ioprio.h 1970-01-01 
01:00:00.000000000 +0100
+++ new/gnome-online-miners-3.10.3/src/tracker-ioprio.h 2014-01-20 
17:55:34.000000000 +0100
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2006, Anders Aagaard
+ * Copyright (C) 2008, Nokia <[email protected]>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA  02110-1301, USA.
+ */
+
+#ifndef __LIBTRACKER_COMMON_IOPRIO_H__
+#define __LIBTRACKER_COMMON_IOPRIO_H__
+
+G_BEGIN_DECLS
+
+void tracker_ioprio_init (void);
+
+G_END_DECLS
+
+#endif /* __LIBTRACKER_COMMON_IOPRIO_H__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/tracker-sched.c 
new/gnome-online-miners-3.10.3/src/tracker-sched.c
--- old/gnome-online-miners-3.10.0/src/tracker-sched.c  1970-01-01 
01:00:00.000000000 +0100
+++ new/gnome-online-miners-3.10.3/src/tracker-sched.c  2014-01-20 
17:55:34.000000000 +0100
@@ -0,0 +1,83 @@
+/*
+ * Copyright (C) 2011, Nokia <[email protected]>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA  02110-1301, USA.
+ */
+
+#include "config.h"
+
+#ifdef __linux__
+
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
+#include <errno.h>
+#include <sched.h>
+
+#include <glib.h>
+
+#include "tracker-sched.h"
+
+gboolean
+tracker_sched_idle (void)
+{
+       struct sched_param sp;
+
+       /* Set process scheduling parameters:
+        * This is used so we don't steal scheduling priority from
+        * the most important applications - like the phone
+        * application which has a real time requirement here. This
+        * is detailed in Nokia bug #95573
+        */
+       g_message ("Setting scheduler policy to SCHED_IDLE");
+
+       if (sched_getparam (0, &sp) == 0) {
+               if (sched_setscheduler (0, SCHED_IDLE, &sp) != 0) {
+//LCOV_EXCL_START
+                       const gchar *str = g_strerror (errno);
+
+                       g_warning ("Could not set scheduler policy, %s",
+                                  str ? str : "no error given");
+
+                       return FALSE;
+               }
+       } else {
+               const gchar *str = g_strerror (errno);
+
+               g_warning ("Could not get scheduler policy, %s",
+                          str ? str : "no error given");
+
+               return FALSE;
+       }
+//LCOV_EXCL_END
+
+       return TRUE;
+}
+
+#else /* __linux__ */
+
+#include <glib.h>
+
+#include "tracker-sched.h"
+
+gboolean
+tracker_sched_idle (void)
+{
+       return TRUE;
+}
+
+#endif /* __linux__ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-online-miners-3.10.0/src/tracker-sched.h 
new/gnome-online-miners-3.10.3/src/tracker-sched.h
--- old/gnome-online-miners-3.10.0/src/tracker-sched.h  1970-01-01 
01:00:00.000000000 +0100
+++ new/gnome-online-miners-3.10.3/src/tracker-sched.h  2014-01-20 
17:55:34.000000000 +0100
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2011, Nokia <[email protected]>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA  02110-1301, USA.
+ */
+
+#ifndef __LIBTRACKER_COMMON_SCHED_H__
+#define __LIBTRACKER_COMMON_SCHED_H__
+
+G_BEGIN_DECLS
+
+gboolean tracker_sched_idle (void);
+
+G_END_DECLS
+
+#endif /* __LIBTRACKER_COMMON_SCHED_H__ */

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to