[Debian-in-commits] [fonts-smc] 148/153: Imported Upstream version 6.0
Vasudev Kamath
vasudev-guest at moszumanska.debian.org
Sat Nov 30 11:19:49 UTC 2013
This is an automated email from the git hooks/post-receive script.
vasudev-guest pushed a commit to branch master
in repository fonts-smc.
commit 5bc8645f8ff5ea44d33b5e4220f2de621d7a220a
Merge: 822597b 08e63fb
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date: Sat Nov 30 14:58:59 2013 +0530
Imported Upstream version 6.0
AnjaliOldLipi/AnjaliOldLipi.ttf | Bin 442112 -> 0 bytes
ChangeLog | 16 +
Dyuthi/Dyuthi.sfd | 1846 +-
Dyuthi/Dyuthi.ttf | Bin 207716 -> 0 bytes
Kalyani/Kalyani.ttf | Bin 83748 -> 0 bytes
Makefile | 109 +-
Meera/Meera.sfd | 344080 +------------------------
Meera/Meera.ttf | Bin 650192 -> 0 bytes
Meera/README | 69 +-
Meera/TODO | 7 +
Rachana/README | 31 +-
Rachana/Rachana-our_language_our_script.pdf | Bin 0 -> 100967 bytes
Rachana/Rachana-our_language_our_script.rtf | 21123 --
Rachana/Rachana.sfd | 289430 +--------------------
Rachana/Rachana.ttf | Bin 646624 -> 0 bytes
RaghuMalayalamSans/RaghuMalayalamSans.sfd | 1154 +-
RaghuMalayalamSans/RaghuMalayalamSans.ttf | Bin 56324 -> 0 bytes
Suruma/Suruma.ttf | Bin 332536 -> 0 bytes
generate.pe | 0
tests/tests.txt | 70 +
20 files changed, 17129 insertions(+), 640806 deletions(-)
diff --cc Makefile
index 3285396,02bc36d..99ec989
--- a/Makefile
+++ b/Makefile
@@@ -1,42 -1,60 +1,89 @@@
++#!/usr/bin/make -f
++
fontpath=/usr/share/fonts/truetype/malayalam
--fonts="AnjaliOldLipi Dyuthi Kalyani Meera Rachana RaghuMalayalamSans Suruma"
-
- default:
- # generate ttf files from sfd files
- @for font in `echo ${fonts}`; \
- do \
- ./generate.pe $${font}/$${font}.sfd; done
-
- install: */*.ttf
- # copy ttf files to system font directory
- @for font in `echo ${fonts}`; \
- do \
- install -D -m 0644 $${font}/$${font}.ttf ${DESTDIR}/${fontpath}/$${font}.ttf; done
- # copy fontconfig configuration files to system fontconfig configuration directory
- install -D -m 0644 malayalam-fonts.conf ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf
- if ! [ -d ${DESTDIR}/etc/fonts/conf.d ]; then mkdir ${DESTDIR}/etc/fonts/conf.d; fi
- ln -s ../conf.avail/67-malayalam-fonts.conf ${DESTDIR}/etc/fonts/conf.d/67-malayalam-fonts.conf
++fonts=AnjaliOldLipi Dyuthi Kalyani Meera Rachana RaghuMalayalamSans Suruma
++
++version = 6.0
++
+ default: clean compile
+ all: clean compile test webfonts
++
+ compile:
-# generate ttf files from sfd files
- @for font in `echo ${fonts}`; \
- do \
- ./generate.pe $${font}/$${font}.sfd; done
-
-install: */*.ttf
-# copy ttf files to system font directory
- @for font in `echo ${fonts}`; \
- do \
- install -D -m 0644 $${font}/$${font}.ttf ${DESTDIR}/${fontpath}/$${font}.ttf; done
-# copy fontconfig configuration files to system fontconfig configuration directory
- install -D -m 0644 malayalam-fonts.conf ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf
- if ! [ -d ${DESTDIR}/etc/fonts/conf.d ]; then mkdir ${DESTDIR}/etc/fonts/conf.d; fi
- ln -sf ../conf.avail/67-malayalam-fonts.conf ${DESTDIR}/etc/fonts/conf.d/67-malayalam-fonts.conf
++ # generate ttf files from sfd files
++ for font in `echo ${fonts}`;do \
++ ./generate.pe $${font}/$${font}.sfd; \
++ done;
++
++install: compile
++ # copy ttf files to system font directory
++ for font in `echo ${fonts}`;do \
++ install -D -m 0644 $${font}/$${font}.ttf \
++ ${DESTDIR}/${fontpath}/$${font}.ttf;\
++ done;
++
++ # copy fontconfig configuration files to system fontconfig
++ # configuration directory
++ install -D -m 0644 malayalam-fonts.conf\
++ ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf
++ if [ ! -d ${DESTDIR}/etc/fonts/conf.d ]; then\
++ mkdir ${DESTDIR}/etc/fonts/conf.d; \
++ fi;
++
++ ln -sf ../conf.avail/67-malayalam-fonts.conf\
++ ${DESTDIR}/etc/fonts/conf.d/67-malayalam-fonts.conf
uninstall:
--# remove fonts from system font directories
-- @for font in `echo ${fonts}`; \
-- do \
-- if [ -f ${DESTDIR}/${fontpath}/$${font}.ttf ]; then rm -f ${DESTDIR}/${fontpath}/$${font}.ttf; fi \
-- done
--# remove fontconfig configuration files from system fontconfig configuration directory
++ # remove fonts from system font directories
++ @for font in `echo ${fonts}`;do \
++ if [ -f ${DESTDIR}/${fontpath}/$${font}.ttf ]; then\
++ rm -f ${DESTDIR}/${fontpath}/$${font}.ttf;\
++ fi \
++ done;
++
++ # remove fontconfig configuration files from system fontconfig
++ # configuration directory
if [ -f ${DESTDIR}/etc/fonts/conf.d/67-malayalam-fonts.conf ]; then \
rm ${DESTDIR}/etc/fonts/conf.d/67-malayalam-fonts.conf; fi
-- if [ -f ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf ]; then \
-- rm ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf; fi
++ if [ -f ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf ];then \
++ rm ${DESTDIR}/etc/fonts/conf.avail/67-malayalam-fonts.conf;\
++ fi
-- if [ -d ${DESTDIR}/${fontpath} -a -z "$(ls -A ${DESTDIR}/${fontpath})" ] ; then rmdir ${DESTDIR}/${fontpath}; fi
++ if [ -d ${DESTDIR}/${fontpath} -a -z "$(ls -A ${DESTDIR}/${fontpath})" ];\
++ then \
++ rmdir ${DESTDIR}/${fontpath};\
++ fi
clean:
--# remove ttf fonts
-- @for font in `echo ${fonts}`; \
-- do \
-- if [ -f $${font}/$${font}.ttf ]; then rm -f $${font}/$${font}.ttf; fi \
-- done
- @rm -rf tests/*.pdf webfonts;
++ # remove ttf fonts
++ for font in `echo ${fonts}`;do \
++ if [ -f $${font}/$${font}.ttf ];then\
++ rm -f $${font}/$${font}.ttf;\
++ fi \
++ done;
++ @rm -rf tests/*.pdf webfonts sdist ignore-file;
+ test: compile
-# Test the fonts
- @for font in `echo ${fonts}`; \
- do \
++ # Test the fonts
++ for font in `echo ${fonts}`;do \
+ echo "Testing font $${font}";\
- hb-view $${font}/$${font}.ttf --debug --text-file tests/tests.txt --output-file tests/$${font}.pdf; \
++ hb-view $${font}/$${font}.ttf --debug\
++ --text-file tests/tests.txt --output-file tests/$${font}.pdf; \
+ done
+ webfonts: compile
-# generate webfonts
- @for font in `echo ${fonts}`; \
- do \
++ # generate webfonts
++ for font in `echo ${fonts}`;do \
+ mkdir -p webfonts/$${font}; \
- sfntly -w $${font}/$${font}.ttf webfonts/$${font}/$${font}.woff; \
- sfntly -e -x $${font}/$${font}.ttf webfonts/$${font}/$${font}.eot; \
++ sfntly -w $${font}/$${font}.ttf\
++ webfonts/$${font}/$${font}.woff; \
++ sfntly -e -x $${font}/$${font}.ttf\
++ webfonts/$${font}/$${font}.eot; \
+ echo "Webfonts generated for $${font}"; \
+ done
++sdist: $(fonts) ChangeLog Makefile generate.pe malayalam-fonts.conf
++ echo ".git\nignore-file" > ignore-file
++ tar --owner root --group root --mode a+rX \
++ -X ignore-file -cvf - . | xz -9 >\
++ ../malayalam-fonts-$(version).tar.xz
++ touch "$@"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-in/fonts-smc.git
More information about the Debian-in-commits
mailing list