Package Details: draftsight 2017SP02-1

Git Clone URL: https://aur.archlinux.org/draftsight.git (read-only)
Package Base: draftsight
Description: Freeware CAD software for DWG/DXF files.
Upstream URL: http://www.3ds.com/products/draftsight/
Keywords: CAD DWG DXF
Licenses: custom
Submitter: jstamant
Maintainer: oberon2007
Last Packager: oberon2007
Votes: 40
Popularity: 1.082998
First Submitted: 2015-08-10 00:05
Last Updated: 2017-05-09 18:15

Latest Comments

jstamant commented on 2017-04-03 12:41

Fweeb, the download should work. I just tried making the package, and the download and checksum pass. Perhaps Dassault Systems was messing around with their website? I've noticed in the past that they've changed the download out without publishing it as a new release.

Fweeb commented on 2017-04-03 11:33

The checksum failed for me on the draftsight download link. Seems that something has gone wonky with their redirect (it's downloading the redirect page instead of the RPM file and checking sums against that). When I changed the download link to dl-ak.solidworks.com/nonsecure/draftsight/2017SP01/draftSight.rpm everything seems to have worked.

xoan commented on 2017-03-31 08:45

@ParanoidNemo, gstreamer0.10-base is probably not needed.

ParanoidNemo commented on 2017-03-31 08:29

Here the correct PKGBUILD for the latest version:

# Maintainer: Justin R. St-Amant <jstamant24 at gmail dot com>

pkgname=draftsight
pkgver=2017SP0
pkgrel=2
pkgdesc="Freeware CAD software for your DWG/DXF files."
arch=('x86_64')
url="http://www.3ds.com/products/draftsight/"
license=('custom')
depends=('alsa-lib'
'desktop-file-utils'
'fontconfig'
'gcc-libs'
'glib2'
'gstreamer0.10-base'
'gtk2'
'libcups'
'libgl'
'libice'
'libmariadbclient'
'libmng'
'libpng12'
'libsm'
'libx11'
'libxext'
'libxrender'
'libxslt'
'mesa'
'postgresql-libs'
'qt5-base'
'qt5-x11extras'
'zlib')
source=("http://www.draftsight.com/download-linux-fedora"
"draftsight.desktop")
md5sums=('0aaf21b56544c754d87aad4be2edabc1'
'19b26d423cae7ec0e1e6c6d78c94915d')

_pkgprefix='opt/dassault-systemes/DraftSight'

package()
{
mkdir -p $pkgdir/usr/bin
echo "#!/bin/sh" > \
$pkgdir/usr/bin/draftsight
echo "env vblank_mode=0 /${_pkgprefix}/Linux/DraftSight" >> \
$pkgdir/usr/bin/draftsight
chmod 755 $pkgdir/usr/bin/draftsight

mkdir -p $pkgdir/$_pkgprefix
cd $srcdir/$_pkgprefix
install -Dm644 Eula/english/eula.htm $pkgdir/usr/share/licenses/draftsight/LICENSE
for size in "16x16" "32x32" "48x48" "64x64" "128x128"
do
install -Dm644 Resources/pixmaps/$size/program.png $pkgdir/usr/share/icons/hicolor/$size/apps/draftsight.png
install -Dm644 Resources/pixmaps/$size/file-dwg.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dwg.png
install -Dm644 Resources/pixmaps/$size/file-dxf.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dxf.png
install -Dm644 Resources/pixmaps/$size/file-dwt.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dwt.png
done
install -Dm644 Resources/dassault-systemes_draftsight-dwg.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dwg.xml
install -Dm644 Resources/dassault-systemes_draftsight-dxf.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dxf.xml
install -Dm644 Resources/dassault-systemes_draftsight-dwt.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dwt.xml

install -Dm644 $srcdir/draftsight.desktop $pkgdir/usr/share/applications/draftsight.desktop

#Install Draftsight's program files
cp -pr $srcdir/$_pkgprefix/* $pkgdir/$_pkgprefix/
}

In any case if a PKGBUILD doesn't pass the validity check just run

makepkg -g and change the md5sum inside the PKGBUILD :)

yoyito commented on 2017-03-07 22:27

great job Crispy24, However it is outdated :( It is not working
"it didnt pass validity check"

aleksa9275 commented on 2017-02-10 14:53

You could also install manually gstreamer0.10 and its dependancies, that worked fine for me.

blackisle commented on 2017-02-08 15:22

I can confirm it's working fine after removing gstreamer0.10 from the dependency!
Cheers!

jstamant commented on 2017-02-08 13:39

Try removing the gstreamer0.10 dependency.
I just tried this locally, and it installs and runs fine on my system. The only reason I have this dependency listed is because it shows up when I run namcap on the package. I will look into this further.

blackisle commented on 2017-02-08 10:13

Any way round the current broken gstreamer0.10 AUR dependency?

ingleandrobarros commented on 2017-02-06 22:38

Thanks @xoan and @kikislater, now Draftsight run perfectly!

All comments