This is an automated email from the git hooks/post-receive script. rene pushed a commit to branch master in repository graphite2.
commit b51465e41b6636ccf814b5be947a55b133151f97 Merge: 17d766d a4781ec Author: Rene Engelhard <[email protected]> Date: Fri Sep 21 16:41:23 2012 +0200 Imported Debian patch 1.2.0-1 .hg_archival.txt | 4 +- .hgeol | 12 +- .hgtags | 1 + CMakeLists.txt | 9 +- ChangeLog | 20 + Graphite.cmake | 2 + Todo.txt | 4 + contrib/C#/NGraphite.sln | 26 + contrib/C#/NGraphite/AssemblyInfo.cs | 28 + contrib/C#/NGraphite/AttrCode.cs | 81 + contrib/C#/NGraphite/Bidirtl.cs | 16 + contrib/C#/NGraphite/BreakWeight.cs | 22 + contrib/C#/NGraphite/CharInfo.cs | 40 + contrib/C#/NGraphite/Encform.cs | 12 + contrib/C#/NGraphite/Face.cs | 133 + contrib/C#/NGraphite/FaceOptions.cs | 11 + contrib/C#/NGraphite/FeatureRef.cs | 99 + contrib/C#/NGraphite/Featureval.cs | 32 + contrib/C#/NGraphite/Font.cs | 40 + contrib/C#/NGraphite/Graphite2Api.cs | 790 + contrib/C#/NGraphite/JustFlags.cs | 13 + contrib/C#/NGraphite/NGraphite.csproj | 58 + contrib/C#/NGraphite/NGraphite.dll.config | 3 + contrib/C#/NGraphite/Segment.cs | 80 + contrib/C#/NGraphite/Slot.cs | 156 + contrib/C#/NGraphiteTests/CharInfoTests.cs | 74 + contrib/C#/NGraphiteTests/FaceTests.cs | 153 + contrib/C#/NGraphiteTests/FeatureRefTests.cs | 100 + contrib/C#/NGraphiteTests/FeaturevalTests.cs | 36 + contrib/C#/NGraphiteTests/FontTests.cs | 37 + contrib/C#/NGraphiteTests/GeneralTests.cs | 36 + contrib/C#/NGraphiteTests/Graphite2ApiTests.cs | 816 + contrib/C#/NGraphiteTests/NGraphiteTests.csproj | 59 + contrib/C#/NGraphiteTests/SegmentTests.cs | 88 + contrib/C#/NGraphiteTests/SlotTests.cs | 139 + contrib/C#/NGraphiteTests/TestConstants.cs | 14 + contrib/C#/README | 18 + contrib/perl/lib/Text/Gr2.pm | 17 +- contrib/perl/lib/Text/Gr2.xs | 7 +- debian-src/build | 1 + debian-src/changelog | 6 + debian-src/control | 8 +- .../libgraphite2-2.0.0-dbg.lintian-overrides | 1 - debian-src/libgraphite2-2.0.0.lintian-overrides | 1 - debian-src/libgraphite2-3-dbg.lintian-overrides | 1 + ...libgraphite2-2.0.0.dirs => libgraphite2-3.dirs} | 0 ...phite2-2.0.0.install => libgraphite2-3.install} | 0 debian-src/libgraphite2-3.lintian-overrides | 1 + debian-src/rules | 2 +- debian/changelog | 7 +- debian/control | 10 +- debian/libgraphite2-2.0.0-dbg.lintian-overrides | 1 - debian/libgraphite2-2.0.0.lintian-overrides | 1 - debian/libgraphite2-3-dbg.lintian-overrides | 1 + ...phite2-2.0.0.install => libgraphite2-3.install} | 0 debian/libgraphite2-3.links | 1 + debian/libgraphite2-3.lintian-overrides | 1 + ...{libgraphite2-2.0.0.dirs => libgraphite2-3dirs} | 0 debian/rules | 4 +- doc/Segment JSON Schema.json | 573 +- doc/building.txt | 106 +- doc/calling.txt | 46 +- doc/glyph_string.odg | Bin 0 -> 11589 bytes doc/glyph_string.png | Bin 0 -> 36803 bytes doc/manual.txt | 1 + doc/release.txt | 1 + doc/testing.txt | 111 + gr2fonttest/UtfCodec.h | 6 +- gr2fonttest/gr2FontTest.cpp | 52 +- include/graphite2/Font.h | 148 +- include/graphite2/Log.h | 44 +- include/graphite2/Segment.h | 9 +- src/Bidi.cpp | 2 + src/CMakeLists.txt | 42 +- src/CachedFace.cpp | 8 +- src/CmapCache.cpp | 135 +- src/Code.cpp | 14 +- src/Face.cpp | 240 +- src/FeatureMap.cpp | 198 +- src/FileFace.cpp | 118 + src/Font.cpp | 52 +- src/GlyphCache.cpp | 344 + src/GlyphFace.cpp | 139 +- src/GlyphFaceCache.cpp | 149 - src/Justifier.cpp | 267 + src/NameTable.cpp | 7 +- src/Pass.cpp | 74 +- src/Rule.cpp | 2 + src/SegCache.cpp | 15 +- src/SegCacheEntry.cpp | 20 +- src/SegCacheStore.cpp | 16 +- src/Segment.cpp | 134 +- src/Silf.cpp | 114 +- src/Slot.cpp | 145 +- src/Sparse.cpp | 23 +- src/TtfUtil.cpp | 26 +- src/files.mk | 8 +- src/gr_face.cpp | 167 +- src/gr_features.cpp | 12 +- src/gr_font.cpp | 14 +- src/gr_logging.cpp | 93 +- src/gr_segment.cpp | 4 +- src/gr_slot.cpp | 2 +- src/inc/CachedFace.h | 5 +- src/inc/CharInfo.h | 2 +- src/inc/CmapCache.h | 21 +- src/inc/Code.h | 4 +- src/inc/Endian.h | 4 + src/inc/Face.h | 258 +- src/inc/FeatureMap.h | 85 +- src/inc/FeatureVal.h | 11 +- src/inc/{CmapCache.h => FileFace.h} | 67 +- src/inc/Font.h | 72 +- src/inc/{CmapCache.h => GlyphCache.h} | 76 +- src/inc/GlyphFace.h | 47 +- src/inc/GlyphFaceCache.h | 103 - src/inc/List.h | 1 + src/inc/NameTable.h | 3 + src/inc/Pass.h | 3 +- src/inc/Position.h | 15 +- src/inc/Rule.h | 88 +- src/inc/SegCache.h | 12 +- src/inc/SegCacheEntry.h | 8 +- src/inc/SegCacheStore.h | 8 +- src/inc/Segment.h | 145 +- src/inc/Silf.h | 35 +- src/inc/Slot.h | 32 +- src/inc/Sparse.h | 60 +- src/inc/TtfUtil.h | 15 +- src/inc/UtfCodec.h | 6 +- src/inc/{debug.h => bits.h} | 78 +- src/inc/debug.h | 13 +- src/inc/json.h | 44 +- src/inc/locale2lcid.h | 9 +- src/inc/opcodes.h | 10 +- src/json.cpp | 2 +- tests/CMakeLists.txt | 35 +- tests/comparerenderer/CMakeLists.txt | 6 +- tests/comparerenderer/CompareRenderer.cpp | 37 +- tests/comparerenderer/Gr2Renderer.h | 55 +- tests/comparerenderer/GrRenderer.h | 23 +- tests/comparerenderer/GrUtfTextSrc.h | 2 +- tests/comparerenderer/HbNgRenderer.h | 2 +- tests/comparerenderer/HbRenderer.h | 2 +- tests/comparerenderer/IcuRenderer.h | 2 +- tests/comparerenderer/Renderer.h | 2 +- tests/comparerenderer/RendererOptions.h | 2 +- tests/comparerenderer/UniscribeRenderer.h | 2 +- tests/comparerenderer/icule/cfonts.cpp | 69 - tests/comparerenderer/icule/cfonts.h | 32 - tests/defuzz | 107 + tests/examples/CMakeLists.txt | 19 + tests/examples/freetype.c | 77 + tests/examples/linebreak.c | 2 +- tests/featuremap/CMakeLists.txt | 4 +- tests/featuremap/featuremaptest.cpp | 20 +- tests/fonts/charis_r_gr.ttf | Bin 1379072 -> 1399744 bytes tests/fonts/charis_r_gr/charis.gdh | 8 + tests/fonts/charis_r_gr/charis_r_glyphs.gdl | 24056 +++++++++++++++++++ .../charis_r_src.ttf} | Bin 1379072 -> 1042192 bytes tests/fonts/charis_r_gr/fontSpecific.gdh | 10 + tests/fonts/charis_r_gr/greek_recompose.gdh | 241 + tests/fonts/charis_r_gr/pua.gdh | 368 +- tests/fonts/charis_r_gr/stddef.gdh | 76 + tests/fonts/charis_r_gr/test.gdh | 15 + tests/full-fuzz-test.sh | 9 + .../Annapurnarc2/udhr-hin/Bad pass offset.fuzz | 1 + .../Corrupted ATTR_SET justifiaction level.fuzz | 1 + .../udhr-hin/Corrupted Gloc-Glat offset array.fuzz | 24 + .../Annapurnarc2/udhr-hin/Nested CNTXT_ITEM.fuzz | 1 + tests/fuzz-tests/CMakeLists.txt | 25 + .../Padauk/my_Headwords/Bad Gloc header flags.fuzz | 1 + .../my_Headwords/Bad final action code offset.fuzz | 47 + .../Bad hhea_num_long_hor_metrics.fuzz | 70 + .../Padauk/my_Headwords/Bad maxp_numGlyphs.fuzz | 85 + .../Padauk/my_Headwords/Bad pass offset.fuzz | 1 + .../Corrupted ATTR_SET justifiaction level.fuzz | 93 + .../Corrupted Gloc-Glat offset array.fuzz | 21 + .../my_Headwords/Corrupted constraint code.fuzz | 18 + .../Uninitialised vm stack guard area.fuzz | 93 + .../udhr_arb/Bad Gloc header flags.fuzz | 1 + .../udhr_arb/Corrupted Gloc-Glat offset array.fuzz | 62 + .../udhr_eng/Corrupted Gloc-Glat offset array.fuzz | 44 + .../charis_r_gr/udhr_eng/Nested CNTXT_ITEM.fuzz | 1 + .../udhr_eng/Zero num settings Feature.fuzz | 70 + tests/fuzztest | 12 +- tests/jsoncmp | 20 +- tests/nametabletest/CMakeLists.txt | 1 + tests/run-fuzz-tests.sh | 17 + tests/segcache/CMakeLists.txt | 2 + tests/segcache/segcachetest.cpp | 11 +- tests/{segcache => sparsetest}/CMakeLists.txt | 13 +- tests/sparsetest/sparsetest.cpp | 110 + tests/standards/charis1.json | 1065 +- tests/standards/charis2.json | 563 +- tests/standards/charis3.json | 793 +- tests/standards/charis4.json | 638 +- tests/standards/charis5.json | 866 +- tests/standards/charis6.json | 920 + tests/standards/charis6.log | 24 + tests/standards/charis_feat.log | 3 +- tests/standards/general1.json | 452 +- tests/standards/grtest1.json | 949 +- tests/standards/magyar1.json | 1178 +- tests/standards/magyar2.json | 923 +- tests/standards/magyar3.json | 1243 +- tests/standards/padauk1.json | 2036 +- tests/standards/padauk10.json | 1434 +- tests/standards/padauk11.json | 1051 +- tests/standards/padauk2.json | 1237 +- tests/standards/padauk3.json | 2876 +-- tests/standards/padauk4.json | 1296 +- tests/standards/padauk5.json | 2439 +- tests/standards/padauk6.json | 1657 +- tests/standards/padauk7.json | 1567 +- tests/standards/padauk8.json | 918 +- tests/standards/padauk9.json | 746 +- tests/standards/padauk_feat.log | 3 +- tests/standards/scher1.json | 2982 +-- tests/standards/scher2.json | 2698 +-- tests/standards/scher3.json | 1907 +- tests/standards/scher_feat.log | 3 +- tests/texts/udhr_arb.txt | 220 + tests/vm/CMakeLists.txt | 12 +- 224 files changed, 50203 insertions(+), 18980 deletions(-) diff --cc debian/changelog index 576894e,0000000..945209e mode 100644,000000..100644 --- a/debian/changelog +++ b/debian/changelog @@@ -1,125 -1,0 +1,124 @@@ - graphite2 (1.1.3-1+powerpcspe1) unreleased; urgency=low ++graphite2 (1.2.0-1) experimental; urgency=low + - * Fix build on powerpcspe by ignoring difference between -0.0 and 0.0 in test - results, see #706346 ++ * New upstream release + - -- Roland Stigge <[email protected]> Tue, 30 Apr 2013 23:02:25 +0200 ++ -- Rene Engelhard <[email protected]> Fri, 21 Sep 2012 16:41:23 +0200 + +graphite2 (1.1.3-1) unstable; urgency=low + + * New upstream release + + -- Rene Engelhard <[email protected]> Sat, 02 Jun 2012 01:10:10 +0200 + +graphite2 (1.1.2-1) unstable; urgency=low + + * New upstream release + + -- Rene Engelhard <[email protected]> Fri, 20 Apr 2012 01:45:47 +0200 + +graphite2 (1.1.1-1) unstable; urgency=low + + * New upstream release + + -- Rene Engelhard <[email protected]> Mon, 27 Feb 2012 22:32:26 +0100 + +graphite2 (1.1.0-2) unstable; urgency=low + + * upload to unstable + + -- Rene Engelhard <[email protected]> Tue, 21 Feb 2012 20:41:47 +0100 + +graphite2 (1.1.0-1) experimental; urgency=low + + * New upstream release + * fix copyright syntax + + -- Rene Engelhard <[email protected]> Tue, 07 Feb 2012 22:55:08 +0000 + +graphite2 (1.0.3.real-1) unstable; urgency=low + + * fixup upstream release for 1.0.3 + + -- Rene Engelhard <[email protected]> Thu, 22 Sep 2011 20:59:53 +0200 + +graphite2 (1.0.3-1) unstable; urgency=low + + * New upstream release + * add libxml2-utils to B-D-I + + -- Rene Engelhard <[email protected]> Tue, 20 Sep 2011 00:28:27 +0200 + +graphite2 (1.0.2-1) unstable; urgency=low + + * New upstream release + + -- Rene Engelhard <[email protected]> Mon, 15 Aug 2011 13:29:41 +0000 + +graphite2 (1.0.1-3) unstable; urgency=low + + * debian/patches/fix-typedefs.diff: move ... + * debian/patches/words-bigendian-fixes.diff: ... here and add additional + upstream fix for setting -DWORDS_BIGENDIAN also for the tests... + * clean up Build-Depends: + + move asciidoc, dblatex, doxygen, docbook-xsl, latex-xcolor to B-D-I + + remove libxml2-utils + + -- Rene Engelhard <[email protected]> Wed, 10 Aug 2011 15:42:59 +0200 + +graphite2 (1.0.1-2) unstable; urgency=low + + * debian/patches/fix-typedefs.diff: fix Main.h typedefs for + WORDS_BIGENDIAN + + -- Rene Engelhard <[email protected]> Tue, 09 Aug 2011 17:47:10 +0000 + +graphite2 (1.0.1-1) unstable; urgency=low + + * New upstream release + - removes -nostdlibs (closes: #634810) + + * build with -DDISABLE_TRACING:bool=1 + * stop symlinking to Debian's fonts as they are not sufficient for the + tests + * update debian/copyright; mention ppport.h according to + http://pkg-perl.alioth.debian.org/copyright.html#devel__ppport + * fix libgraphite2-2.0.0's short description + + -- Rene Engelhard <[email protected]> Thu, 28 Jul 2011 12:54:36 +0000 + +graphite2 (0.9.4.dfsg-4) unstable; urgency=low + + * grr, remove dpkg-source generated patch which readds ppport.h... + + -- Rene Engelhard <[email protected]> Thu, 14 Jul 2011 14:50:55 +0200 + +graphite2 (0.9.4.dfsg-3) unstable; urgency=low + + * upload to unstable + + -- Rene Engelhard <[email protected]> Tue, 12 Jul 2011 16:58:19 +0000 + +graphite2 (0.9.4.dfsg-2) experimental; urgency=low + + * add missing build-dep on latex-xcolor + + -- Rene Engelhard <[email protected]> Sun, 10 Jul 2011 00:05:23 +0200 + +graphite2 (0.9.4.dfsg-1) experimental; urgency=low + + * remove perl/pport.h and tests/fonts/* from .orig + + * debian/changelog: update + * debian/control: build-depend on ttf-sil-padauk, ttf-sil-scheherazade + * debian/rules: symlink to Debian's versions pf Padauk and Scheherazade, + though.... + * debian/patches/disable_font_tests.diff: disable them (fail) + * debian/rules, debian/control: disable perl build + + -- Rene Engelhard <[email protected]> Sat, 09 Jul 2011 16:50:25 +0000 + +graphite2 (0.9.4-1) experimental; urgency=low + + * Initial release (closes: #617718) + + -- Rene Engelhard <[email protected]> Fri, 03 Jun 2011 11:08:48 +0000 diff --cc debian/control index 3b3cdd6,0000000..43c3120 mode 100644,000000..100644 --- a/debian/control +++ b/debian/control @@@ -1,130 -1,0 +1,132 @@@ +Source: graphite2 +Priority: optional +Section: libs +Maintainer: Debian LibreOffice Team <[email protected]> +Uploaders: Rene Engelhard <[email protected]>, Daniel Glassey <[email protected]> +Build-Depends: debhelper (>= 8.0), cmake, libfreetype6-dev, libgraphite-dev, libicu-dev +# perl: libmodule-build-perl +Build-Depends-Indep: asciidoc, dblatex, doxygen, docbook-xsl, latex-xcolor, libxml2-utils +Standards-Version: 3.9.1 + - Package: libgraphite2-2.0.0 ++Package: libgraphite2-3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} ++Provides: libgraphite2-2.0.0 ++Replaces: libgraphite2-2.0.0 +Description: Font rendering engine for Complex Scripts -- library + Graphite is a system that can be used to create and use "smart fonts" capable + of displaying writing systems with various complex behaviors, such as: + contextual shaping, ligatures, reordering, split glyphs, bidirectionality, + stacking diacritics and complex positioning. + . + This library was designed and developed by the NRSI (Non-Roman Script + Initiative) within SIL International (www.sil.org) to act as a complement to + other smart font rendering technologies with limited practical local + extensability. Its purpose is to help meet the needs of a very large number + of "minority language" communities for local extensibility of complex script + behaviors. + . + The behavior of the rendering engine for a given writing system is specified + through extra tables added to a TrueType font. These tables are generated by + compiling a GDL (Graphite Description Language) source file into a font using + grcompiler. + . + This package contains the shared library. + +Package: libgraphite2-dev +Section: libdevel +Architecture: any - Depends: libgraphite2-2.0.0 (= ${binary:Version}), ${misc:Depends} ++Depends: libgraphite2-3 (= ${binary:Version}), ${misc:Depends} +Description: Development files for libgraphite2 + Graphite is a system that can be used to create and use "smart fonts" capable + of displaying writing systems with various complex behaviors, such as: + contextual shaping, ligatures, reordering, split glyphs, bidirectionality, + stacking diacritics and complex positioning. + . + This library was designed and developed by the NRSI (Non-Roman Script + Initiative) within SIL International (www.sil.org) to act as a complement to + other smart font rendering technologies with limited practical local + extensability. Its purpose is to help meet the needs of a very large number + of "minority language" communities for local extensibility of complex script + behaviors. + . + The behavior of the rendering engine for a given writing system is specified + through extra tables added to a TrueType font. These tables are generated by + compiling a GDL (Graphite Description Language) source file into a font using + grcompiler. + . + This package contains the development libraries for libgraphite2 + - Package: libgraphite2-2.0.0-dbg ++Package: libgraphite2-3-dbg +Priority: extra +Section: debug +Architecture: any - Depends: libgraphite2-2.0.0 (= ${binary:Version}), ${misc:Depends} ++Depends: libgraphite2-3 (= ${binary:Version}), ${misc:Depends} +Description: Debug symbols for libgraphite2 + Graphite is a system that can be used to create and use "smart fonts" capable + of displaying writing systems with various complex behaviors, such as: + contextual shaping, ligatures, reordering, split glyphs, bidirectionality, + stacking diacritics and complex positioning. + . + This library was designed and developed by the NRSI (Non-Roman Script + Initiative) within SIL International (www.sil.org) to act as a complement to + other smart font rendering technologies with limited practical local + extensability. Its purpose is to help meet the needs of a very large number + of "minority language" communities for local extensibility of complex script + behaviors. + . + The behavior of the rendering engine for a given writing system is specified + through extra tables added to a TrueType font. These tables are generated by + compiling a GDL (Graphite Description Language) source file into a font using + grcompiler. + . + Debug symbols for libgraphite2 + +Package: libgraphite2-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Documentation for libgraphite2 + Graphite is a system that can be used to create and use "smart fonts" capable + of displaying writing systems with various complex behaviors, such as: + contextual shaping, ligatures, reordering, split glyphs, bidirectionality, + stacking diacritics and complex positioning. + . + This library was designed and developed by the NRSI (Non-Roman Script + Initiative) within SIL International (www.sil.org) to act as a complement to + other smart font rendering technologies with limited practical local + extensability. Its purpose is to help meet the needs of a very large number + of "minority language" communities for local extensibility of complex script + behaviors. + . + The behavior of the rendering engine for a given writing system is specified + through extra tables added to a TrueType font. These tables are generated by + compiling a GDL (Graphite Description Language) source file into a font using + grcompiler. + . + PDF and HTML documentation for libgraphite2 + +#Package: libtext-graphite2-perl +#Section: perl +#Architecture: any +#Depends: ${shlibs:Depends}, perl, ${perl:Depends}, ${misc:Depends} +#Description: Perl Interface to SIL's Graphite2 rendering engine +# Graphite is a system that can be used to create and use "smart fonts" capable +# of displaying writing systems with various complex behaviors, such as: +# contextual shaping, ligatures, reordering, split glyphs, bidirectionality, +# stacking diacritics and complex positioning. +# . +# This library was designed and developed by the NRSI (Non-Roman Script +# Initiative) within SIL International (www.sil.org) to act as a complement to +# other smart font rendering technologies with limited practical local +# extensability. Its purpose is to help meet the needs of a very large number +# of "minority language" communities for local extensibility of complex script +# behaviors. +# . +# The behavior of the rendering engine for a given writing system is specified +# through extra tables added to a TrueType font. These tables are generated by +# compiling a GDL (Graphite Description Language) source file into a font using +# grcompiler. +# . +# This package contains the Text::Graphite2 module. diff --cc debian/libgraphite2-3-dbg.lintian-overrides index 0000000,0000000..f802584 new file mode 100644 --- /dev/null +++ b/debian/libgraphite2-3-dbg.lintian-overrides @@@ -1,0 -1,0 +1,1 @@@ ++libgraphite2-3-dbg: helper-templates-in-copyright diff --cc debian/libgraphite2-3.install index c45ebcf,0000000..c45ebcf mode 100644,000000..100644 --- a/debian/libgraphite2-3.install +++ b/debian/libgraphite2-3.install diff --cc debian/libgraphite2-3.links index 0000000,0000000..d59ce53 new file mode 100644 --- /dev/null +++ b/debian/libgraphite2-3.links @@@ -1,0 -1,0 +1,1 @@@ ++usr/lib/libgraphite2.so.3 usr/lib/libgraphite2.so.2.0.0 diff --cc debian/libgraphite2-3.lintian-overrides index 0000000,0000000..d719db4 new file mode 100644 --- /dev/null +++ b/debian/libgraphite2-3.lintian-overrides @@@ -1,0 -1,0 +1,1 @@@ ++libgraphite2-3: helper-templates-in-copyright diff --cc debian/libgraphite2-3dirs index 0bf940b,0000000..0bf940b mode 100644,000000..100644 --- a/debian/libgraphite2-3dirs +++ b/debian/libgraphite2-3dirs diff --cc debian/rules index 618f4ff,0000000..36e973a mode 100755,000000..100755 --- a/debian/rules +++ b/debian/rules @@@ -1,50 -1,0 +1,50 @@@ +#!/usr/bin/make -f + +%: + dh $@ --builddirectory=build + +override_dh_strip: - dh_strip --dbg-package=libgraphite2-2.0.0-dbg ++ dh_strip --dbg-package=libgraphite2-3-dbg + +override_dh_auto_build: + dh_auto_build + echo "Building docs" + dh_auto_build -- docs +# echo "Building perl module" +# cd perl && \ +# perl Build.PL prefix=/usr && \ +# ./Build + +override_dh_auto_install: + dh_auto_install + rm -rf debian/tmp/usr/bin +# cd perl && \ +# ./Build install destdir=$(CURDIR)/debian/libtext-graphite2-perl +# # hack +# cd $(CURDIR)/debian/libtext-graphite2-perl/usr && \ +# mkdir share && mv man share +# cd $(CURDIR)/debian/libtext-graphite2-perl/usr/lib && \ +# mv perl perl5 && cd perl5 && mv 5.*/* . && rm -rf 5.* +# find debian/libtext-graphite2-perl -type f -name .packlist | xargs rm -f + +override_dh_auto_test: - #dh_auto_test ++ dh_auto_test +#ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) +# cd perl && \ +# LD_LIBRARY_PATH=$(CURDIR)/build/src ./Build test +#endif + +override_dh_auto_clean: +# if [ -e perl/Build ]; then cd perl && \ +# ./Build clean; fi +# rm -rf perl/Build perl/_build + -find . -name "CTestCostData.txt" | xargs rm + -find . -name "LastTest.log" | xargs rm + dh_auto_clean + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING=Release -DGRAPHITE2_NTRACING:bool=1 -DGRAPHITE2_COMPARE_RENDERER=ON -DICU_LIBRARY_PATH=/usr/lib + +override_dh_gencontrol: + dh_gencontrol -Nlibtext-graphite2-perl -O--builddirectory=build +# dh_gencontrol -plibtext-graphite2-perl -- -v`cat perl/META.yml | grep version: | tail -n 1 | awk '{ print $$2 }'`-`dpkg-parsechangelog | grep urgency | awk '{ print $$2 }' | sed -e 's/(//' | sed -e 's/)//' | cut -d- -f2` -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/graphite2.git

