components/desktop/desktop-cache/Makefile
author Jingning Ji <jingning.ji@oracle.com>
Fri, 16 Dec 2016 15:42:05 -0800
changeset 7511 f204f26ea168
parent 7109 f298ea535620
child 7860 8991c11f87b1
permissions -rw-r--r--
25269934 Upgrade Firefox to version 45.6.0 ESR 25269954 problem in FIREFOX/BROWSER
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
7087
b1fa0d70e09e 24826424 do not publish desktop-cache when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6969
diff changeset
    36
b1fa0d70e09e 24826424 do not publish desktop-cache when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6969
diff changeset
    37
# Uses a feature in a gtk script not added until S12.
b1fa0d70e09e 24826424 do not publish desktop-cache when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6969
diff changeset
    38
include $(WS_MAKE_RULES)/no-evaluation.mk
b1fa0d70e09e 24826424 do not publish desktop-cache when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6969
diff changeset
    39
5889
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
include $(WS_MAKE_RULES)/common.mk
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    41
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    42
# Make sure SMF manifests are valid
7087
b1fa0d70e09e 24826424 do not publish desktop-cache when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6969
diff changeset
    43
ifneq ($(BUILD_TYPE), evaluation)
5889
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
$(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
    45
	@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
    46
	    [[ "$$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
    47
	    (set -ex ; /usr/sbin/svccfg validate "$$f") ; \
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
	done
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
	$(TOUCH) $@
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
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
    52
build:		$(BUILD_DIR)/.validated-smf-manifests-$(MACH)
7109
f298ea535620 24844018 fix for 24826424 needs tweaking
John Beck <John.Beck@Oracle.COM>
parents: 7087
diff changeset
    53
endif
5889
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
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
    55
REQUIRED_PACKAGES += service/opengl/ogl-select
5889
d78a523a8925 23169122 Move desktop-cache package to Userland
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
REQUIRED_PACKAGES += system/core-os