Summary: | app-arch/innounp - Inno Setup installer package extractor (Windows executable) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jared B. <nitro> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | chewi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://innounp.sourceforge.net/ | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=411511 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
app-arch/innounp-0.36.ebuild
app-arch/innounp-0.36.ebuild |
Description
Jared B.
2011-06-12 03:10:33 UTC
As for this particular 'proof-of-concept' ebuild, the only think I'm not happy about is where the .exe is installed. I copied it to /usr/lib/wine/fakedlls, as that seemed like the best place where it would fit in (and it should always exist as wine is an RDEPEND), but it still doesn't seem quite appropriate. Any suggestions on how this should be handled would be appreciated. I think something like '/usr/share/wine/bin' would be appropriate, but nothing like that exists righ now. Created attachment 276727 [details]
app-arch/innounp-0.36.ebuild
I've only just been pointed to this bug but I have previously used innounp in an actual ebuild for bug #363719. Running Wine within an ebuild is probably even more controversial than packaging innounp but I gave a solid set of reasons to justify it in that bug report. As to whether innounp should be packaged separately or just bundled together with the ebuilds that use it, the former wouldn't be a bad idea. I have already used it for Settlers 2, we're currently looking at Rise of the Triad and I plan to use it for FreeSpace 2. I think there are plenty more games on GOG that have Linux ports of some kind. Created attachment 276801 [details]
app-arch/innounp-0.36.ebuild
Here's some improvements, primarily moving the unrar stuff to DEPEND (not RDEPEND) and adding app-arch/unrar-gpl.
I've realised that having this as a separate package is beneficial because it means that the ebuilds that use it can have a proper SRC_URI and don't need to use EAPI 4. games.eclass doesn't officially support EAPI 4 yet.
Thanks for the feedback, James. Couple questions for you: 1. Since we're both working on related ebuilds (and thanks for mentioning freepsace 2 - I'll hold off on that :-) ), I think it'd be helpful to standardize somewhat on how we use innounp. From your last comments in bug 363719 it looks like you favor the separate package approach, and I'm leaning toward this as well. Shall we go with that? 2. If so, are there any other improvements to the innounp ebuild that would make it more suitable to use by other ebuilds? I see you're using some sandbox features, which I haven't messed with before. Should any of that be applied here as well? Also have another question specifically about your usage of it in the settlers2-data ebuild, so I'll post in that bug report. Comment on attachment 276727 [details]
app-arch/innounp-0.36.ebuild
obsoleting in favor of James' revision
> 1. From your last comments in bug > 363719 it looks like you favor the separate package approach, and I'm leaning > toward this as well. Shall we go with that? Yes please. :) > 2. If so, are there any other improvements to the innounp ebuild that would > make it more suitable to use by other ebuilds? I see you're using some sandbox > features, which I haven't messed with before. Should any of that be applied > here as well? I gave this some thought myself. The sandbox variable only applies to Portage. It prevents Wine from writing outside the build environment. It wouldn't make sense to set it in the wrapper. I also add "2> /dev/null" because under Portage, Wine makes a lot of noise about the display and soundcard being unavailable. You won't see this noise outside of Portage unless something is wrong so I don't always want to hide that output. A small eclass would actually be ideal here. I have doubts about whether the existing developers would want to take responsibility for something this unusual but I have long considered becoming a developer myself. I asked the Java team about it recently but they're a little busy with GSoC right now. I've since decided to learn to drive first before my wife beats me up. ;) FYI, I just added my first package using innounp to bug 181539. James, I had a slightly different experience than you when calling innounp, so I made two changes to what you had done in your settlers2-data ebuild: 1. I still can't replicate the noexec problem you mentioned, so I skipped copying the file to workdir to save time during the unpack process (which, for the kingpin ebuild I was working on, is already way long). 2. The WINEARCH thing didn't work for me. I can't remember the error message now, but wine would barf if I tried to set it to win32. I removed that option and it worked just fine, so I left it out. I'm on an amd64 system, so it should work for other amd64 users, and I'd also expect it to work for x86 users as well. Just wanted to give you a heads up. FYI, a native Linux extractor for Inno Setup installers now exists, and is already in portage: app-arch/innoextract. I'm moving all of my ebuilds that were previously using innounp over to innoextract, so this innounp ebuild really isn't needed anymore. It can be left here for reference if anyone wants to play around with it, but I don't think it has much use at this point. (In reply to comment #0) > Thoughts? definitely no. Wine is highly experimental even though you might be able to play skyrim via this. Maintaining a package that might break with _every_ version bump of wine is simply impossible. (otherwise you might have to introduce slotting of wine, but even that does not solve all issues) Most bugs related to that package will probably be RESOLVED CANTFIX or RESOLVED UPSTREAM, cause they are simply wine-related instability problems. There is no real support from wine regarding any application that we might add. Neither will the developers of that application give meaningful support, cause we don't run it as it was supposed to. Wine is not like a library that carefully extends it's API knowing that applications rely on it. It's just some random trial and error where you might be lucky enough to hit a nice spot. That might be sufficient for many users (including me in some cases), but it should never be considered for the tree. I agree with Julian - wine-related stuff should be installed through wine itself(by hands or using winetricks). Perhaps you should offer innoupnp installer to be added into winetricks(if it has not already done yet). Closing as WONTFIX |