From 0ae274954831e15b7513a07d8c1d6d05a0bbe0d7 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 31 Jul 2000 17:10:33 +0000 Subject: [PATCH] pkg-config data files 2000-07-31 Havoc Pennington * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, gobject-2.0.pc.in: pkg-config data files * Makefile.am: Install/dist the .pc files * configure.in: Output the .pc files --- ChangeLog | 9 +++++++++ ChangeLog.pre-2-0 | 9 +++++++++ ChangeLog.pre-2-10 | 9 +++++++++ ChangeLog.pre-2-12 | 9 +++++++++ ChangeLog.pre-2-2 | 9 +++++++++ ChangeLog.pre-2-4 | 9 +++++++++ ChangeLog.pre-2-6 | 9 +++++++++ ChangeLog.pre-2-8 | 9 +++++++++ Makefile.am | 3 +++ configure.in | 4 ++++ glib-2.0.pc.in | 10 ++++++++++ glib/Makefile.am | 3 +++ gmodule-2.0.pc.in | 11 +++++++++++ gobject-2.0.pc.in | 11 +++++++++++ gthread-2.0.pc.in | 11 +++++++++++ 15 files changed, 125 insertions(+) create mode 100644 glib-2.0.pc.in create mode 100644 gmodule-2.0.pc.in create mode 100644 gobject-2.0.pc.in create mode 100644 gthread-2.0.pc.in diff --git a/ChangeLog b/ChangeLog index 34c24d24..d3eb10cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 34c24d24..d3eb10cd 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 34c24d24..d3eb10cd 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 34c24d24..d3eb10cd 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 34c24d24..d3eb10cd 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 34c24d24..d3eb10cd 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 34c24d24..d3eb10cd 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 34c24d24..d3eb10cd 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,12 @@ +2000-07-31 Havoc Pennington + + * glib-2.0.pc.in, gobject-2.0.pc.in, gmodule-2.0.pc.in, + gobject-2.0.pc.in: pkg-config data files + + * Makefile.am: Install/dist the .pc files + + * configure.in: Output the .pc files + 2000-07-31 Tor Lillqvist * giowin32.c (buffer_read): The code didn't compile (must diff --git a/Makefile.am b/Makefile.am index ea0bce5e..421cdb1b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -110,6 +110,9 @@ testgdateparser_LDADD = libglib-1.3.la m4datadir = $(datadir)/aclocal m4data_DATA = glib-2.0.m4 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gthread-2.0.pc + glibconfig.h.win32: $(top_builddir)/config.status $(top_srcdir)/glibconfig.h.win32.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/configure.in b/configure.in index 3722b19e..dae9d8da 100644 --- a/configure.in +++ b/configure.in @@ -1554,6 +1554,10 @@ esac ]) AC_OUTPUT([ +glib-2.0.pc +gmodule-2.0.pc +gthread-2.0.pc +gobject-2.0.pc glib.spec Makefile glib-config-2.0 diff --git a/glib-2.0.pc.in b/glib-2.0.pc.in new file mode 100644 index 00000000..e361a1c8 --- /dev/null +++ b/glib-2.0.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: GLib +Description: C Utility Library +Version: @VERSION@ +Libs: -L${libdir} -lglib-1.3 +Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib/include diff --git a/glib/Makefile.am b/glib/Makefile.am index ea0bce5e..421cdb1b 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -110,6 +110,9 @@ testgdateparser_LDADD = libglib-1.3.la m4datadir = $(datadir)/aclocal m4data_DATA = glib-2.0.m4 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gthread-2.0.pc + glibconfig.h.win32: $(top_builddir)/config.status $(top_srcdir)/glibconfig.h.win32.in cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/gmodule-2.0.pc.in b/gmodule-2.0.pc.in new file mode 100644 index 00000000..393a473d --- /dev/null +++ b/gmodule-2.0.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: GModule +Description: Dynamic module loader for GLib +Requires: glib-2.0 +Version: @VERSION@ +Libs: -L${libdir} @G_MODULE_LDFLAGS@ -lgmodule-1.3 @G_MODULE_LIBS@ +Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib/include diff --git a/gobject-2.0.pc.in b/gobject-2.0.pc.in new file mode 100644 index 00000000..95f6b605 --- /dev/null +++ b/gobject-2.0.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: GObject +Description: Object/type system for GLib +Requires: glib-2.0 +Version: @VERSION@ +Libs: -L${libdir} -lgobject-1.3 +Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib/include diff --git a/gthread-2.0.pc.in b/gthread-2.0.pc.in new file mode 100644 index 00000000..a4a9cc8e --- /dev/null +++ b/gthread-2.0.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: GThread +Description: Thread support for GLib +Requires: glib-2.0 +Version: @VERSION@ +Libs: -L${libdir} -lgthread-1.3 @G_THREAD_LIBS@ +Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib/include -- 2.34.1