author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Thu, 16 Feb 2017 16:13:13 -0800 | |
changeset 7685 | a7ec984d7d4c |
parent 7442 | ce839999aae3 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
7685
a7ec984d7d4c
25564905 incorrect permissions on some desktop component deliveries in /usr/lib
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7442
diff
changeset
|
23 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
|
7685
a7ec984d7d4c
25564905 incorrect permissions on some desktop component deliveries in /usr/lib
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7442
diff
changeset
|
26 |
BUILD_BITS = 64_and_32 |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
# All components using gobject-introspection must be built with gcc as |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
# gobject-introspection does not produce correct results when using Studio. |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPILER = gcc |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
include ../../../make-rules/shared-macros.mk |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_NAME= librsvg |
7442
ce839999aae3
25203293 Update librsvg to 2.40.16
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6340
diff
changeset
|
33 |
COMPONENT_VERSION= 2.40.16 |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_MAJOR_MINOR= $(basename $(COMPONENT_VERSION)) |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/LibRsvg |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
COMPONENT_ARCHIVE_HASH= \ |
7442
ce839999aae3
25203293 Update librsvg to 2.40.16
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6340
diff
changeset
|
37 |
sha256:d48bcf6b03fa98f07df10332fb49d8c010786ddca6ab34cbba217684f533ff2e |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
38 |
COMPONENT_BUGDB= library/librsvg |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
|
7442
ce839999aae3
25203293 Update librsvg to 2.40.16
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6340
diff
changeset
|
40 |
TPNO= 32695 |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
# Needs gobject-introspection, not available on S11. |
7442
ce839999aae3
25203293 Update librsvg to 2.40.16
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6340
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/no-evaluation.mk |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
include $(WS_MAKE_RULES)/gnome-component.mk |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
CONFIGURE_OPTIONS += --disable-Bsymbolic |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
CONFIGURE_OPTIONS += --disable-static |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
# Required for other components. |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --enable-introspection |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --enable-vala |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
# Requires a reconf due to patch to configure.ac. |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
# for the tests |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
unexport SHELLOPTS |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
# Ignore whether the test code was already built or not |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
COMPONENT_TEST_TRANSFORMS += "-e '/^ CC.*/d'" |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
COMPONENT_TEST_TRANSFORMS += "-e '/^make.* is up to date\.$$/d'" |
7442
ce839999aae3
25203293 Update librsvg to 2.40.16
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
6340
diff
changeset
|
61 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
6340
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
|
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
REQUIRED_PACKAGES += developer/vala |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
REQUIRED_PACKAGES += library/desktop/cairo |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
66 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
67 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/desktop/pango |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
70 |
REQUIRED_PACKAGES += library/glib2 |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
71 |
REQUIRED_PACKAGES += library/libcroco |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
72 |
REQUIRED_PACKAGES += library/libxml2 |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
73 |
REQUIRED_PACKAGES += runtime/perl-522 |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
74 |
REQUIRED_PACKAGES += runtime/python-34 |
c1c9fe2d62e4
23245339 Move librsvg to Userland and update to 2.40.12
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
75 |
REQUIRED_PACKAGES += system/library/math |