[opensuse-packaging] A .desktop file uses icon from another package
Hi! I have a question. I want to a package which heavily uses icons from another one. But the OBS system does not allow to built it: it says "icon file not installed" even though the dependency on a package that contains the necessary icon is included. What can I do to successfully install this package? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
I want to a package which heavily uses icons from another
one. But the OBS system does not allow to built it
I'd try marking the files as %ghost in the %files section. The files need then not be packaged but they have to be present at the time the package is created. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tuesday 22 March 2011 08:37:02 Philipp Thomas wrote:
I want to a package which heavily uses icons from another
one. But the OBS system does not allow to built it
I'd try marking the files as %ghost in the %files section. The files need then not be packaged but they have to be present at the time the package is created.
But where I would get the files if they are included only in another package?.. Possibly just copy from the system tree to the root tree?.. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tue, 22 Mar 2011 09:40:20 +0300, Ilya Chernykh <neptunia@mail.ru> wrote:
But where I would get the files if they are included only in another package?..
1) Put the package the icons are used from in BuildRequires: 2) Put that package also into Requires: The first will make sure the icon files are present at build time, the second will insure they're present in the system. If you don't want that other package to also be installed, Don't put it into Requires:, copy the icon files to your %buildroot and include them normally in your %files section. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Dnia 2011-03-22, wto o godzinie 05:31 +0300, Ilya Chernykh pisze:
Hi!
I have a question. I want to a package which heavily uses icons from another one. But the OBS system does not allow to built it: it says "icon file not installed" even though the dependency on a package that contains the necessary icon is included. What can I do to successfully install this package?
Where you have the dependency? In "Requires" or "BuildRequires"? I think that it should be in both. In "BuildRequires" to provide the icon during install, to avoid error and In "Requires" to provide the icon the system, where package is installed. -- Adam "etamPL" Mizerski
On Tue, Mar 22, 2011 at 7:33 AM, Adam Mizerski <adam@mizerski.pl> wrote:
Dnia 2011-03-22, wto o godzinie 05:31 +0300, Ilya Chernykh pisze:
Hi!
I have a question. I want to a package which heavily uses icons from another one. But the OBS system does not allow to built it: it says "icon file not installed" even though the dependency on a package that contains the necessary icon is included. What can I do to successfully install this package?
Where you have the dependency? In "Requires" or "BuildRequires"? I think that it should be in both. In "BuildRequires" to provide the icon during install, to avoid error and In "Requires" to provide the icon the system, where package is installed.
The best way should be that one in my opinion... include the file with the icons as 'BuildRequires' and maybe insert a comment like: # WARNING: package foobar as BR to share icons BuildRequires: foobar Anyone coming across such would easilly know what is going on. NM
-- Adam "etamPL" Mizerski
-- Nelson Marques /* As cicatrizes lembram-nos de onde estivemos, mas não ditam para onde vamos */ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 03/22/2011 07:22 PM, Nelson Marques wrote:
Dnia 2011-03-22, wto o godzinie 05:31 +0300, Ilya Chernykh pisze:
Hi!
I have a question. I want to a package which heavily uses icons from another one. But the OBS system does not allow to built it: it says "icon file not installed" even though the dependency on a package that contains the necessary icon is included. What can I do to successfully install this package? Where you have the dependency? In "Requires" or "BuildRequires"? I think that it should be in both. In "BuildRequires" to provide the icon during install, to avoid error and In "Requires" to provide the icon the system, where package is installed. The best way should be that one in my opinion... include the file with
On Tue, Mar 22, 2011 at 7:33 AM, Adam Mizerski<adam@mizerski.pl> wrote: the icons as 'BuildRequires' and maybe insert a comment like:
# WARNING: package foobar as BR to share icons BuildRequires: foobar
Anyone coming across such would easilly know what is going on.
NM
Rpm should pick up the requirement for the other icon package during build, if it doesn't you need to put in a Requires: for it. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, Mar 23, 2011 at 12:30 PM, Dave Plater <davejplater@gmail.com> wrote:
Rpm should pick up the requirement for the other icon package during build, if it doesn't you need to put in a Requires: for it.
I don't think it will - if you read on rpm's algorithm for autoreqprov[1], it only considers binaries and their dependencies, but data dependencies are another matter. Unless there's undocumented intelligence somewhere. [1] http://www.rpm.org/max-rpm/s1-rpm-depend-auto-depend.html -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (6)
-
Adam Mizerski
-
Claudio Freire
-
Dave Plater
-
Ilya Chernykh
-
Nelson Marques
-
Philipp Thomas