I had used QCad for a number of years, but now that it has been withdrawn from Portage, I have found this alternateve - DraftSight: http://www.3ds.com/products/draftsight/free-cad-software/ DraftSight is the baby brother to the commercial 3D CAD package SolidWorks. The currently provide downloads for Windows, Mac OS-X, along with .deb (aimed at Ubuntu users) and .rpm (aimed at Fedora/SuSE): http://www.3ds.com/products/draftsight/download-draftsight/ My request is for a Gentoo Portage ebuild for DraftSight.
I agree with you. Interesting request.
yes, I will like this too. I mean ebuild for draftsigh. thanks
I would like to see an ebuild for DraftSight. I'm a Solidworks user along with Inkscape. I'm using Inkscape to design 2d dxf file for laser and water jet cuts. Draftsight is an excellent tool for 2d drafting.
I too would like to see an ebuild for draftsight. I looked breifly at installing the rpm file, but it needs some 32 bit libraries that are not in the emul-linux-x86 series. I would work on the build, but I need help in creating the 32 bit libraries for my 64 bit systems. In the meantime I got DraftSight working at least at the start using the windows version and wine. I have wine emerged with 32 & 64 bit support. I set the windows system to XP using winecfg. It may well work with other settings. I have just got it it far enough to load a dwg file I have been wanting to look at. It loads the file and I can zoom in and out and look at it without problems. I would still rather be working with a linux version. I can setup a chroot 32 bit system, but I don't know how to create the libraries for use in a 64 bit system. I may take another look at it, but in the meantime I will use the windows version with wine in a 64 bit system.
Created attachment 284133 [details] draftsight-1.1.2_beta2.ebuild
Created attachment 284135 [details] License file License file for DraftSight
I wrote and ebuild file for DraftSight. I'm beginner in ebuilds, so please forgive me if I overlooked some rules. Please try the ebuild and submit your comments and suggestions. The ebuild requires user to download the DEB file. It then unpacks it and installs the files. After that it adds mime-type info, icons and desktop entry. The ebuild is based on Ubuntu DEB file and the information contained in it. However, trying to resolve all the dependencies was very time consuming, so I gave up, and specified only what was required on my system. Kind regards, Branimir
Hm, sounds great. Looking for nice 2D CAD.
On 64bit system missing 32bit version of libaudio.so shared library. It belongs to nas package. May be it is necessary install some emul package.
Unfortunately there's no *nas* equivalent in emul packages (see: http://www.gentoo.org/proj/en/base/amd64/emul/emul-linux-x86-20110722.xml) so you are on your own. You can however download any 32-bit package containing libaudio.so.2.4, for example http://rpm.pbone.net/index.php3/stat/4/idpl/15564974/dir/opensuse/com/libaudio2-32bit-1.9.2-1.pm.2.1.x86_64.rpm.html, extract this file to e.g. /usr/lib32, and create symlink named libaudio.so.2. That worked for me. :)
I grabbed debian package and extracted lib. It works for me great. But how to do this system way? DraftSight rulez.
(In reply to comment #9) > On 64bit system missing 32bit version of libaudio.so shared library. It belongs > to nas package. May be it is necessary install some emul package. Um, has someone poked upstream to release an 64bit binary, or the source?! AMD64 is quite common these days.
I have renamed ebuild and tested with current version of the Draftsight V1R1.4 aka 1.1.4 beta2. Works fine except of missing libaudio on 64bit. Pity that draftsights filenames from oficial web site doesn't include a version identification.
Tested with beta V1R3 and works fine on amd64 after copying over the libaudio.so* files. Note that the filename is no longer DraftSight.deb but now draftSight.deb (case change).
Created attachment 343280 [details] ebuild for actual version renamed and small changed ebuild. Ok for me.
Created attachment 343282 [details] draftsight-1.3.1_beta.ebuild uups.. Last time posted ebuild attachement was wrong named.. please delete it.
Working on this.
Just a quick note that if we did not have the fetch restriction, we could use this: MY_PN="draftSight" MY_PV="V$(replace_version_separator 1 'R' $(get_version_component_range 1-$(get_last_version_component_index)))" MY_P="${MY_PN}-${MY_PV}" SRC_URI="http://dl-ak.solidworks.com/nonsecure/draftsight/${MY_PV}/${MY_PN}.deb -> ${P}.deb" ... so upstream does actually provide a version name with the package. This is how Arch packages DraftSight. However due to licensing requirements (you need to accept their EULA before downloading the package), we need the fetch restriction.
Created attachment 344576 [details] Draftsight ebuild for V1R3.1
Created attachment 344578 [details] Related udev file used by ebuild. Move to media-gfx/draftsight/files/
Created attachment 344580 [details] Draftsight launcher script used by ebuild Move into media-gfx/draftsight/files/
Created attachment 344582 [details] License file provided by upstream package Move into licenses/
While I'm waiting for my overlay request to be approved (bug #464140), I've attached all the files to this bug that are required to install Draftsight V1R3.1, for those who need it right now :)
Draftsight is now available in the betagarden overlay. (`layman -a betagarden`) Marking as fixed :)
Hi, I'm having some troubles using this draftsight ebuild. Until two days ago all was going fine and then, after a global update I get a segmentation fault when I try to execute draftsight. The output of my emerge --info is: Portage 2.2.1 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64) ================================================================= System uname: Linux-3.10.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.2 KiB Mem: 8162708 total, 2430056 free KiB Swap: 8000364 total, 7999900 free Timestamp of tree: Tue, 08 Oct 2013 13:15:01 +0000 ld ld di GNU (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r2, 3.2.5-r2 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo sunrise owncloud-client betagarden alverman ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/gentoo/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo http://de-mirror.org/distro/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/gentoo/pkg-desktop" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/owncloud-client /var/lib/layman/betagarden /gentoo/pkg-desktop/PortageOverlay" SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi aiglx alsa amd64 asf avahi avi bash-completion bmp branding bzip2 bzlib cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dga divx4linux dri dts dv dvd dvdr dvdread dvi emboss encode fam ffmpeg firefox flac fortran gif gimp glibc-omitfp gphoto2 gstreamer gtk gtk2 gtk3 i8x0 iconv icu idn ieee1394 imlib injection ipv6 jpeg kerberos latex lcms libnotify lm_sensors logrotate mad matrox mime mmx mng modules mp3 mp4 mpd mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcntl pcre pdf png policykit ppds pulseaudio qt3support quicktime readline real scanner sdl session sox speex spell sse sse2 ssl startup-notification svg threads thunar tiff toolkit-scroll-bars truetype udev udisks unicode upower usb v4l v4l2 vcd vim-syntax vorbis wifi win32codecs wma wmf wxwidgets x264 xcb xcomposite xfce xinerama xml xnest xscreensaver xv xvid xvmc zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en es it es_ES en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="v4l vesa vga via intel nvidia" XFCE_PLUGINS="brightness trash logout clock" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON I hope that someone could help me, I use draftsight for my work and I really need it on my gentoo system!!
Hey mattem, sorry to hear that - it works fine here (with a very similar emerge --info to yours). Have you updated to version 1.4.0_beta provided in the betagarden overlay?
(In reply to Dion Moult from comment #26) > Hey mattem, sorry to hear that - it works fine here (with a very similar > emerge --info to yours). Have you updated to version 1.4.0_beta provided in > the betagarden overlay? Hi! I've used this ebuild of the betagarden overlay. I'm not a programmer but I'm trying to solve the problem checking on the web. The only thing I've noticed is that draftsight is not looking for is own libraries bus is using the ones provided in /usr/lib32. When I installed it was lacking lots of libraries and I try to do this symlinks: ln -s /opt/dassault-systemes/draftsight/lib/libAecGeometry.so /usr/lib32/libAecGeometry.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Alloc.so /usr/lib32/libTD_Alloc.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Root.so /usr/lib32/libTD_Root.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_FtFontEngine.so /usr/lib32/libTD_FtFontEngine.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Ge.so /usr/lib32/libTD_Ge.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Gi.so /usr/lib32/libTD_Gi.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Gs.so /usr/lib32/libTD_Gs.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_SpatialIndex.so /usr/lib32/libTD_SpatialIndex.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_DbRoot.so /usr/lib32/libTD_DbRoot.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Db.so /usr/lib32/libTD_Db.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libDwfCore.so.1 /usr/lib32/libDwfCore.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libWhipTk.so /usr/lib32/libWhipTk.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libW3dTk.so /usr/lib32/libW3dTk.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libDwfToolkit.so /usr/lib32/libDwfToolkit.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_PDFToolkit.so /usr/lib32/libTD_PDFToolkit.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Dwf7Export.so /usr/lib32/libTD_Dwf7Export.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_SvgExport.so /usr/lib32/libTD_SvgExport.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_PdfExport.so /usr/lib32/libTD_PdfExport.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_AcisBuilder.so /usr/lib32/libTD_AcisBuilder.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_Br.so /usr/lib32/libTD_Br.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libTD_BrepRenderer.so /usr/lib32/libTD_BrepRenderer.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libFxResources.so /usr/lib32/libFxResources.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libFxImages.so /usr/lib32/libFxImages.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libDDKERNEL.so /usr/lib32/libDDKERNEL.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libFxFileDialogs.so /usr/lib32/libFxFileDialogs.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libFXCrashRpt.so /usr/lib32/libFXCrashRpt.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libFXCommandsBase.so /usr/lib32/libFXCommandsBase.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libFXRenderBase.so /usr/lib32/libFXRenderBase.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libFXExport.so /usr/lib32/libFXExport.so.1 ln -s /opt/dassault-systemes/draftsight/lib/libfxsisl.so /usr/lib32/libfxsisl.so.1 After that if I type $: /opt/dassault-systemes/draftsight/bin/draftsight.bin I can see the draftsight splash screen but after I got this error message: "Loading modules failed. The application will close. Install the application again." (I translate it from Italian so maybe in English is a bit different) I suppose that might be something concerning graphical libraries, so I report the output of ldd on draftsight.bin (after that I created the symlinks above): $ ldd /opt/dassault-systemes/draftsight/bin/draftsight.bin linux-gate.so.1 (0xf7703000) libfxsisl.so.1 => /usr/lib32/libfxsisl.so.1 (0xf75e1000) libFXExport.so.1 => /usr/lib32/libFXExport.so.1 (0xf74ae000) libFXRenderBase.so.1 => /usr/lib32/libFXRenderBase.so.1 (0xf7202000) libFXCommandsBase.so.1 => /usr/lib32/libFXCommandsBase.so.1 (0xf6c4f000) libFXCrashRpt.so.1 => /usr/lib32/libFXCrashRpt.so.1 (0xf6c14000) libFxFileDialogs.so.1 => /usr/lib32/libFxFileDialogs.so.1 (0xf6bfc000) libDDKERNEL.so.1 => /usr/lib32/libDDKERNEL.so.1 (0xf675f000) libFxImages.so.1 => /usr/lib32/libFxImages.so.1 (0xf6752000) libFxResources.so.1 => /usr/lib32/libFxResources.so.1 (0xf66ab000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf658f000) libdl.so.2 => /lib32/libdl.so.2 (0xf658a000) libTD_BrepRenderer.so.1 => /usr/lib32/libTD_BrepRenderer.so.1 (0xf64ed000) libTD_Br.so.1 => /usr/lib32/libTD_Br.so.1 (0xf64bf000) libTD_AcisBuilder.so.1 => /usr/lib32/libTD_AcisBuilder.so.1 (0xf6354000) libTD_PdfExport.so.1 => /usr/lib32/libTD_PdfExport.so.1 (0xf62d2000) libTD_SvgExport.so.1 => /usr/lib32/libTD_SvgExport.so.1 (0xf6270000) libTD_Dwf7Export.so.1 => /usr/lib32/libTD_Dwf7Export.so.1 (0xf61e9000) libTD_PDFToolkit.so.1 => /usr/lib32/libTD_PDFToolkit.so.1 (0xf6120000) libDwfToolkit.so.1 => /usr/lib32/libDwfToolkit.so.1 (0xf5c53000) libW3dTk.so.1 => /usr/lib32/libW3dTk.so.1 (0xf5b14000) libWhipTk.so.1 => /usr/lib32/libWhipTk.so.1 (0xf5a14000) libDwfCore.so.1 => /usr/lib32/libDwfCore.so.1 (0xf5903000) libTD_Db.so.1 => /usr/lib32/libTD_Db.so.1 (0xf49be000) libTD_DbRoot.so.1 => /usr/lib32/libTD_DbRoot.so.1 (0xf4955000) libTD_SpatialIndex.so.1 => /usr/lib32/libTD_SpatialIndex.so.1 (0xf4942000) libTD_Gs.so.1 => /usr/lib32/libTD_Gs.so.1 (0xf479e000) libTD_Gi.so.1 => /usr/lib32/libTD_Gi.so.1 (0xf4572000) libTD_Ge.so.1 => /usr/lib32/libTD_Ge.so.1 (0xf42cc000) libTD_FtFontEngine.so.1 => /usr/lib32/libTD_FtFontEngine.so.1 (0xf4243000) libTD_Root.so.1 => /usr/lib32/libTD_Root.so.1 (0xf4141000) libTD_Alloc.so.1 => /usr/lib32/libTD_Alloc.so.1 (0xf413d000) libAecGeometry.so.1 => /usr/lib32/libAecGeometry.so.1 (0xf3f96000) libQtWebKit.so.4 => /usr/lib32/qt4/libQtWebKit.so.4 (0xf288a000) libQtSvg.so.4 => /usr/lib32/qt4/libQtSvg.so.4 (0xf2836000) libQtXml.so.4 => /usr/lib32/qt4/libQtXml.so.4 (0xf27f5000) libQtOpenGL.so.4 => /usr/lib32/qt4/libQtOpenGL.so.4 (0xf26f7000) libQtGui.so.4 => /usr/lib32/qt4/libQtGui.so.4 (0xf1c5c000) libQtNetwork.so.4 => /usr/lib32/qt4/libQtNetwork.so.4 (0xf1b23000) libQtCore.so.4 => /usr/lib32/qt4/libQtCore.so.4 (0xf1846000) libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf17be000) libGL.so.1 => /usr/lib32/libGL.so.1 (0xf16bc000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf16a1000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32/libstdc++.so.6 (0xf15b8000) libm.so.6 => /lib32/libm.so.6 (0xf158d000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32/libgcc_s.so.1 (0xf1570000) libc.so.6 => /lib32/libc.so.6 (0xf13ca000) libcups.so.2 => /usr/lib32/libcups.so.2 (0xf137b000) libz.so.1 => /lib32/libz.so.1 (0xf1366000) libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf134a000) /lib/ld-linux.so.2 (0xf7704000) libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf1320000) libsqlite3.so.0 => /usr/lib32/libsqlite3.so.0 (0xf1271000) libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf1268000) libgstapp-0.10.so.0 => /usr/lib32/libgstapp-0.10.so.0 (0xf125c000) libgstinterfaces-0.10.so.0 => /usr/lib32/libgstinterfaces-0.10.so.0 (0xf124d000) libgstpbutils-0.10.so.0 => /usr/lib32/libgstpbutils-0.10.so.0 (0xf122e000) libgstvideo-0.10.so.0 => /usr/lib32/libgstvideo-0.10.so.0 (0xf1218000) libgstbase-0.10.so.0 => /usr/lib32/libgstbase-0.10.so.0 (0xf11c0000) libgstreamer-0.10.so.0 => /usr/lib32/libgstreamer-0.10.so.0 (0xf10f5000) libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf10b1000) libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf0fa8000) libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf0f1c000) libpng15.so.15 => /usr/lib32/libpng15.so.15 (0xf0ef2000) libSM.so.6 => /usr/lib32/libSM.so.6 (0xf0eea000) libICE.so.6 => /usr/lib32/libICE.so.6 (0xf0ed2000) libXi.so.6 => /usr/lib32/libXi.so.6 (0xf0ec3000) libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf0eb8000) libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf0eb2000) libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf0ea8000) libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf0ea4000) libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf0e75000) libXext.so.6 => /usr/lib32/libXext.so.6 (0xf0e65000) libssl.so.1.0.0 => /usr/lib32/libssl.so.1.0.0 (0xf0e0b000) libcrypto.so.1.0.0 => /usr/lib32/libcrypto.so.1.0.0 (0xf0cb3000) librt.so.1 => /lib32/librt.so.1 (0xf0ca9000) libnvidia-tls.so.319.49 => /usr/lib32/libnvidia-tls.so.319.49 (0xf0ca5000) libnvidia-glcore.so.319.49 => /usr/lib32/libnvidia-glcore.so.319.49 (0xeecd9000) libgssapi_krb5.so.2 => /usr/lib32/libgssapi_krb5.so.2 (0xeeca3000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xeec9f000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xeec99000) libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xeec95000) libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xeec91000) libxml2.so.2 => /usr/lib32/libxml2.so.2 (0xeeb67000) libffi.so.6 => /usr/lib32/libffi.so.6 (0xeeb60000) libbz2.so.1 => /lib32/libbz2.so.1 (0xeeb4f000) libuuid.so.1 => /lib32/libuuid.so.1 (0xeeb49000) libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xeea95000) libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xeea6f000) libcom_err.so.2 => /lib32/libcom_err.so.2 (0xeea6b000) libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xeea63000) libkeyutils.so.1 => /lib32/libkeyutils.so.1 (0xeea5e000) libresolv.so.2 => /lib32/libresolv.so.2 (0xeea47000) I put also the output of bash -x /opt/dassault-systemes/draftsight/bin/draftsight: ++ dirname /opt/dassault-systemes/draftsight/bin/draftsight + BINDIR=/opt/dassault-systemes/draftsight/bin ++ basename /opt/dassault-systemes/draftsight/bin/draftsight + BASENAME=draftsight + export LD_LIBRARY_PATH=:/opt/dassault-systemes/draftsight/bin:/opt/dassault-systemes/draftsight/bin/../lib + LD_LIBRARY_PATH=:/opt/dassault-systemes/draftsight/bin:/opt/dassault-systemes/draftsight/bin/../lib + export QT_PLUGIN_PATH=/opt/dassault-systemes/draftsight/bin:/opt/dassault-systemes/draftsight/bin/../plugins + QT_PLUGIN_PATH=/opt/dassault-systemes/draftsight/bin:/opt/dassault-systemes/draftsight/bin/../plugins + '[' -d /usr/lib32/gconv ']' + export GCONV_PATH=/usr/lib32/gconv + GCONV_PATH=/usr/lib32/gconv + cd /opt/dassault-systemes/draftsight/bin + BINARY=/opt/dassault-systemes/draftsight/bin/draftsight.bin + '[' 0 -gt 0 ']' + '[' -e /etc/fedora-release ']' + /opt/dassault-systemes/draftsight/bin/draftsight.bin /opt/dassault-systemes/draftsight/bin/draftsight: line 34: 888 Errore di segmentazione "$BINARY" And $ bash -x draftsight + BASEDIR=/opt/dassault-systemes/draftsight/bin + export LD_LIBRARY_PATH=/opt/dassault-systemes/draftsight/bin + LD_LIBRARY_PATH=/opt/dassault-systemes/draftsight/bin + cd /opt/dassault-systemes/draftsight/bin + exec /opt/dassault-systemes/draftsight/bin/draftsight.bin Errore di segmentazione (segmentation fault in English) Tell me if I can help you giving more informations! The last idea: could be something related to the new xorg-server?? I remember that in the last update I update it from 1.13.4 to 1.14.3...
@mattem, it seems as though you are not the only one experiencing this. I've heard similar complaints from a Fedora user, and a search online reveals similar complaints from Suse and Slack. This suggests an upstream issue. x86_64 seems to be the common denominator for these reports. The ldd output is interesting but shouldn't be an issue as I am successfully running Draftsight with half of those libs missing. The Fedora user confirms that replacing the libs doesn't help. Also, the draftsight shell script that runs the draftsight.bin file should export the LD path anyway. Try this: Move any ~/.config/draftsight and ~/.config/Dassault\ Systemes files away for a vanilla environment, and export LANG=en_US before running draftsight again. Some people report that alternative system locales may cause issues. If that doesn't work, restore the config files and try downgrading draftsight to 1.3.1_beta - I've just added it to betagarden. See if that version works for you (it was the version before I bumped to 1.4.0_beta).
@Dion Moult Hi! At the end seems that I solve the problem. Of sure is not a clean mode but it works! First I try to move the folders and export LANG=en_US but nothing change, then I've installed the 1.3.1_beta ebuild and it was working! At this point there was another problem: the old version of draftsight say that it was an expired version, so I was't able to use it. Finally (and tanks to my colleague) I try to install again the 1.4.0_beta version and IT WORKS!!! The last problem was that with the betagarden ebuild the mime was not working and I had no menu entry, so I changed a bit the ebuild using an old ebuild I had found some time ago and now everything is OK. I paste the ebuild so you can see and, if you think is useful, integrate this on a cleaner ebuild... Tanks a lot for helping me!! Bye
Created attachment 360586 [details] Draftsight ebuild for V1R4.0_beta with mime and menu entry working
Thanks for your work, but I would only close this when it is available in the official tree. I would have never found this bug. Adjusted subject and KEYWORDS
New version is out and they changed versioning scheme. Now it is Draftsight 2005. Should be major update, only 64bit compiled and stuff... Would be nice to see ebuild hanging somethere
(In reply to Teet Ottoson from comment #32) > New version is out and they changed versioning scheme. Now it is Draftsight > 2005. Should be major update, only 64bit compiled and stuff... Would be nice > to see ebuild hanging somethere Hi! I've made an ebuild for draftsight-2015 (V1R6.0). I'm not so good with ebuilds but for me works without troubles. I hope it's useful! Somebody know why now there is no ebuilds neither in the betagarden overlay that in the official one?
Created attachment 387520 [details] ebuild for the new draftsight-1.6.0_beta amd64
There are some things bad with the ebuild for 1.6 version of the DraftSight. First of all it is a 64bit build so it is not necessary to download and install 32bit version of libaudio. The attached launch script draftsight fails because of changed directory structure. Finally, I'm not able to start DraftSight. It fails with error: "Failed to load modules. The application will close.Please reinstall the application." but I have no idea which type of modules is mentioned and how to fix it. Deb installed on Debian runs OK.
Latest draftsight-1.6.1_beta (equivalent to Draftsight 2015, which is their public naming scheme) has been updated in betagarden.
There is a DraftSight 2016 Pre-Release: http://www.3ds.com/products-services/draftsight-cad-software/draftsight-2016-pre-release/ It is a some kind of beta. May be there is fixed annoying cursor lag bug.
Created attachment 426790 [details] draftsight-bin-1.7.0_beta.ebuild They have fixed the annoying cursor lag. You can click on 'Download DraftSight 2016 for Ubuntu (beta)' on http://www.3ds.com/products-services/draftsight-cad-software/free-download/ and copy the file downloaded file draftSight.deb to /usr/portage/distfiles//usr/portage/distfiles/draftsight-1.7.0_beta.deb. Then rename the draftsight-bin-1.6.1_beta.ebuild to draftsight-bin-1.7.0_beta.ebuild in your local overlay directory /usr/local/portage/media-gfx/draftsight-bin/ The files 10-ft-rockey.rules and draftsight in /usr/local/portage/media-gfx/draftsight-bin/files/ can stay the same as for the previous draftsight-bin-1.6.1_beta.ebuild. Then generate the manifest as usual and merge the package.
Created attachment 426792 [details] 10-ft-rockey.rules /usr/local/portage/media-gfx/draftsight-bin/files/10-ft-rockey.rules
Created attachment 426794 [details] draftsight /usr/local/portage/media-gfx/draftsight-bin/files/draftsight
They published the 2018 version
Created attachment 515226 [details] ebuild for DraftSight 2018 SP0 New ebuild for DraftSight 2018 SP0 using Qt5.