summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-07-02 23:41:00 +0000
committerKevin E Martin <kem@kem.org>2005-07-02 23:41:00 +0000
commit7aca251d0b4b9db155669785d0316eef5ea67741 (patch)
treeaed87a505de0c684c54659df2b71bc41c779c535
parentf24f2f212b935ffbe09cbd293105044f6f95a4cd (diff)
Add build system for arabic24 and ClearlyU fonts
-rw-r--r--AUTHORS0
-rw-r--r--COPYING23
-rw-r--r--ChangeLog0
-rw-r--r--INSTALL0
-rw-r--r--Makefile.am47
-rw-r--r--NEWS0
-rw-r--r--README72
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.ac35
9 files changed, 117 insertions, 72 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/AUTHORS
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..df9e261
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,23 @@
+Copyright 1996, 1997, 1998, 1999 Computing Research Labs,
+New Mexico State University
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE COMPUTING RESEARCH LAB
+OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY CLAIM, DAMAGES
+OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ChangeLog
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/INSTALL
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..b68553b
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,47 @@
+# Copyright 2005 Red Hat, Inc.
+#
+# Permission to use, copy, modify, distribute, and sell this software
+# and its documentation for any purpose is hereby granted without
+# fee, provided that the above copyright notice appear in all copies
+# and that both that copyright notice and this permission notice
+# appear in supporting documentation, and that the name of Red Hat
+# not be used in advertising or publicity pertaining to distribution
+# of the software without specific, written prior permission. Red
+# Hat makes no representations about the suitability of this software
+# for any purpose. It is provided "as is" without express or implied
+# warranty.
+#
+# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
+# NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+FONT_DIR = misc
+FONT_FILES = arabic24
+
+BDF_FILES = $(foreach X, $(FONT_FILES), $(X).bdf)
+PCF_FILES = $(foreach X, $(FONT_FILES), $(X).pcf.gz)
+
+SUFFIXES = .bdf .pcf.gz
+
+.bdf.pcf.gz:
+ @rm -f $@
+ $(BDFTOPCF) -t $^ | gzip > $@
+
+fontdir = $(libdir)/X11/fonts/$(FONT_DIR)
+font_DATA = $(PCF_FILES)
+CLEANFILES = $(font_DATA)
+
+EXTRA_DIST = $(BDF_FILES) autogen.sh README uniarab.txt
+
+install-data-hook:
+ @rm -f $(DESTDIR)$(fontdir)/fonts.scale
+ $(MKFONTSCALE) $(DESTDIR)$(fontdir)
+ @rm -f $(DESTDIR)$(fontdir)/font.dir
+ $(MKFONTDIR) $(DESTDIR)$(fontdir)
+
+distuninstallcheck:
+ @:
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/README b/README
index 5271790..e69de29 100644
--- a/README
+++ b/README
@@ -1,72 +0,0 @@
-#
-# From: Id: README,v 1.2 1999/05/03 14:21:32 mleisher Exp $
-#
-# Copyright 1996, 1997, 1998, 1999 Computing Research Labs,
-# New Mexico State University
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY
-# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
-# OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
-# THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-
-This is a 100dpi, 24 point (approximately) font that is meant to act as
-an example of what glyphs are needed to minimally support (almost) all
-of the Arabic characters available in Unicode.
-
-The encoding of this font is the encoding of Arabic from Unicode 2.0
-with the addition of some contextual forms and some other convenient
-glyphs that do not exist in Unicode. An additional file, "uniarab.txt",
-has been provided to describe the encoding of the extra contextual
-glyphs.
-
-Version: 1.3
-
-CHANGES FROM 1.2
-----------------
- o Changed CHARSET_REGISTRY to be ISO10646.
-
-CHANGES FROM 1.1
-----------------
-
- o Added FBE8 and FBE9 which are Uighur/Kazakh/Kirghiz positional variants
- of ALEF MAKSURA.
-
-CHANGES FROM 1.0
-----------------
-
- o Added the following missing glyph:
-
- E6B2 ARABIC LETTER U WITH HAMZA ABOVE FINAL FORM
-
- o Added the following glyphs for applications generating text for Omega:
-
- E6D0 ARABIC LIGATURE LAM SMALL V WITH ALEF ISOLATED FORM
- E6D1 ARABIC LIGATURE LAM SMALL V WITH ALEF ISOLATED FORM
- E6D2 ARABIC LIGATURE LAM DOT ABOVE WITH ALEF ISOLATED FORM
- E6D3 ARABIC LIGATURE LAM DOT ABOVE WITH ALEF FINAL FORM
- E6D4 ARABIC LIGATURE LAM THREE DOTS ABOVE WITH ALEF ISOLATED FORM
- E6D5 ARABIC LIGATURE LAM THREE DOTS ABOVE WITH ALEF FINAL FORM
-
- o Added the following glyph simply for convenience:
-
- E6F4 EXTENDED URDU-INDIC DIGIT FOUR
-
- o Cleaned up and improved a number of glyphs, particularly some
- Persian and Urdu glyphs.
-
-08 February 1999
-mleisher@crl.nmsu.edu (Mark Leisher)
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..904cd67
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..9ad1deb
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,35 @@
+dnl Copyright 2005 Red Hat, Inc.
+dnl
+dnl Permission to use, copy, modify, distribute, and sell this software
+dnl and its documentation for any purpose is hereby granted without
+dnl fee, provided that the above copyright notice appear in all copies
+dnl and that both that copyright notice and this permission notice
+dnl appear in supporting documentation, and that the name of Red Hat
+dnl not be used in advertising or publicity pertaining to distribution
+dnl of the software without specific, written prior permission. Red
+dnl Hat makes no representations about the suitability of this software
+dnl for any purpose. It is provided "as is" without express or implied
+dnl warranty.
+dnl
+dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
+dnl NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+dnl OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+dnl NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+dnl CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+dnl
+dnl Process this file with autoconf to create configure.
+
+AC_PREREQ([2.57])
+AC_INIT(font-arabic-misc, [7.0], [xorg@freedestkop.org], font-arabic-misc)
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AM_MAINTAINER_MODE
+
+AC_PROG_INSTALL
+
+AC_PATH_PROG(BDFTOPCF, bdftopcf)
+AC_PATH_PROG(MKFONTSCALE, mkfontscale)
+AC_PATH_PROG(MKFONTDIR, mkfontdir)
+
+AC_OUTPUT([Makefile])