[Lunar-commits] <moonbase-xorg> Revert "fontconfig: Moved from xorg to core."

Peter de Ridder peter at lunar-linux.org
Mon Apr 8 21:28:17 CEST 2013


commit a66d75619221e846df9911f0326990283d4bc027
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Mon, 08 Apr 2013 11:56:35 -0700
URL: https://github.com/lunar-linux/moonbase-xorg/commit/a66d75619221e846df9911f0326990283d4bc027

Revert "fontconfig: Moved from xorg to core."

This reverts commit cf28b649b7b0b781b890fe75853e0662e2203af4.
---
  fontconfig/10-lunar-fonts.conf | +10/-0    
  fontconfig/BUILD               | +32/-0    
  fontconfig/CONFIGURE           | +1/-0     
  fontconfig/DEPENDS             | +3/-0     
  fontconfig/DETAILS             | +21/-0    
  fontconfig/POST_INSTALL        | +9/-0     
  6 files changed, 76 insertions(+)

--- /dev/null
+++ b/fontconfig/10-lunar-fonts.conf
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- Provided by lunar to make fonts world accessable -->
+<fontconfig>
+
+<!-- Font directory list -->
+
+	<dir>/usr/lib/X11/fonts</dir>
+
+</fontconfig>
--- /dev/null
+++ b/fontconfig/BUILD
@@ -0,0 +1,32 @@
+(
+
+  # We need to clear the cache dir or otherwise the build is going to fail
+  if [ -d /var/cache/fontconfig ] ; then
+    rm -f /var/cache/fontconfig/*
+  fi
+
+  # There is a documented issue when the user does not have a
+  # timezone set (/etc/localtime). It creates invalid XML
+  # syntax in a comment located in /etc/fonts/fonts.conf.
+  sedit "s:\`date\`::" configure  &&
+
+
+  ./configure --prefix=/usr     \
+              --sysconfdir=/etc \
+              --with-templatedir=/etc/fonts/conf.avail \
+              --with-xmldir=/etc/fonts \
+              --localstatedir=/var     \
+              --disable-static         \
+              --with-default-fonts=/usr/share/fonts \
+              --with-add-fonts=/usr/share/fonts     \
+              $OPTS                                &&
+
+
+#  sedit "s:(BASECONFIGDIR):(CONFIGDIR):" Makefile  &&
+
+  default_make &&
+
+  install -m644 $SCRIPT_DIRECTORY/10-lunar-fonts.conf \
+                /etc/fonts/conf.d/
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/fontconfig/CONFIGURE
@@ -0,0 +1 @@
+mquery DOCS "Build docs?" n "" "--disable-docs"
--- /dev/null
+++ b/fontconfig/DEPENDS
@@ -0,0 +1,3 @@
+depends  sed
+depends  expat
+depends  freetype2
--- /dev/null
+++ b/fontconfig/DETAILS
@@ -0,0 +1,21 @@
+          MODULE=fontconfig
+         VERSION=2.10.2
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=http://www.fontconfig.org/release
+      SOURCE_VFY=sha1:3999fc8a850c3bd07c71837f0579ec66378e1ebf
+        WEB_SITE=http://www.fontconfig.org
+         ENTERED=20030425
+         UPDATED=20121130
+           SHORT="A library for configuring and customizing font access"
+
+cat << EOF
+Fontconfig is a font configuration and customization library, which
+does not depend on the X Window System.  It is designed to locate
+fonts within the system and select them according to requirements
+specified by applications.
+
+This package contains a program to maintain the fontconfig cache
+(fc-cache), a sample program to list installed fonts (fc-list),
+and a program to test the matching rules (fc-match). It also makes
+fonts managed by defoma available to fontconfig applications.
+EOF
--- /dev/null
+++ b/fontconfig/POST_INSTALL
@@ -0,0 +1,9 @@
+if module_installed pango; then lin -c pango; fi
+
+# We need to make sure theres no symlinks left to rot
+if [ -h /usr/share/fonts/fonts ] ; then
+  rm -f /usr/share/fonts/fonts
+fi
+
+message "** Running fc-cache please be patient **"
+/usr/bin/fc-cache -f




More information about the Lunar-commits mailing list