Commenti a: A usable DraftSight Debian package https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/ Engineering tools Wed, 08 Oct 2014 10:48:20 +0000 hourly 1 https://wordpress.org/?v=6.7.2 Di: Someone https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-51 Wed, 08 Oct 2014 10:48:20 +0000 http://www.monodes.com/blog/?p=345#comment-51 Please do write about DWG. There is not a lot of solid information on the current status of DWG + open source at this time. I stumbled across your article, and would be intrigued as to what the methods you suggest actually are.

What I’ve looked at so far
* lx-viewer – not tried, but seems abandoned (QT3? – we are up to QT5 now…)
* dwg2dxf – not actually open source, and wont work on 64 bit systems, due to precompiled lib.
* librecad – no DWG support at this time. BSD licence constraint means they wont work with openDWG, which is GPLd. IMHO, they could switch to GPL, as no-one will re-use their code as a lib.
* Freecad : – doesn’t work in debian : “Teigha File Converter not found, DWG support is disabled”

so… nice to know how it is done these days!

]]>
Di: Francesco Guerricchio https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-21 Wed, 05 Feb 2014 08:09:55 +0000 http://www.monodes.com/blog/?p=345#comment-21 In risposta a Francesco Guerricchio.

Damn proofing tools! 🙂

]]>
Di: Francesco Guerricchio https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-20 Wed, 05 Feb 2014 08:08:35 +0000 http://www.monodes.com/blog/?p=345#comment-20 In risposta a Paolo Redaelli.

You’re right a line missile in the cut and paste.

Byte

]]>
Di: Paolo Redaelli https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-19 Wed, 05 Feb 2014 07:12:40 +0000 http://www.monodes.com/blog/?p=345#comment-19 In risposta a BinaryDigit Francesco Guerricchio.

Thanks! I updated the post.
BTW, there were a “fi” missing at the end, I’m sure it remained stuck in the mouse pointer… 🙂

]]>
Di: BinaryDigit Francesco Guerricchio https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-18 Tue, 04 Feb 2014 23:17:44 +0000 http://www.monodes.com/blog/?p=345#comment-18 Hi Paolo,
I have updated our script as suggested by Lusmo. Here the script:

#!bin/sh

## Fix a DraftSight Debian package to make it installable on a 64bit machine.

## Last known realease is http://dl-ak.solidworks.com/nonsecure/draftsight/V1R4.0/draftSight.deb

ORIGINAL=draftSight.deb
PACKAGE=fixed-$ORIGINAL

if ! test -f $ORIGINAL
then
echo $ORIGINAL file does not exist.
PACKAGE=$(zenity –file-selection –filename=draftSight.deb –file-filter=deb)
fi

echo Copying $ORIGINAL into $PACKAGE
cp $ORIGINAL $PACKAGE || exit 5;

echo Extracting control.tar.gz
ar x $PACKAGE control.tar.gz || exit 5;

echo Unpacking control.tar.gz into control directory
mkdir –parent control || exit 5;
tar -zxf control.tar.gz –directory control || exit 5;
mv control.tar.gz control.tar.gz.orig

echo “Removing wrong dependency (xdg-utils)”
if sed –in-place -e “s/ xdg-utils,//” control/control
then
echo Repacking contents of ‘control’ directory into control.tar.gz
(cd control; tar –create –file ../control.tar *) || exit 5;
gzip –best –no-name control.tar
echo Storing patched control.tar.gz back into $PACKAGE;
ar r $PACKAGE control.tar.gz || exit 5;
echo Draftsight original package $ORIGINAL patched into $PACKAGE

]]>
Di: Lud?k Smolík https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-15 Fri, 24 Jan 2014 10:42:16 +0000 http://www.monodes.com/blog/?p=345#comment-15 In risposta a Paolo Redaelli.

I see. But, good work! 🙂

]]>
Di: Paolo Redaelli https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-14 Fri, 24 Jan 2014 10:08:54 +0000 http://www.monodes.com/blog/?p=345#comment-14 In risposta a lusmo.

Thanks for the hint, I’ll update my script ASAP.
These days I’ve been quite busy; among the other things I’ve been trying to build a package for Debian but it’s harder than I thought.

]]>
Di: lusmo https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-13 Thu, 23 Jan 2014 15:13:05 +0000 http://www.monodes.com/blog/?p=345#comment-13 In risposta a lusmo.

PS: There is a little change only:
xdg-utils, must be removed instead of libdirectfb-extra (>=1.2.7-2),
and everything works fine!
Have a nice day! 🙂

]]>
Di: lusmo https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-12 Thu, 23 Jan 2014 14:56:27 +0000 http://www.monodes.com/blog/?p=345#comment-12 Great idea, but no more worked. But thank You for Your work!

]]>
Di: Paolo Redaelli https://monodes.com/2013/10/09/english-a-usable-draftsight-debian-package/comment-page-1/#comment-11 Wed, 08 Jan 2014 22:21:16 +0000 http://www.monodes.com/blog/?p=345#comment-11 Sadly things are much more difficult on an x64 Debian 7

]]>