compiling hal against glib 2.2

leon breedt bitserf at gmail.com
Mon Dec 6 15:48:52 PST 2004


hi,

this is probably in violation of all rules of good taste, but i've got
HAL 0.4.2 compiled and working on a somewhat modified (running
2.6.8.1) RHEL3 system against glib 2.2.

it seems HAL has an implicit dependency on glib 2.4 though, but the
configure script doesn't document this.

this is probably not a supported configuration and i'm happy to
maintain these patches outside of the source tree, but, fyi, attached
are the patches i had to make:

- a patch to hardcode BLKGETSIZE64 (eww, not sure how to do this cleanly)
- a patch to add a g_file_read_link implementation (missing in 2.2)

i'd like if the configure script doesn't require 2.4 though, as that
would make my life somewhat harder :)

leon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-0.4.0-BLKGETSIZE64.patch
Type: text/x-patch
Size: 1187 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20041207/a81a8aaf/hal-0.4.0-BLKGETSIZE64.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-0.4.0-g_file_read_link.patch
Type: text/x-patch
Size: 1319 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20041207/a81a8aaf/hal-0.4.0-g_file_read_link.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list