[med-svn] r17296 - in trunk/packages: . edflib edflib/trunk edflib/trunk/debian edflib/trunk/debian/patches edflib/trunk/debian/source

Mathieu Malaterre malat at moszumanska.debian.org
Wed Jun 25 12:58:49 UTC 2014


Author: malat
Date: 2014-06-25 12:58:49 +0000 (Wed, 25 Jun 2014)
New Revision: 17296

Added:
   trunk/packages/edflib/
   trunk/packages/edflib/trunk/
   trunk/packages/edflib/trunk/debian/
   trunk/packages/edflib/trunk/debian/changelog
   trunk/packages/edflib/trunk/debian/compat
   trunk/packages/edflib/trunk/debian/control
   trunk/packages/edflib/trunk/debian/copyright
   trunk/packages/edflib/trunk/debian/patches/
   trunk/packages/edflib/trunk/debian/patches/addcmake.patch
   trunk/packages/edflib/trunk/debian/patches/series
   trunk/packages/edflib/trunk/debian/rules
   trunk/packages/edflib/trunk/debian/source/
   trunk/packages/edflib/trunk/debian/source/format
   trunk/packages/edflib/trunk/debian/symbols
   trunk/packages/edflib/trunk/debian/watch
Log:
prepare edflib

Added: trunk/packages/edflib/trunk/debian/changelog
===================================================================
--- trunk/packages/edflib/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/changelog	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1,5 @@
+edflib (1.10-1) unstable; urgency=low
+
+  * Initial release. (Closes: #)
+
+ -- Mathieu Malaterre <malat at debian.org>  Sun, 27 Oct 2013 07:08:17 +0100

Added: trunk/packages/edflib/trunk/debian/compat
===================================================================
--- trunk/packages/edflib/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/compat	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1 @@
+9

Added: trunk/packages/edflib/trunk/debian/control
===================================================================
--- trunk/packages/edflib/trunk/debian/control	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/control	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1,38 @@
+Source: edflib
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Mathieu Malaterre <malat at debian.org>
+Section: libs
+Priority: optional
+Build-Depends: debhelper (>= 9), cmake
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/edflib/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/edflib/trunk/
+Homepage: http://www.teuniz.net/edflib/
+
+Package: libedf1
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: lightweight convenience library to handle low level BSD sockets in C++ - libs
+ Socket++ library defines a family of C++ classes that can be used more
+ effectively than directly calling the underlying low-level system functions.
+ One distinct advantage of the socket++ is that it has the same interface as
+ that of the iostream so that the users can perform type-safe input output.
+ See your local IOStream library documentation for more information on
+ iostreams.
+ .
+ This package contains the libraries needed to run socket++ applications.
+
+Package: libedf-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libedf1 (= ${binary:Version})
+Description: lightweight convenience library to handle low level BSD sockets in C++ -devel
+ Socket++ library defines a family of C++ classes that can be used more
+ effectively than directly calling the underlying low-level system functions.
+ One distinct advantage of the socket++ is that it has the same interface as
+ that of the iostream so that the users can perform type-safe input output.
+ See your local IOStream library documentation for more information on
+ iostreams.
+ .
+ Headers and shared libraries for socket++.

Added: trunk/packages/edflib/trunk/debian/copyright
===================================================================
--- trunk/packages/edflib/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/copyright	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: edflib
+Upstream-Contact: Teunis van Beelen <teuniz at gmail.com>
+Source: http://www.teuniz.net/edflib/
+
+Files: *
+Copyright: 2009, 2010, 2011, 2012, 2013 Teunis van Beelen
+License: BSD-2
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+     * Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+     * Redistributions in binary form must reproduce the above copyright
+       notice, this list of conditions and the following disclaimer in the
+       documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY Teunis van Beelen ''AS IS'' AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL Teunis van Beelen BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+Files: debian/*
+ CMakeLists.txt
+Copyright: 2014 Mathieu Malaterre <malat at debian.org>
+License: BSD-2
+ Same as above

Added: trunk/packages/edflib/trunk/debian/patches/addcmake.patch
===================================================================
--- trunk/packages/edflib/trunk/debian/patches/addcmake.patch	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/patches/addcmake.patch	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1,60 @@
+Description: add a build system
+Author: Mathieu Malaterre <malat at debian.org>
+
+Index: edflib_110/CMakeLists.txt
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ edflib_110/CMakeLists.txt	2014-06-25 14:50:39.092185710 +0200
+@@ -0,0 +1,52 @@
++cmake_minimum_required(VERSION 2.8)
++# Author: Mathieu Malaterre / BSD (as upstream)
++project(edflib C)
++
++add_definitions(
++-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
++)
++add_library(edf SHARED edflib.c)
++
++set(VERSION_MAJOR 1)
++set(VERSION_MINOR 10)
++set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}")
++
++set(API_VERSION "${VERSION_MAJOR}")
++set(LIBRARY_PROPERTIES
++  VERSION "${VERSION_FULL}"
++  SOVERSION "${API_VERSION}"
++  )
++set_target_properties(edf
++  PROPERTIES
++  ${LIBRARY_PROPERTIES}
++  )
++
++install(FILES edflib.h
++  DESTINATION include
++  )
++
++if(NOT DEFINED EDFLIB_INSTALL_PATH)
++  set(EDFLIB_INSTALL_PATH lib)
++endif()
++install(TARGETS edf
++  LIBRARY DESTINATION ${EDFLIB_INSTALL_PATH}
++  )
++
++#
++add_executable(test_edflib main.c)
++target_link_libraries(test_edflib edf)
++
++add_executable(sine sine.c)
++target_link_libraries(sine edf)
++
++add_executable(testgenerator test_generator.c)
++target_link_libraries(testgenerator edf)
++
++add_executable(sweep sweep.c)
++target_link_libraries(sweep edf)
++
++if(UNIX)
++  target_link_libraries(sine m)
++  target_link_libraries(testgenerator m)
++  target_link_libraries(sweep m)
++endif()

Added: trunk/packages/edflib/trunk/debian/patches/series
===================================================================
--- trunk/packages/edflib/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/patches/series	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1 @@
+addcmake.patch

Added: trunk/packages/edflib/trunk/debian/rules
===================================================================
--- trunk/packages/edflib/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/rules	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+%:
+	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DEDFLIB_INSTALL_PATH=lib/${DEB_HOST_MULTIARCH}
+
+
+SOVERSION=1
+
+pkg_lib = libedf$(SOVERSION)
+pkg_dev = libedf-dev
+
+override_dh_install: 
+	# pkg_lib
+	dh_install -p$(pkg_lib) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lib*.so.* usr/lib/$(DEB_HOST_MULTIARCH)
+	# pkg_dev
+	dh_install -p$(pkg_dev) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lib*.so usr/lib/$(DEB_HOST_MULTIARCH)
+	dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/*
+
+get-orig-source:
+	uscan --verbose --force-download --rename


Property changes on: trunk/packages/edflib/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/edflib/trunk/debian/source/format
===================================================================
--- trunk/packages/edflib/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/source/format	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: trunk/packages/edflib/trunk/debian/symbols
===================================================================
--- trunk/packages/edflib/trunk/debian/symbols	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/symbols	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1,65 @@
+libedf.so.1 libedf1 #MINVER#
+ annotationslist at Base 1.10
+ edf_blockwrite_digital_3byte_samples at Base 1.10
+ edf_blockwrite_digital_samples at Base 1.10
+ edf_blockwrite_digital_short_samples at Base 1.10
+ edf_blockwrite_physical_samples at Base 1.10
+ edf_get_annotation at Base 1.10
+ edf_set_admincode at Base 1.10
+ edf_set_birthdate at Base 1.10
+ edf_set_datarecord_duration at Base 1.10
+ edf_set_digital_maximum at Base 1.10
+ edf_set_digital_minimum at Base 1.10
+ edf_set_equipment at Base 1.10
+ edf_set_gender at Base 1.10
+ edf_set_label at Base 1.10
+ edf_set_number_of_annotation_signals at Base 1.10
+ edf_set_patient_additional at Base 1.10
+ edf_set_patientcode at Base 1.10
+ edf_set_patientname at Base 1.10
+ edf_set_physical_dimension at Base 1.10
+ edf_set_physical_maximum at Base 1.10
+ edf_set_physical_minimum at Base 1.10
+ edf_set_prefilter at Base 1.10
+ edf_set_recording_additional at Base 1.10
+ edf_set_samplefrequency at Base 1.10
+ edf_set_startdatetime at Base 1.10
+ edf_set_technician at Base 1.10
+ edf_set_transducer at Base 1.10
+ edfclose_file at Base 1.10
+ edflib_atof_nonlocalized at Base 1.10
+ edflib_atoi_nonlocalized at Base 1.10
+ edflib_check_edf_file at Base 1.10
+ edflib_fprint_int_number_nonlocalized at Base 1.10
+ edflib_fprint_ll_number_nonlocalized at Base 1.10
+ edflib_get_annotations at Base 1.10
+ edflib_get_handle at Base 1.10
+ edflib_get_long_duration at Base 1.10
+ edflib_get_long_time at Base 1.10
+ edflib_get_number_of_open_files at Base 1.10
+ edflib_is_duration_number at Base 1.10
+ edflib_is_file_used at Base 1.10
+ edflib_is_integer_number at Base 1.10
+ edflib_is_number at Base 1.10
+ edflib_is_onset_number at Base 1.10
+ edflib_latin12utf8 at Base 1.10
+ edflib_latin1_to_ascii at Base 1.10
+ edflib_remove_padding_trailing_spaces at Base 1.10
+ edflib_sprint_int_number_nonlocalized at Base 1.10
+ edflib_sprint_ll_number_nonlocalized at Base 1.10
+ edflib_sprint_number_nonlocalized at Base 1.10
+ edflib_version at Base 1.10
+ edflib_write_edf_header at Base 1.10
+ edfopen_file_readonly at Base 1.10
+ edfopen_file_writeonly at Base 1.10
+ edfread_digital_samples at Base 1.10
+ edfread_physical_samples at Base 1.10
+ edfrewind at Base 1.10
+ edfseek at Base 1.10
+ edftell at Base 1.10
+ edfwrite_annotation_latin1 at Base 1.10
+ edfwrite_annotation_utf8 at Base 1.10
+ edfwrite_digital_samples at Base 1.10
+ edfwrite_digital_short_samples at Base 1.10
+ edfwrite_physical_samples at Base 1.10
+ write_annotationslist at Base 1.10

Added: trunk/packages/edflib/trunk/debian/watch
===================================================================
--- trunk/packages/edflib/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/edflib/trunk/debian/watch	2014-06-25 12:58:49 UTC (rev 17296)
@@ -0,0 +1,3 @@
+version=3
+http://www.teuniz.net/edflib/ \
+edflib_([\d])([\d\.]+)\.tar\.gz




More information about the debian-med-commit mailing list