From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 19 10:50:05 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C15816A418 for ; Wed, 19 Sep 2007 10:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E692413C4DB for ; Wed, 19 Sep 2007 10:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8JAo4VP031162 for ; Wed, 19 Sep 2007 10:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8JAo4jU031161; Wed, 19 Sep 2007 10:50:04 GMT (envelope-from gnats) Resent-Date: Wed, 19 Sep 2007 10:50:04 GMT Resent-Message-Id: <200709191050.l8JAo4jU031161@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Naresh V Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 388B116A418 for ; Wed, 19 Sep 2007 10:49:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0597813C4B0 for ; Wed, 19 Sep 2007 10:49:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8JAnmhU054594 for ; Wed, 19 Sep 2007 10:49:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8JAnmrj054593; Wed, 19 Sep 2007 10:49:48 GMT (envelope-from nobody) Message-Id: <200709191049.l8JAnmrj054593@www.freebsd.org> Date: Wed, 19 Sep 2007 10:49:48 GMT From: Naresh V To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/116460: No Indic fonts in ports X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 10:50:05 -0000 >Number: 116460 >Category: misc >Synopsis: No Indic fonts in ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 19 10:50:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Naresh V >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD section9.junta.iitk.ac.in 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007 root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I'm not able to find good Indic fonts in the ports. Fedora's Lohit project has some great fonts for a whole bunch of Indian languages and many Linux distros provide it in their repos. Here's a link to Gentoo's ebuild: http://www.gentoo-portage.com/media-fonts/fonts-indic Please add this to the ports. Thank you. >How-To-Repeat: >Fix: I've written a port. (attached) Feel free to modify it. Lohit fonts are under GPL. pkg-descr: A collection of Indic fonts by the Lohit project. The package supports most Indian languages: - Bengali - Gujarati - Hindi - Kannada - Malayalam - Oriya - Punjabi - Tamil - Telugu WWW: http://fedoraproject.org/wiki/Lohit pkg-plist: @exec %D/bin/fc-cache -f -v %%FONTSDIR%% %%FONTSDIR%%/lohit_bn.ttf %%FONTSDIR%%/lohit_gu.ttf %%FONTSDIR%%/lohit_hi.ttf %%FONTSDIR%%/lohit_kn.ttf %%FONTSDIR%%/lohit_ml.ttf %%FONTSDIR%%/lohit_or.ttf %%FONTSDIR%%/lohit_pa.ttf %%FONTSDIR%%/lohit_ta.TTF %%FONTSDIR%%/lohit_te.TTF %%FONTSDIR%%/fonts.cache-1 @dirrm %%FONTSDIR%% Patch attached with submission follows: # New ports collection makefile for: fonts-indic # Date created: 19 Septenber 2007 # Whom: Naresh Venkateshappa # # $FreeBSD: ports/x11-fonts/font-indic-ttf/Makefile,v 0.1 2007/09/19 15:15:15 nareshov Exp $ PORTNAME= fonts-indic PORTVERSION= 2.1.5 PORTREVISION= 0 CATEGORIES= x11-fonts MASTER_SITES= http://gentoo.osuosl.org/distfiles/ MAINTAINER= nareshov@gmail.com COMMENT= The Lohit family of Indic fonts RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig USE_GZIP= yes USE_X_PREFIX= yes NO_BUILD= yes NO_WRKSUBDIR= yes FONTSDIR= lib/X11/fonts/${PORTNAME}/ PLIST_SUB+= FONTSDIR=${FONTSDIR} do-install: ${MKDIR} ${PREFIX}/${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/*/*/*.ttf ${PREFIX}/${FONTSDIR} post-install: @${ECHO_MSG} "==> Running fc-cache" @${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR} .include >Release-Note: >Audit-Trail: >Unformatted: