Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 4203

Summary: New ebuild scripts for dclib and dcgui
Product: Gentoo Linux Reporter: Mikael Grahn <nikmind>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mikael Grahn 2002-06-26 14:44:49 UTC
It would be nice if these two could be added to packages.

dclib
-----------------------------------------------------------------------------
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Written by Mikael Grahn <mikael.grahn@telia.com>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49
sandymac Exp

# Short one-line description of this package.
DESCRIPTION="dclib"
HOMEPAGE="http://dc.ketelhot.de/"

# License of the package. This must match the name of file(s) in
# /usr/portage/licenses/. For complex license combination see the developer
# docs on gentoo.org for details.
LICENSE="GPL-2"

DEPEND=">=sys-apps/bzip2-1.0.2
        >=dev-libs/libxml2-2.4.22"

SRC_URI="http://dc.ketelhot.de/files/dcgui/unstable/source/dclib-0.1beta8.tar.bz2"

S=${WORKDIR}/dclib-0.1beta8

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
                --infodir=/usr/share/info \
		--mandir=/usr/share/man \
	        --disable-xmltest || die

	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
}

----------------------------------------------------------------


dcgui
----------------------------------------------------------------
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Written by Mikael Grahn <mikael.grahn@telia.com>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49
sandymac Exp

# Short one-line description of this package.
DESCRIPTION="dcgui"
HOMEPAGE="http://dc.ketelhot.de/"

# License of the package. This must match the name of file(s) in
# /usr/portage/licenses/. For complex license combination see the developer
# docs on gentoo.org for details.
LICENSE="GPL-2"

DEPEND=">=x11-libs/qt-3.0.4
        >=dev-libs/libxml2-2.4.22
	>=net-misc/dclib-0.1_beta8"

SRC_URI="http://dc.ketelhot.de/files/dcgui/unstable/source/dcgui-0.1beta8.tar.bz2"

S=${WORKDIR}/dcgui-0.1beta8

src_compile() {

	# A hack to build against the latest QT:
        local v
        for v in /usr/qt/[0-9]
        do
            [ -d "${v}" ] && export QTDIR="${v}"
        done

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
                --infodir=/usr/share/info \
		--mandir=/usr/share/man \
	        --with-libdc=/usr \
		--disable-xmltest || die

	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
}

------------------------------------------------------------------------
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-28 12:12:18 UTC
They already are in portage.  The versions will be upgraded soon. 

*** This bug has been marked as a duplicate of 4252 ***
Comment 2 Mikael Grahn 2002-06-30 10:11:17 UTC
This is not the same as dctc and dc-gui. This is another dc client which used qt
and not gtk.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-06 21:12:00 UTC
I added these into portage thanks for them