gplugin/gplugin

Parents 55291fd09e7d
Children 889f412042f8
Fix some issues with the gtk3 and gtk4 includes when not used in a subproject

Testing Done:
Ran the unit tests and gplugin-gtk4-viewer and verified no issues.

Bugs closed: GPLUGIN-145

Reviewed at https://reviews.imfreedom.org/r/1469/
--- a/gplugin-gtk3/meson.build Mon Apr 18 21:43:02 2022 -0500
+++ b/gplugin-gtk3/meson.build Mon May 23 22:31:48 2022 -0500
@@ -39,7 +39,7 @@
###############################################################################
GPLUGIN_GTK3_H_INCLUDES = ''
foreach header : GPLUGIN_GTK3_HEADERS
- GPLUGIN_GTK3_H_INCLUDES = '@0@\n#include <@1@>'.format(
+ GPLUGIN_GTK3_H_INCLUDES = '@0@\n#include <gplugin-gtk3/@1@>'.format(
GPLUGIN_GTK3_H_INCLUDES,
header)
endforeach
@@ -142,10 +142,9 @@
###############################################################################
# Install Stuff
###############################################################################
-# install the normal includes into the gplugin-gtk subdirectory
install_headers(
GPLUGIN_GTK3_HEADERS,
- subdir : 'gplugin-gtk3-1.0/gplugin-gtk'
+ subdir : 'gplugin-gtk3-1.0/gplugin-gtk3'
)
###############################################################################
--- a/gplugin-gtk4/meson.build Mon Apr 18 21:43:02 2022 -0500
+++ b/gplugin-gtk4/meson.build Mon May 23 22:31:48 2022 -0500
@@ -38,7 +38,7 @@
###############################################################################
GPLUGIN_GTK4_H_INCLUDES = ''
foreach header : GPLUGIN_GTK4_HEADERS
- GPLUGIN_GTK4_H_INCLUDES = '@0@\n#include <@1@>'.format(
+ GPLUGIN_GTK4_H_INCLUDES = '@0@\n#include <gplugin-gtk4/@1@>'.format(
GPLUGIN_GTK4_H_INCLUDES,
header)
endforeach
@@ -134,10 +134,9 @@
###############################################################################
# Install Stuff
###############################################################################
-# install the normal includes into the gplugin-gtk subdirectory
install_headers(
GPLUGIN_GTK4_HEADERS,
- subdir : 'gplugin-gtk4-1.0/gplugin-gtk'
+ subdir : 'gplugin-gtk4-1.0/gplugin-gtk4'
)
###############################################################################