From 5a6ca03e3270f3b02e9ef37be93666171449cce0 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 1 Sep 2013 22:18:01 +0200 Subject: [PATCH] fontconfig: dont create fontcache on reboot. please revert this if its still needed Signed-off-by: Stephan Raue --- packages/x11/other/fontconfig/package.mk | 4 ---- .../fontconfig/system.d/fc-cache.service | 14 ------------- .../fontconfig/tmpfiles.d/fontconfig.conf | 21 ------------------- 3 files changed, 39 deletions(-) delete mode 100644 packages/x11/other/fontconfig/system.d/fc-cache.service delete mode 100644 packages/x11/other/fontconfig/tmpfiles.d/fontconfig.conf diff --git a/packages/x11/other/fontconfig/package.mk b/packages/x11/other/fontconfig/package.mk index ecbf57eaf6..5d47cdaa89 100644 --- a/packages/x11/other/fontconfig/package.mk +++ b/packages/x11/other/fontconfig/package.mk @@ -59,7 +59,3 @@ post_makeinstall_target() { rm -rf $INSTALL/usr/bin/fc-scan rm -rf $INSTALL/usr/bin/fc-validate } - -post_install() { - enable_service fc-cache.service -} diff --git a/packages/x11/other/fontconfig/system.d/fc-cache.service b/packages/x11/other/fontconfig/system.d/fc-cache.service deleted file mode 100644 index 17a0f280f0..0000000000 --- a/packages/x11/other/fontconfig/system.d/fc-cache.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Fontconfig caching -ConditionPathExists=|!/storage/.cache/fontconfig/CACHEDIR.TAG -After=local-fs.target -Before=graphical.target - -[Service] -Type=oneshot -# TODO: add /storage/.xbmc/media/Fonts to $FC_CACHE_DIRS ? -ExecStart=/usr/bin/fc-cache /usr/share/fonts/ /usr/share/xbmc/media/Fonts/ -RemainAfterExit=yes - -[Install] -WantedBy=graphical.target diff --git a/packages/x11/other/fontconfig/tmpfiles.d/fontconfig.conf b/packages/x11/other/fontconfig/tmpfiles.d/fontconfig.conf deleted file mode 100644 index 0baa588bbe..0000000000 --- a/packages/x11/other/fontconfig/tmpfiles.d/fontconfig.conf +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -d /storage/.cache/fontconfig 0755 root root - -