1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/dbus/trunk/Makefile

Revision 16916, 5.3 KB (checked in by dmichelsen, 4 months ago)

WHOLE TREE: Explicitly set GARTYPE to current default 'v2'

Line 
1# $Id: Makefile 15327 2011-08-12 21:35:23Z dmichelsen $
2# TODO (release-critical prefixed with !, non release-critical with *)
3#
4# ! test position of pidfile in compilation and cswdbus
5# ! cleanup of /usr/share, /usr/local occurrences
6
7NAME = dbus
8VERSION = 1.5.6
9CATEGORIES = lib
10GARTYPE = v2
11
12DESCRIPTION  = DBus Message Bus System
13define BLURB
14  D-Bus is a message bus system, a simple way for applications to talk to one another.
15  In addition to interprocess communication, D-Bus helps coordinate process lifecycle;
16  it makes it simple and reliable to code a "single instance" application or daemon,
17  and to launch applications and daemons on demand when their services are needed.
18
19  D-Bus supplies both a system daemon (for events such as "new hardware device added"
20  or "printer queue changed") and a per-user-login-session daemon (for general IPC needs
21  among user applications). Also, the message bus is built on top of a general one-to-one
22  message passing framework, which can be used by any two apps to communicate directly
23  (without going through the message bus daemon). Currently the communicating applications
24  are on one computer, or through unencrypted TCP/IP suitable for use behind a firewall
25  with shared NFS home directories. (Help wanted with better remote transports -
26  the transport mechanism is well-abstracted and extensible.) 
27endef
28
29MASTER_SITES  = http://dbus.freedesktop.org/releases/dbus/
30DISTFILES = $(DISTNAME).tar.gz
31DISTFILES += cswusergroup
32DISTFILES += cswdbus
33
34# Use this patch until this issue is fixed:
35#   http://bugs.freedesktop.org/show_bug.cgi?id=40235
36#PATCHFILES += dbus-sysdeps-unix.c.diff
37
38#PATCHFILES += dbus-sysdeps.h.diff
39
40# Use patch until this is fixed:
41#   http://bugs.freedesktop.org/show_bug.cgi?id=40313
42PATCHFILES += 0002-Add-missing-inclusion-of-inttypes.h.patch
43
44# Use this custom-patch unless this is fixed:
45#   http://bugs.freedesktop.org/show_bug.cgi?id=39987
46PATCHFILES += 0001-Use-LOG_PERROR-only-when-available.patch
47
48PATCHFILES += attachment-50480.patch
49
50PACKAGES += CSWdbus
51CATALOGNAME_CSWdbus = dbus
52SPKG_DESC_CSWdbus = $(DESCRIPTION)
53# PKGFILES is catchall
54RUNTIME_DEP_PKGS_CSWdbus += CSWlibexpat1
55RUNTIME_DEP_PKGS_CSWdbus += CSWlibdbus1-3
56# These are search pathes:
57#   /opt/csw/share:/usr/local/share:/usr/share:
58CHECKPKG_OVERRIDES_CSWdbus += file-with-bad-content|/usr/local|root/opt/csw/libexec/dbus-daemon-launch-helper
59CHECKPKG_OVERRIDES_CSWdbus += file-with-bad-content|/usr/share|root/opt/csw/libexec/dbus-daemon-launch-helper
60CHECKPKG_OVERRIDES_CSWdbus += file-with-bad-content|/usr/local|root/opt/csw/bin/dbus-daemon
61CHECKPKG_OVERRIDES_CSWdbus += file-with-bad-content|/usr/share|root/opt/csw/bin/dbus-daemon
62# This is an example
63CHECKPKG_OVERRIDES_CSWdbus += file-with-bad-content|/usr/share|root/opt/csw/share/man/man1/dbus-daemon.1
64
65PACKAGES += CSWlibdbus1-3
66SPKG_DESC_CSWlibdbus1-3 = DBus message bus system, libdbus-1.so.3
67PKGFILES_CSWlibdbus1-3 += $(call pkgfiles_lib,libdbus-1.so.3)
68OBSOLETED_BY_CSWlibdbus1-3 += CSWlibdbus
69# These are search pathes:
70#   /opt/csw/share:/usr/local/share:/usr/share:
71CHECKPKG_OVERRIDES_CSWlibdbus1-3 += file-with-bad-content|/usr/local|root/opt/csw/lib/libdbus-1.so.3.6.3
72CHECKPKG_OVERRIDES_CSWlibdbus1-3 += file-with-bad-content|/usr/share|root/opt/csw/lib/libdbus-1.so.3.6.3
73CHECKPKG_OVERRIDES_CSWlibdbus1-3 += file-with-bad-content|/usr/local|root/opt/csw/lib/sparcv9/libdbus-1.so.3.6.3
74CHECKPKG_OVERRIDES_CSWlibdbus1-3 += file-with-bad-content|/usr/share|root/opt/csw/lib/sparcv9/libdbus-1.so.3.6.3
75CHECKPKG_OVERRIDES_CSWlibdbus1-3 += file-with-bad-content|/usr/local|root/opt/csw/lib/amd64/libdbus-1.so.3.6.3
76CHECKPKG_OVERRIDES_CSWlibdbus1-3 += file-with-bad-content|/usr/share|root/opt/csw/lib/amd64/libdbus-1.so.3.6.3
77
78PACKAGES += CSWlibdbus-dev
79SPKG_DESC_CSWlibdbus-dev = Development files for libdbus
80PKGFILES_CSWlibdbus-dev += $(PKGFILES_DEVEL)
81PKGFILES_CSWlibdbus-dev += $(call baseisadirs,$(libdir),dbus-1.0/.*)
82PKGFILES_CSWlibdbus-dev += $(docdir)/.*
83RUNTIME_DEP_PKGS_CSWlibdbus-dev += CSWlibdbus1-3
84OBSOLETED_BY_CSWlibdbus-dev += CSWlibdbusdev
85# These are docs
86CHECKPKG_OVERRIDES_CSWlibdbus-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/dbus/api/group__DBusSysdeps.html
87CHECKPKG_OVERRIDES_CSWlibdbus-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/dbus/api/dbus-sysdeps-unix_8c_source.html
88CHECKPKG_OVERRIDES_CSWlibdbus-dev += file-with-bad-content|/usr/share|root/opt/csw/share/doc/dbus/api/dbus-sysdeps-unix_8c_source.html
89CHECKPKG_OVERRIDES_CSWlibdbus-dev += file-with-bad-content|/usr/share|root/opt/csw/share/doc/dbus/api/group__DBusSysdeps.html
90CHECKPKG_OVERRIDES_CSWlibdbus-dev += file-with-bad-content|/usr/share|root/opt/csw/share/doc/dbus/system-activation.txt
91
92INITSMF += /etc/opt/csw/init.d/cswdbus
93PRESERVECONF += /etc/opt/csw/dbus-1/system.conf
94PRESERVECONF += /etc/opt/csw/dbus-1/session.conf
95
96MIGRATECONF += dbus-1/session.conf
97MIGRATECONF += dbus-1/system.conf
98
99USERGROUP = /etc/opt/csw/pkg/CSWdbus/cswusergroup
100
101CONFIGURE_ARGS = $(DIRPATHS)
102CONFIGURE_ARGS += --disable-tests
103CONFIGURE_ARGS += --with-xml=expat
104
105# Needed for sockaddr_in6
106EXTRA_CFLAGS += -D__EXTENSIONS__
107
108BUILD64_LIBS_ONLY = 1
109
110include gar/category.mk
111
112post-merge:
113        ginstall -d $(PKGROOT)/etc/opt/csw/init.d
114        ginstall $(WORKDIR)/cswdbus $(PKGROOT)/etc/opt/csw/init.d/cswdbus
115        ginstall -d $(PKGROOT)/etc/opt/csw/pkg/CSWdbus
116        ginstall $(WORKDIR)/cswusergroup $(PKGROOT)/etc/opt/csw/pkg/CSWdbus/cswusergroup
117
Note: See TracBrowser for help on using the browser.