Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1860 - ebuild for qcad 1.4.7
Summary: ebuild for qcad 1.4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL: http://www.qcad.org/index.php3
Whiteboard:
Keywords:
: 1862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-16 23:15 UTC by Eric Sorton
Modified: 2002-05-01 19:03 UTC (History)
1 user (show)

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


Attachments
ChangeLog file for qcad. (ChangeLog,427 bytes, text/plain)
2002-04-17 07:40 UTC, Eric Sorton
Details
ebuild file for qcad 1.4.7. (qcad-1.4.7.ebuild,942 bytes, text/plain)
2002-04-17 07:45 UTC, Eric Sorton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Sorton 2002-04-16 23:15:36 UTC
Attached is a ChangeLog file and ebuild file for qcad 1.4.7.
Comment 1 Eric Sorton 2002-04-16 23:30:54 UTC
I've attempted to use the "Create a new attachment" link with Konq 3.0.0 and 
with IE 5.5 (after rebooting to Windows).  In both cases I received an error 
message that no file was given or it was empty.  Since I am certain my files 
aren't empty, there must be a problem attaching a file.  Is Mozilla required?  
I will attempt to attach the files from work tommorrow using mozilla.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-16 23:37:01 UTC
*** Bug 1862 has been marked as a duplicate of this bug. ***
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-17 00:17:32 UTC
Scoot's ebuild.  Eric, waiting for yours, so I can add you to the author's list

# my first ebuild script attempt - for qcad

HOMEPAGE="http://www.qcad.org"
DESCRIPTION="Qcad is a 2-D CAD drafting package"

S=${WORKDIR}/${P}
SRC_URI="http://www.qcad.org/archives/qcad-1.4.7-src.tar.gz"

DEPEND="virtual/glibc
	>=x11-base/xfree-4.0.3
	>=x11-libs/qt-2.3.2"

RDEPEND="${DEPEND}"

src_compile() {
	      cd ${WORKDIR}/${P}-src
	      # Doesnt static compile a la Makefile so fudge/fix
	      make LFLAGS=" "
}

src_install() {
	      cd ${WORKDIR}/${P}-src

	      into /usr/
	      dobin qcad
	      dodir /usr/share/qcad

	      cp -r cur doc examples fonts hatches libraries messages xpm ${D}/usr/share/qcad



}
Comment 4 Eric Sorton 2002-04-17 07:40:51 UTC
Created attachment 588 [details]
ChangeLog file for qcad.
Comment 5 Eric Sorton 2002-04-17 07:45:39 UTC
Created attachment 589 [details]
ebuild file for qcad 1.4.7.

My first ebuild ... I did not have the static library problem discussed in bug
1862.  The ebuild depends on qt-2.something.  It will not build with qt-3.  I
think (hope) I got the syntax correct on the DEPENDS line to support this. 
Comments for improvements are appreciated.
Comment 6 Eric Sorton 2002-04-19 22:51:02 UTC
There is a significant bug in the attached ebuild.  The DEPENDS line needs to be changed to the following: 
 
	DEPEND="virtual/glibc sys-devel/make >=dev-util/tmake-1.8-r1 =x11-libs/qt-2*" 
 
Note the addition of the "=" in front of "x11-libs/qt-2*".  The syntax in the documentation was incorrect. 
 
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-01 19:03:12 UTC
Right lads, I've added this to app-sci/qcad, and you're both credited as Authors
and in the ChangeLog.  Thanks for the ebuilds :)