diff options
author | Peter Volkov <pva@gentoo.org> | 2010-11-19 13:25:22 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-11-19 13:25:22 +0000 |
commit | 7fcb6af4bdf2c9fb08b652b97bf19cbc63616c97 (patch) | |
tree | 27c6aca04b2f37e39efab5d1cd1e57813a033caa /media-fonts/culmus | |
parent | Version bump (diff) | |
download | historical-7fcb6af4bdf2c9fb08b652b97bf19cbc63616c97.tar.gz historical-7fcb6af4bdf2c9fb08b652b97bf19cbc63616c97.tar.bz2 historical-7fcb6af4bdf2c9fb08b652b97bf19cbc63616c97.zip |
Version bump.
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'media-fonts/culmus')
-rw-r--r-- | media-fonts/culmus/ChangeLog | 7 | ||||
-rw-r--r-- | media-fonts/culmus/Manifest | 5 | ||||
-rw-r--r-- | media-fonts/culmus/culmus-0.120.ebuild | 155 |
3 files changed, 165 insertions, 2 deletions
diff --git a/media-fonts/culmus/ChangeLog b/media-fonts/culmus/ChangeLog index 05bd478448c0..abb4087b26a4 100644 --- a/media-fonts/culmus/ChangeLog +++ b/media-fonts/culmus/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-fonts/culmus # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/culmus/ChangeLog,v 1.53 2010/10/19 12:30:22 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/culmus/ChangeLog,v 1.54 2010/11/19 13:25:22 pva Exp $ + +*culmus-0.120 (19 Nov 2010) + + 19 Nov 2010; Peter Volkov <pva@gentoo.org> +culmus-0.120.ebuild: + Version bump. *culmus-0.110 (19 Oct 2010) diff --git a/media-fonts/culmus/Manifest b/media-fonts/culmus/Manifest index 5437e5048985..3d459a01bb91 100644 --- a/media-fonts/culmus/Manifest +++ b/media-fonts/culmus/Manifest @@ -11,7 +11,9 @@ DIST comix.tar.gz 100296 RMD160 a6f436a2fac0402c0dfa03f45de224315b8e1da4 SHA1 1e DIST culmus-0.104.tar.gz 988587 RMD160 9b6bc0b5fc23f7b88fb9e6dbe41b37dc5be84e32 SHA1 a2f6291c227be29134328fd067f15d3c2db46d26 SHA256 f9ca2b4e3432e581877ec49d33e842a36211763cec0b1c53f5e6bc4248645d84 DIST culmus-0.105.tar.gz 855530 RMD160 4cdd96442dfbf4fcf8349f92c05fae022527d5fa SHA1 139a9a44dea20c3238627069b966e3295c8638e7 SHA256 693e0ef9f0eaf8ba6be1c4999a770d11cbd73fd5e5c1b3d95f4cbb86dc6dd1fa DIST culmus-0.110.tar.gz 1045126 RMD160 9794cbdccd8860f71630be6525f1f1f5f2823784 SHA1 72a89ab85fc0d9c88b5395cfb7f5da4f20522704 SHA256 7a4e60e3c66157b23dd7fad978e983575b77857a5d5c4ac8de543d380711641b +DIST culmus-0.120.tar.gz 1190095 RMD160 8d8ced3a98d97683cfd2a5f94555bc7e91b5c86b SHA1 6be4ec69c544ca46d686d9357ef274366fe9fbcf SHA256 8140047dfdaae9b548953fb13016055a13571cb09b940ba155932b20319d62d8 DIST culmus-src-0.110.tar.gz 906304 RMD160 8b6f064ece737d08ed84fe7de6677d3a1d134dcc SHA1 57548e79b1b9656d0115cf3ccdd1faa3089b619b SHA256 63a4591ec18020740ae21751886a24f8315f0957384ae5650a4a678d24ee66f6 +DIST culmus-src-0.120.tar.gz 1180742 RMD160 0fed6302625dcd31dd2530613158494e1c3bf11d SHA1 73cdfbc45de402ff2a01179785bb610c089a1140 SHA256 970efe9809edb0926db903caec085da2936f16040ac189d048160352eac4e6ed DIST culmus-type1-0.104.tar.gz 231154 RMD160 8c61c5c1251125740c63752ba1d0236accc2ba98 SHA1 b363bad5f7fdc6da1598f90c4a2d309b26296a72 SHA256 4f2483075ce8dc6d8c59ca734b1efc9534ef03f3e4d8ffd489e53de2f03cde93 DIST culmus-type1-0.105.tar.gz 465679 RMD160 4666f5369141efafdec62778e30b1db71c37dd4f SHA1 05e28b0c7badd6027de151c31cd0a1b5741fa48b SHA256 9365c01aeda7de344fe158366f8622dea9061d9d86b420781bea07aa4a975bf0 DIST dorian.tar.gz 19919 RMD160 d22c1b69a92c2ba5ee9f676715c2db221c37f7ef SHA1 068e2a7a2225564cc4c0c61e8afcbe616831b43a SHA256 ba4131cb164f0376e0269825042c5f64b9dfcf6905426938ab4d197831454633 @@ -26,5 +28,6 @@ EBUILD culmus-0.105-r1.ebuild 1515 RMD160 3898f4127a1448b399cc97221d95d66a8ef1f7 EBUILD culmus-0.105-r2.ebuild 1569 RMD160 f986df4c199f272f9e00217d306ddd01a705ac2d SHA1 22132b7de3fd36a84d350aeb549637f53f0614d8 SHA256 3b27289dee75287844973cf505d7308c6095e0a4d77e663704ab569a242bb957 EBUILD culmus-0.105.ebuild 1408 RMD160 38dae89946fe01f534864dd867da9b24b5e729f3 SHA1 be8288b66565eb9a9113778215f0d0f425479cf8 SHA256 86d43a6f785e35ec8a41b0ee0c444e67325a2fb4ab7a3e56c91da0dcb8c24b3e EBUILD culmus-0.110.ebuild 4051 RMD160 9da849bdd34c4a0dd2623345cd44271020b9c9a5 SHA1 92323659a1368c162aa3edcbd670aa1fe30ba452 SHA256 bca8a31b7ff046d79ed16cb3deda1eeab3559f9f5426341063da2bec88c03794 -MISC ChangeLog 8174 RMD160 09de3af296e743f8ccce6e07313f7b4e7af3267c SHA1 657e9e27104b081eb84bc296a9d6c2ab57e6cfe9 SHA256 dd2ba4a4ad501137b5fa98ebeb29636e507ebd2d1ac83a06ee466abbf264613f +EBUILD culmus-0.120.ebuild 4051 RMD160 d6e39b8d5888b155f2b2c2874475bd04d619ce04 SHA1 e7e6ac3a7f541941a3e9fd91ee8456b11e25eb44 SHA256 e261ed9581e6920cca6d4a0ba5f259e832b09458103c3aa68a787d436418faf0 +MISC ChangeLog 8287 RMD160 0e990bcb0643d031050648f9d02df4839b2cb851 SHA1 5d78cf7db46799650b7e9fd1cb6711f2f2077f9c SHA256 e2bfd336c25a760195190bdee851f2b848f7776b8c504ab446b5937201e94ea3 MISC metadata.xml 417 RMD160 f775aaf3c761480949472018f1d4e4bc67e58eaa SHA1 a0c54423e97c3285b3043ae6d04722bb00e69255 SHA256 6238ee7d80afd10e4bddd082df02f12dfcd93d7b1ce80c7e3dd48103658e8e03 diff --git a/media-fonts/culmus/culmus-0.120.ebuild b/media-fonts/culmus/culmus-0.120.ebuild new file mode 100644 index 000000000000..a321576a130e --- /dev/null +++ b/media-fonts/culmus/culmus-0.120.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/culmus/culmus-0.120.ebuild,v 1.1 2010/11/19 13:25:22 pva Exp $ + +EAPI="2" + +inherit font + +# Maintainer: also check culmus.conf file in ${P}.tar.gz + +MY_A_P=AncientSemiticFonts-0.06-1 + +DESCRIPTION="Hebrew Type1 fonts" +HOMEPAGE="http://culmus.sourceforge.net/" + +FANCY_FONTS="journal hillel anka comix gan ozrad ktav-yad dorian gladia" +FANCY_YG_FONTS="ShmuelCLM MakabiYG" +TAAMEY_FONTS="TaameyDavidCLM TaameyFrankCLM KeterAramTsova KeterYG" + +SRC_URI="mirror://sourceforge/culmus/${P}.tar.gz + fontforge? ( mirror://sourceforge/culmus/${PN}-src-${PV}.tar.gz ) + ancient? ( !fontforge? ( mirror://sourceforge/culmus/${MY_A_P}.TTF.tgz ) + fontforge? ( mirror://sourceforge/culmus/${MY_A_P}.tgz ) )" +SRC_URI+=" fancy? ( $(printf "http://culmus.sourceforge.net/fancy/%s.tar.gz " ${FANCY_FONTS}) )" +SRC_URI+=" fancy? ( $(printf "http://culmus.sourceforge.net/fancy-yg/%s.zip " ${FANCY_YG_FONTS}) )" +SRC_URI+=" taamey? ( $(printf "http://culmus.sourceforge.net/taamim/%s.zip " ${TAAMEY_FONTS}) )" + +# Some fonts are available in otf format too. Do we need them? +# http://culmus.sourceforge.net/fancy/anka-otf.zip +# http://culmus.sourceforge.net/fancy/hillel-otf.zip +# http://culmus.sourceforge.net/fancy/journal-otf.zip + +LICENSE="|| ( GPL-2 LICENSE-BITSTREAM ) ancient? ( MIT ) fancy? ( GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="ancient fancy fontforge taamey" + +FONT_CONF=( "${FILESDIR}/65-culmus.conf" ) + +DEPEND="!media-fonts/culmus-ancient" +RDEPEND="${DEPEND}" + +S=${WORKDIR} +# Put all fonts, generated or not here +FONT_S=${S}/FONTS + +src_unpack() { + unpack ${P}.tar.gz # For type1 fonts... + use fontforge && unpack ${PN}-src-${PV}.tar.gz + + use ancient && unpack ${MY_A_P}$(use fontforge || echo .TTF).tgz + + if use fancy; then + unpack $(printf "%s.tar.gz " ${FANCY_FONTS}) + unpack $(printf "%s.zip " ${FANCY_YG_FONTS}) + mv TTF/* . + fi + + if use taamey; then + for font in ${TAAMEY_FONTS}; do + mkdir ${font} + pushd ${font} + unpack ${font}.zip + popd >/dev/null + done + fi +} + +src_compile() { + mkdir -p "${FONT_S}" + if use fontforge; then + pushd ${P} + mv *.afm *.pfa "${FONT_S}" + rm *.ttf + popd >/dev/null + pushd ${PN}-src-${PV} + for f in *.sfd; do + "${WORKDIR}"/${PN}-src-${PV}/GenerateTTF.pe ${f} "${FONT_S}" || die + done + popd >/dev/null + + if use ancient; then + pushd ${MY_A_P}/src + export FONTFORGE_LANGUAGE=ff + make clean + make all || die "Failed to build fonts" + mv *.ttf "${FONT_S}" + popd >/dev/null + fi + + if use taamey; then + for font in ${TAAMEY_FONTS}; do + rm -rf ${font}/TTF + pushd ${font}/SFD + for f in *.sfd; do + "${WORKDIR}"/${PN}-src-${PV}/GenerateTTF.pe ${f} "${FONT_S}" || die + done + popd >/dev/null + done + fi + else + pushd ${P} + mv *.afm *.pfa *.ttf "${FONT_S}" + popd >/dev/null + + if use ancient; then + pushd ${MY_A_P}$(use fontforge || echo .TTF)/fonts + mv *.ttf "${FONT_S}" + popd >/dev/null + fi + + if use taamey; then + for font in ${TAAMEY_FONTS}; do + pushd ${font}/TTF + mv *.ttf "${FONT_S}" + popd >/dev/null + done + fi + fi + + use fancy && mv *.afm *.pfa *.ttf "${FONT_S}" +} + +src_install() { + FONT_SUFFIX="pfa $(use fancy && echo afm ttf)" \ + font_src_install + + rm -rf "${FONT_S}" + find "${WORKDIR}" -name '*.ttf' -o -name '*.pfa' -o -name '*.pfm' | + while read font; do + ewarn "QA: missed font file: ${font}" + done + + pushd ${PN}$(use fontforge && echo -src)-${PV} + dodoc CHANGES || die + popd >/dev/null + + if use ancient; then + pushd "${WORKDIR}/${MY_A_P}$(use fontforge || echo .TTF)/" + newdoc CHANGES{,.ancient} || die + newdoc README{,.ancient} || die + popd >/dev/null + fi + + if use taamey; then + for font in ${TAAMEY_FONTS}; do + pushd ${font} + [[ -f ChangeLog ]] && { newdoc ChangeLog{,.${font}} || die; } + newdoc README{,.${font}} || die + insinto /usr/share/doc/${PF}/${font} + doins -r Samples + popd >/dev/null + done + fi +} |