author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Sat, 17 Sep 2016 14:27:58 -0700 | |
changeset 6969 | c033ca9bd950 |
parent 6906 | a6c8d3c7b8bf |
child 7087 | b1fa0d70e09e |
permissions | -rw-r--r-- |
5889
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
21 |
|
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
|
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS= NO_ARCH |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
include ../../../make-rules/shared-macros.mk |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
|
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= desktop-cache |
6906
a6c8d3c7b8bf
23501913 input-method-cache needs to create immodules.cache instead of gtk.immodules file
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
5968
diff
changeset
|
30 |
COMPONENT_VERSION= 0.2.9 |
5889
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= # all files under files/ |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_BUGDB= gnome/install |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
33 |
|
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
34 |
# nothing to download or build; just package |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
35 |
BUILD_STYLE= pkg |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
36 |
include $(WS_MAKE_RULES)/common.mk |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
37 |
|
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
38 |
# Make sure SMF manifests are valid |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
39 |
$(BUILD_DIR)/.validated-smf-manifests-$(MACH): $(BUILD_DIR) |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
40 |
@for f in files/*.xml ; do \ |
5968
a64f1dcdc61b
23245014 gdm baby thrown out with netservices bathwater
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
5889
diff
changeset
|
41 |
[[ "$$f" == "files/com.oracle.solaris.gdm-temporary.xml" ]] || \ |
5889
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
42 |
(set -ex ; /usr/sbin/svccfg validate "$$f") ; \ |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
43 |
done |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
44 |
$(TOUCH) $@ |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
45 |
|
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
46 |
validate-smf: $(BUILD_DIR)/.validated-smf-manifests-$(MACH) |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
47 |
build: $(BUILD_DIR)/.validated-smf-manifests-$(MACH) |
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
48 |
|
6969
c033ca9bd950
24683392 input-method-cache service goes to maintenance due to fatal relocation errors
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
6906
diff
changeset
|
49 |
REQUIRED_PACKAGES += service/opengl/ogl-select |
5889
d78a523a8925
23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
50 |
REQUIRED_PACKAGES += system/core-os |