Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186000 - [Version Bump] sci-misc/qcad-parts-2.1.2.8 (including ebuild)
Summary: [Version Bump] sci-misc/qcad-parts-2.1.2.8 (including ebuild)
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.qcad.org/qcad_downloads.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 15:08 UTC by Dustin Polke
Modified: 2008-11-06 12:41 UTC (History)
1 user (show)

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


Attachments
Ebuild (qcad-parts-2.1.2.8.ebuild,1014 bytes, text/plain)
2007-07-20 15:09 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2007-07-20 15:08:32 UTC
New version of qcad-parts is available.
Find attached slightly modified ebuild to use .tar.gz archive instead of .zip

Reproducible: Always
Comment 1 Dustin Polke 2007-07-20 15:09:01 UTC
Created attachment 125473 [details]
Ebuild
Comment 2 K Lowe 2007-08-02 18:06:28 UTC
QCad (http://www.ribbonsoft.com/qcad.html)

The procedure to install QCad 2.0.5.0 (Part Library 2.1.2.8) is as follows:

qcad-parts-2.1.2.8

computer / # mkdir -p /usr/local/portage/sci-misc/qcad-parts
computer / # cd /usr/local/portage/sci-misc/qcad-parts
computer qcad-parts # wget -O qcad-parts-2.1.2.8.ebuild http://bugs.gentoo.org/attachment.cgi?id=125473 --no-check-certificate
computer qcad-parts # ebuild qcad-parts-2.1.2.8.ebuild digest
computer qcad-parts # cd /

computer / # emerge --ask --verbose qcad-parts
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N    ] sci-misc/qcad-parts-2.1.2.8  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

The QCad Part Library was installed into the directory '/usr/share/qcad-parts'. Set this path in QCad's Application Preferences (Edit->Application Preferences->Paths->Part Libraries) to access it. After restarting QCad, to use the library by selecting View->Views->Library Browser

Sources

http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
http://gentoo-wiki.com/TIP_Installing_local_programs
Comment 3 Kalidarn 2007-11-16 15:42:33 UTC
2.1.3.2 is out:

May 24 2007 QCad 2.1.3.2 released http://www.qcad.org/qcad_doc_changelog.html
Comment 4 Kalidarn 2007-11-16 15:46:30 UTC
oops i was looking at the professional copy ;)
Comment 5 dracorp 2008-10-07 07:53:08 UTC
paludis -i qcad 
[...]
>>> Starting src_install
install: cannot stat `examples': No such file or directory
/usr/libexec/paludis/utils/doins: doins returned error 2

!!! ERROR in sci-misc/qcad-2.0.5.0:

When I have corrected ebuild, everything there was all right 

--- qcad-2.0.5.0.ebuild 2008-09-26 13:18:25.000000000 +0000
+++ qcad-2.0.5.0.ebuild.fix 2008-10-07 07:15:31.000000000 +0000
@@ -85,7 +85,7 @@
    dobin qcad || die "Failed to install qcad wrapper"
 
    insinto /usr/share/${P}
-   doins -r patterns examples fonts qm  \
+   doins -r patterns fonts qm  \
        || die "Failed to install support files"
 
    doicon src/xpm/${PN}.xpm

And patch to qcad-parts-2.1.2.8.ebuild
--- qcad-parts-2.1.2.8.ebuild   2008-10-07 06:05:36.000000000 +0000
+++ qcad-parts-2.1.2.8.ebuild.fix   2008-10-07 06:06:23.000000000 +0000
@@ -8,7 +8,7 @@
 DESCRIPTION="Collection of CAD files that can be used from the library browser of QCad"
 LICENSE="GPL-2"
 HOMEPAGE="http://www.ribbonsoft.com/qcad_library.html"
-SRC_URI="http://www.ribbonsoft.com/archives/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz"
+SRC_URI="ftp://ribbonsoft.com/archives/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz"
 
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~ppc ~x86"

Error was in SRC_URI
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2008-11-06 12:41:33 UTC
in cvs. thanks.