Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 10:30:04 -0700 (PDT)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/39321: New port: korean/mplayer-fonts
Message-ID:  <200206161730.g5GHU4s09703@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/39321; it has been noted by GNATS.

From: Hye-Shik Chang <perky@fallin.lv>
To: CHOI Junho <cjh@kr.FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/39321: New port: korean/mplayer-fonts
Date: Mon, 17 Jun 2002 02:28:23 +0900

 On Sat, Jun 15, 2002 at 04:46:29PM +0900, CHOI Junho wrote:
 > Hi,
 > 
 > I already know about this fonts set, but I don't use mplayer
 > recently(just use Windows to see movies :) and it seems to be
 > copyright violation. (bitmap extracted without permisson of copyright
 > holder) "gulim" "yoondesign" is the name of commercial font name or
 > font company. 
 > 
 > If so, it should not be ports even with NO_PACKAGE. It can be
 > NO_PACKAGE if someone who install this port has permission of use this
 > fonts, but I can't find how. Can you investigate more about this issue?
 > 
 
 I made a new port with korean/baekmukfonts-ttf and yonsei fonts (from their
 homepage). I added yonsei fonts because baekmukfonts weren't satisfiable
 as a font used for subtitles.
 how do you feel about this one?
 
 # 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:
 #
 #	mplayer-fonts
 #	mplayer-fonts/Makefile
 #	mplayer-fonts/distinfo
 #	mplayer-fonts/pkg-comment
 #	mplayer-fonts/pkg-descr
 #	mplayer-fonts/pkg-plist
 #	mplayer-fonts/pkg-message
 #
 echo c - mplayer-fonts
 mkdir -p mplayer-fonts > /dev/null 2>&1
 echo x - mplayer-fonts/Makefile
 sed 's/^X//' >mplayer-fonts/Makefile << 'END-of-mplayer-fonts/Makefile'
 X# New ports collection makefile for:	ko-mplayer-fonts
 X# Date created:		17 June 2002
 X# Whom:			Hye-Shik Chang
 X#
 X# $FreeBSD$
 X
 XPORTNAME=	mplayer-fonts
 XPORTVERSION=	1.0
 XCATEGORIES=	korean graphics
 XMASTER_SITES=	http://ftp.mplayerhq.hu/MPlayer/releases/ \
 X		http://www.mplayerhq.hu/MPlayer/releases/ \
 X		http://www2.mplayerhq.hu/MPlayer/releases/ \
 X		http://fallin.lv/distfiles/:fontmap \
 X		http://www.yonsei.ac.kr/yu/intro/symbol/:yonsei
 XDISTFILES=	MPlayer-0.90pre5.tar.bz2 \
 X		mplayer-fontmap-euc-kr.tar.bz2:fontmap \
 X		${YONSEI_TITLE_DISTNAME}:yonsei \
 X		${YONSEI_TEXT_DISTNAME}:yonsei
 XEXTRACT_ONLY=	MPlayer-0.90pre5.tar.bz2 mplayer-fontmap-euc-kr.tar.bz2
 X
 XMAINTAINER=	perky@fallin.lv
 X
 XBUILD_DEPENDS=	${LOCALBASE}/lib/libiconv.so.3:${PORTSDIR}/converters/libiconv \
 X		${FREETYPE_CONFIG}:${PORTSDIR}/print/freetype2 \
 X		${BAEKMUK_FONTDIR}/gulim.ttf:${PORTSDIR}/korean/baekmukfonts-ttf
 X
 XUSE_BZIP2=	yes
 XNO_PACKAGE=	Only unmodified original package can be distributed
 XWRKSRC=		${WRKDIR}/${MPLAYER_DISTNAME}/TOOLS/subfont-c
 XPLIST_SUB+=	MF=${MPLAYER_FONTDIR:S,${LOCALBASE}/,,g}
 X
 XMPLAYER_DISTNAME=	MPlayer-0.90pre5
 XMPLAYER_FONTDIR=	${LOCALBASE}/share/mplayer/fonts/korean
 XFREETYPE_CONFIG=	${LOCALBASE}/bin/freetype-config
 X
 XBAEKMUK_FONTDIR=	${X11BASE}/lib/X11/fonts/TrueType
 XBAEKMUK_FONTS=		gulim dotum batang
 XYONSEI_TITLE_DISTNAME=	%BF%AC%BC%BC%C1%A6%B8%F1.TTF
 XYONSEI_TEXT_DISTNAME=	%BF%AC%BC%BC%BA%BB%B9%AE.TTF
 XYONSEI_TITLE_FONTNAME=	YonseiTitle
 XYONSEI_TEXT_FONTNAME=	YonseiText
 XALL_FONTS=		${BAEKMUK_FONTS} ${YONSEI_TITLE_FONTNAME} \
 X			${YONSEI_TEXT_FONTNAME}
 XFONT_SIZES=		12 16 20 24
 X
 Xpost-extract:
 X	@${LN} -sf ${DISTDIR}/${YONSEI_TITLE_DISTNAME} \
 X		${WRKSRC}/${YONSEI_TITLE_FONTNAME}.ttf
 X	@${LN} -sf ${DISTDIR}/${YONSEI_TEXT_DISTNAME} \
 X		${WRKSRC}/${YONSEI_TEXT_FONTNAME}.ttf
 X.for fn in ${BAEKMUK_FONTS}
 X	@${LN} -sf ${BAEKMUK_FONTDIR}/${fn}.ttf ${WRKSRC}/
 X.endfor
 X	@${LN} -sf ${WRKDIR}/euc-kr ${WRKSRC}/
 X
 Xpost-patch:
 X	@${ECHO_CMD} -e 'LDFLAGS=-lm `${FREETYPE_CONFIG} --libs` -liconv \
 X		-L${LOCALBASE}/lib\nCFLAGS=`${FREETYPE_CONFIG} --cflags` \
 X		-I${LOCALBASE}/include\nPROG=subfont\nNOMAN=yes\
 X		\n.include <bsd.prog.mk>' > ${WRKSRC}/Makefile
 X	@${REINPLACE_CMD} -e 's,^encoding.*,encoding=euc-kr,;\
 X		s,^fontsize.*,fontsize=\$$3,;\
 X		s,^symbolssize.*,symbolssize=\$$((\$$fontsize-2)),' \
 X		${WRKSRC}/fontgen
 X
 Xpost-build:
 X.for font in ${ALL_FONTS}
 X.for size in ${FONT_SIZES}
 X	cd ${WRKSRC} && ${SH} fontgen ${font}.ttf ${font}-${size} ${size} \
 X		2> /dev/null
 X.endfor
 X.endfor
 X
 Xdo-install:
 X	@${MKDIR} ${MPLAYER_FONTDIR}
 X.for font in ${ALL_FONTS}
 X.for size in ${FONT_SIZES}
 X	@${TAR} -C ${WRKSRC} -cpf - ${font}-${size} | \
 X	 ${TAR} -C ${MPLAYER_FONTDIR} -xpf -
 X.endfor
 X.endfor
 X
 Xpost-install:
 X	@${CAT} ${PKGMESSAGE}
 X
 X.include <bsd.port.mk>
 END-of-mplayer-fonts/Makefile
 echo x - mplayer-fonts/distinfo
 sed 's/^X//' >mplayer-fonts/distinfo << 'END-of-mplayer-fonts/distinfo'
 XMD5 (MPlayer-0.90pre5.tar.bz2) = e5655c304af41b23701653eb7a810d3f
 XMD5 (mplayer-fontmap-euc-kr.tar.bz2) = bf9621e693150ab8990f2645458d53cc
 XMD5 (%BF%AC%BC%BC%C1%A6%B8%F1.TTF) = ec9abb1a75776ed728c69d3d660d93cd
 XMD5 (%BF%AC%BC%BC%BA%BB%B9%AE.TTF) = ac5390c120bdd9591153244ac773b0f4
 END-of-mplayer-fonts/distinfo
 echo x - mplayer-fonts/pkg-comment
 sed 's/^X//' >mplayer-fonts/pkg-comment << 'END-of-mplayer-fonts/pkg-comment'
 XKorean font pack for the mplayer OSD, SUB and SMI
 END-of-mplayer-fonts/pkg-comment
 echo x - mplayer-fonts/pkg-descr
 sed 's/^X//' >mplayer-fonts/pkg-descr << 'END-of-mplayer-fonts/pkg-descr'
 XThis is the port which contains a korean set of the fonts for
 Xthe mplayer on-screen display and the sub title.
 X
 XIn this stage it contains the following fonts:
 X
 XBaekmuk : gulim, batang, dotum
 XYonsei  : YonseiTitle, YonseiText
 END-of-mplayer-fonts/pkg-descr
 echo x - mplayer-fonts/pkg-plist
 sed 's/^X//' >mplayer-fonts/pkg-plist << 'END-of-mplayer-fonts/pkg-plist'
 X%%MF%%/YonseiText-12/euc-kr-a.raw
 X%%MF%%/YonseiText-12/euc-kr-b.raw
 X%%MF%%/YonseiText-12/font.desc
 X%%MF%%/YonseiText-12/osd-mplayer-a.raw
 X%%MF%%/YonseiText-12/osd-mplayer-b.raw
 X%%MF%%/YonseiText-16/euc-kr-a.raw
 X%%MF%%/YonseiText-16/euc-kr-b.raw
 X%%MF%%/YonseiText-16/font.desc
 X%%MF%%/YonseiText-16/osd-mplayer-a.raw
 X%%MF%%/YonseiText-16/osd-mplayer-b.raw
 X%%MF%%/YonseiText-20/euc-kr-a.raw
 X%%MF%%/YonseiText-20/euc-kr-b.raw
 X%%MF%%/YonseiText-20/font.desc
 X%%MF%%/YonseiText-20/osd-mplayer-a.raw
 X%%MF%%/YonseiText-20/osd-mplayer-b.raw
 X%%MF%%/YonseiText-24/euc-kr-a.raw
 X%%MF%%/YonseiText-24/euc-kr-b.raw
 X%%MF%%/YonseiText-24/font.desc
 X%%MF%%/YonseiText-24/osd-mplayer-a.raw
 X%%MF%%/YonseiText-24/osd-mplayer-b.raw
 X%%MF%%/YonseiTitle-12/euc-kr-a.raw
 X%%MF%%/YonseiTitle-12/euc-kr-b.raw
 X%%MF%%/YonseiTitle-12/font.desc
 X%%MF%%/YonseiTitle-12/osd-mplayer-a.raw
 X%%MF%%/YonseiTitle-12/osd-mplayer-b.raw
 X%%MF%%/YonseiTitle-16/euc-kr-a.raw
 X%%MF%%/YonseiTitle-16/euc-kr-b.raw
 X%%MF%%/YonseiTitle-16/font.desc
 X%%MF%%/YonseiTitle-16/osd-mplayer-a.raw
 X%%MF%%/YonseiTitle-16/osd-mplayer-b.raw
 X%%MF%%/YonseiTitle-20/euc-kr-a.raw
 X%%MF%%/YonseiTitle-20/euc-kr-b.raw
 X%%MF%%/YonseiTitle-20/font.desc
 X%%MF%%/YonseiTitle-20/osd-mplayer-a.raw
 X%%MF%%/YonseiTitle-20/osd-mplayer-b.raw
 X%%MF%%/YonseiTitle-24/euc-kr-a.raw
 X%%MF%%/YonseiTitle-24/euc-kr-b.raw
 X%%MF%%/YonseiTitle-24/font.desc
 X%%MF%%/YonseiTitle-24/osd-mplayer-a.raw
 X%%MF%%/YonseiTitle-24/osd-mplayer-b.raw
 X%%MF%%/batang-12/euc-kr-a.raw
 X%%MF%%/batang-12/euc-kr-b.raw
 X%%MF%%/batang-12/font.desc
 X%%MF%%/batang-12/osd-mplayer-a.raw
 X%%MF%%/batang-12/osd-mplayer-b.raw
 X%%MF%%/batang-16/euc-kr-a.raw
 X%%MF%%/batang-16/euc-kr-b.raw
 X%%MF%%/batang-16/font.desc
 X%%MF%%/batang-16/osd-mplayer-a.raw
 X%%MF%%/batang-16/osd-mplayer-b.raw
 X%%MF%%/batang-20/euc-kr-a.raw
 X%%MF%%/batang-20/euc-kr-b.raw
 X%%MF%%/batang-20/font.desc
 X%%MF%%/batang-20/osd-mplayer-a.raw
 X%%MF%%/batang-20/osd-mplayer-b.raw
 X%%MF%%/batang-24/euc-kr-a.raw
 X%%MF%%/batang-24/euc-kr-b.raw
 X%%MF%%/batang-24/font.desc
 X%%MF%%/batang-24/osd-mplayer-a.raw
 X%%MF%%/batang-24/osd-mplayer-b.raw
 X%%MF%%/dotum-12/euc-kr-a.raw
 X%%MF%%/dotum-12/euc-kr-b.raw
 X%%MF%%/dotum-12/font.desc
 X%%MF%%/dotum-12/osd-mplayer-a.raw
 X%%MF%%/dotum-12/osd-mplayer-b.raw
 X%%MF%%/dotum-16/euc-kr-a.raw
 X%%MF%%/dotum-16/euc-kr-b.raw
 X%%MF%%/dotum-16/font.desc
 X%%MF%%/dotum-16/osd-mplayer-a.raw
 X%%MF%%/dotum-16/osd-mplayer-b.raw
 X%%MF%%/dotum-20/euc-kr-a.raw
 X%%MF%%/dotum-20/euc-kr-b.raw
 X%%MF%%/dotum-20/font.desc
 X%%MF%%/dotum-20/osd-mplayer-a.raw
 X%%MF%%/dotum-20/osd-mplayer-b.raw
 X%%MF%%/dotum-24/euc-kr-a.raw
 X%%MF%%/dotum-24/euc-kr-b.raw
 X%%MF%%/dotum-24/font.desc
 X%%MF%%/dotum-24/osd-mplayer-a.raw
 X%%MF%%/dotum-24/osd-mplayer-b.raw
 X%%MF%%/gulim-12/euc-kr-a.raw
 X%%MF%%/gulim-12/euc-kr-b.raw
 X%%MF%%/gulim-12/font.desc
 X%%MF%%/gulim-12/osd-mplayer-a.raw
 X%%MF%%/gulim-12/osd-mplayer-b.raw
 X%%MF%%/gulim-16/euc-kr-a.raw
 X%%MF%%/gulim-16/euc-kr-b.raw
 X%%MF%%/gulim-16/font.desc
 X%%MF%%/gulim-16/osd-mplayer-a.raw
 X%%MF%%/gulim-16/osd-mplayer-b.raw
 X%%MF%%/gulim-20/euc-kr-a.raw
 X%%MF%%/gulim-20/euc-kr-b.raw
 X%%MF%%/gulim-20/font.desc
 X%%MF%%/gulim-20/osd-mplayer-a.raw
 X%%MF%%/gulim-20/osd-mplayer-b.raw
 X%%MF%%/gulim-24/euc-kr-a.raw
 X%%MF%%/gulim-24/euc-kr-b.raw
 X%%MF%%/gulim-24/font.desc
 X%%MF%%/gulim-24/osd-mplayer-a.raw
 X%%MF%%/gulim-24/osd-mplayer-b.raw
 X@dirrm %%MF%%/gulim-24
 X@dirrm %%MF%%/gulim-20
 X@dirrm %%MF%%/gulim-16
 X@dirrm %%MF%%/gulim-12
 X@dirrm %%MF%%/dotum-24
 X@dirrm %%MF%%/dotum-20
 X@dirrm %%MF%%/dotum-16
 X@dirrm %%MF%%/dotum-12
 X@dirrm %%MF%%/batang-24
 X@dirrm %%MF%%/batang-20
 X@dirrm %%MF%%/batang-16
 X@dirrm %%MF%%/batang-12
 X@dirrm %%MF%%/YonseiTitle-24
 X@dirrm %%MF%%/YonseiTitle-20
 X@dirrm %%MF%%/YonseiTitle-16
 X@dirrm %%MF%%/YonseiTitle-12
 X@dirrm %%MF%%/YonseiText-24
 X@dirrm %%MF%%/YonseiText-20
 X@dirrm %%MF%%/YonseiText-16
 X@dirrm %%MF%%/YonseiText-12
 X@dirrm %%MF%%
 X@unexec rmdir %D/share/mplayer/fonts 2>/dev/null || true
 X@unexec rmdir %D/share/mplayer 2>/dev/null || true
 END-of-mplayer-fonts/pkg-plist
 echo x - mplayer-fonts/pkg-message
 sed 's/^X//' >mplayer-fonts/pkg-message << 'END-of-mplayer-fonts/pkg-message'
 X===========================================================================
 X To use these fonts, add the following line into $HOME/.mplayer/config
 X
 X   unicode=1
 X
 X and make a symbolic link of $PREFIX/share/mplayer/fonts/korean/${FONT}
 X as $HOME/.mplayer/font
 X===========================================================================
 END-of-mplayer-fonts/pkg-message
 exit
 
 -- 
 Hye-Shik Chang <perky@fallin.lv>
 Yonsei University, Seoul
 ^D

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206161730.g5GHU4s09703>