Here's a (verbose) build with the following patch added to lightdm:
Index: lightdm-1.1.1/liblightdm-gobject/liblightdm-gobject-1.pc.in =================================================================== --- lightdm-1.1.1.orig/liblightdm-gobject/liblightdm-gobject-1.pc.in 2012-01-17 06:44:03.000000000 +0100 +++ lightdm-1.1.1/liblightdm-gobject/liblightdm-gobject-1.pc.in 2012-01-31 07:50:32.516042389 +0100 @@ -6,6 +6,7 @@ Name: liblightdm-gobject Description: LightDM client library Version: @VERSION@ -Requires.private: glib-2.0 gio-2.0 gio-unix-2.0 gobject-2.0 libxklavier x11 +Requires.private: glib-2.0 gio-unix-2.0 gobject-2.0 libxklavier x11 +Requires: gio-2.0 Libs: -L${libdir} -llightdm-gobject-1 Cflags: -I${includedir}/lightdm-gobject-1
Extract from the relevant build lines:
/bin/bash ../libtool --tag=CC --mode=link gcc -DGETTEXT_PACKAGE=\"lightdm-gtk-greeter\" -DLOCALEDIR=\""/usr/share/locale"\" -DGREETER_DATA_DIR=\"""\" -DCONFIG_FILE=\""/lightdm-gtk-greeter.conf"\" -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/lightdm-gobject-1 -I/usr/include/cairo -I/usr/include/libxml2 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o lightdm-gtk-greeter lightdm_gtk_greeter-lightdm-gtk-greeter.o -pthread -Wl,--export-dynamic -lgtk-3 -lgdk-3 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig -lX11 -llightdm-gobject-1 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 libtool: link: gcc -DGETTEXT_PACKAGE=\"lightdm-gtk-greeter\" -DLOCALEDIR=\"/usr/share/locale\" -DGREETER_DATA_DIR=\"\" -DCONFIG_FILE=\"/lightdm-gtk-greeter.conf\" -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/lightdm-gobject-1 -I/usr/include/cairo -I/usr/include/libxml2 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-O1 -o lightdm-gtk-greeter lightdm_gtk_greeter-lightdm-gtk-greeter.o -pthread -Wl,--export-dynamic -lgtk-3 -lgdk-3 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/libcairo-gobject.so /usr/lib/libcairo.so -lpango-1.0 /usr/lib/x86_64-linux-gnu/libfreetype.so -lfontconfig -lX11 -llightdm-gobject-1 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -pthread
Here's a (verbose) build with the following patch added to lightdm:
Index: lightdm- 1.1.1/liblightd m-gobject/ liblightdm- gobject- 1.pc.in ======= ======= ======= ======= ======= ======= ======= ======= ==== 1.1.1.orig/ liblightdm- gobject/ liblightdm- gobject- 1.pc.in 2012-01-17 06:44:03.000000000 +0100 1.1.1/liblightd m-gobject/ liblightdm- gobject- 1.pc.in 2012-01-31 07:50:32.516042389 +0100 /lightdm- gobject- 1
=======
--- lightdm-
+++ lightdm-
@@ -6,6 +6,7 @@
Name: liblightdm-gobject
Description: LightDM client library
Version: @VERSION@
-Requires.private: glib-2.0 gio-2.0 gio-unix-2.0 gobject-2.0 libxklavier x11
+Requires.private: glib-2.0 gio-unix-2.0 gobject-2.0 libxklavier x11
+Requires: gio-2.0
Libs: -L${libdir} -llightdm-gobject-1
Cflags: -I${includedir}
Extract from the relevant build lines:
/bin/bash ../libtool --tag=CC --mode=link gcc -DGETTEXT_ PACKAGE= \"lightdm- gtk-greeter\ " -DLOCALEDIR= \""/usr/ share/locale" \" -DGREETER_ DATA_DIR= \"""\" -DCONFIG_ FILE=\" "/lightdm- gtk-greeter. conf"\" -DGSEAL_ENABLE -pthread -I/usr/ include/ gtk-3.0 -I/usr/ include/ atk-1.0 -I/usr/ include/ gdk-pixbuf- 2.0 -I/usr/ include/ pango-1. 0 -I/usr/ include/ gio-unix- 2.0/ -I/usr/ include/ glib-2. 0 -I/usr/ lib/x86_ 64-linux- gnu/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libpng12 -I/usr/ include/ lightdm- gobject- 1 -I/usr/ include/ cairo -I/usr/ include/ libxml2 -Wall -Wmissing- prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -g -O2 -fPIE -fstack-protector --param= ssp-buffer- size=4 -Wformat -Wformat-security -Werror= format- security -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-O1 -o lightdm-gtk-greeter lightdm_ gtk_greeter- lightdm- gtk-greeter. o -pthread -Wl,--export- dynamic -lgtk-3 -lgdk-3 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig -lX11 -llightdm-gobject-1 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 PACKAGE= \"lightdm- gtk-greeter\ " -DLOCALEDIR= \"/usr/ share/locale\ " -DGREETER_ DATA_DIR= \"\" -DCONFIG_ FILE=\" /lightdm- gtk-greeter. conf\" -DGSEAL_ENABLE -pthread -I/usr/ include/ gtk-3.0 -I/usr/ include/ atk-1.0 -I/usr/ include/ gdk-pixbuf- 2.0 -I/usr/ include/ pango-1. 0 -I/usr/ include/ gio-unix- 2.0/ -I/usr/ include/ glib-2. 0 -I/usr/ lib/x86_ 64-linux- gnu/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libpng12 -I/usr/ include/ lightdm- gobject- 1 -I/usr/ include/ cairo -I/usr/ include/ libxml2 -Wall -Wmissing- prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -g -O2 -fPIE -fstack-protector --param= ssp-buffer- size=4 -Wformat -Wformat-security -Werror= format- security -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-O1 -o lightdm-gtk-greeter lightdm_ gtk_greeter- lightdm- gtk-greeter. o -pthread -Wl,--export- dynamic -lgtk-3 -lgdk-3 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/ libcairo- gobject. so /usr/lib/ libcairo. so -lpango-1.0 /usr/lib/ x86_64- linux-gnu/ libfreetype. so -lfontconfig -lX11 -llightdm-gobject-1 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -pthread
libtool: link: gcc -DGETTEXT_