Skip to content

Makefile.am: Ensure gen-lorem-text test supports out of tree builds - #205

Merged
tillkamppeter merged 1 commit into
OpenPrinting:masterfrom
tom--pollard:tpollard/fix-out-of-tree-build
Aug 7, 2026
Merged

Makefile.am: Ensure gen-lorem-text test supports out of tree builds#205
tillkamppeter merged 1 commit into
OpenPrinting:masterfrom
tom--pollard:tpollard/fix-out-of-tree-build

Conversation

@tom--pollard

@tom--pollard tom--pollard commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

For out of tree builds, the target directory needs to exist for the generator to write the file to, fixes:

./gen-lorem-text > cupsfilters/test_files/test_text_lorem.txt
/bin/sh: line 1: cupsfilters/test_files/test_text_lorem.txt: No such file or directory

This issue was introduced in #119

Discovered during the upgrade to 2.2.0 in the freedesktop-sdk project:

https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/33665

For out of tree builds, the target directory needs to exist for the
generator to write the file to, fixes:

```
./gen-lorem-text > cupsfilters/test_files/test_text_lorem.txt
/bin/sh: line 1: cupsfilters/test_files/test_text_lorem.txt: No such file or directory
```
@tillkamppeter
tillkamppeter merged commit e6dccfc into OpenPrinting:master Aug 7, 2026
15 checks passed
github-actions Bot pushed a commit to castrojo/freedesktop-sdk that referenced this pull request Aug 8, 2026
libjxl added as a default option via:

OpenPrinting/libcupsfilters@26bf7c695bb7
680fd5540003e8c902d2d98912f7

Required qpdf dependency replaced with pdfio via:

OpenPrinting/libcupsfilters@74fc5c360f21
48f7a57e302238585798eeb8423d

Patch to support out of tree builds submitted upstream:

OpenPrinting/libcupsfilters#205
github-actions Bot pushed a commit to castrojo/freedesktop-sdk that referenced this pull request Aug 11, 2026
libjxl added as a default option via:

OpenPrinting/libcupsfilters@26bf7c695bb7
680fd5540003e8c902d2d98912f7

Required qpdf dependency replaced with pdfio via:

OpenPrinting/libcupsfilters@74fc5c360f21
48f7a57e302238585798eeb8423d

Patch to support out of tree builds submitted upstream:

OpenPrinting/libcupsfilters#205
(cherry picked from commit df61f29)
github-actions Bot pushed a commit to castrojo/freedesktop-sdk that referenced this pull request Aug 11, 2026
libjxl added as a default option via:

OpenPrinting/libcupsfilters@26bf7c695bb7
680fd5540003e8c902d2d98912f7

Required qpdf dependency replaced with pdfio via:

OpenPrinting/libcupsfilters@74fc5c360f21
48f7a57e302238585798eeb8423d

Patch to support out of tree builds submitted upstream:

OpenPrinting/libcupsfilters#205
(cherry picked from commit df61f29)
github-actions Bot pushed a commit to castrojo/freedesktop-sdk that referenced this pull request Aug 12, 2026
libjxl added as a default option via:

OpenPrinting/libcupsfilters@26bf7c695bb7
680fd5540003e8c902d2d98912f7

Required qpdf dependency replaced with pdfio via:

OpenPrinting/libcupsfilters@74fc5c360f21
48f7a57e302238585798eeb8423d

Patch to support out of tree builds submitted upstream:

OpenPrinting/libcupsfilters#205
(cherry picked from commit df61f29)
github-actions Bot pushed a commit to castrojo/freedesktop-sdk that referenced this pull request Aug 12, 2026
libjxl added as a default option via:

OpenPrinting/libcupsfilters@26bf7c695bb7
680fd5540003e8c902d2d98912f7

Required qpdf dependency replaced with pdfio via:

OpenPrinting/libcupsfilters@74fc5c360f21
48f7a57e302238585798eeb8423d

Patch to support out of tree builds submitted upstream:

OpenPrinting/libcupsfilters#205
(cherry picked from commit df61f29)
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.

2 participants