Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400897 - app-emulation/crossover-office-pro-bin-10.2.0 version bump
Summary: app-emulation/crossover-office-pro-bin-10.2.0 version bump
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 463420
Blocks:
  Show dependency tree
 
Reported: 2012-01-26 12:02 UTC by Vadim Dyadkin
Modified: 2013-12-31 07:51 UTC (History)
2 users (show)

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


Attachments
crossover office 10.2.0 ebuild (crossover-office-pro-bin-10.2.0.ebuild,1.38 KB, text/plain)
2012-01-26 12:03 UTC, Vadim Dyadkin
Details
crossover office 10.2.0 Manifest (Manifest,430 bytes, text/plain)
2012-01-26 12:03 UTC, Vadim Dyadkin
Details
Improved crossover-office-pro-bin-10.2.0.ebuild (crossover-office-pro-bin-10.2.0.ebuild,4.22 KB, text/plain)
2012-02-27 21:23 UTC, Richard Yao (RETIRED)
Details
Corresponding manifest for improved ebuild (Manifest,618 bytes, text/plain)
2012-02-27 21:25 UTC, Richard Yao (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Dyadkin 2012-01-26 12:02:25 UTC
Ebuild for crossover-office-pro-bin-10.2.0

Reproducible: Always
Comment 1 Vadim Dyadkin 2012-01-26 12:03:12 UTC
Created attachment 299953 [details]
crossover office 10.2.0 ebuild
Comment 2 Vadim Dyadkin 2012-01-26 12:03:39 UTC
Created attachment 299955 [details]
crossover office 10.2.0 Manifest
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-27 15:44:51 UTC
what does this have to do with stabilisation?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-27 15:45:19 UTC
Comment on attachment 299955 [details]
crossover office 10.2.0 Manifest

Manifest files are generated automatically during the commit.
Comment 5 Vadim Dyadkin 2012-01-27 16:52:38 UTC
(In reply to comment #3)
> what does this have to do with stabilisation?

Sorry, I just wanted to share the ebuild and did not know how to do it right.
Comment 6 SpanKY gentoo-dev 2012-01-28 21:12:47 UTC
Comment on attachment 299955 [details]
crossover office 10.2.0 Manifest

in this case, Jeroen is mistaken.  we need users to post the Manifest files for these binary packages since devs can't download themselves.
Comment 7 SpanKY gentoo-dev 2012-01-28 21:13:31 UTC
Comment on attachment 299953 [details]
crossover office 10.2.0 ebuild

this ebuild looks like it's full of hacks and commented out code ... does the existing one not work for you ?
Comment 8 Vadim Dyadkin 2012-01-28 21:16:16 UTC
(In reply to comment #6)
> in this case, Jeroen is mistaken.  we need users to post the Manifest files for
> these binary packages since devs can't download themselves.

This is why I had attached the manifest :)
Comment 9 Vadim Dyadkin 2012-01-28 21:27:28 UTC
(In reply to comment #7)
> this ebuild looks like it's full of hacks and commented out code ... does the
> existing one not work for you ?

When I took the existing ebuild for 9.2.0 and changed the version number it did not work. Then I found this hack-ebuild for version 10.0.0 from here

http://code.google.com/p/theebuilds/source/browse/trunk/app-emulation/crossover-office-pro-bin/crossover-office-pro-bin-10.0.0.ebuild?spec=svn208&r=208

changed its version, changed byte shift for tail, tested and posted here. It just works.
Comment 10 SpanKY gentoo-dev 2012-01-28 22:55:45 UTC
i have no idea why the ebuild is hacked up that way.  it'll need to be cleaned up before it can be committed.  i don't have access to the pkg to debug it.
Comment 11 Richard Yao (RETIRED) gentoo-dev 2012-02-27 21:23:28 UTC
Created attachment 303541 [details]
Improved crossover-office-pro-bin-10.2.0.ebuild

I took some time to clean up the posted ebuild.

I transplanted the src_unpack() function from games-arcade/aquaria to resolve the hack that was being used to do extraction. Apparently, both packages use MojoSetup, so this function works for both.

I changed the dependencies based on looking at app-emulation/wine, conversations with the Codeweavers developers in #crossover on freenode and the scripts provided in the zip file.

I took the liberty of resolving bug #346107 by making use of the python.eclass. I also hacked a solution for bug #291629 so that menus are created. I tried using the scripts that are supposed to generate the menus, but they do not work inside the sandbox. The menus themselves probably should be copied from ${FILESDIR}, but I put them in the ebuild itself to avoid attaching a bunch of files that would be hard to review.

This is not quite ready for the portage tree yet, but I think this resolves most of the outstanding issues. vapier, please comment when you can.
Comment 12 Richard Yao (RETIRED) gentoo-dev 2012-02-27 21:25:29 UTC
Created attachment 303543 [details]
Corresponding manifest for improved ebuild

I am also attaching a Manifest.
Comment 13 Richard Yao (RETIRED) gentoo-dev 2012-02-27 21:29:11 UTC
Comment on attachment 303541 [details]
Improved crossover-office-pro-bin-10.2.0.ebuild

I forgot to mention that the "User Documentation" menu option is not accessible. The make_desktop_entry function from eutils.eclass does not appear to be able to handle arguments to the command.
Comment 14 Richard Yao (RETIRED) gentoo-dev 2012-02-27 22:02:27 UTC
As another note, the pkg_postinst() function should be removed from the ebuild. That command didn't work, which is what lead me to implement a hack to install the menus.
Comment 15 Richard Yao (RETIRED) gentoo-dev 2013-03-27 18:24:25 UTC
Crossover Office Professional was discontinued in the name of product consolidation. What was once Crossover Standard, Crossover Office Professional and Crossover games is now simply Crossover as of version 11. In addition, Crossover is now at version 12.1.2, its license terms have changed and version bumps no longer work due to a completely rewritten installer.

I have committed app-emulation/crossover-bin-12.1.2 to the tree to reflect the consolidated product line. That should take care of this bug, unless someone really wants version 10.2.0.