Summary: | www-client/opera-9.60_pre2440: drop unneeded sed scripts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
opera-gentoo1.patch
opera.ebuild.diff |
Description
Pacho Ramos
![]() Created attachment 167017 [details, diff]
opera-gentoo1.patch
This is the new patch
To replace current opera-gentoo.patch Created attachment 167019 [details]
opera.ebuild.diff
This is the diff against current ebuild
Thanks. I applied the patches to www-client/opera-9.60_pre2440 and the latest www-client/opera-9.60_pre2444. I am still slightly worried about the `test -e /etc/gentoo-release' check in the install.sh patch, though. It isn't ROOT aware and since it's a Gentoo specific patch, it shouldn't be needed anyway (there's no way upstream would adopt it as is anyway). (In reply to comment #5) > I applied the patches to www-client/opera-9.60_pre2440 and the latest > www-client/opera-9.60_pre2444. I am still slightly worried about the `test -e > /etc/gentoo-release' check in the install.sh patch, though. It isn't ROOT aware sorry but, what do you mean by "root aware" (english is not my main language, if you could explain it me a bit more would be nice) Thanks > and since it's a Gentoo specific patch, it shouldn't be needed anyway (there's > no way upstream would adopt it as is anyway). > What should be done for being accepted by upstream? (In reply to comment #6) > sorry but, what do you mean by "root aware" (english is not my main language, > if you could explain it me a bit more would be nice) Thanks It isn't aware of the ROOT variable that defines where to retrieve information from. From make.conf(5): ROOT = [path] Use ROOT to specify the target root filesystem to be used for merging packages or ebuilds. All RDEPEND and PDEPEND will be installed into ROOT while all DEPEND will be still be installed into /. Typically, you should set this setting in the environment rather than in /etc/make.conf itself. Itβs commonly used for creating new build images. Make sure you use an absolute path. Defaults to /. > > and since it's a Gentoo specific patch, it shouldn't be needed anyway (there's > > no way upstream would adopt it as is anyway). > > > > What should be done for being accepted by upstream? Installing the icons should probably be an option to the install.sh script. If it really were an OS based decision, then the script should depend on something like sys-apps/lsb-release, but then that would be Opera Inc.'s choice. Since the gentoo function was added anyway, checking for /etc/gentoo-release should be redundant. I haven't had any complaints so far, so I guess this bug is fixed. Thank you very much for the work! OK, thanks for explanation :-) |