Build Debian packages with debug symbols.

pull/4/head
whitequark 2016-01-12 10:39:11 +00:00
parent 28a6e04f33
commit 5e5ef3be3e
5 changed files with 32 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
/CMakeCache.txt /CMakeCache.txt
/cbuild/ /build*/
*.trace # OpenGL apitrace files *.trace # OpenGL apitrace files
/debian/tmp/ /debian/tmp/
/debian/*.log /debian/*.log

View File

@ -17,7 +17,9 @@ deploy:
secure: DA3tW0My37vbi2t3dZ061281Xm8KSIkeLdFZsQISrut0g1kkbWuBTPxAfvE3B6OE8p47wAclE/wxA1+obMTVkY0oYpd5u+JelYNHxU/oL8Ww0xdUANwKNJ1JD2EZP8nSz7JSvxuGILC6AFPoTjawsG97SXwiTyp7z0PA6nvzraE= secure: DA3tW0My37vbi2t3dZ061281Xm8KSIkeLdFZsQISrut0g1kkbWuBTPxAfvE3B6OE8p47wAclE/wxA1+obMTVkY0oYpd5u+JelYNHxU/oL8Ww0xdUANwKNJ1JD2EZP8nSz7JSvxuGILC6AFPoTjawsG97SXwiTyp7z0PA6nvzraE=
skip_cleanup: true skip_cleanup: true
file_glob: true file_glob: true
file: ../solvespace_*.deb file:
- ../solvespace_*.deb
- ../solvespace-dbg_*.deb
on: on:
repo: whitequark/solvespace repo: whitequark/solvespace
tags: true tags: true

23
debian/control vendored
View File

@ -14,7 +14,7 @@ Package: solvespace
Architecture: any Architecture: any
Multi-Arch: foreign Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends} 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: SolveSpace is a parametric 2d/3d CAD program. Applications include:
. .
* modeling 3d parts — draw with extrudes, revolves, and Boolean * 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 * plane and solid geometry — replace hand-solved trigonometry and
spreadsheets with a live dimensioned drawing. 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 Package: libslvs1
Section: libs Section: libs
Architecture: any Architecture: any
@ -50,3 +60,14 @@ Description: SolveSpace geometric kernel (development files)
kernel of SolveSpace, built as a library. kernel of SolveSpace, built as a library.
. .
This package includes development files for libslvs. 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.

5
debian/rules vendored
View File

@ -16,3 +16,8 @@ include /usr/share/dpkg/default.mk
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- \ dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -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

View File

@ -1,3 +1,3 @@
tar-ignore = "*.sublime-*" tar-ignore = "*.sublime-*"
tar-ignore = "cbuild" tar-ignore = "build*"
tar-ignore = ".git" tar-ignore = ".git"