You are not logged in.

#1 2008-08-11 11:11:26

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

all browsers should provide=(webbrowser)

all browsers (firefox, opera, etc) should "provide=(webbrowser)" inside PKGBUILD.

vlad

Offline

#2 2008-08-11 11:15:25

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: all browsers should provide=(webbrowser)

why?

Offline

#3 2008-08-11 11:56:20

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: all browsers should provide=(webbrowser)

I think what Donvla had in mind is  writing a PKGBUILD for a program that needs a webbrowser but not a special one.

Offline

#4 2008-08-11 12:22:58

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: all browsers should provide=(webbrowser)

You should write a feature request.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2008-08-11 12:34:12

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: all browsers should provide=(webbrowser)

done

Offline

#6 2008-08-11 12:42:40

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: all browsers should provide=(webbrowser)

In my opinion, it is always a good idea to also give the link of bug report / feature request here :
http://bugs.archlinux.org/task/11181
Also maybe it would help if you could propose a list of packages that you think should have it.

Edit : And thinking about that, shouldn't there be a distinction between text and graphical browser?

Last edited by shining (2008-08-11 12:43:49)


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2008-08-11 12:49:25

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: all browsers should provide=(webbrowser)

What package needs it?

I don't think it'll do much good. Next we'll have provides=(texteditor imageviewer kitchensink musicplayer)

Offline

#8 2008-08-11 12:59:17

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: all browsers should provide=(webbrowser)

Hm I think emacs would be the only package with such a provides-line smile

Offline

#9 2008-08-11 13:12:21

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: all browsers should provide=(webbrowser)

iphitus wrote:

What package needs it?

I don't think it'll do much good. Next we'll have provides=(texteditor imageviewer kitchensink musicplayer)

i stumbled upon this when i wanted to add an optdepends to penguintv (this may hold for other rss-reader too). it needs sometimes a browser, but not mandatory.
however, as i think about that, it's not a good idea at all. just think about debian and the cluttered alternatives system. as iphitus said, in the end one can set this for every application. 
though maybe there are some people who might find this useful. (that's why debian has this alternatives system...)

vlad

Last edited by DonVla (2008-08-11 13:25:09)

Offline

#10 2008-08-11 20:00:29

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: all browsers should provide=(webbrowser)

DonVla wrote:
iphitus wrote:

What package needs it?

I don't think it'll do much good. Next we'll have provides=(texteditor imageviewer kitchensink musicplayer)

i stumbled upon this when i wanted to add an optdepends to penguintv (this may hold for other rss-reader too). it needs sometimes a browser, but not mandatory.

vlad

Looks like a use for that optdepends array (which is purely for the user).

Offline

#11 2008-08-11 20:38:53

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: all browsers should provide=(webbrowser)

vogt wrote:
DonVla wrote:
iphitus wrote:

What package needs it?

I don't think it'll do much good. Next we'll have provides=(texteditor imageviewer kitchensink musicplayer)

i stumbled upon this when i wanted to add an optdepends to penguintv (this may hold for other rss-reader too). it needs sometimes a browser, but not mandatory.

Looks like a use for that optdepends array (which is purely for the user).

Even though optdepends are currently not installable, and that there is no plan to add this functionality to pacman, it could be implemented in another script or a wrapper like yaourt. So we don't want to have this limitation.
In other words, you are supposed to specify real packages or provisions in optdepends.
So if you put webbrowser, there should at least be a few packages providing it.
For instance, this would help consistency and avoid other different names in the future (like webbrowser vs x-webbrowser or whatever).


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB