[med-svn] r17053 - in trunk/packages/imagevis3d/tags: . 3.1.0-1/debian 3.1.0-1/debian/patches

Mathieu Malaterre malat at moszumanska.debian.org
Fri Jun 6 12:53:56 UTC 2014


Author: malat
Date: 2014-06-06 12:53:56 +0000 (Fri, 06 Jun 2014)
New Revision: 17053

Added:
   trunk/packages/imagevis3d/tags/3.1.0-1/
   trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/kfreebsd2.patch
   trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/series
Removed:
   trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/kfreebsd2.patch
   trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/linkjpeg.patch
   trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/series
   trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/systemjpeg.patch
Modified:
   trunk/packages/imagevis3d/tags/3.1.0-1/debian/imagevis3d.desktop
Log:
[svn-buildpackage] Tagging imagevis3d 3.1.0-1

Modified: trunk/packages/imagevis3d/tags/3.1.0-1/debian/imagevis3d.desktop
===================================================================
--- trunk/packages/imagevis3d/trunk/debian/imagevis3d.desktop	2014-06-06 12:29:13 UTC (rev 17051)
+++ trunk/packages/imagevis3d/tags/3.1.0-1/debian/imagevis3d.desktop	2014-06-06 12:53:56 UTC (rev 17053)
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Type=Application
 Terminal=false
-Version=2.0.1
+Version=3.1.0
 Name=ImageVis3D
 GenericName=Data Viewer
 Comment=Desktop volume rendering application for large data

