Opera SLKBUILD for 13.37

Here you can post links to your contributed packages.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Opera SLKBUILD for 13.37

Post by Shador » 23. Dec 2011, 23:01

It's not completely wrong how you built that module. But it can cause problems for certain packages/ special cases like opera.
Image

ruario
Posts: 88
Joined: 23. Dec 2010, 08:41

Re: Opera SLKBUILD for 13.37

Post by ruario » 1. Feb 2012, 13:57

ruario wrote:
JRD wrote:/usr/doc/opera should not be a symlink to /usr/doc/opera-version you should choose one)
Opera itself currently expects to find /usr/share/doc/opera/LICENSE. The path is hardcoded (yes, yes it shouldn't be but it is). Slackware/Salix already provides the "/usr/share/doc -> ../doc/", so a symlink from "opera -> opera-version" in doc makes this path valid.
Ok, I have realised that I wasn't entirely correct about this. Opera actually reads /usr/share/opera/defaults/license.txt which happens to be a symlink back to the doc directory. This symlink gets broken when the doc directory is moved to comply with the Slackware doc layout.

Anyway, I have now worked out a better solution to this. I move the actual file to /usr/share/opera/defaults/license.txt and make LICENSE in the doc directory be a symlink back to it. I have already fixed this in the SLKBUILD, so when a new release of Opera comes out it will have this fixed.

User avatar
JRD
Salix Warrior
Posts: 949
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Opera SLKBUILD for 13.37

Post by JRD » 1. Feb 2012, 14:29

Thanks for improving your package :)
Image

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Opera SLKBUILD for 13.37

Post by thenktor » 1. Feb 2012, 14:54

Thumbs up ruario! 8-)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

Post Reply