Ticket #21726: fonttools.diff
File fonttools.diff, 2.8 KB (added by blb@…, 15 years ago) |
---|
-
files/patch-Lib-fontTools-ttLib-sfnt.py
1 --- Lib/fontTools/ttLib/sfnt.py 2002-09-11 04:43:18.000000000 +09002 +++ Lib/fontTools/ttLib/sfnt.py.new 2006-10-28 20:19:08.000000000 +09003 @@ -149,6 +149,8 @@4 5 checksums[-1] = calcChecksum(directory)6 checksum = Numeric.add.reduce(checksums)7 + if checksum < 0:8 + checksum += 0x1000000009 # BiboAfba!10 checksumadjustment = Numeric.array(0xb1b0afba) - checksum11 # write the checksum to the file -
files/patch-setup.py.diff
1 --- setup.py.orig 2008-05-18 00:15:11.000000000 -0600 2 +++ setup.py 2009-09-30 15:52:20.000000000 -0600 3 @@ -99,6 +99,6 @@ 4 ], 5 scripts = ["Tools/ttx"], 6 cmdclass = {"build_ext": build_ext_optional}, 7 - data_files = [('man/man1', ["Doc/ttx.1"])], 8 + data_files = [('share/man/man1', ["Doc/ttx.1"])], 9 **classifiers 10 ) -
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 PortGroup python2 41.04 PortGroup python26 1.0 5 5 6 6 name fonttools 7 version 2.0b1 8 revision 1 7 version 2.2 9 8 description XML<->TrueType/OpenType Converter 10 9 long_description TTX is a tool to convert OpenType and TrueType fonts to \ 11 10 and from XML. FontTools is a library for manipulating \ … … 16 15 maintainers kallisys.net:pguyot 17 16 homepage http://www.letterror.com/code/ttx/ 18 17 master_sites sourceforge 19 extract.suffix .tgz 20 checksums md5 f9eb9fcb994af6537e10692f14c2778c \ 21 sha1 3d67701a9251aa9ab12d3ecf2d600c59a99761a9 \ 22 rmd160 8634f66b3a643edad9eba4a7da130def3d3cce4b 23 worksrcdir ${name} 24 depends_build port:py-numeric 18 checksums md5 639c68113cc04e8f30ae8997d6cc480a \ 19 sha1 7f4c63b4c42057a01552f54c392c0e9184e27df0 \ 20 rmd160 77aa0498acfe8eed19c02e558bd81afe2ff5f713 21 depends_build port:py26-numeric 25 22 26 patchfiles patch- Lib-fontTools-ttLib-sfnt.py23 patchfiles patch-setup.py.diff 27 24 25 post-destroot { 26 foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] { 27 ln -s ${python.prefix}/bin/${binfile} \ 28 ${destroot}${prefix}/bin/${binfile} 29 } 30 foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] { 31 ln -s ${python.prefix}/share/man/man1/${manfile} \ 32 ${destroot}${prefix}/share/man/man1/${manfile} 33 } 34 } 35 28 36 livecheck.regex <title>FontTools/TTX Source Code (.*) released.*</title>