ports/138447: [New Port] textproc/scim-kmfl-sil-galatia: SCIM KMFL IMEngine Unicode keyboard for typesetting Ancient Greek

Nikola Lecic nikola.lecic at anthesphoria.net
Tue Sep 1 16:10:04 UTC 2009


>Number:         138447
>Category:       ports
>Synopsis:       [New Port] textproc/scim-kmfl-sil-galatia: SCIM KMFL IMEngine Unicode keyboard for typesetting Ancient Greek
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 01 16:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Nikola Lecic
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:

System: FreeBSD black 7.2-STABLE FreeBSD 7.2-STABLE #0: Wed May 13 19:04:54 CEST 2009 nikola at black:/usr/obj/usr/src/sys/GENERIC i386

>Description:

Notes to the committer:

1. This port is a part of scim-kmfl- series (textproc/scim-kmfl-* ports).
2. The patch is arranged to ensure that keyboard description in the SCIM
   interface corresponds to that provided in the documentation.
3. Adding an arbitrary character at the end of certain lines in the source is
   necessary because of the bug in the current kmflcomp version.

pkg-descr:

This is a keyboard for typesetting Ancient Greek with precomposed Unicode
characters. It is written in Keyman Keyboard Language by SIL Non-Roman Script
Initiative (NRSI).

The main purpose of the keyboards is to provide a wide range of keying options,
so many characters can be entered in multiple ways. The features include:

  * preserving the context when deleting;
  * choosing the correct code for the sigma depending upon the encoding and
    the context (so the correct final form is used when appropriate);
  * understanding the context of gamma so that it can be typed as 'n' before
    kappa, xi or chi and as 'ng' before another gamma.
  * support for Greek punctuation.

This port installs the keyboard so that it can be used through SCIM KMFL
IMEngine (textproc/scim-kmfl-imengine). The keyboard is provided under X11
licence.

WWW: http://scripts.sil.org/KeymanKeyboardLinks#e9f80714

>How-To-Repeat:
	
>Fix:

