@@ -60,12 +60,11 @@ cairo_licenses="COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1"
6060libxml2_licenses=" Copyright"
6161uthash_licenses=" LICENSE"
6262libdicom_licenses=" LICENSE"
63- # Remove workaround in bdist() when updating these
64- openslide_licenses=" LICENSE.txt lgpl-2.1.txt COPYING.LESSER"
63+ openslide_licenses=" COPYING.LESSER"
6564openslide_java_licenses=" COPYING.LESSER"
6665
6766# Build artifacts
68- openslide_artifacts=" libopenslide-0 .dll openslide-quickhash1sum.exe openslide-show-properties.exe openslide-write-png.exe slidetool.exe"
67+ openslide_artifacts=" libopenslide-1 .dll slidetool.exe"
6968openslide_java_artifacts=" openslide-jni.dll openslide.jar"
7069
7170# Update-checking URLs
@@ -317,11 +316,6 @@ bdist() {
317316 fi
318317 for artifact in $( expand ${package} _artifacts)
319318 do
320- if [ " ${artifact} " = slidetool.exe -a \
321- ! -e " ${root} /bin/${artifact} " ]; then
322- # Allow missing slidetool.exe until next OpenSlide release
323- continue
324- fi
325319 if [ " ${artifact} " != " ${artifact% .dll} " -o \
326320 " ${artifact} " != " ${artifact% .exe} " ] ; then
327321 echo " Stripping ${artifact} ..."
@@ -347,12 +341,8 @@ bdist() {
347341 for artifact in $( expand ${package} _licenses)
348342 do
349343 if ! cp " ${srcdir} /${artifact} " " ${licensedir} " 2> /dev/null; then
350- # OpenSlide license files were renamed; support both until
351- # the next release
352- if [ " ${package} " != openslide ]; then
353- echo " Failed to copy ${artifact} from ${package} ."
354- exit 1
355- fi
344+ echo " Failed to copy ${artifact} from ${package} ."
345+ exit 1
356346 fi
357347 done
358348 if [ " $package " = openslide ]; then
@@ -376,15 +366,7 @@ bdist() {
376366 cp " ${root} /lib/libopenslide.dll.a" " ${zipdir} /lib/libopenslide.lib"
377367 mkdir -p " ${zipdir} /include"
378368 cp -r " ${root} /include/openslide" " ${zipdir} /include/"
379- if [ -f " ${srcdir} /README.md" ]; then
380- cp " ${srcdir} /README.md" " ${zipdir} /"
381- else
382- cp " ${srcdir} /README.txt" " ${zipdir} /"
383- fi
384- if [ -e " ${zipdir} /bin/slidetool.exe" ]; then
385- # If slidetool is present, drop the redundant legacy programs
386- rm " ${zipdir} /bin/openslide-" * " .exe" *
387- fi
369+ cp " ${srcdir} /README.md" " ${zipdir} /"
388370 elif [ " $package " != openslide_java ]; then
389371 log_version " ${zipdir} " " $( expand ${package} _name) " \
390372 " $( meson_wrap_version ${package} ) "
0 commit comments