public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Archan <archanp@HotPOP.com>
To: gentoo-dev@gentoo.org
Cc: ilug-cal@ilug-cal.org
Subject: [gentoo-dev] Ebuild for Bangla Font support in Gentoo Linux
Date: 11 Aug 2003 17:16:26 +0900	[thread overview]
Message-ID: <87ekzsip7p.fsf@HotPOP.com> (raw)

Hi,

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.

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. I have submitted the formal inclusion request at http://bugs.gentoo.org/show_bug.cgi?id=26381

iti
Archan

----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----



--
gentoo-dev@gentoo.org mailing list


             reply	other threads:[~2003-08-11  8:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-11  8:16 Archan [this message]
2003-08-11 11:55 ` [gentoo-dev] Ebuild for Bangla Font support in Gentoo Linux Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ekzsip7p.fsf@HotPOP.com \
    --to=archanp@hotpop.com \
    --cc=gentoo-dev@gentoo.org \
    --cc=ilug-cal@ilug-cal.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox