[Setup-tool-hackers] setup tools - pkg config



Hi

attached is a patch for configure.in and Makefile.am and a pkg-config
template file to make it easier  for third party applications to find
the backend and pixmap dirs.


Kind regards
Joseph Wenninger

prefix=@prefix@
exec_prefix=
libdir=
includedir=

pixmapsdir=@pixmapsdir@
backenddir=@scriptsdir@

Name: gst
Description: Gnome System Tools
Version: @VERSION@
Requires:
Libs:
Cflags:
? confdefs.h
? configure.in_gst.pc.patch
? gst.pc
? gst.pc.in
? patch_for_backend_pixmap_detection.diff
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/gnome-system-tools/Makefile.am,v
retrieving revision 1.22
diff -u -3 -p -r1.22 Makefile.am
--- Makefile.am	21 Feb 2003 03:30:58 -0000	1.22
+++ Makefile.am	9 May 2003 20:21:31 -0000
@@ -10,7 +10,8 @@ EXTRA_DIST = \
 	gnome-system-tools.spec \
 	intltool-extract.in	\
 	intltool-merge.in 	\
-	intltool-update.in 
+	intltool-update.in 	\
+	gst.pc.in
 
 
 schema_in_files = gnome-system-tools.schemas.in
@@ -20,3 +21,7 @@ schema_DATA = $(schema_in_files:.schemas
 
 install-data-local:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gnome-system-tools.schemas
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gst.pc
+
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gnome-system-tools/configure.in,v
retrieving revision 1.164
diff -u -3 -p -r1.164 configure.in
--- configure.in	6 May 2003 00:17:49 -0000	1.164
+++ configure.in	9 May 2003 20:21:31 -0000
@@ -220,6 +220,7 @@ src/time/e-map/Makefile
 src/boot/Makefile
 src/runlevel/Makefile
 po/Makefile.in
+gst.pc
 ])
 
 dnl src/memory/Makefile 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]