build: Add GLib requirement

For consistency with other components and for the GLib macros set by
XDT_CHECK_PACKAGE when building with xfce4-dev-tools >= 4.17.1.
This commit is contained in:
Gaël Bonithon
2023-02-03 21:07:37 +01:00
parent 3a9f0d33da
commit 8abbd3bd3a
7 changed files with 22 additions and 1 deletions

2
.gitignore vendored
View File

@@ -1,5 +1,5 @@
po/*.gmo
po/.intltool-merge-cache
po/.intltool-merge-cache*
*Makefile
*Makefile.in
po/Makefile.in.in

View File

@@ -71,6 +71,7 @@ dnl *** Check for required packages ***
dnl ***********************************
XDT_CHECK_LIBX11_REQUIRE()
XDT_CHECK_PACKAGE([LIBXMU], [xmu], [1.1.2])
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.50.0])
XDT_CHECK_PACKAGE([GTK3], [gtk+-3.0], [3.22.0])
XDT_CHECK_PACKAGE([CAIRO], [cairo], [1.5.0])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.14.0])

View File

@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdlib.h>
#include <err.h>
#include <sys/types.h>

View File

@@ -9,6 +9,10 @@
* (at your option) any later version.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <kvm.h>
#include <sys/types.h>
#include <sys/param.h>

View File

@@ -8,6 +8,10 @@
* (at your option) any later version.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@@ -15,6 +15,10 @@
#include <string.h>
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <glib.h>
#include "task-manager.h"

View File

@@ -8,6 +8,10 @@
* (at your option) any later version.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <kstat.h>
#include <sys/types.h>
#include <sys/stat.h>