Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9690 - xosd/hotkeys ebuilds
Summary: xosd/hotkeys ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-26 00:26 UTC by Justin Jones
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Jones 2002-10-26 00:26:22 UTC
It appears that the hotkeys ebuild is a little broken.

I tried an emerge hotkeys today, and sure enough, it installed xosd-0.7.0 fine.
Then, it installed hotkeys-0.5.4 fine.

However, running hotkeys gives me no xosd support :<

I took a look at config.log and it looked something like this:
/ld: -lxosd not found

Sorry I dont have the config.log handy...

Anyways, I made a quick hack (in hotkeys-0.5.4.ebuild)
Change all this:
--------------------------------------
src_compile() {
	./configure --host=${CHOST} \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--libdir=/usr/lib/xosd-0.7.0 \
		--includedir=/usr/include/xosd-0.7.0 \
		--sysconfdir=/etc || die "./configure failed"
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
	dodoc AUTHORS BUGS ChangeLog COPYING README TODO
}
-----------------------------------------------------

To this:
-----------------------------------------------------
src_compile() {
	./configure --host=${CHOST} \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--with-xosd-lib=/usr/lib/xosd-0.7.0 \
		--with-xosd-inc=/usr/include/xosd-0.7.0 \
		--sysconfdir=/etc || die "./configure failed"
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
	dodoc AUTHORS BUGS ChangeLog COPYING README TODO
}
------------------------------------------------------

Then you need to create a symlink in /usr/lib:
cd /usr/lib
ln -s xosd-0.7.0/libxosd.so libxosd.so.0

I did notice *before* the hack, that a symlink was created in
/usr/lib/xosd-0.7.0, however it doesnt with the hack. (That I could see).

If you try and create it in that directory, it still wont find it.

Sorry if I'm just an idiot. :>
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2002-10-29 06:03:53 UTC
Please try the hotkeys-0.5.5 ebuild.
Comment 2 Patrik Kullman 2002-12-09 07:24:35 UTC
xosd 2.0.1 is out.
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-12-19 12:07:47 UTC
Commited, thanks for finding this!