Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117288 - sci-misc/qcad bump to qcad-2.0.5.0
Summary: sci-misc/qcad bump to qcad-2.0.5.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL: http://www.ribbonsoft.com/qcad_downlo...
Whiteboard:
Keywords:
: 185997 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-31 09:23 UTC by Florian Steinel
Modified: 2008-09-26 13:25 UTC (History)
4 users (show)

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


Attachments
qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff (qcad-2.0.4.0-r3-2.0.5.0.ebuild.patch,1.63 KB, patch)
2006-07-22 03:50 UTC, Jeroen Roovers (RETIRED)
Details | Diff
qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff (qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff,1.60 KB, patch)
2006-07-22 04:00 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Steinel 2005-12-31 09:23:50 UTC
A new version of qcad was released.
Comment 1 J.Borme 2006-04-27 00:41:25 UTC
From this release (version 2.0.5), the licence of qcad changes. There are now two versions :
* a so-called "professional" proprietary binary version and
* a "community edition" released under the GPL.

However the Community version "does not contain scripting module and polyline support (professional module)." (see http://www.ribbonsoft.com/qcad_downloads.html ). A CAD tool unable to draw polylines is useless for most users, and one who has written script is not willing to give up using them! This means that the 2.0.4 is the last usable version available to the free software community.

I think that there is now a need for someone motivated to patch and maintain 2.0.5 and all future GPL versions (or to fork...) to revert the changes or rewrite them. Meanwhile, I hope that Gentoo will keep the version 2.0.4 in the portage tree and the source code on its mirrors as long as newer GPL versions lack the key features recently removed. By the way the link to the old sources was removed. Gentoo's (and other distros') mirrors are the only place to find the 2.0.4 sources.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2006-07-22 03:50:43 UTC
Created attachment 92478 [details, diff]
qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff

Note that I renamed the two 2.0.4.0 patches in ${FILESDIR} that apply against 2.0.5.0 as well. I also strip -pedantic from the compiler flags because else g++ would b0rk on a long long that's included from qt3.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2006-07-22 04:00:05 UTC
Created attachment 92481 [details, diff]
qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff

Improved!!!11one
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2006-07-22 04:05:14 UTC
(In reply to comment #3)
> Created an attachment (id=92481) [edit]
> qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff
> 
> Improved!!!11one

Some of the extras like examples, translations and documentation are not installed yet, but the binary works properly otherwise.
Comment 5 Massimo Burcheri 2007-03-08 10:42:39 UTC
Are these features just disabled in the free version? Maybe starting a seperate FreeQCad branch wouldn't be hard by just enabling these features.

QCad is the best for CAD on Linux and I hope there will be an upstream.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-07-20 14:49:53 UTC
*** Bug 185997 has been marked as a duplicate of this bug. ***
Comment 7 Dustin Polke 2007-07-20 15:04:23 UTC
I don't know why I haven't found this bug about qcad 2.0.5 before I posted bug #185997. Nevertheless, the ebuild I posted there is basically identical to the diff posted here, as far as I can judge here.

I just added a line to install qcad.xpm to /usr/share/pixmap/${PN} to have an icon available.

I've seen that the manual.patch has been removed from this ebuild. Since I don't know what it exactly does, I left it in my ebuild.

I added flag-o-matic line to filter for -pedantic flag, but I am not sure whether this is really needed. Do people add this maybe to their CFLAGS in make.conf?

Instead of using sed to remove -pedantic flag relevant files, I made a patch to relevant file, but I think using sed is the more elegant way to do this.

If you think that it is necessary to post the ebuild here one again, please feel free to leave me a note. Otherwise you can find all relevant files at above mentioned bug.

BR,
Dustin
Comment 8 K Lowe 2007-08-02 18:02:53 UTC
QCad (http://www.ribbonsoft.com/qcad.html)

The procedure to install QCad 2.0.5.0 (Community Edition 2.0.5.0, and English User Manual 2.1.0.0) is as follows:

qcad-2.0.5.0

klowe@computer ~ $ su
Password:
computer klowe # cd /
computer / # mkdir -p /usr/local/portage/sci-misc/qcad
computer / # cd /usr/local/portage/sci-misc/qcad
computer qcad # wget -O qcad-2.0.5.0.ebuild https://bugs.gentoo.org/attachment.cgi?id=125461 --no-check-certificate
computer qcad # wget -O qcad-2.0.5.0-1-community.src-pedantic.patch https://bugs.gentoo.org/attachment.cgi?id=125463 --no-check-certificate
computer qcad # wget -O qcad-2.0.5.0-1-community.src-gentoo.patch https://bugs.gentoo.org/attachment.cgi?id=125464 --no-check-certificate
computer qcad #  wget -O qcad-2.0.5.0-1-community.src-intptr.patch https://bugs.gentoo.org/attachment.cgi?id=125465 --no-check-certificate
computer qcad # wget -O qcad-2.0.5.0-1-community.src-manual.patch https://bugs.gentoo.org/attachment.cgi?id=125468 --no-check-certificate
computer qcad # ebuild qcad-2.0.5.0.ebuild digest
computer qcad # cd /

computer / # emerge --ask --verbose qcad
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N    ] sci-misc/qcad-2.0.5.0  USE="-doc" 0 kB [1]
Total: 1 package (1 new), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage
Would you like to merge these packages? [Yes/No] Yes

When logged on as User in a Konsole Terminal window, to start QCad, type: qcad. Used the KDE Menu Editor to create a new item for QCad (icon: /usr/share/qcad-2.0.5.0/doc/img/qcadicon.png).

qcad-manual-en-2.1.0.0-1 (These instructions did not work with the manual 'qcad-manual-200404.tar.bz2'.)

The 'qcad-2.0.5.0-1-community.src.tar.gz' package does not include the manual in English. Nevetheless 
'emerge --ask --verbose =sci-misc/qcad-2.0.5.0' should have installed the manual 'qcad-manual-200404.tar.bz2'. Therefore, download 'qcad-manual-en-2.1.0.0-1.html.zip' from 'http://www.ribbonsoft.com/qcad_downloads.html' to a temporary folder in the directory Home.

For use with the QCad help browser, extract the file in the temporary folder (creates the folder 'qcad-manual-en-2.1.0.0-1.html'), and copy all files in this folder to the subdirectory 'doc' of the QCad installation. For example, the QCad English User Manual was installed into the directory '/usr/share/qcad-2.0.5.0', so copy the files in 'qcad-manual-en-2.1.0.0-1.html' to '/usr/share/qcad-2.0.5.0\doc'. Set this path in QCad's Application Preferences (Edit->Application Preferences->Paths->Translations) to access it. After restarting QCad, to access the guide by either pressing F1 or clicking Help and selecting Manual.

Problems and Solutions

Cannot start Qt Assistant '/usr/share/qcad-2.0.5.0/bin -server -profile /usr/share/qcad-2.0.5.0/doc/qcaddoc.adp'.

klowe@computer ~ $ su
Password:
computer klowe # cd /
computer / # cd /usr/share/qcad-2.0.5.0
computer qcad-2.0.5.0 # ln -s /usr/bin/assistant bin

File does not exist: '/usr/share/qcad-2.0.5.0/doc/qcaddoc.adp'. Profile '/usr/share/qcad-2.0.5.0/doc/qcaddoc.adp' does not exist!

Copy file '/usr/share/qcad-2.0.5.0/doc/index.adp'. Rename it '/usr/share/qcad-2.0.5.0/doc/qcaddoc.adp'.

Normally, when Qt Assistant is run, it looks in the directory Home for the folder .assistant. If found, it will use it, otherwise it will create one.

Sources

http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
http://gentoo-wiki.com/TIP_Installing_local_programs
Comment 9 Pablo Cholaky 2008-05-06 20:34:35 UTC
Why isnt in portage yet?

(In reply to comment #8)
> QCad (http://www.ribbonsoft.com/qcad.html)
> 
> The procedure to install QCad 2.0.5.0 (Community Edition 2.0.5.0, and English
> User Manual 2.1.0.0) is as follows:
> 
> qcad-2.0.5.0
> 
> klowe@computer ~ $ su
> Password:
> computer klowe # cd /
> computer / # mkdir -p /usr/local/portage/sci-misc/qcad
> computer / # cd /usr/local/portage/sci-misc/qcad
> computer qcad # wget -O qcad-2.0.5.0.ebuild
> https://bugs.gentoo.org/attachment.cgi?id=125461 --no-check-certificate
> computer qcad # wget -O qcad-2.0.5.0-1-community.src-pedantic.patch
> https://bugs.gentoo.org/attachment.cgi?id=125463 --no-check-certificate
> computer qcad # wget -O qcad-2.0.5.0-1-community.src-gentoo.patch
> https://bugs.gentoo.org/attachment.cgi?id=125464 --no-check-certificate
> computer qcad #  wget -O qcad-2.0.5.0-1-community.src-intptr.patch
> https://bugs.gentoo.org/attachment.cgi?id=125465 --no-check-certificate
> computer qcad # wget -O qcad-2.0.5.0-1-community.src-manual.patch
> https://bugs.gentoo.org/attachment.cgi?id=125468 --no-check-certificate
> computer qcad # ebuild qcad-2.0.5.0.ebuild digest
> computer qcad # cd /
> 
> computer / # emerge --ask --verbose qcad
> These are the packages that would be merged, in order:
> Calculating dependencies... done!
> [ebuild  N    ] sci-misc/qcad-2.0.5.0  USE="-doc" 0 kB [1]
> Total: 1 package (1 new), Size of downloads: 0 kB
> Portage overlays:
>  [1] /usr/local/portage
> Would you like to merge these packages? [Yes/No] Yes
> 
> When logged on as User in a Konsole Terminal window, to start QCad, type: qcad.
> Used the KDE Menu Editor to create a new item for QCad (icon:
> /usr/share/qcad-2.0.5.0/doc/img/qcadicon.png).
> 
> qcad-manual-en-2.1.0.0-1 (These instructions did not work with the manual
> 'qcad-manual-200404.tar.bz2'.)
> 
> The 'qcad-2.0.5.0-1-community.src.tar.gz' package does not include the manual
> in English. Nevetheless 
> 'emerge --ask --verbose =sci-misc/qcad-2.0.5.0' should have installed the
> manual 'qcad-manual-200404.tar.bz2'. Therefore, download
> 'qcad-manual-en-2.1.0.0-1.html.zip' from
> 'http://www.ribbonsoft.com/qcad_downloads.html' to a temporary folder in the
> directory Home.
> 
> For use with the QCad help browser, extract the file in the temporary folder
> (creates the folder 'qcad-manual-en-2.1.0.0-1.html'), and copy all files in
> this folder to the subdirectory 'doc' of the QCad installation. For example,
> the QCad English User Manual was installed into the directory
> '/usr/share/qcad-2.0.5.0', so copy the files in 'qcad-manual-en-2.1.0.0-1.html'
> to '/usr/share/qcad-2.0.5.0\doc'. Set this path in QCad's Application
> Preferences (Edit->Application Preferences->Paths->Translations) to access it.
> After restarting QCad, to access the guide by either pressing F1 or clicking
> Help and selecting Manual.
> 
> Problems and Solutions
> 
> Cannot start Qt Assistant '/usr/share/qcad-2.0.5.0/bin -server -profile
> /usr/share/qcad-2.0.5.0/doc/qcaddoc.adp'.
> 
> klowe@computer ~ $ su
> Password:
> computer klowe # cd /
> computer / # cd /usr/share/qcad-2.0.5.0
> computer qcad-2.0.5.0 # ln -s /usr/bin/assistant bin
> 
> File does not exist: '/usr/share/qcad-2.0.5.0/doc/qcaddoc.adp'. Profile
> '/usr/share/qcad-2.0.5.0/doc/qcaddoc.adp' does not exist!
> 
> Copy file '/usr/share/qcad-2.0.5.0/doc/index.adp'. Rename it
> '/usr/share/qcad-2.0.5.0/doc/qcaddoc.adp'.
> 
> Normally, when Qt Assistant is run, it looks in the directory Home for the
> folder .assistant. If found, it will use it, otherwise it will create one.
> 
> Sources
> 
> http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
> http://gentoo-wiki.com/TIP_Installing_local_programs
> 

Comment 10 Markus Dittrich (RETIRED) gentoo-dev 2008-09-26 13:25:23 UTC
I've just bumped qcad to version 2.0.5.0 in portage.
Thanks to everybody for their patience.

Best,
Markus