Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] CrossOver Games Linux 9.1.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Luckmarine
n00b
n00b


Joined: 08 Jan 2010
Posts: 62
Location: Great Britain

PostPosted: Sat Jul 31, 2010 9:08 am    Post subject: [Solved] CrossOver Games Linux 9.1.0 Reply with quote

I've been looking for an ebuild for this package without success, however i did find this document https://bugs.gentoo.org/attachment.cgi?id=150333&action=view can it be used to create a build for package? I have managed to install the CrossOver Linux Professional 9.0.1 as there is support for this package version.

Thanks
Luckmarine


Last edited by Luckmarine on Sat Jul 31, 2010 6:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43009
Location: 56N 3W

PostPosted: Sat Jul 31, 2010 11:27 am    Post subject: Reply with quote

Luckmarine,

Your link is an ebuild that portage can use. You need to learn to use your local overlay to use out of tree ebuilds like that one.
Start reading here

Post back with any questions.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Luckmarine
n00b
n00b


Joined: 08 Jan 2010
Posts: 62
Location: Great Britain

PostPosted: Sat Jul 31, 2010 12:51 pm    Post subject: Reply with quote

i have made the directory /usr/local/portage/app-emulation/crossover-games-bin which contains the ebuild in initial post and named it crossover-games-bin.ebuild i have also synced emerge and eix-sync after adding the line PORTDIR_OVERLAY="/usr/local/portage/" to the bottom of /etc/make.conf. eix hasnt noticed this ebuild. any idea what i have missed ?


thanks
Luckmarine
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43009
Location: 56N 3W

PostPosted: Sat Jul 31, 2010 1:00 pm    Post subject: Reply with quote

Luckmarine,

The ebuild says
Code:
KEYWORDS="-* ~amd64 ~x86"
so if you have a stable system, its keyword masked for you.
You would need to add app-emulation/crossover-games-bin to your /etc/portage/package.keywords
If you have never used /etc/portage/package.keywords, the file will not exist.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Luckmarine
n00b
n00b


Joined: 08 Jan 2010
Posts: 62
Location: Great Britain

PostPosted: Sat Jul 31, 2010 1:14 pm    Post subject: Reply with quote

eix still dosnt pick up the ebuild but emerge seems to although it has given errors :-/

Code:

# emerge crossover-games-bin

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies -
Invalid ebuild name: /usr/local/portage/app-emulation/crossover-games-bin/crossover-games-bin.ebuild
... done!

emerge: there are no ebuilds to satisfy "crossover-games-bin".


thanks
Luckmarine
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10211
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Jul 31, 2010 1:28 pm    Post subject: Reply with quote

The version number of the package needs to be appended to the ebuild file name, separated from the name proper by a dash, which would result in something like
Code:
crossover-games-bin-1.2.3.ebuild
After that change, you need to re-manifest the ebuild. You did manifest it the first time, right? If not, from the overlay directory, you need to issue the following command:
Code:
ebuild crossover-games-bin-1.2.3.ebuild manifest
Of course, you need to edit this command to include the real version number and not the example I provided. Clear? :)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Luckmarine
n00b
n00b


Joined: 08 Jan 2010
Posts: 62
Location: Great Britain

PostPosted: Sat Jul 31, 2010 1:48 pm    Post subject: Reply with quote

7.2 fails but 7.0.0 works
Code:

Luckman-Box crossover-games # ebuild crossover-games-7.0.0.ebuild manifest
>>> Downloading 'http://distfiles.gentoo.org/distfiles/install-crossover-games-7.0.0.sh'
--2010-07-31 14:44:17--  http://distfiles.gentoo.org/distfiles/install-crossover-games-7.0.0.sh
Resolving distfiles.gentoo.org... 140.211.166.134, 216.165.129.135, 199.6.1.174, ...
Connecting to distfiles.gentoo.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-07-31 14:44:17 ERROR 404: Not Found.

