1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
13 url = http://www.x.org/
15 summary = X.Org X11 fonts.
18 This package contains misc bitmap Chinese, Japanese, Korean, Indic, and
19 Arabic fonts for use with X Window System.
22 source_dl = http://ftp.x.org/pub/individual/font/
23 source_dl += http://unifoundry.com/
26 encodings-1.0.3.tar.bz2 \
27 font-alias-1.0.2.tar.bz2 \
28 font-adobe-100dpi-1.0.1.tar.bz2 \
29 font-adobe-75dpi-1.0.1.tar.bz2 \
30 font-adobe-utopia-100dpi-1.0.2.tar.bz2 \
31 font-adobe-utopia-75dpi-1.0.2.tar.bz2 \
32 font-adobe-utopia-type1-1.0.2.tar.bz2 \
33 font-arabic-misc-1.0.1.tar.bz2 \
34 font-bh-100dpi-1.0.1.tar.bz2 \
35 font-bh-75dpi-1.0.1.tar.bz2 \
36 font-bh-lucidatypewriter-100dpi-1.0.1.tar.bz2 \
37 font-bh-lucidatypewriter-75dpi-1.0.1.tar.bz2 \
38 font-bitstream-100dpi-1.0.1.tar.bz2 \
39 font-bitstream-75dpi-1.0.1.tar.bz2 \
40 font-bitstream-type1-1.0.1.tar.bz2 \
41 font-cronyx-cyrillic-1.0.1.tar.bz2 \
42 font-cursor-misc-1.0.1.tar.bz2 \
43 font-daewoo-misc-1.0.1.tar.bz2 \
44 font-dec-misc-1.0.1.tar.bz2 \
45 font-isas-misc-1.0.1.tar.bz2 \
46 font-jis-misc-1.0.1.tar.bz2 \
47 font-micro-misc-1.0.1.tar.bz2 \
48 font-misc-cyrillic-1.0.1.tar.bz2 \
49 font-misc-misc-1.1.0.tar.bz2 \
50 font-mutt-misc-1.0.1.tar.bz2 \
51 font-schumacher-misc-1.1.0.tar.bz2 \
52 font-screen-cyrillic-1.0.2.tar.bz2 \
53 font-sony-misc-1.0.1.tar.bz2 \
54 font-sun-misc-1.0.1.tar.bz2 \
55 font-winitzki-cyrillic-1.0.1.tar.bz2 \
56 font-xfree86-type1-1.0.2.tar.bz2 \
57 unifont-5.1.20080820.pcf.gz
64 xorg-x11-font-utils-devel
67 configure_options += \
68 --with-fontrootdir=/usr/share/X11/fonts \
72 --disable-iso8859-10 \
73 --disable-iso8859-11 \
74 --disable-iso8859-12 \
75 --disable-iso8859-13 \
79 # Extract all source tarballs.
80 for object in %{sources}; do
81 # Only extract tar.bz2 files
82 object=${object//*pcf.gz/}
83 if [ -n "${object}" ]; then
84 %{MACRO_EXTRACT} %{DIR_DL}/${object}
88 %{MACRO_FIX_AUTOTOOLS}
92 for object in %{sources}; do
93 dir=%{DIR_SRC}/${object%*.tar.bz2}
95 if [ -d "${dir}" ]; then
97 ./configure %{configure_options}
99 make %{PARALLELISMFLAGS}
105 for object in %{sources}; do
106 dir=%{DIR_SRC}/${object%*.tar.bz2}
108 if [ -d "${dir}" ]; then
111 make install DESTDIR=%{BUILDROOT}
116 mkdir -pv %{BUILDROOT}/usr/share/X11/fonts/misc
117 cp -vf %{DIR_DL}/unifont-5.1.20080820.pcf.gz \
118 %{BUILDROOT}/usr/share/X11/fonts/misc/unifont.pcf.gz
120 # XXX Do we need to create these symlinks to use the fonts - check this in a running X environment.
121 # Install catalogue symlinks
122 #mkdir -pv %{BUILDROOT}/etc/X11/fontpath.d
123 #ln -svf ../../../usr/share/X11/fonts/100dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-100dpi
124 #ln -svf ../../../usr/share/X11/fonts/75dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-75dpi
125 #ln -svf ../../../usr/share/X11/fonts/cyrillic %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-cyrillic
126 #ln -svf ../../../usr/share/X11/fonts/misc %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-misc
127 #ln -svf ../../../usr/share/X11/fonts/Type1 %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-Type1
132 # Template for 75 DPI fonts
139 # /etc/X11/fontpath.d/xorg-x11-fonts-75dpi
142 prerequires = xorg-x11-font-utils
145 /usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
149 /usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
153 # Template for 100 DPI fonts
160 # /etc/X11/fontpath.d/xorg-x11-fonts-100
163 prerequires = xorg-x11-font-utils
166 /usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
170 /usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
175 summary = Bitmap fonts for the X Window System.
177 This package contains misc bitmap Chinese, Japanese, Korean, Indic, and Arabic
178 fonts for use with X Window System.
185 prerequires = xorg-x11-font-utils
188 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
192 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
196 package %{name}-Type1
197 summary = Type1 fonts provided by the X Window System.
199 A collection of Type1 fonts which are part of the core X Window System
208 /usr/share/X11/fonts/Type1/
211 prerequires = xorg-x11-font-utils
214 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
218 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
222 package %{name}-75dpi
225 summary = A set of 75dpi resolution fonts for the X Window System.
227 A set of 75 dpi fonts used by the X window system.
231 /usr/share/X11/fonts/75dpi/
234 package %{name}-100dpi
237 summary = A set of 100dpi resolution fonts for the X Window System.
239 A set of 100 dpi fonts used by the X window system.
243 /usr/share/X11/fonts/100dpi/
246 package %{name}-ISO8859-1-75dpi
249 summary = A set of 75dpi ISO-8859-1 fonts for X.
251 Contains a set of 75dpi fonts for ISO-8859-1.
255 /usr/share/X11/fonts/75dpi/*ISO8859-1.*
258 package %{name}-ISO8859-1-100dpi
261 summary = A set of 100dpi ISO-8859-1 fonts for X.
263 Contains a set of 100dpi fonts for ISO-8859-1.
267 /usr/share/X11/fonts/100dpi/*ISO8859-1.*
270 package %{name}-ISO8859-2-75dpi
273 summary = A set of 75dpi Central European language fonts for X.
275 Contains a set of 75dpi fonts for Central European languages.
279 /usr/share/X11/fonts/75dpi/*ISO8859-2.*
282 package %{name}-ISO8859-2-100dpi
285 summary = A set of 100dpi Central European language fonts for X.
287 Contains a set of 100dpi fonts for Central European languages.
291 /usr/share/X11/fonts/100dpi/*ISO8859-2.*
294 package %{name}-ISO8859-9-75dpi
297 summary = ISO8859-9-75dpi fonts.
299 Contains a set of 75dpi fonts for the Turkish language.
303 /usr/share/X11/fonts/75dpi/*ISO8859-9.*
306 package %{name}-ISO8859-9-100dpi
309 summary = ISO8859-9-100dpi fonts.
311 Contains a set of 100dpi fonts for the Turkish language.
315 /usr/share/X11/fonts/100dpi/*ISO8859-9.*
318 package %{name}-ISO8859-14-75dpi
321 summary = ISO8859-14-75dpi fonts.
323 Contains a set of 75dpi fonts in the ISO8859-14 encoding which
324 provide Welsh support.
328 /usr/share/X11/fonts/75dpi/*ISO8859-14.*
331 package %{name}-ISO8859-14-100dpi
334 summary = ISO8859-14-100dpi fonts.
336 Contains a set of 100dpi fonts in the ISO8859-14 encoding which
337 provide Welsh support.
341 /usr/share/X11/fonts/100dpi/*ISO8859-14.*
344 package %{name}-ISO8859-15-75dpi
347 summary = ISO8859-15-75dpi fonts.
349 Contains a set of 75dpi fonts in the ISO8859-15 encoding which
350 provide Euro support.
354 /usr/share/X11/fonts/75dpi/*ISO8859-15.*
357 package %{name}-ISO8859-15-100dpi
360 summary = ISO8859-15-100dpi fonts.
362 Contains a set of 100dpi fonts in the ISO8859-15 encoding which
363 provide Euro support.
367 /usr/share/X11/fonts/100dpi/*ISO8859-15.*
370 package %{name}-cyrillic
371 summary = Cyrillic fonts for X.
373 Contains a set of Cyrillic fonts.
381 /usr/share/X11/fonts/cyrillic/
384 prerequires = xorg-x11-font-utils
387 /usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
391 /usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
395 package %{name}-unifont
396 summary = The GNU unifont.
398 GNU Unifont, contains glyphs for every printable code point in the Unicode 5.1 Basic Multilingual Plane (BMP).
402 /usr/share/X11/fonts/misc/unifont.pcf.gz