Skip to content

Add option for building without gui libs#549

Open
fekir wants to merge 1 commit into
linuxmint:masterfrom
fekir:cli-only
Open

Add option for building without gui libs#549
fekir wants to merge 1 commit into
linuxmint:masterfrom
fekir:cli-only

Conversation

@fekir

@fekir fekir commented Jun 8, 2026

Copy link
Copy Markdown

Related to #139

This MR adds an option for building timeshift without graphical libraries with following commands

meson setup build-cli -Dgtk=false && meson compile -C build-cli

I did not edit the packaging options, because I am not sure what is the best approach.
Two different binaries or two binaries with the same name?
If same name, should the packages be conflicting or the GUI version overwrite the command-line-only version? Or should the alternatives mechanism be used?
Are the answers the same for all distributions?
To keep it simple, I would prefer if this MR focuses on only adding the possibility on building timeshift without graphical libraries.

I also tried to minimize the diff, I suppose that by cleaning some things up it might be possible to remove one or two ifdefs, but I preferred to make the smallest and simplest change to ensure there are no regressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant