https://github.com/kikoucalou/darktable-debian-builder
📦 Automated Debian/Ubuntu .deb builder for darktable (master branch)
https://github.com/kikoucalou/darktable-debian-builder
build-script darktable debian linux-mint packaging photo-editing raw-photography ubuntu
Last synced: about 1 month ago
JSON representation
📦 Automated Debian/Ubuntu .deb builder for darktable (master branch)
- Host: GitHub
- URL: https://github.com/kikoucalou/darktable-debian-builder
- Owner: kikoucalou
- License: gpl-3.0
- Created: 2025-08-25T17:59:59.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-09-02T07:11:13.000Z (about 1 month ago)
- Last Synced: 2025-09-02T09:12:53.790Z (about 1 month ago)
- Topics: build-script, darktable, debian, linux-mint, packaging, photo-editing, raw-photography, ubuntu
- Language: Shell
- Homepage: https://github.com/darktable-org/darktable
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🖼️ Build Darktable — Debian/Ubuntu Build & Packaging Script
[](https://www.darktable.org/license/)
This script automates the compilation of `darktable` from the `master` branch and generates a **fully functional, lintian-compliant `.deb` package**, including an optional debug symbols package (`darktable-dbgsym`).
Designed for reproducibility and compliance, it handles common packaging issues: permissions, ownership, man pages, copyright, and more — all without requiring `sudo` at the end.
---
## ✨ Features
- ✅ Compiles `darktable` from `master` using **CMake + Ninja**
- ✅ Generates a clean, installable `.deb` package
- ✅ Includes debug symbols in a separate `darktable-dbgsym` package
- ✅ Fixes file ownership and permissions using `fakeroot`
- ✅ Compresses man pages (`.1` → `.1.gz`)
- ✅ Uses DEP-5 format for the `copyright` file
- ✅ No `sudo` required at the end (builds in `/tmp`)
- ✅ Outputs the `.deb` in the current directory
- ✅ Verbose logging for debugging
- ✅ Compatible with non-POSIX filesystems (e.g. external drives)---
## ⚙️ Prerequisites
Install the required tools:
```bash
sudo apt install git cmake ninja-build dpkg-dev fakeroot