Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359805 - media-gfx/draftsight-bin 2D CAD (new package)
Summary: media-gfx/draftsight-bin 2D CAD (new package)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 4 votes (vote)
Assignee: Default Assignee for New Packages
Keywords: InOverlay
Depends on:
Reported: 2011-03-21 14:53 UTC by Gordon Pritchard
Modified: 2018-01-25 17:51 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---

draftsight-1.1.2_beta2.ebuild (draftsight-1.1.2_beta2.ebuild,9.77 KB, text/plain)
2011-08-21 18:14 UTC, Branimir Amidžić
License file (3ds,9.26 KB, text/plain)
2011-08-21 18:16 UTC, Branimir Amidžić
ebuild for actual version (draftsight-1.3.1_beta.ebuild,9.78 KB, text/plain)
2013-03-26 05:28 UTC, karpi
draftsight-1.3.1_beta.ebuild (draftsight-1.3.1_beta.ebuild,9.78 KB, text/plain)
2013-03-26 05:31 UTC, karpi
Draftsight ebuild for V1R3.1 (draftsight-1.3.1_beta.ebuild,7.15 KB, text/plain)
2013-04-06 00:32 UTC, Dion Moult (RETIRED)
Related udev file used by ebuild. (10-ft-rockey.rules,50 bytes, text/plain)
2013-04-06 00:36 UTC, Dion Moult (RETIRED)
Draftsight launcher script used by ebuild (draftsight,277 bytes, text/plain)
2013-04-06 00:37 UTC, Dion Moult (RETIRED)
License file provided by upstream package (draftsight,10.98 KB, text/plain)
2013-04-06 00:38 UTC, Dion Moult (RETIRED)
Draftsight ebuild for V1R4.0_beta with mime and menu entry working (file_359805.txt,11.02 KB, text/plain)
2013-10-10 16:13 UTC, mattem
ebuild for the new draftsight-1.6.0_beta amd64 (draftsight-bin-1.6.0_beta.ebuild,7.01 KB, text/plain)
2014-10-27 10:32 UTC, mattem
draftsight-bin-1.7.0_beta.ebuild (draftsight-bin-1.7.0_beta.ebuild,4.07 KB, text/plain)
2016-02-27 19:29 UTC, Fitzcarraldo
10-ft-rockey.rules (10-ft-rockey.rules,50 bytes, text/plain)
2016-02-27 19:31 UTC, Fitzcarraldo
draftsight (draftsight,275 bytes, application/x-shellscript)
2016-02-27 19:32 UTC, Fitzcarraldo
ebuild for DraftSight 2018 SP0 (draftsight-bin-2018-r0.ebuild,4.08 KB, text/plain)
2018-01-18 10:30 UTC, Francesco Proietti

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Pritchard 2011-03-21 14:53:43 UTC
I had used QCad for a number of years, but now that it has been withdrawn from Portage, I have found this alternateve - DraftSight:

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

My request is for a Gentoo Portage ebuild for DraftSight.
Comment 1 Vasco Gervasi 2011-06-22 19:30:33 UTC
I agree with you. Interesting request.
Comment 2 Jan Boros 2011-07-19 06:41:18 UTC
yes, I will like this too.
I mean ebuild for draftsigh.
Comment 3 Craig Coleman 2011-07-27 13:23:16 UTC
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.
Comment 4 Tom Corner 2011-07-30 15:04:28 UTC
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.
Comment 5 Branimir Amidžić 2011-08-21 18:14:54 UTC
Created attachment 284133 [details]
Comment 6 Branimir Amidžić 2011-08-21 18:16:44 UTC
Created attachment 284135 [details]
License file

License file for DraftSight
Comment 7 Branimir Amidžić 2011-08-21 18:22:26 UTC
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,
Comment 8 Martin Samek 2011-08-31 23:05:02 UTC
Hm, sounds great. Looking for nice 2D CAD.
Comment 9 Martin Samek 2011-09-01 19:31:48 UTC
On 64bit system missing 32bit version of shared library. It belongs to nas package. May be it is necessary install some emul package.
Comment 10 marek wojciechowski 2011-09-13 15:26:56 UTC
Unfortunately there's no *nas* equivalent in emul packages (see: so you are on your own.

