[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [MoM] dwv



Hi Andreas,

I pushed the control file with the cmake dependency.
From what I see, Orthanc source files are not included in any package. Can I do a wget to download them? Where do I do it? Basically what I need to do is the same as the travis config I have there: https://github.com/ivmartel/dwv-orthanc-plugin/blob/master/.travis.yml.

Best,
Yves

On 13 March 2015 at 09:06, Andreas Tille <andreas@an3as.eu> wrote:
Hi Yves,

On Thu, Mar 12, 2015 at 11:17:17PM +0100, Yves wrote:
> Ok, now the date is fixed and I installed the missing commands.
> git-buildpackage starts to build and launches cmake.

Good.

> But I depend on the Orthanc sources, how can I get them, from its package?
> Should I add this in the rule file?

I have no detailed knowldege about orthanc and hope Sebastien will step
in (here you see how sensingle the communication via the mailing list
actually is).  From my naive point of view it might be sufficient to
add orthanc-dev to Build-Depends.

Apropos Build-Depends:  I realised that you definitely need to apply
this if you did not yet on your local instance:

diff --git a/debian/control b/debian/control
index e762cc9..e635b2f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille@debian.org>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9),
+               cmake
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/dwv-orthanc-plugin/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/dwv-orthanc-plugin/trunk/

If I do so I get the message

-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:13 (message):
  Please set the ORTHANC_DIR variable.

which is probably what you mean by orthanc sources.  It depends what
files cmake is actually checking.  If you know this (what I assume
since you are upstream) you can try

  apt-file search <filename_of_orthanc_code>

to get the package where this file resides in.  In case you have not yet
installed apt-file make sure you run `sudo apt-file update` after
installation.

Hope this helps

      Andreas.

--
http://fam-tille.de


--
To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20150313080652.GB10022@an3as.eu" target="_blank">https://lists.debian.org/[🔎] 20150313080652.GB10022@an3as.eu



Reply to: