Am 26. Februar 2019 14:09:45 MEZ schrieb "Dan Čermák" <dcermak(a)suse.com>om>:
"Axel Braun" <Axel.Braun(a)gmx.de>
> Gesendet: Dienstag, 26. Februar 2019 um 11:38
> Von: "Simon Lees" <sflees(a)suse.de>
> An: opensuse-packaging(a)opensuse.org
> Betreff: Re: [opensuse-packaging] Include source package A in build
> On 26/02/2019 20:59, Michal Kubecek wrote:
> > On Tuesday, 26 February 2019 11:01 Axel Braun wrote:
> >> Hi,
> >> I'm currently trying to build the orthanc-postgresql package.
> >> Problem is that most Orthanc plugins re-use a part of the C++
> >> Orthanc, independently of the
> >> To solve this issue, we can put the source code distribution
> >> "Orthanc-1.5.5.tar.gz" file into a folder called
> >> "ThirdPartyDownloads" located next to the
> >> file.
> >> Providing the source package is IMO not the smartest idea, as
> >> requires maintenance of version for
orthanc not only in hte
> >> package, but as well in each plugin
> >> Can I somehow include the orthanc.src.rpm in the build for the
> > How about building it as a subpackage of orthanc?
> > Michal Kubecek
> Yeah normally you'd create an orthanc-devel which contains all the
> header files installed into /usr/include/, in a normal case the
plus any associated shared libraries in /usr/lib64 should be
enough to build plugins.
Yes, thats what we have already.....
> But this approach makes the assumption that the
> upstream build system works in a sane and normal way which isn't
> the case. Sometimes its quicker to fix the
upstream build files so
> cmake will look for the preinstalled version
fo the source code and
then one in the directory next to it.
Yes, if this is fixed upstream that may be ideal.....
I have just at the moment reveiced an answer from the author:
This could indeed work, but I am not sure about this... while
invoking CMake of the
PostgreSQL plugin, you could try and add the two
following command-line options:
Question remains, how can I add the .src.rpm as build requirement?
Can you put the plugins into a subpackage of Orthanc itself? Then
have the sources available in the buildroot.
> To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
> To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org