>>> Downloading 'http://media.codeweavers.com/pub/crossover/cxgames/demo/install-crossover-games-7.0.0.sh'
--2010-07-31 14:44:17--  http://media.codeweavers.com/pub/crossover/cxgames/demo/install-crossover-games-7.0.0.sh
Resolving media.codeweavers.com... 93.188.128.33
Connecting to media.codeweavers.com|93.188.128.33|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24604519 (23M) [text/x-sh]
Saving to: `/usr/portage/distfiles/install-crossover-games-7.0.0.sh'

100%[==================================================================================================================>] 24,604,519  2.83M/s   in 8.5s   

2010-07-31 14:44:26 (2.77 MB/s) - `/usr/portage/distfiles/install-crossover-games-7.0.0.sh' saved [24604519/24604519]

>>> Creating Manifest for /usr/local/portage/app-emulation/crossover-games



the current version is 9.1 is it hard to make an ebuild file what things will i need to understand and are there any resourses you can direct me to :-)
link to vrs 7.0.0. https://bugs.gentoo.org/attachment.cgi?id=150333
thanks
Luckmarine
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43009
Location: 56N 3W

PostPosted: Sat Jul 31, 2010 2:08 pm    Post subject: Reply with quote

Luckmarine,

Code:
crossover-games-bin.ebuild
is not a legal ebuild name as it has no version information.
The ebuild says
Code:
SRC_URI="http://media.codeweavers.com/pub/crossover/cxgames/demo/install-crossover-games-${PV}.sh"


Portage will populate P and V from the ebuild name and use that to fetch the sources. Looking at http://media.codeweavers.com/pub/crossover/cxgames/demo/ shows that install-crossover-games-demo-9.1.0.sh is the latest version, so the ebuild needs to be called something ending in -9.1.0.ebuild

This means you can version bump simple ebuilds just my copying them and changing the version.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Luckmarine
n00b
n00b


Joined: 08 Jan 2010
Posts: 62
Location: Great Britain

PostPosted: Sat Jul 31, 2010 2:36 pm    Post subject: Reply with quote

after version 7 they changed the naming convention so ive edited the link
Code:

SRC_URI="http://media.codeweavers.com/pub/crossover/cxgames/demo/install-crossover-games-${PV}.sh"


i synced eix it saw the package tryied emergeing it and i have this error

Code:

Luckman-Box bin # emerge crossover-games-demo-bin
--- Invalid atom in /etc/portage/package.keywords: app-emulation/crossover-games-demo-bin-9.1.0

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy "app-emulation/crossover-games-demo-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/crossover-games-demo-bin-9.1.0 (masked by: ~amd64 keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.



my /etc/portage/package.keywords
Code:

app-emulation/vmware-vix
~app-emulation/vmware-modules-1.0.0.24
=app-emulation/vmware-server-2.0.2.203138-r1
app-emulation/vmware-server ~amd64
app-emulation/vmware-server-modules ~amd64
app-emulation/crossover-games-demo-bin-9.1.0 ~amd64


do i need to refresh something ?

thanks
Luckmarine
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43009
Location: 56N 3W

PostPosted: Sat Jul 31, 2010 2:42 pm    Post subject: Reply with quote

Luckmarine,


If you want to give a version in /etc/portage/package.keywords, you also need to give a comparison operator at the start of the entry.
Code:
=app-emulation/vmware-server-2.0.2.203138-r1
is ok, it unmask the exact version given.

Code:
app-emulation/crossover-games-demo-bin-9.1.0 ~amd64
is missing the =, >= or whatever.
I would remove the version, so all versions of the package are unmasked, or you may need to change the entry if you test different versions
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Luckmarine
n00b
n00b


Joined: 08 Jan 2010
Posts: 62
Location: Great Britain

PostPosted: Sat Jul 31, 2010 6:29 pm    Post subject: Reply with quote

Works fine =)


Cheers all for the help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum