From 6aec9a03987b0e0d4529fced06329e9ffe19d0f5 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Sun, 22 Jul 2018 23:34:13 -0400 Subject: graphics/teighaviewer: Updated for version 4.00.0. Signed-off-by: B. Watson --- graphics/teighaviewer/README | 8 +++++++- graphics/teighaviewer/README_maintainer.txt | 19 +++++++++++++++++++ graphics/teighaviewer/slack-desc | 4 ++-- graphics/teighaviewer/teighaviewer.SlackBuild | 18 ++++++++++++++---- graphics/teighaviewer/teighaviewer.info | 6 +++--- 5 files changed, 45 insertions(+), 10 deletions(-) create mode 100644 graphics/teighaviewer/README_maintainer.txt diff --git a/graphics/teighaviewer/README b/graphics/teighaviewer/README index fd46d76fcc..ccead51337 100644 --- a/graphics/teighaviewer/README +++ b/graphics/teighaviewer/README @@ -1,2 +1,8 @@ +teighaviewer (AutoCAD DWG and DGN file viewer) + TeighaViewer is a free rendering application, which can render -.dwg and .dgn files. +.dwg and .dgn files. These are CAD files, usually used with AutoCAD. + +This is an older, 32-bit-only version of teighaviewer. It will +not be updated to a newer version for technical reasons. See +README_maintainer.txt for details. diff --git a/graphics/teighaviewer/README_maintainer.txt b/graphics/teighaviewer/README_maintainer.txt new file mode 100644 index 0000000000..d064b4ca00 --- /dev/null +++ b/graphics/teighaviewer/README_maintainer.txt @@ -0,0 +1,19 @@ +This build was listed as "orphaned - no maintainer" for a while. + +I thought it would be nice to update it for the latest version of +TeighaViewer, which supports x86_64. Unfortunately, the latest version +segfaults with an unhelpful error message, and all attempts to find a +solution have been fruitless. Google searches show Ubuntu users having +the same problem, meaning TeighaViewer 19.5.0.0 doesn't even work on the +platform it's intended for (Ubuntu). So I'm sticking with 4.00.0 for now, +meaning this is still a 32-bit-only build. + +The download site only has the latest version, but I was able to find +several older versions (newer than 4.00.0) on web.archive.org and test +them. These didn't crash, but they also didn't *work*: none of them +would actually render anything. These versions all use qt5, and were +built against older qt5 releases (5.3.x), so the problem might be qt5 +incompatibility... only the qt4 32-bit-only version works :( + +I'm listing myself as maintainer, but unless there's a new version of +TeighaViewer that actually works, I won't be upgrading this build. diff --git a/graphics/teighaviewer/slack-desc b/graphics/teighaviewer/slack-desc index 00c292158b..7c76190c05 100644 --- a/graphics/teighaviewer/slack-desc +++ b/graphics/teighaviewer/slack-desc @@ -6,10 +6,10 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -teighaviewer: teighaviewer (DWG and DGN file viewer) +teighaviewer: teighaviewer (AutoCAD DWG and DGN file viewer) teighaviewer: teighaviewer: TeighaViewer is a free rendering application, which can render -teighaviewer: .dwg and .dgn files. +teighaviewer: .dwg and .dgn files. These are CAD files, usually used with AutoCAD. teighaviewer: teighaviewer: Homepage: https://www.opendesign.com/guestfiles/teigha_viewer teighaviewer: diff --git a/graphics/teighaviewer/teighaviewer.SlackBuild b/graphics/teighaviewer/teighaviewer.SlackBuild index 1bb779d78a..61d361d135 100644 --- a/graphics/teighaviewer/teighaviewer.SlackBuild +++ b/graphics/teighaviewer/teighaviewer.SlackBuild @@ -1,8 +1,9 @@ #!/bin/sh -# Slackware build script for TeighaViewer +# Slackware build script for teighaviewer -# Copyright 2012-2014 Fridrich von Stauffenberg +# Copyright 2012-2014 Fridrich von Stauffenberg +# Copyright 2018 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,12 +23,21 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20180722 bkw: +# - Take over maintenance. +# - i386 => i586. +# - add libpng-legacy12 to REQUIRES. +# - update README and slack-desc slightly (mention AutoCAD). +# - attempted to update for upstream's latest version (19.5.0.0) and +# several other versions newer than 4.00.0, utter failure. See +# README_maintainer.txt for details. + PRGNAM=teighaviewer VERSION=${VERSION:-4.00.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -ARCH=i386 +ARCH=i586 ORIG_PRGNAM=TeighaViewer @@ -41,7 +51,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar xv $CWD/${ORIG_PRGNAM}_lnxX86_4.4dll_${VERSION}_$ARCH.deb +ar xv $CWD/${ORIG_PRGNAM}_lnxX86_4.4dll_${VERSION}_i386.deb tar xvf data.tar.gz rm -f data.tar.gz control.tar.gz debian-binary chown -R root:root . diff --git a/graphics/teighaviewer/teighaviewer.info b/graphics/teighaviewer/teighaviewer.info index 75d5c2d512..4bc14c76f5 100644 --- a/graphics/teighaviewer/teighaviewer.info +++ b/graphics/teighaviewer/teighaviewer.info @@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/teighavi MD5SUM="d09ae4505f48ebf0fabea478e0e57f74" DOWNLOAD_x86_64="UNSUPPORTED" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" +REQUIRES="libpng-legacy12" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" -- cgit v1.2.3