Ebuild for crossover-office-pro-bin-10.2.0 Reproducible: Always
Created attachment 299953 [details] crossover office 10.2.0 ebuild
Created attachment 299955 [details] crossover office 10.2.0 Manifest
what does this have to do with stabilisation?
Comment on attachment 299955 [details] crossover office 10.2.0 Manifest Manifest files are generated automatically during the commit.
(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 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 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 ?
(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 :)
(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.
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.
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.
Created attachment 303543 [details] Corresponding manifest for improved ebuild I am also attaching a Manifest.
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.
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.
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.