Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 117288
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Florian Steinel <Florian.Steinel@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
qcad-2.0.4.0-r3-2.0.5.0.ebuild.patch qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff patch Jeroen Roovers 2006-07-22 03:50 0000 1.63 KB 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 patch Jeroen Roovers 2006-07-22 04:00 0000 1.60 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117288 depends on: Show dependency tree
Bug 117288 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-31 09:23 0000
A new version of qcad was released.

------- Comment #1 From Jérôme Borme 2006-04-27 00:41:25 0000 -------
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 From Jeroen Roovers 2006-07-22 03:50:43 0000 -------
Created an attachment (id=92478) [details]
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 From Jeroen Roovers 2006-07-22 04:00:05 0000 -------
Created an attachment (id=92481) [details]
qcad-2.0.4.0-r3-2.0.5.0.ebuild.diff

Improved!!!11one

------- Comment #4 From Jeroen Roovers 2006-07-22 04:05:14 0000 -------
(In reply to comment #3)
> Created an attachment (id=92481) [edit] [details]
> 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 From Massimo Burcheri 2007-03-08 10:42:39 0000 -------
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 From Jakub Moc (RETIRED) 2007-07-20 14:49:53 0000 -------
*** Bug 185997 has been marked as a duplicate of this bug. ***

------- Comment #7 From Dustin Polke 2007-07-20 15:04:23 0000 -------
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 From K Lowe 2007-08-02 18:02:53 0000 -------
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 From Pablo Cholaky 2008-05-06 20:34:35 0000 -------
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 From Markus Dittrich 2008-09-26 13:25:23 0000 -------
I've just bumped qcad to version 2.0.5.0 in portage.
Thanks to everybody for their patience.

Best,
Markus

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug