[rs-commit] r67 - in /redwax-signtext/trunk/src/linux: Makefile.am configure.ac redwax-signtext.spec.in

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Sep 18 17:59:57 CEST 2022


Author: minfrin at redwax.eu
Date: Sun Sep 18 17:59:56 2022
New Revision: 67

Log:
Explicitly depend on glib2.

Modified:
    redwax-signtext/trunk/src/linux/Makefile.am
    redwax-signtext/trunk/src/linux/configure.ac
    redwax-signtext/trunk/src/linux/redwax-signtext.spec.in

Modified: redwax-signtext/trunk/src/linux/Makefile.am
==============================================================================
--- redwax-signtext/trunk/src/linux/Makefile.am	(original)
+++ redwax-signtext/trunk/src/linux/Makefile.am	Sun Sep 18 17:59:56 2022
@@ -12,6 +12,7 @@
 	$(AM_CPPFLAGS)
 
 redwax_signtext_native_CFLAGS = \
+	   $(GLIB2_CFLAGS)      \
 	   $(GTK3_CFLAGS)	\
 	   $(GTK4_CFLAGS)	\
 	   $(JSON_GLIB_CFLAGS)	\
@@ -26,6 +27,7 @@
 	$(AM_LDFLAGS)
 
 redwax_signtext_native_LDADD =	\
+	$(GLIB2_LIBS)           \
 	$(GTK3_LIBS)		\
 	$(GTK4_LIBS)		\
 	$(JSON_GLIB_LIBS)	\

Modified: redwax-signtext/trunk/src/linux/configure.ac
==============================================================================
--- redwax-signtext/trunk/src/linux/configure.ac	(original)
+++ redwax-signtext/trunk/src/linux/configure.ac	Sun Sep 18 17:59:56 2022
@@ -5,6 +5,9 @@
 LT_INIT
 
 AC_PROG_CC
+
+PKG_CHECK_MODULES([GLIB2],
+   [glib-2.0 >= 2.66])
 
 PKG_CHECK_MODULES([GTK3],
    [gtk+-3.0 >= 3])

Modified: redwax-signtext/trunk/src/linux/redwax-signtext.spec.in
==============================================================================
--- redwax-signtext/trunk/src/linux/redwax-signtext.spec.in	(original)
+++ redwax-signtext/trunk/src/linux/redwax-signtext.spec.in	Sun Sep 18 17:59:56 2022
@@ -12,6 +12,7 @@
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
+BuildRequires: pkgconfig(glib-2.0) >= 2.66
 BuildRequires: pkgconfig(gtk+-3.0)
 BuildRequires: pkgconfig(json-glib-1.0)
 BuildRequires: pkgconfig(gck-1)



More information about the rs-commit mailing list