diff --git a/.gitignore b/.gitignore index 458c226d..28be69f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ /CMakeCache.txt -/cbuild/ +/build*/ *.trace # OpenGL apitrace files /debian/tmp/ /debian/*.log diff --git a/.travis.yml b/.travis.yml index 89f36abf..16c5b0da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,9 @@ deploy: secure: DA3tW0My37vbi2t3dZ061281Xm8KSIkeLdFZsQISrut0g1kkbWuBTPxAfvE3B6OE8p47wAclE/wxA1+obMTVkY0oYpd5u+JelYNHxU/oL8Ww0xdUANwKNJ1JD2EZP8nSz7JSvxuGILC6AFPoTjawsG97SXwiTyp7z0PA6nvzraE= skip_cleanup: true file_glob: true - file: ../solvespace_*.deb + file: + - ../solvespace_*.deb + - ../solvespace-dbg_*.deb on: repo: whitequark/solvespace tags: true diff --git a/debian/control b/debian/control index 7875e84a..30e8c972 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,7 @@ Package: solvespace Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} -Description: SolveSpace is a parametric 2d/3d CAD +Description: SolveSpace parametric 2d/3d CAD SolveSpace is a parametric 2d/3d CAD program. Applications include: . * modeling 3d parts — draw with extrudes, revolves, and Boolean @@ -31,6 +31,16 @@ Description: SolveSpace is a parametric 2d/3d CAD * plane and solid geometry — replace hand-solved trigonometry and spreadsheets with a live dimensioned drawing. +Package: solvespace-dbg +Architecture: any +Section: debug +Priority: extra +Depends: solvespace (= ${binary:Version}), ${misc:Depends} +Description: SolveSpace parametric 2d/3d CAD (debugging files) + SolveSpace is a parametric 2d/3d CAD. + . + This package contains the debugging symbols for solvespace. + Package: libslvs1 Section: libs Architecture: any @@ -50,3 +60,14 @@ Description: SolveSpace geometric kernel (development files) kernel of SolveSpace, built as a library. . This package includes development files for libslvs. + +Package: libslvs1-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libslvs1 (= ${binary:Version}), ${misc:Depends} +Description: SolveSpace geometric kernel (debugging files) + SolveSpace is a parametric 2d/3d CAD. libslvs contains the geometric + kernel of SolveSpace, built as a library. + . + This package contains the debugging symbols for libslvs1. diff --git a/debian/rules b/debian/rules index ce59924b..eee3b398 100755 --- a/debian/rules +++ b/debian/rules @@ -16,3 +16,8 @@ include /usr/share/dpkg/default.mk override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + +# create a -dbg package +override_dh_strip: + dh_strip -psolvespace --dbg-package=solvespace-dbg + dh_strip -plibslvs1 --dbg-package=libslvs1-dbg diff --git a/debian/source/options b/debian/source/options index 4f0669c2..3fbd3a47 100644 --- a/debian/source/options +++ b/debian/source/options @@ -1,3 +1,3 @@ tar-ignore = "*.sublime-*" -tar-ignore = "cbuild" +tar-ignore = "build*" tar-ignore = ".git"