| 1 |
Description: Disable building FvwmPrompt with meson. |
| 2 |
To comply with Debian policy and not use vendored libs, FvwmPrompt is |
| 3 |
built using debhelper directly via debian/rules and is not built using |
| 4 |
meson. To ensure that FvwmConsole is not built and FvwmPrompt manual |
| 5 |
page is built, meson will be configured to build FvwmPrompt, so do |
| 6 |
nothing when trying to build FvwmPrompt with meson. |
| 7 |
Author: Jaimos Skriletz <[email protected]> |
| 8 |
Forwarded: not-needed |
| 9 |
Last-Update: 2026-02-14 |
| 10 |
--- a/bin/FvwmPrompt/meson.build |
| 11 |
+++ b/bin/FvwmPrompt/meson.build |
| 12 |
@@ -3,26 +3,26 @@ |
| 13 |
# do it manually. |
| 14 |
|
| 15 |
# Extract all of the go sources from the current directory |
| 16 |
-r = run_command('find-go-sources.sh', meson.current_source_dir(), check: true) |
| 17 |
-fvwmprompt_files = r.stdout().strip().split() |
| 18 |
-fvwmprompt_files += 'go.mod' |
| 19 |
-fvwmprompt_files += 'go.sum' |
| 20 |
- |
| 21 |
-fvwmprompt_build = meson.current_source_dir() |
| 22 |
-fvwmprompt_output = meson.current_build_dir() + '/FvwmPrompt' |
| 23 |
- |
| 24 |
-fvwmprompt = custom_target( |
| 25 |
- 'FvwmPrompt', |
| 26 |
- output: 'FvwmPrompt', |
| 27 |
- input: fvwmprompt_files, |
| 28 |
- command: [ |
| 29 |
- golang, |
| 30 |
- 'build', |
| 31 |
- '-C', fvwmprompt_build, |
| 32 |
- '-v', |
| 33 |
- '-mod=vendor', |
| 34 |
- '-o', fvwmprompt_output, |
| 35 |
- ], |
| 36 |
- install: true, |
| 37 |
- install_dir: bindir, |
| 38 |
-) |
| 39 |
+#r = run_command('find-go-sources.sh', meson.current_source_dir(), check: true) |
| 40 |
+#fvwmprompt_files = r.stdout().strip().split() |
| 41 |
+#fvwmprompt_files += 'go.mod' |
| 42 |
+#fvwmprompt_files += 'go.sum' |
| 43 |
+# |
| 44 |
+#fvwmprompt_build = meson.current_source_dir() |
| 45 |
+#fvwmprompt_output = meson.current_build_dir() + '/FvwmPrompt' |
| 46 |
+# |
| 47 |
+#fvwmprompt = custom_target( |
| 48 |
+# 'FvwmPrompt', |
| 49 |
+# output: 'FvwmPrompt', |
| 50 |
+# input: fvwmprompt_files, |
| 51 |
+# command: [ |
| 52 |
+# golang, |
| 53 |
+# 'build', |
| 54 |
+# '-C', fvwmprompt_build, |
| 55 |
+# '-v', |
| 56 |
+# '-mod=vendor', |
| 57 |
+# '-o', fvwmprompt_output, |
| 58 |
+# ], |
| 59 |
+# install: true, |
| 60 |
+# install_dir: bindir, |
| 61 |
+#) |