First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 109619
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Remy Blank <remy.blank@pobox.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nwmouse-20050216.085035.ebuild ebuild for nwmouse text/plain Remy Blank 2005-10-17 13:33 0000 1.31 KB Details
nwmouse-0.1.ebuild games-rpg/nwmouse/nwmouse-0.1.ebuild text/plain Chris Gianelloni (RETIRED) 2005-12-19 13:55 0000 1.31 KB Details
nwmouse-0.1.ebuild nwmouse-0.1.ebuild text/plain Ryan Hill 2006-04-07 22:24 0000 1.46 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109619 depends on: 106789 Show dependency tree
Bug 109619 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-17 13:32 0000
nwmouse enables hardware mouse cursors for Neverwinter Nights.

This ebuild needs a small patch to the script /opt/nwn/nwn, provided by
games-rpg/nwn-data, to add the following lines before the call to nwmain:

if [[ -f ./nwmouse.so ]]; then
    export XCURSOR_PATH="$(pwd)"
    export XCURSOR_THEME=nwmouse
    export LD_PRELOAD=./nwmouse.so:$LD_PRELOAD
fi

I'll provide a patch in bug 106789.

------- Comment #1 From Remy Blank 2005-10-17 13:33:36 0000 -------
Created an attachment (id=70875) [details]
ebuild for nwmouse

------- Comment #2 From Chris Gianelloni (RETIRED) 2005-12-06 15:23:03 0000 -------
Just curious, but what does this ebuild need elfutils for?

------- Comment #3 From Chris Gianelloni (RETIRED) 2005-12-06 15:37:15 0000 -------
Bah... the stinking thing uses 32-bit ASM so can't compile on amd64... I think
I
need to make a binary version of this linked against the proper 32-bit
emul-libs
for amd64 support.

------- Comment #4 From Remy Blank 2005-12-07 00:26:39 0000 -------
It really *is* a dirty hack, as it patches the nwmain binary on load. I think
it
uses elfutils to find the proper locations to patch. OTOH, there's probably no
other way to install hooks into a closed binary that didn't define hooks in the
first place.

I have no AMD64, so I can't help there. Feel free to reject the ebuild if you
think it is too limited/dirty/hackish.

------- Comment #5 From Chris Gianelloni (RETIRED) 2005-12-07 05:06:12 0000 -------
Actually, I got it working fine on AMD64 by compiling it manually on x86.  I
think that instead of always building it from source, I'm just going to provide
a pre-compiled libelf.so.1 and the libdisasm.so, along with nwmouse.so, as I got
it to work on my AMD64 box fine.

------- Comment #6 From Chris Gianelloni (RETIRED) 2005-12-19 13:55:43 0000 -------
Created an attachment (id=75140) [details]
games-rpg/nwmouse/nwmouse-0.1.ebuild

Try out this ebuild instead... see if it works for you... if it does, I'll
probably commit one like it instead, since it works on both x86 and amd64.

------- Comment #7 From Ryan Hill 2006-04-07 22:24:48 0000 -------
Created an attachment (id=84194) [details]
nwmouse-0.1.ebuild

updated w/ mod-x dependencies.

------- Comment #8 From Chris Gianelloni (RETIRED) 2006-06-28 07:39:45 0000 -------
OK.  I need to compile up a new version of the nwmouse files so they don't have
the QA warnings.  I'm going to guess that this actually works for people, since
I haven't heard anyone complain about it being broken.

------- Comment #9 From Chris Gianelloni (RETIRED) 2006-07-26 12:58:39 0000 -------
I've added this to portage now... enjoy...

First Last Prev Next    No search results available      Search page      Enter new bug