Date: Mon, 6 Feb 2006 03:38:30 +0000 (UTC) From: Dejan Lesjak <lesi@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org 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 ... Message-ID: <200602060338.k163cWut001468@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602060338.k163cWut001468>