--- scim-kmfl-sil-galatia-1.02.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	scim-kmfl-sil-galatia
#	scim-kmfl-sil-galatia/Makefile
#	scim-kmfl-sil-galatia/distinfo
#	scim-kmfl-sil-galatia/pkg-descr
#	scim-kmfl-sil-galatia/files
#	scim-kmfl-sil-galatia/files/patch-GrkPolyComp.KMN
#
echo c - scim-kmfl-sil-galatia
mkdir -p scim-kmfl-sil-galatia > /dev/null 2>&1
echo x - scim-kmfl-sil-galatia/Makefile
sed 's/^X//' >scim-kmfl-sil-galatia/Makefile << 'ff86ad20ae8ae4c61ef779feef048e7d'
X# New ports collection makefile for:	scim-kmfl-sil-galatia
X# Date created:		24 August 2009
X# Whom:			Nikola Lecic <nikola.lecic at anthesphoria.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	scim-kmfl-sil-galatia
XPORTVERSION=	1.02
XCATEGORIES=	textproc
XMASTER_SITES=	http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GrkPolyComp_Src&filename=/ \
X		http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
XDISTNAME=	GrkPolyComp_Src
XDIST_SUBDIR=	kmfl
X
XMAINTAINER=	nikola.lecic at anthesphoria.net
XCOMMENT=	SCIM KMFL IMEngine Unicode keyboard for typesetting Ancient Greek
X
XRUN_DEPENDS=	kmflcomp:${PORTSDIR}/textproc/kmflcomp \
X 		${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/kmfl.so:${PORTSDIR}/textproc/scim-kmfl-imengine
X
XWRKSRC=		${WRKDIR}/GrkPolyComp_Src
XUSE_DOS2UNIX=	GrkPolyComp.KMN
XNO_BUILD=	yes
XUSE_ZIP=	yes
X
XDOCSDIR_REL=	share/doc/kmfl/${PORTNAME}
XDOCSDIR=	${PREFIX}/${DOCSDIR_REL}
XSCIM_KMFL_DIR=	share/scim/kmfl
XSCIM_KMFL_ICONS_DIR=	share/scim/kmfl/icons
X
XPORTDOCS=	*
XDOCSLIST=	Greek\ Poly\ Comp\ Kbrd\ Layout.pdf \
X		welcome.htm
X
XPLIST_FILES=	${SCIM_KMFL_DIR}/GrkPolyComp.kmn \
X		${SCIM_KMFL_ICONS_DIR}/ALPHA.bmp
X
Xdo-install:
X	${CP} -f ${WRKSRC}/GrkPolyComp.KMN ${WRKSRC}/GrkPolyComp.kmn
X	${INSTALL_DATA} ${WRKSRC}/GrkPolyComp.kmn ${LOCALBASE}/${SCIM_KMFL_DIR}
X	${INSTALL_DATA} ${WRKSRC}/ALPHA.bmp ${LOCALBASE}/${SCIM_KMFL_ICONS_DIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	for doc in ${DOCSLIST} ; do \
X		${INSTALL_DATA} "${WRKSRC}/$$doc" ${DOCSDIR} ; \
X	done
X.endif
X
Xpost-install:
X	@${ECHO_MSG} "--------------------------------------------------------"
X	@${ECHO_MSG} "  You should now have the new keyboard in the section"
X	@${ECHO_MSG} "  \"Others\" in your SCIM menu. If you don't see it,"
X	@${ECHO_MSG} "  restart X."
X.if !defined(NOPORTDOCS)
X	@${ECHO_MSG}
X	@${ECHO_MSG} "  The documentation is installed into:"
X	@${ECHO_MSG} "    ${DOCSDIR}"
X.endif
X	@${ECHO_MSG} "--------------------------------------------------------"
X
X.include <bsd.port.mk>
ff86ad20ae8ae4c61ef779feef048e7d
echo x - scim-kmfl-sil-galatia/distinfo
sed 's/^X//' >scim-kmfl-sil-galatia/distinfo << 'e53d5322460b20850b2c0c855032091d'
XMD5 (kmfl/GrkPolyComp_Src.zip) = 5e7bf6186a3917d796f1abb710bed539
XSHA256 (kmfl/GrkPolyComp_Src.zip) = 59b4ad7f7a31f66a674f1867979baf07ae5143957cec6575e3d1428f5acf66e7
XSIZE (kmfl/GrkPolyComp_Src.zip) = 197829
e53d5322460b20850b2c0c855032091d
echo x - scim-kmfl-sil-galatia/pkg-descr
sed 's/^X//' >scim-kmfl-sil-galatia/pkg-descr << '3e08a8510beac87f0fd05af5b3e2a558'
XThis is a keyboard for typesetting Ancient Greek with precomposed Unicode
Xcharacters. It is written in Keyman Keyboard Language by SIL Non-Roman Script
XInitiative (NRSI).
X
XThe main purpose of the keyboards is to provide a wide range of keying options,
Xso many characters can be entered in multiple ways. The features include:
X
X  * preserving the context when deleting;
X  * choosing the correct code for the sigma depending upon the encoding and
X    the context (so the correct final form is used when appropriate);
X  * understanding the context of gamma so that it can be typed as 'n' before
X    kappa, xi or chi and as 'ng' before another gamma.
X  * support for Greek punctuation.
X
XThis port installs the keyboard so that it can be used through SCIM KMFL
XIMEngine (textproc/scim-kmfl-imengine). The keyboard is provided under X11
Xlicence.
X
XWWW: http://scripts.sil.org/KeymanKeyboardLinks#e9f80714
3e08a8510beac87f0fd05af5b3e2a558
echo c - scim-kmfl-sil-galatia/files
mkdir -p scim-kmfl-sil-galatia/files > /dev/null 2>&1
echo x - scim-kmfl-sil-galatia/files/patch-GrkPolyComp.KMN
sed 's/^X//' >scim-kmfl-sil-galatia/files/patch-GrkPolyComp.KMN << '0531c3c89877cecb3f2025619c27d73e'
X--- GrkPolyComp.KMN.orig	2009-08-24 13:49:16.000000000 +0200
X+++ GrkPolyComp.KMN	2009-08-24 14:03:17.000000000 +0200
X@@ -24,9 +24,9 @@
X c                   See REVISION.TXT
X c ----------------------------------------------------------------------------
X    
X-NAME "Greek (polytonic precomposed) Unicode 1.02"
X+NAME "Galatia Greek (polytonic precomposed) Unicode 1.02"
X VERSION 6.0
X-BITMAP ALPHA
X+BITMAP ALPHA.bmp
X HOTKEY "^+G"
X COPYRIGHT "© 2002-2008 SIL International"
X MESSAGE "The Greek (polytonic precomposed) Unicode keyboard is distributed under the X11 free software license (http://scripts.sil.org/X11License)."
X@@ -520,9 +520,9 @@
X any(vUIoSm0)            + any(K_Io) > index(vUIoSm,1)                c >A_
X any(vUIo2)              + any(K_Ro) > index(vUIoRo,1)                c A_<
X any(vUIoRo0)            + any(K_Io) > index(vUIoRo,1)                c <A_
X-any(vUIoSm)             + any(K_Gr) > index(vUIoSmGr,1)              c A_>\ 
X+any(vUIoSm)             + any(K_Gr) > index(vUIoSmGr,1)              c A_>\ c
X any(vUIoSmGr0)          + any(K_Io) > index(vUIoSmGr,1)              c >\A_
X-any(vUIoRo)             + any(K_Gr) > index(vUIoRoGr,1)              c A_<\ 
X+any(vUIoRo)             + any(K_Gr) > index(vUIoRoGr,1)              c A_<\ c
X any(vUIoRoGr0)          + any(K_Io) > index(vUIoRoGr,1)              c <\A_
X any(vUIoSm)             + any(K_Ac) > index(vUIoSmAc,1)              c A_>/
X any(vUIoSmAc0)          + any(K_Io) > index(vUIoSmAc,1)              c >/A_
X@@ -668,8 +668,8 @@
X any(GC_Ci)                + any(K_Gr) > index(GC_Gr,1)          c a^  + \  a\.  
X any(Ac)                   + any(K_Gr) > outs(Gr)                c /   + \  \.   
X any(Ci)                   + any(K_Gr) > outs(Gr)                c ^   + \  \.   
X-any(lowvRo)               + any(K_Gr) > index(lowvRoGr,1)       c >a   + \ a>\ 
X-any(lowvSm)               + any(K_Gr) > index(lowvSmGr,1)       c <a   + \ a<\ 
X+any(lowvRo)               + any(K_Gr) > index(lowvRoGr,1)       c >a   + \ a>\ c 
X+any(lowvSm)               + any(K_Gr) > index(lowvSmGr,1)       c <a   + \ a<\ c 
X any(upV)                  + any(K_Gr) > index(upVGr,1)          c A   + \  >A
X any(upVSm_Sm)             + any(K_Gr) > index(upVSmGr,1)         c >A  + \  >\A 
X any(upVSm_Gr)             + any(K_Sm) > index(upVSmGr,1)         c >A  + \  >\A 
0531c3c89877cecb3f2025619c27d73e
exit
--- scim-kmfl-sil-galatia-1.02.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list