[opensuse-packaging] "Supplements: packageand" documentation?
The xine package contains a "Supplements: packageand(libpulse0:libxine1)" line that I think I saw documented somewhere before. But right now Google doesn't helps me... Any idea about where that documentation (packageand(), locale(), etc.) is? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Freitag, 10. Dezember 2010 schrieb Cristian Morales Vega:
The xine package contains a
"Supplements: packageand(libpulse0:libxine1)"
All I could find was http://lists.opensuse.org/zypp-commit/2007-04/msg00133.html Greetings, Stephn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
2010/12/10 Stephan Kulow
Am Freitag, 10. Dezember 2010 schrieb Cristian Morales Vega:
The xine package contains a
"Supplements: packageand(libpulse0:libxine1)"
All I could find was http://lists.opensuse.org/zypp-commit/2007-04/msg00133.html
I have been trying to look in the code. But it's big, somehow it parses packageand(x:y) dependencies without a single packageand string in the code (but a test case generator), the old SVN repo is not available anymore and the GIT history doesn't go back to the days where this was added :-( -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
2010/12/11 Cristian Morales Vega
2010/12/10 Stephan Kulow
: Am Freitag, 10. Dezember 2010 schrieb Cristian Morales Vega:
The xine package contains a
"Supplements: packageand(libpulse0:libxine1)"
All I could find was http://lists.opensuse.org/zypp-commit/2007-04/msg00133.html
I have been trying to look in the code. But it's big, somehow it parses packageand(x:y) dependencies without a single packageand string in the code (but a test case generator), the old SVN repo is not
...because the parsing code is in libsatsolver. So, the list of
special dependencies is:
- "Conflicts: otherproviders(<package>)"
No idea what it is supposed to do...
- "Provides: locale([<package>:]<lang1>[;<langN>...])"
ZYpp recommends the installation if any of the languages specified is
a system language (probably looks at /var/lib/zypp/RequestedLocales).
Optionally a package can be specified, then the supplements will have
as additional condition that the package is installed.
- "Provides: <package>:<file>"
To split a package. No idea about what paper <file> has here... could
it be any string and it would work anyway?
- "Supplements: modalias(
Cristian Morales Vega wrote:
2010/12/11 Cristian Morales Vega
: 2010/12/10 Stephan Kulow
: Am Freitag, 10. Dezember 2010 schrieb Cristian Morales Vega:
The xine package contains a
"Supplements: packageand(libpulse0:libxine1)"
All I could find was http://lists.opensuse.org/zypp-commit/2007-04/msg00133.html
I have been trying to look in the code. But it's big, somehow it parses packageand(x:y) dependencies without a single packageand string in the code (but a test case generator), the old SVN repo is not
...because the parsing code is in libsatsolver. So, the list of special dependencies is:
- "Conflicts: otherproviders(<package>)" No idea what it is supposed to do...
Workaround for missing self-conflicts in rpm I suppose. Makes sure that only one instance of a package that provides a certain feature is installed. Used for branding packages AFAICS although postfix/sendmail/exim used to be the prime example for such a feature.
- "Provides: <package>:<file>" To split a package. No idea about what paper <file> has here... could it be any string and it would work anyway?
Suppose you have package foo that contains lots of little utility programs. Then you need to have one of them in a separate package bar to e.g. avoid excessive package dependencies. On distro upgrade you'd only get foo updated and lose the tool you've just split off. Therefore you can put e.g. "Provides: foo:/usr/bin/bar" in bar. When updating from the old, combined foo package zypp now notices the split-provides in bar, sees that the installed foo contains /usr/bin/bar and installs both foo and bar.
- "Supplements: filesystem(<string>)" Not sure what it is supposed to do. But I suppose "string" is a file
Related to bug 263821. Yast uses that to find the tools for the specified filesystem. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Fri, Dec 10, 2010 at 01:14:19PM +0100, Cristian Morales Vega wrote:
The xine package contains a
"Supplements: packageand(libpulse0:libxine1)"
line that I think I saw documented somewhere before. But right now Google doesn't helps me...
Any idea about where that documentation (packageand(), locale(), etc.) is?
Good question. I can't even find a page anymore where package splits are described (i.e. how "split provides" work). Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-12-10 14:10:14 +0100, Michael Schroeder wrote:
On Fri, Dec 10, 2010 at 01:14:19PM +0100, Cristian Morales Vega wrote:
The xine package contains a
"Supplements: packageand(libpulse0:libxine1)"
line that I think I saw documented somewhere before. But right now Google doesn't helps me...
Any idea about where that documentation (packageand(), locale(), etc.) is?
Good question. I can't even find a page anymore where package splits are described (i.e. how "split provides" work).
the new wiki search is just useless. i used the old wiki to search for the page and grabbed the link from the migration box: http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation hth darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/10/2010 03:13 PM, Marcus Rueckert wrote:
On 2010-12-10 14:10:14 +0100, Michael Schroeder wrote:
On Fri, Dec 10, 2010 at 01:14:19PM +0100, Cristian Morales Vega wrote:
The xine package contains a
"Supplements: packageand(libpulse0:libxine1)"
line that I think I saw documented somewhere before. But right now Google doesn't helps me...
Any idea about where that documentation (packageand(), locale(), etc.) is?
Good question. I can't even find a page anymore where package splits are described (i.e. how "split provides" work).
the new wiki search is just useless. i used the old wiki to search for the page and grabbed the link from the migration box: http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation
hth
darix
I studied that page last night, surely "pac:/file/from/pac" in the section Splitting off a sub-package" is automatically provided by rpm and actually entering it in the spec file will cause a double provides? Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Fri, Dec 10, 2010 at 03:59:33PM +0200, Dave Plater wrote:
I studied that page last night, surely "pac:/file/from/pac" in the section Splitting off a sub-package" is automatically provided by rpm and actually entering it in the spec file will cause a double provides?
No, rpm doesn't add that "pac:" prefix. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 12/10/2010 04:06 PM, Michael Schroeder wrote:
On Fri, Dec 10, 2010 at 03:59:33PM +0200, Dave Plater wrote:
I studied that page last night, surely "pac:/file/from/pac" in the section Splitting off a sub-package" is automatically provided by rpm and actually entering it in the spec file will cause a double provides?
No, rpm doesn't add that "pac:" prefix.
Cheers, Michael.
What I actually meant was rpm adds the provides for the contents of the package ie libfoo.so.x which satisfies the other packages requires or what is meant by pac? Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Friday, December 10, 2010 07:13:17 am Marcus Rueckert wrote:
the new wiki search is just useless.
Well, you seems to be hit by effects of your expectations that it is useless. The new wiki search on "split provides" gives: http://en.opensuse.org/openSUSE:Upgrade dependencies explanation as a second hit. There is line of links below search field: Content pages Multimedia Help and Project pages Everything Advanced They can be used to search other stuff that is not in default search, which is limited to Main and Portal namespaces, in order not to throw all stories about bugs and problems on unsuspecting first time visitors. Documentation for different subprojects is in "Help and Project pages", but if you are not sure then use "Everything" and the result will not change. For people logged in the wiki there is option to use menu Actions, item Preferences and set their personal search preferences to whatever part of the wiki they want, or simply check "Search in all namespaces". It is a bit surprising that after so long time since new search in the wiki is operational, one can miss help links that are meant to change default search. Specially that no one is asked to enter search term again, just click a link, and see a new set of answers. Even Google gives us options to change default search, to get more relevant results, and that works the same way, just click the Images and you will get all images associated with search term. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-12-10 23:46:48 -0600, Rajko M. wrote:
On Friday, December 10, 2010 07:13:17 am Marcus Rueckert wrote:
the new wiki search is just useless.
Well, you seems to be hit by effects of your expectations that it is useless.
The new wiki search on "split provides" gives: http://en.opensuse.org/openSUSE:Upgrade dependencies explanation as a second hit.
http://en.opensuse.org/index.php?title=Special%3ASearch&redirs=0&search=package+split+provide+obsolete&fulltext=Search&ns0=1&ns102=1 nothing. i have to click on yet another link to get information. while on old-en i just get my information. no further clicks. and the box above the search results is a collection with links that have no explaination. nothing on the research page tells me: "the current search was limited to blahblah please click here to get results from other areas" the message i, and mostlikely many other users get: [[[ There were no results matching the query. Create the page "Package split provide obsolete" on this wiki! ]]] For me a page like http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation is a content page for me. so given that is the default space, it should have been found. and for some weird reason google/old-en doesnt require me to do a 2nd click to get the informations i want: 2nd hit here http://www.google.com/search?client=opera&rls=en&q=opensuse+package+split+provide+obsolete&sourceid=opera&ie=utf-8&oe=utf-8 3rd hit here http://old-en.opensuse.org/Special:Search?search=package+split+provide+obsolete&go.x=0&go.y=0 it just works. maybe it is time to rethink what we consider content pages and make things easier to find with less clicks. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Dec 11, 10 07:10:25 +0100, Marcus Rueckert wrote:
On 2010-12-10 23:46:48 -0600, Rajko M. wrote:
On Friday, December 10, 2010 07:13:17 am Marcus Rueckert wrote:
the new wiki search is just useless.
Well, you seems to be hit by effects of your expectations that it is useless.
The new wiki search on "split provides" gives: http://en.opensuse.org/openSUSE:Upgrade dependencies explanation as a second hit.
nothing.
i have to click on yet another link to get information. while on old-en i just get my information. no further clicks.
This is the most common pitfall with our wiki: The openSUSE wiki does not search the openSUSE: namespace. To make an article findable, you must create another page under the Portal: namespace for it. No other options. This feature helps the search engine in case of too many results, but gets in our way, in case of too little results. The old wiki just had a search engine which was good with very little articles, and bad wit too many. cheers, JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) SuSE. Supporting Linux since 1992. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Saturday, December 11, 2010 12:10:25 am Marcus Rueckert wrote:
http://en.opensuse.org/index.php?title=Special%3ASearch&redirs=0&search=pac kage+split+provide+obsolete&fulltext=Search&ns0=1&ns102=1
Try: http://en.opensuse.org/MediaWiki:GoogleSearch?cx=013285077636246033335:2wluvjftece&cof=FORID:10&ie=UTF-8&q=package+split+provide+obsolete&sa=Search&siteurl=en.opensuse.org%252FMediaWiki%253AGoogleSearch Unlike general Google search that puts tr.opensuse.org ahead of en.opensuse.org custom search above gives relevant article right on the top. I was looking where to add text that will explain limits of default search and/or above custom search, but I could not find right article. I'll see on the wiki list. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (8)
-
Cristian Morales Vega
-
Dave Plater
-
Juergen Weigert
-
Ludwig Nussel
-
Marcus Rueckert
-
Michael Schroeder
-
Rajko M.
-
Stephan Kulow