404 lines
8.9 KiB
Plaintext
404 lines
8.9 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = xorg-x11-fonts
|
|
version = 7.2
|
|
release = 4
|
|
arch = noarch
|
|
|
|
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
|
|
groups = X/Fonts
|
|
url = http://www.x.org/
|
|
license = MIT
|
|
summary = X.Org X11 fonts.
|
|
|
|
description
|
|
This package contains misc bitmap Chinese, Japanese, Korean, Indic, and
|
|
Arabic fonts for use with X Window System.
|
|
end
|
|
|
|
source_dl = http://ftp.x.org/pub/individual/font/
|
|
source_dl += http://unifoundry.com/
|
|
|
|
sources = \
|
|
encodings-1.0.3.tar.bz2 \
|
|
font-alias-1.0.2.tar.bz2 \
|
|
font-adobe-100dpi-1.0.1.tar.bz2 \
|
|
font-adobe-75dpi-1.0.1.tar.bz2 \
|
|
font-adobe-utopia-100dpi-1.0.2.tar.bz2 \
|
|
font-adobe-utopia-75dpi-1.0.2.tar.bz2 \
|
|
font-adobe-utopia-type1-1.0.2.tar.bz2 \
|
|
font-arabic-misc-1.0.1.tar.bz2 \
|
|
font-bh-100dpi-1.0.1.tar.bz2 \
|
|
font-bh-75dpi-1.0.1.tar.bz2 \
|
|
font-bh-lucidatypewriter-100dpi-1.0.1.tar.bz2 \
|
|
font-bh-lucidatypewriter-75dpi-1.0.1.tar.bz2 \
|
|
font-bitstream-100dpi-1.0.1.tar.bz2 \
|
|
font-bitstream-75dpi-1.0.1.tar.bz2 \
|
|
font-bitstream-type1-1.0.1.tar.bz2 \
|
|
font-cronyx-cyrillic-1.0.1.tar.bz2 \
|
|
font-cursor-misc-1.0.1.tar.bz2 \
|
|
font-daewoo-misc-1.0.1.tar.bz2 \
|
|
font-dec-misc-1.0.1.tar.bz2 \
|
|
font-isas-misc-1.0.1.tar.bz2 \
|
|
font-jis-misc-1.0.1.tar.bz2 \
|
|
font-micro-misc-1.0.1.tar.bz2 \
|
|
font-misc-cyrillic-1.0.1.tar.bz2 \
|
|
font-misc-misc-1.1.0.tar.bz2 \
|
|
font-mutt-misc-1.0.1.tar.bz2 \
|
|
font-schumacher-misc-1.1.0.tar.bz2 \
|
|
font-screen-cyrillic-1.0.2.tar.bz2 \
|
|
font-sony-misc-1.0.1.tar.bz2 \
|
|
font-sun-misc-1.0.1.tar.bz2 \
|
|
font-winitzki-cyrillic-1.0.1.tar.bz2 \
|
|
font-xfree86-type1-1.0.2.tar.bz2 \
|
|
unifont-5.1.20080820.pcf.gz
|
|
|
|
build
|
|
requires
|
|
/usr/bin/mkfontscale
|
|
perl
|
|
pkg-config
|
|
xorg-x11-font-utils-devel
|
|
end
|
|
|
|
configure_options += \
|
|
--with-fontrootdir=/usr/share/X11/fonts \
|
|
--disable-iso8859-3 \
|
|
--disable-iso8859-4 \
|
|
--disable-iso8859-6 \
|
|
--disable-iso8859-10 \
|
|
--disable-iso8859-11 \
|
|
--disable-iso8859-12 \
|
|
--disable-iso8859-13 \
|
|
--disable-iso8859-16
|
|
|
|
prepare
|
|
# Extract all source tarballs.
|
|
for object in %{sources}; do
|
|
# Only extract tar.bz2 files
|
|
object=${object//*pcf.gz/}
|
|
if [ -n "${object}" ]; then
|
|
%{MACRO_EXTRACT} %{DIR_DL}/${object}
|
|
fi
|
|
done
|
|
end
|
|
|
|
build
|
|
for object in %{sources}; do
|
|
dir=%{DIR_SRC}/${object%*.tar.bz2}
|
|
|
|
if [ -d "${dir}" ]; then
|
|
cd ${dir}
|
|
./configure %{configure_options}
|
|
|
|
make %{PARALLELISMFLAGS}
|
|
fi
|
|
done
|
|
end
|
|
|
|
install
|
|
for object in %{sources}; do
|
|
dir=%{DIR_SRC}/${object%*.tar.bz2}
|
|
|
|
if [ -d "${dir}" ]; then
|
|
cd ${dir}
|
|
|
|
make install DESTDIR=%{BUILDROOT}
|
|
fi
|
|
done
|
|
|
|
# Install unifont
|
|
mkdir -pv %{BUILDROOT}/usr/share/X11/fonts/misc
|
|
cp -vf %{DIR_DL}/unifont-5.1.20080820.pcf.gz \
|
|
%{BUILDROOT}/usr/share/X11/fonts/misc/unifont.pcf.gz
|
|
|
|
# XXX Do we need to create these symlinks to use the fonts - check this in a running X environment.
|
|
# Install catalogue symlinks
|
|
#mkdir -pv %{BUILDROOT}/etc/X11/fontpath.d
|
|
#ln -svf ../../../usr/share/X11/fonts/100dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-100dpi
|
|
#ln -svf ../../../usr/share/X11/fonts/75dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-75dpi
|
|
#ln -svf ../../../usr/share/X11/fonts/cyrillic %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-cyrillic
|
|
#ln -svf ../../../usr/share/X11/fonts/misc %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-misc
|
|
#ln -svf ../../../usr/share/X11/fonts/Type1 %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-Type1
|
|
end
|
|
end
|
|
|
|
packages
|
|
# Template for 75 DPI fonts
|
|
template 75DPI
|
|
requires
|
|
fontconfig
|
|
end
|
|
|
|
#files
|
|
# /etc/X11/fontpath.d/xorg-x11-fonts-75dpi
|
|
#end
|
|
|
|
prerequires = xorg-x11-font-utils
|
|
|
|
script postin
|
|
/usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
|
|
end
|
|
|
|
script postun
|
|
/usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
|
|
end
|
|
end
|
|
|
|
# Template for 100 DPI fonts
|
|
template 100DPI
|
|
requires
|
|
fontconfig
|
|
end
|
|
|
|
#files
|
|
# /etc/X11/fontpath.d/xorg-x11-fonts-100
|
|
#end
|
|
|
|
prerequires = xorg-x11-font-utils
|
|
|
|
script postin
|
|
/usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
|
|
end
|
|
|
|
script postun
|
|
/usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
|
|
end
|
|
end
|
|
|
|
package %{name}
|
|
summary = Bitmap fonts for the X Window System.
|
|
description
|
|
This package contains misc bitmap Chinese, Japanese, Korean, Indic, and Arabic
|
|
fonts for use with X Window System.
|
|
end
|
|
|
|
requires
|
|
fontconfig
|
|
end
|
|
|
|
prerequires = xorg-x11-font-utils
|
|
|
|
script postin
|
|
/usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
|
|
end
|
|
|
|
script postun
|
|
/usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
|
|
end
|
|
end
|
|
|
|
package %{name}-Type1
|
|
summary = Type1 fonts provided by the X Window System.
|
|
description
|
|
A collection of Type1 fonts which are part of the core X Window System
|
|
distribution.
|
|
end
|
|
|
|
requires
|
|
fontconfig
|
|
end
|
|
|
|
files
|
|
/usr/share/X11/fonts/Type1/
|
|
end
|
|
|
|
prerequires = xorg-x11-font-utils
|
|
|
|
script postin
|
|
/usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
|
|
end
|
|
|
|
script postun
|
|
/usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
|
|
end
|
|
end
|
|
|
|
package %{name}-75dpi
|
|
template 75DPI
|
|
|
|
summary = A set of 75dpi resolution fonts for the X Window System.
|
|
description
|
|
A set of 75 dpi fonts used by the X window system.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/75dpi/
|
|
end
|
|
|
|
package %{name}-100dpi
|
|
template 100DPI
|
|
|
|
summary = A set of 100dpi resolution fonts for the X Window System.
|
|
description
|
|
A set of 100 dpi fonts used by the X window system.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/100dpi/
|
|
end
|
|
|
|
package %{name}-ISO8859-1-75dpi
|
|
template 75DPI
|
|
|
|
summary = A set of 75dpi ISO-8859-1 fonts for X.
|
|
description
|
|
Contains a set of 75dpi fonts for ISO-8859-1.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/75dpi/*ISO8859-1.*
|
|
end
|
|
|
|
package %{name}-ISO8859-1-100dpi
|
|
template 100DPI
|
|
|
|
summary = A set of 100dpi ISO-8859-1 fonts for X.
|
|
description
|
|
Contains a set of 100dpi fonts for ISO-8859-1.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/100dpi/*ISO8859-1.*
|
|
end
|
|
|
|
package %{name}-ISO8859-2-75dpi
|
|
template 75DPI
|
|
|
|
summary = A set of 75dpi Central European language fonts for X.
|
|
description
|
|
Contains a set of 75dpi fonts for Central European languages.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/75dpi/*ISO8859-2.*
|
|
end
|
|
|
|
package %{name}-ISO8859-2-100dpi
|
|
template 100DPI
|
|
|
|
summary = A set of 100dpi Central European language fonts for X.
|
|
description
|
|
Contains a set of 100dpi fonts for Central European languages.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/100dpi/*ISO8859-2.*
|
|
end
|
|
|
|
package %{name}-ISO8859-9-75dpi
|
|
template 75DPI
|
|
|
|
summary = ISO8859-9-75dpi fonts.
|
|
description
|
|
Contains a set of 75dpi fonts for the Turkish language.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/75dpi/*ISO8859-9.*
|
|
end
|
|
|
|
package %{name}-ISO8859-9-100dpi
|
|
template 100DPI
|
|
|
|
summary = ISO8859-9-100dpi fonts.
|
|
description
|
|
Contains a set of 100dpi fonts for the Turkish language.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/100dpi/*ISO8859-9.*
|
|
end
|
|
|
|
package %{name}-ISO8859-14-75dpi
|
|
template 75DPI
|
|
|
|
summary = ISO8859-14-75dpi fonts.
|
|
description
|
|
Contains a set of 75dpi fonts in the ISO8859-14 encoding which
|
|
provide Welsh support.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/75dpi/*ISO8859-14.*
|
|
end
|
|
|
|
package %{name}-ISO8859-14-100dpi
|
|
template 100DPI
|
|
|
|
summary = ISO8859-14-100dpi fonts.
|
|
description
|
|
Contains a set of 100dpi fonts in the ISO8859-14 encoding which
|
|
provide Welsh support.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/100dpi/*ISO8859-14.*
|
|
end
|
|
|
|
package %{name}-ISO8859-15-75dpi
|
|
template 75DPI
|
|
|
|
summary = ISO8859-15-75dpi fonts.
|
|
description
|
|
Contains a set of 75dpi fonts in the ISO8859-15 encoding which
|
|
provide Euro support.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/75dpi/*ISO8859-15.*
|
|
end
|
|
|
|
package %{name}-ISO8859-15-100dpi
|
|
template 100DPI
|
|
|
|
summary = ISO8859-15-100dpi fonts.
|
|
description
|
|
Contains a set of 100dpi fonts in the ISO8859-15 encoding which
|
|
provide Euro support.
|
|
end
|
|
|
|
files +=\
|
|
/usr/share/X11/fonts/100dpi/*ISO8859-15.*
|
|
end
|
|
|
|
package %{name}-cyrillic
|
|
summary = Cyrillic fonts for X.
|
|
description
|
|
Contains a set of Cyrillic fonts.
|
|
end
|
|
|
|
requires
|
|
fontconfig
|
|
end
|
|
|
|
files
|
|
/usr/share/X11/fonts/cyrillic/
|
|
end
|
|
|
|
prerequires = xorg-x11-font-utils
|
|
|
|
script postin
|
|
/usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
|
|
end
|
|
|
|
script postun
|
|
/usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
|
|
end
|
|
end
|
|
|
|
package %{name}-unifont
|
|
summary = The GNU unifont.
|
|
description
|
|
GNU Unifont, contains glyphs for every printable code point in the Unicode 5.1 Basic Multilingual Plane (BMP).
|
|
end
|
|
|
|
files
|
|
/usr/share/X11/fonts/misc/unifont.pcf.gz
|
|
end
|
|
end
|
|
end
|