Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156914 - media-libs/libclthreads-2.2.1 ebuild (version bump)
Summary: media-libs/libclthreads-2.2.1 ebuild (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-02 07:34 UTC by ron widler
Modified: 2007-04-19 20:46 UTC (History)
1 user (show)

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


Attachments
ebuild for libclthreads-2.2.1 (libclthreads-2.2.1.ebuild,727 bytes, text/plain)
2006-12-02 07:35 UTC, ron widler
Details
makefile patch (libclthreads-2.2.1-makefile.patch,766 bytes, patch)
2006-12-02 07:35 UTC, ron widler
Details | Diff
new makefile patch (libclthreads-2.2.1-makefile.patch,817 bytes, patch)
2006-12-02 07:46 UTC, ron widler
Details | Diff
another Makefile patch (2.2.1-Makefile.patch,1.16 KB, patch)
2007-01-05 05:03 UTC, Mike Mattie
Details | Diff
another ebuild (libclthreads-2.2.1.ebuild,857 bytes, text/plain)
2007-01-05 05:08 UTC, Mike Mattie
Details
revised Makefile patch draft 2 (fixes a bug in stable and the bump) (2.2.1-Makefile.patch,1.43 KB, patch)
2007-01-05 06:36 UTC, Mike Mattie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ron widler 2006-12-02 07:34:07 UTC
hi,

i just updated the libclthreads ebuild + patch (new homepage, source files have moved, also a new version)

compiles on my ~amd64, got no x86 to test it...

regards
ron
Comment 1 ron widler 2006-12-02 07:35:17 UTC
Created attachment 103215 [details]
ebuild for libclthreads-2.2.1
Comment 2 ron widler 2006-12-02 07:35:43 UTC
Created attachment 103216 [details, diff]
makefile patch
Comment 3 ron widler 2006-12-02 07:46:52 UTC
Created attachment 103217 [details, diff]
new makefile patch

clthreads.h got installed as /usr/include/, fixed now.
Comment 4 Mike Mattie 2007-01-05 05:03:53 UTC
Created attachment 105511 [details, diff]
another Makefile patch

This makefile patch incorporates the effects of the stable libclthreads patch, in particular using the -D install option for creating parent directories.

Also the -O2 gcc optimization flag is dropped from the Makefile so that CFLAGS
settings are not shadowed.
Comment 5 Mike Mattie 2007-01-05 05:08:08 UTC
Created attachment 105515 [details]
another ebuild

Although nearly identical to the previously posted ebuild, this version uses ${PV} for the Makefile patch so that multiple versions can co-exist in files/
Comment 6 Mike Mattie 2007-01-05 05:13:00 UTC
just noticed that the license in the ebuild is stale. The download page states the license as LGPL.
Comment 7 Mike Mattie 2007-01-05 05:47:39 UTC
Comment on attachment 105515 [details]
another ebuild

># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/libclthreads-1.0.2.ebuild,v 1.4 2006/03/06 14:41:16 flameeyes Exp $
>
>IUSE=""
>
>inherit eutils multilib toolchain-funcs
>
>MY_P="clthreads-${PV}"
>
>S="${WORKDIR}/${MY_P}"
>
>DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
>HOMEPAGE="http://www.kokkinizita.net/linuxaudio/"
>SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2"
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="amd64 ~ppc sparc x86"
>
>src_unpack() {
>	unpack ${A}
>	cd ${S}
>	epatch "${FILESDIR}/${PV}-Makefile.patch"
>}
>
>src_compile() {
>	tc-export CC CXX
>	emake || die "emake failed"
>}
>
>src_install() {
>	make CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
	make CLTHREADS_LIBDIR="/usr/$(get_libdir)" CLTHREADS_INCDIR="/usr/include/" DESTDIR="${D}" install || die "make install failed"
>}
Comment 8 Mike Mattie 2007-01-05 06:36:18 UTC
Created attachment 105527 [details, diff]
revised Makefile patch draft 2 (fixes a bug in stable and the bump)

Both the stable and the rev bump caused jaaa to fail compilation with libclthreads.so unable to resolve clock_gettime.

This revision of the Makefile patch adds -lrt as a dependency fixing the problem.
Comment 9 Alexis Ballier gentoo-dev 2007-04-19 20:46:34 UTC
bumped, thanks ;)