author | Craig Mohrman <craig.mohrman@oracle.com> |
Mon, 18 Apr 2016 13:01:02 -0700 | |
changeset 5797 | 432ac76de3b0 |
parent 5717 | 0ce9ba275890 |
child 6036 | 36742f94998f |
permissions | -rw-r--r-- |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
25 |
BUILD_BITS= 32 |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= evince |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 2.30.3 |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Evince |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
sha256:1ac6fb056c50a6298b31f696e196b5b940098c46f35dec85e69ea0c5d5b015de |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.30/$(COMPONENT_ARCHIVE) |
5377
36d18b39fc39
22634112 Couple minor fixups needed for evince
Rich Burridge <rich.burridge@oracle.com>
parents:
5327
diff
changeset
|
34 |
COMPONENT_BUGDB= gnome/evince |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
TPNO= 8693 |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
37 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
# Need to pick up the GNU version of xgettext. |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
41 |
PATH=$(GNUBIN):$(USRBINDIR) |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
COMPONENT_PREP_ACTION = \ |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
(cd $(@D) ; \ |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
45 |
libtoolize --force --copy ; \ |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
intltoolize --force --copy --automake ; \ |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
aclocal -I . ; \ |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
autoheader ; \ |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
automake -a -c -f ; \ |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
autoconf ) |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
52 |
CFLAGS += "-I$(USRINCDIR)/libxml2" |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
LDFLAGS += $(CC_BITS) -lgmodule-2.0 -lm |
5717
0ce9ba275890
23042115 compiler runpaths have returned to menace us all
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5682
diff
changeset
|
54 |
# Tell libtool to pass this flag through using -Wc. |
0ce9ba275890
23042115 compiler runpaths have returned to menace us all
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5682
diff
changeset
|
55 |
# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html |
0ce9ba275890
23042115 compiler runpaths have returned to menace us all
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5682
diff
changeset
|
56 |
LDFLAGS += -Wc,$(studio_NORUNPATH) |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --libexecdir="$(USRLIB)" |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)" |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --disable-comics |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5377
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --enable-thumbnailer |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
# Assumes GNU msgfmt is in PATH. |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
COMPONENT_BUILD_ENV += PATH="$(PATH)" |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
# Always show the build and link lines for easier debugging. |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
COMPONENT_BUILD_ARGS += V=1 |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
68 |
|
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
69 |
REQUIRED_PACKAGES += gnome/config/gconf |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
70 |
REQUIRED_PACKAGES += gnome/file-manager/nautilus |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
71 |
REQUIRED_PACKAGES += image/library/libtiff |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
72 |
REQUIRED_PACKAGES += library/desktop/atk |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
73 |
REQUIRED_PACKAGES += library/desktop/cairo |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
75 |
REQUIRED_PACKAGES += library/desktop/gtk2 |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/desktop/pango |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
77 |
REQUIRED_PACKAGES += library/glib2 |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
REQUIRED_PACKAGES += library/gnome/gnome-keyring |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
REQUIRED_PACKAGES += library/libxml2 |
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5717
diff
changeset
|
80 |
REQUIRED_PACKAGES += library/perl-5/xml-parser |
5327
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
81 |
REQUIRED_PACKAGES += system/library/c++-runtime |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
82 |
REQUIRED_PACKAGES += system/library/libdbus-glib |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
83 |
REQUIRED_PACKAGES += system/library/math |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
84 |
REQUIRED_PACKAGES += x11/library/libice |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
85 |
REQUIRED_PACKAGES += x11/library/libsm |
e8b0f6b16632
PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
86 |
REQUIRED_PACKAGES += x11/library/libx11 |