open All Channels
seplocked Linux
blankseplocked Eve Linux Client - Gentoo ebuild file and legal question
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

jaynix
Caldari
House of Jhereg
Posted - 2007.11.07 19:25:00 - [1]
 

Hey folks,

If your one of those Gentoo users who loves it because you get to have super control of all your installed files and locations, I'm sure you noticed the installer likes to dump files all over your file system, with no regard for uninstall. Also, I seem to have ran into a few file permission issues on gentoo (Group read/write permissions specifically). So, without further Adue, pasted below is my ebuild file.

Also, as a side question, would anyone know the legality of adding this to my portdir overlay, so anyone can get it? Or who to send an email to ask? Or if a moderator would answer here?


File: eve-000062.ebuild
-----------------------
inherit eutils games

DESCRIPTION="Experimental emerge file for new eve linux client"
HOMEPAGE="http://www.eve-online.com/"
SRC_URI="http://ccp.vo.llnwd.net/o2/linux/eve-${PVR}.tgz"

#note, license unknown, default set.
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ia64"
IUSE="X gtk2 "
RESTRICT="fetch nomirror"

RDEPEND=">=dev-lang/python-2.5
dev-util/glade
sys-apps/dbus
dev-python/pygobject
dev-python/pygtk
net-misc/wget
gnome-base/libglade"

pkg_nofetch() {
elog "Please download the linux client and place it"
elog "in your distfiles directory. Usually located "
elog "at /usr/portage/distfiles"
elog "CCP Downoad Location: "
elog " ${SRC_URI}"
}

src_install() {
# build our structure
dobin usr/bin/eve
dodoc usr/share/doc/eve/*

dodir /usr/lib/eve

insinto /usr/lib/eve
doins usr/lib/eve/*

for x in `find ./usr/lib/eve -mindepth 1 -maxdepth 50 -type d -print | awk 'BEGIN{FS="/lib/"} {print $2 }'`
do
insinto /usr/lib/${x}
doins usr/lib/${x}/*
done

elog "Fixing gentoo file permissions bug.."
chmod +x /usr/lib/eve/cedegaUpdateChecker
chmod g+rw ${INSTALL_PATH}
}

pkg_postinst() {
elog "Starting installer..."
set CEDEGA_UPDATER_PATH=/usr/lib/eve/
exec /usr/bin/eve

elog "Fixing second stage gentoo file permissions bug.."
INSTALL_PATH=`cat /etc/cedega.conf | awk 'BEGIN{FS="="}{print $2}'`
chmod g+rw ${INSTALL_PATH}

elog "Eve should now be installed."
elog "The game can be ran by switching to a non-root user and running"
elog "/usr/bin/eve"

}

pkg_postrm() {
# remove anything extra it might install, we need to wait and find out
INSTALL_PATH=`cat /etc/cedega.conf | awk 'BEGIN{FS="="}{print $2}'`
elog "Removing files from installation path ${INSTALL_PATH}"
rm -rf ${INSTALL_PATH}
rm -rf /usr/lib/eve
}
-

Ravow
Minmatar
Cosmic Encounter
Mayhem.
Posted - 2007.11.07 21:11:00 - [2]
 

Edited by: Ravow on 07/11/2007 21:13:33
Cool, you think the same thing than me and I have the same question than you!

But I am devel a ebuild for auto install a patched Wine + EVE specially repacked in /opt/CCP/EVE. So no more Cedega probleme, work with any video card, even an old 3DFX (less than 1 FPS !)

Second question : Do I have the right to distribute my EVE Live DVD on Bittorent? (Linux+Nvidia drivers + open source drivers + Wine + EVE)

Ravow,

Ticl Er
Freek Inc
Posted - 2007.11.08 18:11:00 - [3]
 

Thanks a lot! :D Sending donation. YARRRR!!

Bentula
Posted - 2007.11.09 10:18:00 - [4]
 

Originally by: Ravow
Edited by: Ravow on 07/11/2007 21:13:33
Cool, you think the same thing than me and I have the same question than you!

But I am devel a ebuild for auto install a patched Wine + EVE specially repacked in /opt/CCP/EVE. So no more Cedega probleme, work with any video card, even an old 3DFX (less than 1 FPS !)

Second question : Do I have the right to distribute my EVE Live DVD on Bittorent? (Linux+Nvidia drivers + open source drivers + Wine + EVE)

Ravow,


Two things here:

1. Thats an awesome idea, good work Very Happy. AFAIK you can distribute Linux+Nvidia drivers + open source drivers + Wine just fine, CCP though prefers that people download the client from official sources. But they dont outright forbid using torrents or third party downloads(just AFAIK again ofc).

2. Be aware that while wine works great atm, future patches are very likely to break it. CCP is changing alot of lowlevel stuff between the new graphics engine and the need for speed initiative atm. It might be a better idea to use the official linux client since that seems to contain a autoupdater for the underlying cedega wrapper, which might be handy for a live DVD so you dont have to release a new one everytime some patch breaks wine.

UberL0rd
Minmatar
Comply Or Die
G00DFELLAS
Posted - 2007.11.09 10:45:00 - [5]
 

Originally by: jaynix

pkg_postinst() {
elog "Starting installer..."
set CEDEGA_UPDATER_PATH=/usr/lib/eve/
exec /usr/bin/eve

elog "Fixing second stage gentoo file permissions bug.."
INSTALL_PATH=`cat /etc/cedega.conf | awk 'BEGIN{FS="="}{print $2}'`
chmod g+rw ${INSTALL_PATH}

elog "Eve should now be installed."
elog "The game can be ran by switching to a non-root user and running"
elog "/usr/bin/eve"

}



Would probably be better in pkg_config so you can do emerge --config eve as you may or may not have X active when running emerge.
Also, have you really tested it? I ask as you use "exec", which means that anything after it won't be run if exec worked ....

CCP Lingorm


C C P
Posted - 2007.11.09 12:07:00 - [6]
 

I see no issue with it and have asked internally for an 'Official response', should have one for you next week hopefully.

bunmastahflex
Fenscore Enterprises
United Corporations Against Macros
Posted - 2007.11.09 15:26:00 - [7]
 

Edited by: bunmastahflex on 09/11/2007 15:26:47
if you guys check bugs.gentoo.org, you will find an existing ebuild. Wink

and yay, uberl0rd is back! Laughing

edit: http://bugs.gentoo.org/show_bug.cgi?id=198274

Qolde
Minmatar
the united
Negative Ten.
Posted - 2007.11.18 06:37:00 - [8]
 

Gentoo AMD64 user here, and happy to hear it works in amd64. My question is does it play the trinity test server patch yet?

UberL0rd
Minmatar
Comply Or Die
G00DFELLAS
Posted - 2007.11.19 07:27:00 - [9]
 

Originally by: bunmastahflex
and yay, uberl0rd is back! Laughing


No I'm not.

CCP Lingorm


C C P
Posted - 2007.11.19 11:18:00 - [10]
 

OK. Official response.

"We have no objection to you adding this to your portdir to make it publicly available to anyone that wishes to use it."

Of course we can not provide support for the ebuild itself but will still support the linux based game.

There you go.


UberL0rd
Minmatar
Comply Or Die
G00DFELLAS
Posted - 2007.11.19 17:42:00 - [11]
 

Originally by: CCP Lingorm
O"We have no objection to you adding this to your portdir to make it publicly available to anyone that wishes to use it."


Hate to pick nits, but does that include the offical Gentoo portage tree?

CCP Lingorm


C C P
Posted - 2007.11.20 11:47:00 - [12]
 

Originally by: UberL0rd
Originally by: CCP Lingorm
"We have no objection to you adding this to your portdir to make it publicly available to anyone that wishes to use it."


Hate to pick nits, but does that include the offical Gentoo portage tree?


If you want to put in there we have no objections (excepting support for the ebuild process itself).

So feel free.

Radioact1ve
BIG
Posted - 2007.11.22 05:07:00 - [13]
 

Cool.

If you ask your humble customer, supporting Gentoo users directly isn't needed anyways - but testing against Gentoo / Sabayon could be worth something...

Nozlug Nekemoyen
Gallente
Under the Wings of Fury
Posted - 2007.12.07 07:52:00 - [14]
 

hey !

i'mů a gentoo user too,
where could i get the eve ebuild ?

does it works since the trinity upgrade ?

thx


Long3130
Minmatar
Priory Of The Lemon
Atlas Alliance
Posted - 2007.12.07 11:31:00 - [15]
 

Edited by: Long3130 on 07/12/2007 11:45:41
I have some troubles with a gentoo.
The install itself passed with no errors, but when I try to run the client I get:

[email protected] ~ $ eve
Multi-user install...
CEDEGA_PATH is /opt/eve
This is the update checker...
Running /opt/eve/.updater/cedega_updater.py
Running... /opt/eve/.ui/runGUI
err:client:receive_fd FD went missing; attempting recovery
wine client perror:0: write/writev: Bad file descriptor

Any idea what that means? Can there be a mixture between older versions of cvscedega/wine with the one in the Eve Linux client install ?

One other thing - is that ebuild still good ?

And how is your performance (anyone using NVIDIA 7600 or better?)?

Popsikle
Minmatar
Caffeine Commodities Company
Posted - 2007.12.07 15:16:00 - [16]
 

Originally by: Long3130
Edited by: Long3130 on 07/12/2007 11:45:41
I have some troubles with a gentoo.
The install itself passed with no errors, but when I try to run the client I get:

[email protected] ~ $ eve
Multi-user install...
CEDEGA_PATH is /opt/eve
This is the update checker...
Running /opt/eve/.updater/cedega_updater.py
Running... /opt/eve/.ui/runGUI
err:client:receive_fd FD went missing; attempting recovery
wine client perror:0: write/writev: Bad file descriptor

Any idea what that means? Can there be a mixture between older versions of cvscedega/wine with the one in the Eve Linux client install ?

One other thing - is that ebuild still good ?

And how is your performance (anyone using NVIDIA 7600 or better?)?


Use ` ps-x ` to find all the isntances of wineserver running and `kill -9 PID` them. The eve client has to be the only running wine server ;/

Erelim Intaki
Posted - 2007.12.08 23:16:00 - [17]
 

Originally by: Popsikle
Originally by: Long3130
Edited by: Long3130 on 07/12/2007 11:45:41
I have some troubles with a gentoo.
The install itself passed with no errors, but when I try to run the client I get:

[email protected] ~ $ eve
Multi-user install...
CEDEGA_PATH is /opt/eve
This is the update checker...
Running /opt/eve/.updater/cedega_updater.py
Running... /opt/eve/.ui/runGUI
err:client:receive_fd FD went missing; attempting recovery
wine client perror:0: write/writev: Bad file descriptor

Any idea what that means? Can there be a mixture between older versions of cvscedega/wine with the one in the Eve Linux client install ?

One other thing - is that ebuild still good ?

And how is your performance (anyone using NVIDIA 7600 or better?)?


Use ` ps-x ` to find all the isntances of wineserver running and `kill -9 PID` them. The eve client has to be the only running wine server ;/


that doesnt work for me, still getting the errors..

Snowcrash Winterheart2
Gallente
Concordia Discors
Posted - 2007.12.09 01:56:00 - [18]
 

Originally by: Popsikle
Originally by: Long3130
Edited by: Long3130 on 07/12/2007 11:45:41
I have some troubles with a gentoo.
The install itself passed with no errors, but when I try to run the client I get:

[email protected] ~ $ eve
Multi-user install...
CEDEGA_PATH is /opt/eve
This is the update checker...
Running /opt/eve/.updater/cedega_updater.py
Running... /opt/eve/.ui/runGUI
err:client:receive_fd FD went missing; attempting recovery
wine client perror:0: write/writev: Bad file descriptor

Any idea what that means? Can there be a mixture between older versions of cvscedega/wine with the one in the Eve Linux client install ?

One other thing - is that ebuild still good ?

And how is your performance (anyone using NVIDIA 7600 or better?)?


Use ` ps-x ` to find all the isntances of wineserver running and `kill -9 PID` them. The eve client has to be the only running wine server ;/


Also look for exe-file as well, it's a smacktard and likes to go zombie.


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only