Patches for pidgin-2.2.0 on RHEL4
Zvi Har'El
rl at math.technion.ac.il
Mon Sep 17 13:18:25 EDT 2007
Dear Sean,
pidig-2.2.0 has a couple of new programs in the plugins directory,
namely, helloworld.c and noify_example.c. However, these programs do not
include the header file internal.h, which defines the symbol
G_GNUC_NULL_TERMINATED, a definition which is needed for older versions
of glib (as mine - I am using RHEL4, which has glib2-2.4.7-1). Thus,
they fail to compile, and the whole build fails.
Also, I found out that an include for I attach a trivial patch, which
adds the necessary include lines.
Another patch needed was due to a change of the file pidgin/pidgin.h,
which made the inclusion of gdk/gdkx.h conditionally on
#ifdef GDK_WINDOWING_X11 instead of #ifndef _WIN32. Since nothing seemed
to define the former symbol in my configuration, the compilation of
pidgin/gtkutils.c, which needs that gdk header file, failed. I attach
another patch which fixed the problem.
Finally , some linux distributions (like mine, RHEL4), doesn't have a
x11.pc file, and starting at pidgin-2.2.0, it is used to check for X
support. I attach the file I created for that and put in
/usr/local/lib/pkgconfig, but I suppose it is better to have a fallback
cheking method, like the one used in pidgin-2.1.1 configuration.
Best,
Zvi.
--
Dr. Zvi Har'El mailto:rl at math.technion.ac.il Department of Mathematics
tel:+972-54-4227607 Technion - Israel Institute of Technology
fax:+972-4-8293388 http://www.math.technion.ac.il/~rl/ Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20070917/dc2b734c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x11.pc
URL: <http://pidgin.im/pipermail/devel/attachments/20070917/dc2b734c/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: internal.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://pidgin.im/pipermail/devel/attachments/20070917/dc2b734c/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdkx.patch
Type: text/x-patch
Size: 246 bytes
Desc: not available
URL: <http://pidgin.im/pipermail/devel/attachments/20070917/dc2b734c/attachment-0005.bin>
More information about the Devel
mailing list