diff options
Diffstat (limited to 't/recipes/checks/fonts/postscript/type1/files-adobe-font')
10 files changed, 99 insertions, 0 deletions
diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/control.in b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/control.in new file mode 100644 index 0000000..41d290d --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: optional +Section: fonts +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no +Homepage: http://lintian.debian.org/ + +Package: fonts-[% $source %] +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Multi-Arch: foreign +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/install b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/install new file mode 100644 index 0000000..f589ca9 --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/debian/install @@ -0,0 +1 @@ +*.pfb usr/share/lintian/fonts/ diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/fill-values b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/fill-values new file mode 100644 index 0000000..d1f8dad --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: files-adobe-font +Description: Test for adobe font license issues diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/Makefile b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/Makefile new file mode 100644 index 0000000..6b48449 --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/Makefile @@ -0,0 +1,8 @@ +all: bad.pfb good.pfb badnocredit.pfb badwithadobecode.pfb + +%.pfb: %.raw + t1asm $< > $@ + +clean: + rm -f *.pfb + diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/bad.raw b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/bad.raw new file mode 100644 index 0000000..37b5d60 --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/bad.raw @@ -0,0 +1,16 @@ +%!PS-AdobeFont-1.0: Untitled1 001.000 +%%Title: bad +%Version: 001.000 +%%CreationDate: Mon Dec 10 21:21:58 2012 +%%Creator: nthykier,,, +%Copyright: Created by nthykier,,, hand-crafted +%%EndComments + +/RD{string currentfile exch readstring pop}executeonly def + +% The statements below are here to trick Lintian... +% Copyright (c) 1987-1990 Adobe Systems Incorporated. +% All Rights Reserved. + +2 index /CharStrings 2 dict dup begin + diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badnocredit.raw b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badnocredit.raw new file mode 100644 index 0000000..b7db4d3 --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badnocredit.raw @@ -0,0 +1,15 @@ +%!PS-AdobeFont-1.0: Untitled1 001.000 +%%Title: badnocredit +%Version: 001.000 +%%CreationDate: Mon Dec 10 21:21:58 2012 +%%Creator: roucaries.bastien,,, +%Copyright: Created by roucaries.bastien,,, hand-crafted +%%EndComments + +/RD{string currentfile exch readstring pop}executeonly def + +% The code below is here to trick Lintian... +trick { /UniqueID 6859 } def + +2 index /CharStrings 2 dict dup begin + diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badwithadobecode.raw b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badwithadobecode.raw new file mode 100644 index 0000000..4822d8d --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/badwithadobecode.raw @@ -0,0 +1,17 @@ +%!PS-AdobeFont-1.0: Untitled1 001.000 +%%Title: badwithadobecode +%Version: 001.000 +%%CreationDate: Mon Dec 10 21:21:58 2012 +%%Creator: roucaries.bastien,,, +%Copyright: Created by roucaries.bastien,,, hand-crafted +%%EndComments + +/RD{string currentfile exch readstring pop}executeonly def + +% The code below is here to trick Lintian... +% Copyright (c) 1987-1990 Adobe Systems Incorporated. +% All Rights Reserved. +trick { /startlock get exec } def + +2 index /CharStrings 2 dict dup begin + diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/good.raw b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/good.raw new file mode 100644 index 0000000..fd50247 --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/build-spec/orig/good.raw @@ -0,0 +1,15 @@ +%!PS-AdobeFont-1.0: Untitled1 001.000 +%%Title: good +%Version: 001.000 +%%CreationDate: Mon Dec 10 21:21:58 2012 +%%Creator: nthykier,,, +%Copyright: Created by nthykier,,, hand-crafted +%%EndComments + +/RD{string currentfile exch readstring pop}executeonly def + +% This file has no license issues (bad.raw doesn't either, but +% we pretend it does). + +2 index /CharStrings 2 dict dup begin + diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/desc b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/desc new file mode 100644 index 0000000..a4cef90 --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/desc @@ -0,0 +1,2 @@ +Testname: files-adobe-font +Check: fonts/postscript/type1 diff --git a/t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/hints b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/hints new file mode 100644 index 0000000..cce5753 --- /dev/null +++ b/t/recipes/checks/fonts/postscript/type1/files-adobe-font/eval/hints @@ -0,0 +1,3 @@ +fonts-files-adobe-font (binary): license-problem-font-adobe-copyrighted-fragment-no-credit [usr/share/lintian/fonts/badnocredit.pfb] +fonts-files-adobe-font (binary): license-problem-font-adobe-copyrighted-fragment [usr/share/lintian/fonts/badwithadobecode.pfb] +fonts-files-adobe-font (binary): license-problem-font-adobe-copyrighted-fragment [usr/share/lintian/fonts/bad.pfb] |