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 - -