[opensuse-packaging] linking package dependency to another project
Hi. I am trying to create package lvtk in my home:rwman project. This package needs lv2-devel >= 1.10.0, which is availabe only from multimedia:libs project. I tried to create aggregate package "lv2" in my home project, but this does not help. When i run "osc build" locally, I am still getting error: unresolvable: nothing provides lv2-devel >= 1.10.0 What am i doing wrong with aggregates? I currently solved this problem by running "osc meta -e prj home:rwman" and adding following line in corresponding repository xml node: <path project="multimedia:libs" repository="openSUSE_13.2"/> But if i understand correctly - this will make all my home project packages prefer multimedia:libs project when looking for dependencies. I am looking for a way to make only one my package (lvtk) use only one package (lv2) from multimedia:libs project. I there such a way? Thanks in advance! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Donnerstag, 22. Oktober 2015, 02:01:11 CEST wrote Roman Evstifeev:
Hi. I am trying to create package lvtk in my home:rwman project. This package needs lv2-devel >= 1.10.0, which is availabe only from multimedia:libs project.
I tried to create aggregate package "lv2" in my home project, but this does not help. When i run "osc build" locally, I am still getting error: unresolvable: nothing provides lv2-devel >= 1.10.0
There is no binary copied: osc ls home:rwman lv2 -b
What am i doing wrong with aggregates?
osc cat home:rwman lv2 _aggregate <aggregatelist> <aggregate project="multimedia:libs"> <package>lv2-devel</package> </aggregate> </aggregatelist> <package> is a filter for package container, not for the binary.
I currently solved this problem by running "osc meta -e prj home:rwman" and adding following line in corresponding repository xml node: <path project="multimedia:libs" repository="openSUSE_13.2"/>
anyway the better way instead of the aggregate.
But if i understand correctly - this will make all my home project packages prefer multimedia:libs project when looking for dependencies.
prefer over standard distribution.
I am looking for a way to make only one my package (lvtk) use only one package (lv2) from multimedia:libs project. I there such a way?
well, yes, the aggregate with a proper filter. But it won't track dependencies. So it can easily break later on. Maybe it is better to rebuild the package in your project by branching it? That way you can be sure it does not depend on another package from multimedia:libs. Or just crash at runtime due to incompatible change in some otehr package. -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Roman Evstifeev