Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
Recommends: graphicsmagick | imagemagick (+Test-Depends: graphicsmagick | imagemagick)
· 656c5e4f
Andreas Tille
authored
Dec 10, 2018
656c5e4f
Also recommend ghostscript
· 792ae563
Andreas Tille
authored
Dec 10, 2018
792ae563
Adapt pathes in README shell scripts and make it less noisy
· 6b623545
Andreas Tille
authored
Dec 10, 2018
6b623545
Make output of autopkgtest better readable by suppressing noise
· dcd11ad0
Andreas Tille
authored
Dec 10, 2018
dcd11ad0
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
dcd11ad0
...
...
@@ -5,7 +5,8 @@ gff2aplot (2.0-11) UNRELEASED; urgency=medium
Closes: #890789
* Fix issue with Perl 5.28
* Fix definition of CP in upstream makefile
* Make sure sprint buffers have proper size
* Try hard to make sprint buffers have proper size
* Recommends: graphicsmagick | imagemagick, ghostscript (+ Test-Depends)
-- Andreas Tille <tille@debian.org> Mon, 10 Dec 2018 07:36:57 +0100
...
...
debian/control
View file @
dcd11ad0
...
...
@@ -15,6 +15,8 @@ Architecture: any
Depends: ${shlibs:Depends},
${perl:Depends},
${misc:Depends}
Recommends: graphicsmagick | imagemagick,
ghostscript
Suggests: postscript-viewer,
gff2ps
Description: pair-wise alignment-plots for genomic sequences in PostScript
...
...
debian/rules
View file @
dcd11ad0
...
...
@@ -16,4 +16,8 @@ override_dh_auto_install:
override_dh_installexamples:
dh_installexamples
find debian/*/usr/share/doc/*/examples -name README -exec sed -i 's?^$$BIN/gff2aplot.pl?gff2aplot?' \{\} \;
# Fix path names, silence GS
find debian/*/usr/share/doc/*/examples -name README -exec sed -i \
-e 's?^$$BIN/\([0-9a-z]\+\)\.pl?\1?' \
-e 's?^$$BIN/\([0-9a-z]\+\) ?\1 ?' \
-e 's?^GS=.*;?GS="gs -q" ;?' \{\} \;
debian/tests/control
View file @
dcd11ad0
Tests: run-unit-test
Depends: @
Depends: @
, graphicsmagick | imagemagick, ghostscript
Restrictions: allow-stderr
debian/tests/run-unit-test
View file @
dcd11ad0
#!/bin/bash
set
-e
export
LC_ALL
=
C.UTF-8
pkg
=
gff2aplot
...
...
@@ -11,10 +12,28 @@ fi
cp
-a
/usr/share/doc/
${
pkg
}
/examples/
*
$AUTOPKGTEST_TMP
cd
$AUTOPKGTEST_TMP
rm
-rf
imgs
gunzip
-r
*
ERR
=
0
for
script
in
`
find
.
-name
README
`
;
do
cd
$(
dirname
$script
)
sh README
# Suppress verbose output for testing
sed
-i
-e
'/^[[:space:]]\+--verbose[[:space:]]\+\\$/d'
-e
's/--verbose//'
-e
's/MG *-verbose/MG -quiet/'
README
sh README |
grep
-v
-e
'^KCRB.GT.hs-mm.log'
-e
'^#'
if
grep
-q
-v
-e
'^#'
-e
'^|'
*
.log
;
then
ERR
=
1
echo
"Some errors were found in logfiles"
grep
-H
-v
-e
'^#'
-e
'^|'
*
.log
fi
for
ps
in
`
find
.
-name
"*.ps"
-size
0
`
;
do
ERR
=
1
echo
"PostScript file
$ps
has zero bytes."
done
cd
..
done
if
[
$ERR
-eq
1
]
;
then
echo
"Errors in log files occured"
exit
1
fi