You can however download any 32-bit package containing, for example, extract this file to e.g. /usr/lib32, and create symlink named That worked for me. :)
Comment 11 Martin Samek 2011-09-14 23:08:00 UTC
I grabbed debian package and extracted lib. It works for me great. But how to do this system way? DraftSight rulez.
Comment 12 Michael Weber (RETIRED) gentoo-dev 2012-01-12 19:57:06 UTC
(In reply to comment #9)
> On 64bit system missing 32bit version of 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.
Comment 13 Martin Samek 2012-02-04 09:49:06 UTC
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.
Comment 14 Dion Moult (RETIRED) gentoo-dev 2012-11-17 05:59:13 UTC
Tested with beta V1R3 and works fine on amd64 after copying over the* files. Note that the filename is no longer DraftSight.deb but now draftSight.deb (case change).
Comment 15 karpi 2013-03-26 05:28:48 UTC
Created attachment 343280 [details]
ebuild for actual version

renamed and small changed ebuild. Ok for me.
Comment 16 karpi 2013-03-26 05:31:39 UTC
Created attachment 343282 [details]

uups.. Last time posted ebuild attachement was wrong named.. please delete it.
Comment 17 Dion Moult (RETIRED) gentoo-dev 2013-03-29 02:08:05 UTC
Working on this.
Comment 18 Dion Moult (RETIRED) gentoo-dev 2013-03-30 11:10:02 UTC
Just a quick note that if we did not have the fetch restriction, we could use this:

MY_PV="V$(replace_version_separator 1 'R' $(get_version_component_range 1-$(get_last_version_component_index)))"
SRC_URI="${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.
Comment 19 Dion Moult (RETIRED) gentoo-dev 2013-04-06 00:32:40 UTC
Created attachment 344576 [details]
Draftsight ebuild for V1R3.1
Comment 20 Dion Moult (RETIRED) gentoo-dev 2013-04-06 00:36:17 UTC
Created attachment 344578 [details]
Related udev file used by ebuild.

Move to media-gfx/draftsight/files/
Comment 21 Dion Moult (RETIRED) gentoo-dev 2013-04-06 00:37:31 UTC
Created attachment 344580 [details]
Draftsight launcher script used by ebuild

Move into media-gfx/draftsight/files/
Comment 22 Dion Moult (RETIRED) gentoo-dev 2013-04-06 00:38:58 UTC
Created attachment 344582 [details]
License file provided by upstream package

Move into licenses/
Comment 23 Dion Moult (RETIRED) gentoo-dev 2013-04-06 00:41:39 UTC
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 :)
Comment 24 Dion Moult (RETIRED) gentoo-dev 2013-05-05 22:58:05 UTC
Draftsight is now available in the betagarden overlay. (`layman -a betagarden`) Marking as fixed :)
Comment 25 mattem 2013-10-09 13:39:56 UTC
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/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
CFLAGS="-march=native -O2 -pipe"
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"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/owncloud-client /var/lib/layman/betagarden /gentoo/pkg-desktop/PortageOverlay"
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"

