GIMP 2.99.19 /usr/local/include missing header file <libgimpwidgets/gimplabelstringwidget.h>
Environment/Versions
- GIMP version: 2.99.19
- Package: git clone https://gitlab.gnome.org/GNOME/gimp.git , at PR 2024-02-27:"Update Georgian translation"
- Operating System: Linux, 64bit, Mageia 9
Description of the bug
Attempting to build a gimp-2.99 plugin that uses preview, but the build stopped at:
In file included from /usr/local/include/gimp-3.0/libgimp/gimpui.h:26:
/usr/local/include/gimp-3.0/libgimpwidgets/gimpwidgets.h:70:10: fatal error: libgimpwidgets/gimplabelstringwidget.h: No such file or directory
70 | #include <libgimpwidgets/gimplabelstringwidget.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Looking at the git repo, there is both these string gimplabelstringwidget files, which appears to be good so far:
[boinc@genesis gimp (master)]$ ls -l libgimpwidgets/gimplabel
gimplabelcolor.c gimplabelentry.c gimplabelspin.c
gimplabelcolor.h gimplabelentry.h gimplabelspin.h
gimplabeled.c gimplabelintwidget.c gimplabelstringwidget.c
gimplabeled.h gimplabelintwidget.h gimplabelstringwidget.h
but when looking at the results of ninja -C _build install I notice the gimplabelstringwidget.h file is missing:
[boinc@genesis gimp (master)]$ ls -l /usr/local/include/gimp-3.0/libgimpwidgets/gimplabe
gimplabelcolor.h gimplabelentry.h gimplabelspin.h
gimplabeled.h gimplabelintwidget.h
This appears to be a missed file during the meson install.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- meson setup _build
- ninja -C _build
- su (then enter password since Mageia doesn't have sudo, else skip to step 4 and use sudo for Debian/Ubuntu).
- ninja -C _build install
- exit
- ls -l libgimpwidgets/gimplabel
- ls -l /usr/local/include/gimp-3.0/libgimpwidgets/
Expected result: expected to have file /usr/local/include/gimp-3.0/libglibgimpwidgets/gimplabelstringwidget.h
Actual result: file missing and compile stops due to:
In file included from /usr/local/include/gimp-3.0/libgimp/gimpui.h:26:
/usr/local/include/gimp-3.0/libgimpwidgets/gimpwidgets.h:70:10: fatal error: libgimpwidgets/gimplabelstringwidget.h: No such file or directory
70 | #include <libgimpwidgets/gimplabelstringwidget.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.