Skip to content

Conversation

@HenryCai-st
Copy link

To reproduce:

docker build -t IMAGENAME .
docker run --rm -it --mount type=bind,source="$(pwd)",target=/mnt/cpack-exercise IMAGENAME

Inside Docker:

cd /mnt/cpack-exercise
mkdir build && cd build
cmake ..
make package

To install:

apt install ./cpackexample_0.1.0_amd64.deb

and test with:

cpackexample

The output should look like:

Let's fight with CMake, Docker, and some dependencies!

Solve Poisson problem with FEM using deal.II
FEM results available in `solution.vtk`. Try visualizing with Paraview.

Modify a flat set using boost container
Elements in s1: 1       2       3       4

Inspect the current directory using boost filesystem
"." is a directory containing:
    "CMakeCache.txt"
    "CMakeFiles"
    "CPackConfig.cmake"
    "CPackSourceConfig.cmake"
    "Makefile"
    "_CPack_Packages"
    "cmake_install.cmake"
    "cpackexample"
    "cpackexample-0.1.0-Linux.tar.gz"
    "cpackexample_0.1.0_amd64.deb"
    "install_manifest.txt"
    "libcpackexamplelib.a"
    "solution.vtk"

Initial lintian output
Screenshot 2025-12-10 025709
Fix 2 of them with writing longer description and stripping the file (was required anyway)
Final output
Screenshot 2025-12-10 030700

add solution of cpack exercise, plus more description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant