graphics/teighaviewer: Updated for version 4.00.0.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2018-07-22 23:34:13 -04:00 committed by Willy Sudiarto Raharjo
parent 8b92a5519c
commit 6aec9a0398
No known key found for this signature in database
GPG key ID: 887B8374D7333381
5 changed files with 45 additions and 10 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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:

View file

@ -1,8 +1,9 @@
#!/bin/sh
# Slackware build script for TeighaViewer
# Slackware build script for teighaviewer
# Copyright 2012-2014 Fridrich von Stauffenberg <cancellor2@gmail.com>
# Copyright 2012-2014 Fridrich von Stauffenberg <email removed>
# Copyright 2018 B. Watson <yalhcru@gmail.com>
# 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 .

View file

@ -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"