Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 26381

Summary: ebuild for Unicode compliant Open Type Bangla fonts
Product: Gentoo Linux Reporter: archan <archanp>
Component: New packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 13808    
Bug Blocks:    
Attachments: Ebuild for free-bangla-font Version 0.2
New ebuild for "Free Bangla Font"

Description archan 2003-08-11 01:11:38 UTC
I have made a 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.

Following project is developing Unicode compliant Open Type Bengla fonts
http://www.nongnu.org/freebangfont/index.html

It is a subproject of http://www.bengalinux.org/
http://www.bengalinux.org/

Possibly it is the first Bangla Font support initiative for Gentoo Linux.

----cut here----
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Unicode compliant Open Type Bangla fonts"
HOMEPAGE="http://www.nongnu.org/freebangfont/index.html"
SRC_BASE="http://savannah.nongnu.org/download/freebangfont"
SRC_URI="${SRC_BASE}/Akaash.pkg/0.8.5/Akaash-0.8.5.tar.gz
	${SRC_BASE}/Ani.pkg/0.8.0/Ani-0.8.0.tar.gz
	${SRC_BASE}/Likhan.pkg/0.5/Likhan-0.5.tar.gz
	${SRC_BASE}/Sagar.pkg/0.6.0/Sagar-0.60.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="virtual/x11"

S="${WORKDIR}"
FONTDIR="/usr/share/fonts/ttf/bangla/free-bangla-font/"

src_unpack() {
	cd ${S}
	for gz in ${A}; do
		tar -xzf ${DISTDIR}/${gz}
	done
}

src_install() {
	insopts -m0644
    insinto ${FONTDIR}

	doins ${S}/Akaash/*ttf
	doins ${S}/ani/*ttf
	doins ${S}/Likhan-0.5/*ttf
	doins ${S}/Sagar/*ttf
	
	mkfontscale ${D}/${FONTDIR}
	newins ${D}/${FONTDIR}/fonts.scale fonts.dir
}

pkg_postinst() {
    einfo "You need you add following line into /etc/X11/XftConfig"
    einfo ""
    einfo "\t dir \"${FONTDIR}\""
    einfo ""
}

pkg_postrm(){
    einfo "You need you remove following line into /etc/X11/XftConfig"
    einfo ""
    einfo "\t dir \"${FONTDIR}\""
    einfo ""
}
----cut here----
Comment 1 archan 2003-08-11 01:12:25 UTC
Created attachment 15881 [details]
Ebuild for free-bangla-font Version 0.2
Comment 2 archan 2004-05-10 23:07:13 UTC
Created attachment 31140 [details]
New ebuild for "Free Bangla Font"

I have updated the ebuild of free-bangla-font . Current version for it is
free-bangla-font-0.2.ebuild Currently, bangla localized gnome is accepted in
offcial releases. To work with bangla-gnome, free-bangla-fonts are needed.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-07-04 22:57:02 UTC
Sorry for the long delay. Added to CVS. Thanks for the ebuild.