These come from gtk and glib, which are needed. If your project is using pkg-config (which it should be) and you have libnotify as a dependency, it will automatically pull in all the libraries you need.<br><br>Christian<br>

<br clear="all">-- <br>Christian Hammond - <a href="mailto:chipx86@chipx86.com">chipx86@chipx86.com</a><br>Review Board - <a href="http://www.reviewboard.org">http://www.reviewboard.org</a><br>VMware, Inc. - <a href="http://www.vmware.com">http://www.vmware.com</a><br>


<br><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 10:34 AM, Ankur Sinha <span dir="ltr">&lt;<a href="mailto:sanjay.ankur@gmail.com">sanjay.ankur@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On Mon, 2010-06-28 at 18:11 +0200, Holger Berndt wrote:<br>
</div><div class="im">&gt; On Mon, 28 Jun 2010 21:36:41 +0530 Ankur Sinha wrote:<br>
&gt;<br>
&gt; &gt; I am trying to make use of the libnotify C API in an app. Are there a<br>
&gt; &gt; bunch of examples I can refer to somewhere?<br>
&gt;<br>
&gt; There are a bunch of test programs that come with libnotify. See<br>
&gt; <a href="http://git.gnome.org/browse/libnotify/tree/tests" target="_blank">http://git.gnome.org/browse/libnotify/tree/tests</a><br>
&gt; (test-basic.c is probably a good start).<br>
&gt;<br>
&gt; Holger<br>
&gt; _______________________________________________<br>
<br>
</div>hey,<br>
<br>
What are the minimum required cflag and libs to build just test-basic.c?<br>
<br>
I blindly used (apart from -lnotify):<br>
<br>
[Ankur@localhost libnotify]$ pkg-config --cflags --libs gtk+-2.0<br>
-pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include<br>
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0<br>
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include<br>
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12<br>
-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0<br>
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype<br>
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0<br>
<br>
Are all of these required? (I haven&#39;t used any threads etc. at all)<br>
<br>
Thanks again.<br>
<br>
regards,<br>
<font color="#888888">Ankur<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
galago-devel mailing list<br>
<a href="mailto:galago-devel@lists.freedesktop.org">galago-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/galago-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/galago-devel</a><br>
</div></div></blockquote></div><br>