I hope that someone could help me, I use draftsight for my work and I really need it on my gentoo system!!
Comment 26 Dion Moult (RETIRED) gentoo-dev 2013-10-09 14:21:22 UTC
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?
Comment 27 mattem 2013-10-09 15:09:29 UTC
(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?

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/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/
ln -s /opt/dassault-systemes/draftsight/lib/ /usr/lib32/

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 (0xf7703000) => /usr/lib32/ (0xf75e1000) => /usr/lib32/ (0xf74ae000) => /usr/lib32/ (0xf7202000) => /usr/lib32/ (0xf6c4f000) => /usr/lib32/ (0xf6c14000) => /usr/lib32/ (0xf6bfc000) => /usr/lib32/ (0xf675f000) => /usr/lib32/ (0xf6752000) => /usr/lib32/ (0xf66ab000) => /usr/lib32/ (0xf658f000) => /lib32/ (0xf658a000) => /usr/lib32/ (0xf64ed000) => /usr/lib32/ (0xf64bf000) => /usr/lib32/ (0xf6354000) => /usr/lib32/ (0xf62d2000) => /usr/lib32/ (0xf6270000) => /usr/lib32/ (0xf61e9000) => /usr/lib32/ (0xf6120000) => /usr/lib32/ (0xf5c53000) => /usr/lib32/ (0xf5b14000) => /usr/lib32/ (0xf5a14000) => /usr/lib32/ (0xf5903000) => /usr/lib32/ (0xf49be000) => /usr/lib32/ (0xf4955000) => /usr/lib32/ (0xf4942000) => /usr/lib32/ (0xf479e000) => /usr/lib32/ (0xf4572000) => /usr/lib32/ (0xf42cc000) => /usr/lib32/ (0xf4243000) => /usr/lib32/ (0xf4141000) => /usr/lib32/ (0xf413d000) => /usr/lib32/ (0xf3f96000) => /usr/lib32/qt4/ (0xf288a000) => /usr/lib32/qt4/ (0xf2836000) => /usr/lib32/qt4/ (0xf27f5000) => /usr/lib32/qt4/ (0xf26f7000) => /usr/lib32/qt4/ (0xf1c5c000) => /usr/lib32/qt4/ (0xf1b23000) => /usr/lib32/qt4/ (0xf1846000) => /usr/lib32/ (0xf17be000) => /usr/lib32/ (0xf16bc000) => /lib32/ (0xf16a1000) => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32/ (0xf15b8000) => /lib32/ (0xf158d000) => /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32/ (0xf1570000) => /lib32/ (0xf13ca000) => /usr/lib32/ (0xf137b000) => /lib32/ (0xf1366000) => /usr/lib32/ (0xf134a000)
	/lib/ (0xf7704000) => /usr/lib32/ (0xf1320000) => /usr/lib32/ (0xf1271000) => /usr/lib32/ (0xf1268000) => /usr/lib32/ (0xf125c000) => /usr/lib32/ (0xf124d000) => /usr/lib32/ (0xf122e000) => /usr/lib32/ (0xf1218000) => /usr/lib32/ (0xf11c0000) => /usr/lib32/ (0xf10f5000) => /usr/lib32/ (0xf10b1000) => /usr/lib32/ (0xf0fa8000) => /usr/lib32/ (0xf0f1c000) => /usr/lib32/ (0xf0ef2000) => /usr/lib32/ (0xf0eea000) => /usr/lib32/ (0xf0ed2000) => /usr/lib32/ (0xf0ec3000) => /usr/lib32/ (0xf0eb8000) => /usr/lib32/ (0xf0eb2000) => /usr/lib32/ (0xf0ea8000) => /usr/lib32/ (0xf0ea4000) => /usr/lib32/ (0xf0e75000) => /usr/lib32/ (0xf0e65000) => /usr/lib32/ (0xf0e0b000) => /usr/lib32/ (0xf0cb3000) => /lib32/ (0xf0ca9000) => /usr/lib32/ (0xf0ca5000) => /usr/lib32/ (0xeecd9000) => /usr/lib32/ (0xeeca3000) => /usr/lib32/ (0xeec9f000) => /usr/lib32/ (0xeec99000) => /usr/lib32/ (0xeec95000) => /usr/lib32/ (0xeec91000) => /usr/lib32/ (0xeeb67000) => /usr/lib32/ (0xeeb60000) => /lib32/ (0xeeb4f000) => /lib32/ (0xeeb49000) => /usr/lib32/ (0xeea95000) => /usr/lib32/ (0xeea6f000) => /lib32/ (0xeea6b000) => /usr/lib32/ (0xeea63000) => /lib32/ (0xeea5e000) => /lib32/ (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"

$ 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...
Comment 28 Dion Moult (RETIRED) gentoo-dev 2013-10-10 13:22:23 UTC
@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).
Comment 29 mattem 2013-10-10 16:12:57 UTC
@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!!
Comment 30 mattem 2013-10-10 16:13:01 UTC
Created attachment 360586 [details]
Draftsight ebuild for V1R4.0_beta with mime and menu entry working
Comment 31 Christian Faulhammer (RETIRED) gentoo-dev 2014-08-04 17:31:18 UTC
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
Comment 32 Teet Ottoson 2014-10-25 21:55:43 UTC
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
Comment 33 mattem 2014-10-27 10:30:00 UTC
(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

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?
Comment 34 mattem 2014-10-27 10:32:08 UTC
Created attachment 387520 [details]
ebuild for the new draftsight-1.6.0_beta amd64
Comment 35 Martin Samek 2015-02-26 15:04:00 UTC
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.
Comment 36 Dion Moult (RETIRED) gentoo-dev 2015-03-29 00:01:23 UTC
Latest draftsight-1.6.1_beta (equivalent to Draftsight 2015, which is their public naming scheme) has been updated in betagarden.
Comment 37 Martin Samek 2016-02-03 00:43:08 UTC
There is a DraftSight 2016 Pre-Release:

It is a some kind of beta. May be there is fixed annoying cursor lag bug.
Comment 38 Fitzcarraldo 2016-02-27 19:29:53 UTC
Created attachment 426790 [details]

They have fixed the annoying cursor lag.

You can click on 'Download DraftSight 2016 for Ubuntu (beta)' on 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.
Comment 39 Fitzcarraldo 2016-02-27 19:31:44 UTC
Created attachment 426792 [details]

Comment 40 Fitzcarraldo 2016-02-27 19:32:48 UTC
Created attachment 426794 [details]

Comment 41 Silvio 2017-11-02 20:57:26 UTC
They published the 2018 version
Comment 42 Francesco Proietti 2018-01-18 10:30:11 UTC
Created attachment 515226 [details]
ebuild for DraftSight 2018 SP0

New ebuild for DraftSight 2018 SP0 using Qt5.