From owner-cvs-ports@FreeBSD.ORG Mon Feb 6 03:38:34 2006 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13AEE16A420; Mon, 6 Feb 2006 03:38:34 +0000 (GMT) (envelope-from lesi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B29D543D45; Mon, 6 Feb 2006 03:38:33 +0000 (GMT) (envelope-from lesi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k163cXpF001469; Mon, 6 Feb 2006 03:38:33 GMT (envelope-from lesi@repoman.freebsd.org) Received: (from lesi@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k163cWut001468; Mon, 6 Feb 2006 03:38:32 GMT (envelope-from lesi) Message-Id: <200602060338.k163cWut001468@repoman.freebsd.org> From: Dejan Lesjak Date: Mon, 6 Feb 2006 03:38:30 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/x11-fonts/xorg-fonts-100dpi Makefile pkg-plist ports/x11-fonts/xorg-fonts-75dpi Makefile pkg-plist ports/x11-fonts/xorg-fonts-cyrillic Makefile pkg-plist ports/x11-fonts/xorg-fonts-miscbitmaps Makefile pkg-plist ... X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 03:38:34 -0000 lesi 2006-02-06 03:38:29 UTC FreeBSD ports repository Modified files: x11-fonts/xorg-fonts-100dpi Makefile pkg-plist x11-fonts/xorg-fonts-75dpi Makefile pkg-plist x11-fonts/xorg-fonts-cyrillic Makefile pkg-plist x11-fonts/xorg-fonts-miscbitmaps Makefile pkg-plist x11-fonts/xorg-fonts-truetype Makefile pkg-plist x11-fonts/xorg-fonts-type1 Makefile pkg-plist Log: Take care of font cache files on installation and uninstallation of port: On installation try running fc-cache for directory where fonts from this port are installed and don't complain if fc-cache (from fontconfig) is missing. Do a bit more dancing on uninstall, just in case users have their own fonts installed in same directory: - first remove fonts.cache-1 if it is there since it won't be accurate after fonts from this port are gone anyway, - next try to regenerate cache with fc-cache for this directory - if previous step generates empty cache file, remove it If directory contained only fonts from this port, it should get properly removed at the end. If there were other fonts there and fontconfig is installed, this will leave proper cache file for remaining fonts behind after uninstall of this port. Revision Changes Path 1.9 +4 -0 ports/x11-fonts/xorg-fonts-100dpi/Makefile 1.4 +4 -0 ports/x11-fonts/xorg-fonts-100dpi/pkg-plist 1.9 +4 -0 ports/x11-fonts/xorg-fonts-75dpi/Makefile 1.4 +4 -0 ports/x11-fonts/xorg-fonts-75dpi/pkg-plist 1.9 +4 -0 ports/x11-fonts/xorg-fonts-cyrillic/Makefile 1.4 +4 -0 ports/x11-fonts/xorg-fonts-cyrillic/pkg-plist 1.9 +4 -0 ports/x11-fonts/xorg-fonts-miscbitmaps/Makefile 1.4 +4 -0 ports/x11-fonts/xorg-fonts-miscbitmaps/pkg-plist 1.9 +3 -0 ports/x11-fonts/xorg-fonts-truetype/Makefile 1.4 +4 -1 ports/x11-fonts/xorg-fonts-truetype/pkg-plist 1.9 +3 -0 ports/x11-fonts/xorg-fonts-type1/Makefile 1.4 +4 -1 ports/x11-fonts/xorg-fonts-type1/pkg-plist