Julien Y. Dutheil pushed to branch master at Debian Med / libbpp-phyl-omics


Commits:
30462412 by Julien Y. Dutheil at 2018-04-07T22:22:13+02:00
Symbols for amd64 arch only.

Also restored CMakeList.txt file.
Updated dates in copyright file.

- - - - -


4 changed files:

- CMakeLists.txt
- debian/changelog
- debian/copyright
- debian/rules


Changes:

=====================================
CMakeLists.txt
=====================================
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ cmake_minimum_required (VERSION 2.8.11)
 project (bpp-phyl-omics CXX)
 
 # Compile options
-#set (CMAKE_CXX_FLAGS "-std=c++11 -g")
+set (CMAKE_CXX_FLAGS "-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion")
 
 IF(NOT CMAKE_BUILD_TYPE)
   SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
 libbpp-phyl-omics (2.4.0-2) UNRELEASED; urgency=medium
 
+  [ Julien Dutheil ]
+  * Provide symbols file only for amd64
+  
+  [ Andreas Tille ]
   * Provide full license text of CeCILL license
 
  -- Andreas Tille <ti...@debian.org>  Fri, 06 Apr 2018 07:54:46 +0200


=====================================
debian/copyright
=====================================
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Upstream-Contact: Julien Yann Dutheil 
<julien.duth...@univ-montp2.fr>
 Source: https://github.com/BioPP/bpp-phyl-omics/
 
 Files: *
-Copyright: 2010-2016 Julien Yann Dutheil <julien.duth...@univ-montp2.fr>
+Copyright: 2010-2018 Julien Yann Dutheil <julien.duth...@univ-montp2.fr>
                      Bio++ Development Team
 License: CeCILL
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,23 @@ CMAKE_EXTRA_FLAGS += -DBUILD_TESTING=OFF
 %:
        dh $@
 
+override_dh_makeshlibs:
+ifeq ($(DEB_BUILD_ARCH),amd64)
+       echo "Architecture amd64 is the only one where a symbols file is 
provided"
+else
+       echo "Symbols file for architecture $(DEB_BUILD_ARCH) is not provided"
+       mkdir -p debian/hidesymbols
+       mv debian/*.symbols debian/hidesymbols
+endif
+       dh_makeshlibs
+ifeq ($(DEB_BUILD_ARCH),amd64)
+       echo "dh_makeshlibs for architecture amd64 including symbols done"
+else
+       # restore original debian/ dir to enable building twice in a row
+       mv debian/hidesymbols/*.symbols debian
+       rmdir debian/hidesymbols
+endif
+
 override_dh_install:
        dh_install
        d-shlibmove --commit \



View it on GitLab: 
https://salsa.debian.org/med-team/libbpp-phyl-omics/commit/304624126151f5cecd0b43f5928a70aab0dd09c1

---
View it on GitLab: 
https://salsa.debian.org/med-team/libbpp-phyl-omics/commit/304624126151f5cecd0b43f5928a70aab0dd09c1
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to