Deleted: trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/kfreebsd2.patch
===================================================================
--- trunk/packages/imagevis3d/trunk/debian/patches/kfreebsd2.patch	2014-06-06 12:29:13 UTC (rev 17051)
+++ trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/kfreebsd2.patch	2014-06-06 12:53:56 UTC (rev 17053)
@@ -1,34 +0,0 @@
-Description: Allow compilation on kfreebsd
- Accroding to 
- http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fadvise.html
- 
- "The posix_fadvise() function is part of the Advisory Information option 
- and need not be provided on all implementations."
- 
- Please guard usage by POSIX_FADV_WILLNEED, not by POSIX version.
-Forwarded: not-needed
-Author: Petr Salinger <Petr.Salinger at seznam.cz>
-Bug: http://bugs.debian.org/697015
-
-Index: imagevis3d-3.0.0/Tuvok/Basics/LargeFileFD.cpp
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/Basics/LargeFileFD.cpp	2013-09-05 16:59:27.478641175 +0200
-+++ imagevis3d-3.0.0/Tuvok/Basics/LargeFileFD.cpp	2013-09-05 16:59:42.038641165 +0200
-@@ -75,7 +75,7 @@
-   if(lseek(this->fd, offset+this->header_size, SEEK_SET) < 0) {
-     throw std::ios_base::failure("could not seek to correct file position.");
-   }
--#if _POSIX_C_SOURCE >= 200112L
-+#ifdef POSIX_FADV_WILLNEED
-   posix_fadvise(this->fd, offset+this->header_size, len, POSIX_FADV_WILLNEED);
- #endif
- 
-@@ -126,7 +126,7 @@
- void LargeFileFD::enqueue(uint64_t offset, size_t len)
- {
-   if(len == 0) { return; }
--#if _POSIX_C_SOURCE >= 200112L
-+#ifdef POSIX_FADV_WILLNEED
-   int adv = posix_fadvise(this->fd, offset, len, POSIX_FADV_WILLNEED);
-   // this should basically always succeed.  the only way it can fail is if we
-   // gave it a bogus FD or something.  if that's the case, that points to

Copied: trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/kfreebsd2.patch (from rev 17052, trunk/packages/imagevis3d/trunk/debian/patches/kfreebsd2.patch)
===================================================================
--- trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/kfreebsd2.patch	                        (rev 0)
+++ trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/kfreebsd2.patch	2014-06-06 12:53:56 UTC (rev 17053)
@@ -0,0 +1,34 @@
+Description: Allow compilation on kfreebsd
+ According to 
+ http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fadvise.html
+ 
+ "The posix_fadvise() function is part of the Advisory Information option 
+ and need not be provided on all implementations."
+ 
+ Please guard usage by POSIX_FADV_WILLNEED, not by POSIX version.
+Forwarded: not-needed
+Author: Petr Salinger <Petr.Salinger at seznam.cz>
+Bug: http://bugs.debian.org/697015
+
+Index: imagevis3d-3.0.0/Tuvok/Basics/LargeFileFD.cpp
+===================================================================
+--- imagevis3d-3.0.0.orig/Tuvok/Basics/LargeFileFD.cpp	2013-09-05 16:59:27.478641175 +0200
++++ imagevis3d-3.0.0/Tuvok/Basics/LargeFileFD.cpp	2013-09-05 16:59:42.038641165 +0200
+@@ -75,7 +75,7 @@
+   if(lseek(this->fd, offset+this->header_size, SEEK_SET) < 0) {
+     throw std::ios_base::failure("could not seek to correct file position.");
+   }
+-#if _POSIX_C_SOURCE >= 200112L
++#ifdef POSIX_FADV_WILLNEED
+   posix_fadvise(this->fd, offset+this->header_size, len, POSIX_FADV_WILLNEED);
+ #endif
+ 
+@@ -126,7 +126,7 @@
+ void LargeFileFD::enqueue(uint64_t offset, size_t len)
+ {
+   if(len == 0) { return; }
+-#if _POSIX_C_SOURCE >= 200112L
++#ifdef POSIX_FADV_WILLNEED
+   int adv = posix_fadvise(this->fd, offset, len, POSIX_FADV_WILLNEED);
+   // this should basically always succeed.  the only way it can fail is if we
+   // gave it a bogus FD or something.  if that's the case, that points to

Deleted: trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/linkjpeg.patch
===================================================================
--- trunk/packages/imagevis3d/trunk/debian/patches/linkjpeg.patch	2014-06-06 12:29:13 UTC (rev 17051)
+++ trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/linkjpeg.patch	2014-06-06 12:53:56 UTC (rev 17053)
@@ -1,56 +0,0 @@
-Description: Add missing -ljpeg link
-Author: Mathieu Malaterre <malat at debian.org>
-Forwarded: no
-
-Index: imagevis3d-3.0.0/Tuvok/tvk.pro
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/tvk.pro	2013-09-05 17:23:13.410640225 +0200
-+++ imagevis3d-3.0.0/Tuvok/tvk.pro	2013-09-05 17:23:13.442640226 +0200
-@@ -18,7 +18,7 @@
- QT               += opengl
- QMAKE_LIBDIR     += IO/expressions
- LIBS              = -ltuvokexpr
--unix:LIBS        += -lz -lpthread
-+unix:LIBS        += -lz -lpthread -ljpeg
- unix:LIBS        += -llua5.2
- win32:LIBS       += shlwapi.lib
- unix:QMAKE_CXXFLAGS += -std=c++0x
-Index: imagevis3d-3.0.0/Tuvok/test/render/render.pro
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/test/render/render.pro	2013-09-05 17:24:19.006640181 +0200
-+++ imagevis3d-3.0.0/Tuvok/test/render/render.pro	2013-09-05 17:24:24.186640178 +0200
-@@ -13,7 +13,7 @@
- macx:QMAKE_LIBDIR+= /usr/X11R6/lib
- QMAKE_LIBDIR     += ../../Build ../../IO/expressions
- QT               += opengl
--LIBS             += -lTuvok -ltuvokexpr -lz -llua5.2 -lbz2 -lGLEW -ltiff
-+LIBS             += -lTuvok -ltuvokexpr -lz -llua5.2 -lbz2 -lGLEW -ltiff -ljpeg
- unix:LIBS        += -lGL -lX11 -llua5.2
- unix:!macx:LIBS  += -lGLU
- # Try to link to GLU statically.
-Index: imagevis3d-3.0.0/Tuvok/test/shaders/shaders.pro
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/test/shaders/shaders.pro	2013-09-05 17:25:27.914640135 +0200
-+++ imagevis3d-3.0.0/Tuvok/test/shaders/shaders.pro	2013-09-05 17:25:32.162640132 +0200
-@@ -12,7 +12,7 @@
- macx:QMAKE_LIBDIR+= /usr/X11R6/lib
- QMAKE_LIBDIR     += ../../Build ../../IO/expressions
- QT               += opengl
--LIBS             += -lTuvok -ltuvokexpr -lz -llua5.2 -ltiff -lbz2 -lGLEW
-+LIBS             += -lTuvok -ltuvokexpr -lz -llua5.2 -ltiff -lbz2 -lGLEW -ljpeg
- unix:LIBS        += -lGL -lX11
- unix:QMAKE_CXXFLAGS += -std=c++0x
- unix:QMAKE_CXXFLAGS += -fno-strict-aliasing -g
-Index: imagevis3d-3.0.0/Tuvok/test/context/context.pro
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/test/context/context.pro	2013-09-05 17:26:14.198640104 +0200
-+++ imagevis3d-3.0.0/Tuvok/test/context/context.pro	2013-09-05 17:26:18.058640103 +0200
-@@ -12,7 +12,7 @@
- macx:QMAKE_LIBDIR+= /usr/X11R6/lib
- QMAKE_LIBDIR     += ../../Build ../../IO/expressions
- QT               += opengl
--LIBS             += -lTuvok -ltuvokexpr -lz -llua5.2 -lGLEW -ltiff -lbz2
-+LIBS             += -lTuvok -ltuvokexpr -lz -llua5.2 -lGLEW -ltiff -lbz2 -ljpeg
- unix:LIBS        += -lGL -lX11
- unix:!macx:LIBS  += -lGLU
- # Try to link to GLU statically.

Deleted: trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/series
===================================================================
--- trunk/packages/imagevis3d/trunk/debian/patches/series	2014-06-06 12:29:13 UTC (rev 17051)
+++ trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/series	2014-06-06 12:53:56 UTC (rev 17053)
@@ -1,13 +0,0 @@
-convenientlibs.patch
-systemglew.patch
-systemzlib.patch
-#systemjpeg.patch
-systembzip2.patch
-systemtiff.patch
-kfreebsd.patch
-fixcomp.patch
-systemlua.patch
-#linkjpeg.patch
-typos.patch
-fopenmp.patch
-thirdparty.patch

Copied: trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/series (from rev 17052, trunk/packages/imagevis3d/trunk/debian/patches/series)
===================================================================
--- trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/series	                        (rev 0)
+++ trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/series	2014-06-06 12:53:56 UTC (rev 17053)
@@ -0,0 +1,11 @@
+convenientlibs.patch
+systemglew.patch
+systemzlib.patch
+systembzip2.patch
+systemtiff.patch
+kfreebsd.patch
+fixcomp.patch
+systemlua.patch
+typos.patch
+fopenmp.patch
+thirdparty.patch

Deleted: trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/systemjpeg.patch
===================================================================
--- trunk/packages/imagevis3d/trunk/debian/patches/systemjpeg.patch	2014-06-06 12:29:13 UTC (rev 17051)
+++ trunk/packages/imagevis3d/tags/3.1.0-1/debian/patches/systemjpeg.patch	2014-06-06 12:53:56 UTC (rev 17053)
@@ -1,70 +0,0 @@
-Description: Allow compilation with system installed jpeg lib
-Forwarded: not-needed
-Author: Mathieu Malaterre <malat at debian.org>
-
-Index: imagevis3d-3.0.0/Tuvok/IO/TuvokJPEG.cpp
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/IO/TuvokJPEG.cpp	2012-10-24 20:18:35.000000000 +0200
-+++ imagevis3d-3.0.0/Tuvok/IO/TuvokJPEG.cpp	2012-10-28 09:40:33.073511694 +0100
-@@ -39,7 +39,7 @@
- #include <fstream>
- #include <iterator>
- #include <vector>
--#include "3rdParty/jpeglib/jpeglib.h"
-+#include "jpeglib.h"
- #include "TuvokJPEG.h"
- #include "Controller/Controller.h"
- 
-@@ -105,7 +105,7 @@
-   void set_data(const std::vector<char>& mem) {
-     this->data = mem;
-     this->jinfo.src->bytes_in_buffer = this->data.size();
--    this->jinfo.src->next_input_byte = &(this->data.at(0));
-+    this->jinfo.src->next_input_byte = (const JOCTET*)&(this->data.at(0));
-     if(jpeg_read_header(&(this->jinfo), TRUE) != JPEG_HEADER_OK) {
-       T_ERROR("Could not read JPEG header, bailing...");
-       return;
-Index: imagevis3d-3.0.0/ImageVis3D/UI/QDataRadioButton.cpp
-===================================================================
---- imagevis3d-3.0.0.orig/ImageVis3D/UI/QDataRadioButton.cpp	2012-10-24 20:15:41.000000000 +0200
-+++ imagevis3d-3.0.0/ImageVis3D/UI/QDataRadioButton.cpp	2012-10-28 09:40:33.073511694 +0100
-@@ -39,7 +39,7 @@
- #include <QtGui/QMouseEvent>
- #include "../Tuvok/IO/TuvokJPEG.h"
- #include "../Tuvok/IO/DICOM/DICOMParser.h"
--#include "../Tuvok/IO/3rdParty/jpeglib/jconfig.h"
-+#include "jconfig.h"
- 
- QDataRadioButton::QDataRadioButton(std::shared_ptr<FileStackInfo> stack,
-                                    QWidget *parent) :
-@@ -103,7 +103,7 @@
-                       (m_stackInfo->m_Elements[i])->GetOffsetToData());
-     const char *jpg_data = jpg.data();
-     // JPEG library automagically downsamples the data.
--    m_stackInfo->m_iAllocated = BITS_IN_JSAMPLE;
-+    m_stackInfo->m_iAllocated = 8; //BITS_IN_JSAMPLE;
-     vData.resize(jpg.size());
-     std::copy(jpg_data, jpg_data + jpg.size(), &vData[0]);
-   } else {
-Index: imagevis3d-3.0.0/Tuvok/IO/IOManager.cpp
-===================================================================
---- imagevis3d-3.0.0.orig/Tuvok/IO/IOManager.cpp	2012-10-24 20:18:35.000000000 +0200
-+++ imagevis3d-3.0.0/Tuvok/IO/IOManager.cpp	2012-10-28 09:40:33.073511694 +0100
-@@ -44,7 +44,7 @@
- #include <sstream>
- #include <map>
- #include <memory>
--#include "3rdParty/jpeglib/jconfig.h"
-+#include "jconfig.h"
- 
- #include "IOManager.h"
- 
-@@ -355,7 +355,7 @@
- 
-         const char *jpeg_data = jpg.data();
-         copy(jpeg_data, jpeg_data + jpg.size(), &vData[0]);
--        pDICOMStack->m_iAllocated = BITS_IN_JSAMPLE;
-+        pDICOMStack->m_iAllocated = 8; //BITS_IN_JSAMPLE;
-       } else {
-         pDICOMStack->m_Elements[j]->GetData(vData);
-         MESSAGE("Creating intermediate file %s\n%u%%",




More information about the debian-med-commit mailing list