Commit graph

3 commits

Author SHA1 Message Date
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
jmcneill
5b8a409499 Update libunique to 1.0.6.
Changes:
    Copy the startup-id string, not just the pointer

    The fix for the memory leak of commit fd7aaf0e exposed the fact
    that we did not copy the startup notification id across messages,
    but we simply stored the pointer.

    This commit should fix the double-free errors happening to
    applications using libunique.
2009-03-04 01:01:45 +00:00
ahoka
d12302c17c Import libunique-1.0.4 as x11/libunique.
Unique is a library for writing single instance application. If you launch a
single instance application twice, the second instance will either just quit or
will send a message to the running instance.

Unique makes it easy to write this kind of applications, by providing a base
class, taking care of all the IPC machinery needed to send messages to a
running instance, and also handling the startup notification side.

Unique aims to replace the BaconMessageConnection code that has been copied by
many projects and the code using Bonobo and D-Bus.
2008-12-18 00:32:14 +00:00