1 |
Hi, |
2 |
|
3 |
I have made ebuild for installing "Unicode compliant Open Type Bengali fonts" in Gentoo Linux System. Bangla is my native language. Bangla is the one of the Language spoken in India and Bangladesh. Historically Bangla is originated from a language called "Prakrit" which had its root in Sanskrit. |
4 |
|
5 |
Following project is developing Unicode compliant Open Type Bengla fonts |
6 |
http://www.nongnu.org/freebangfont/index.html |
7 |
|
8 |
It is a subproject of http://www.bengalinux.org/ |
9 |
http://www.bengalinux.org/ |
10 |
|
11 |
Possibly it is the first Bangla Font support initiative for Gentoo Linux. I have submitted the formal inclusion request at http://bugs.gentoo.org/show_bug.cgi?id=26381 |
12 |
|
13 |
iti |
14 |
Archan |
15 |
|
16 |
----cut here---- |
17 |
# Copyright 1999-2003 Gentoo Technologies, Inc. |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
|
20 |
DESCRIPTION="Unicode compliant Open Type Bangla fonts" |
21 |
HOMEPAGE="http://www.nongnu.org/freebangfont/index.html" |
22 |
SRC_BASE="http://savannah.nongnu.org/download/freebangfont" |
23 |
SRC_URI="${SRC_BASE}/Akaash.pkg/0.8.5/Akaash-0.8.5.tar.gz |
24 |
${SRC_BASE}/Ani.pkg/0.8.0/Ani-0.8.0.tar.gz |
25 |
${SRC_BASE}/Likhan.pkg/0.5/Likhan-0.5.tar.gz |
26 |
${SRC_BASE}/Sagar.pkg/0.6.0/Sagar-0.60.tar.gz" |
27 |
|
28 |
LICENSE="GPL-2" |
29 |
SLOT="0" |
30 |
KEYWORDS="~x86" |
31 |
|
32 |
DEPEND="virtual/x11" |
33 |
|
34 |
S="${WORKDIR}" |
35 |
FONTDIR="/usr/share/fonts/ttf/bangla/free-bangla-font/" |
36 |
|
37 |
src_unpack() { |
38 |
cd ${S} |
39 |
for gz in ${A}; do |
40 |
tar -xzf ${DISTDIR}/${gz} |
41 |
done |
42 |
} |
43 |
|
44 |
src_install() { |
45 |
insopts -m0644 |
46 |
insinto ${FONTDIR} |
47 |
|
48 |
doins ${S}/Akaash/*ttf |
49 |
doins ${S}/ani/*ttf |
50 |
doins ${S}/Likhan-0.5/*ttf |
51 |
doins ${S}/Sagar/*ttf |
52 |
|
53 |
mkfontscale ${D}/${FONTDIR} |
54 |
newins ${D}/${FONTDIR}/fonts.scale fonts.dir |
55 |
} |
56 |
|
57 |
pkg_postinst() { |
58 |
einfo "You need you add following line into /etc/X11/XftConfig" |
59 |
einfo "" |
60 |
einfo "\t dir \"${FONTDIR}\"" |
61 |
einfo "" |
62 |
} |
63 |
|
64 |
pkg_postrm(){ |
65 |
einfo "You need you remove following line into /etc/X11/XftConfig" |
66 |
einfo "" |
67 |
einfo "\t dir \"${FONTDIR}\"" |
68 |
einfo "" |
69 |
} |
70 |
----cut here---- |
71 |
|
72 |
|
73 |
|
74 |
-- |
75 |
gentoo-dev@g.o mailing list |