components/gnome/nautilus/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7193 5da75b848d8e
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7193
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7193
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
7193
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            64_and_32
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
# All components using gobject-introspection must be built with gcc as
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
# gobject-introspection does not produce correct results when using Studio.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
COMPILER =              gcc
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
include ../../../make-rules/shared-macros.mk
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_NAME=		nautilus
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_VERSION=	3.18.2
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Projects/Nautilus
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH= \
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
	sha256:68dcf668e2ca93126a899d2e236ef37af2aea93e3fc25eee23ccd7ba911d424a
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=        gnome/nautilus
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7193
diff changeset
    38
COMPONENT_ANITYA_ID=	2050
7193
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
TPNO=			25412
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
# Needs gobject-introspection, not available on S11.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/no-evaluation.mk
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/gnome-component.mk
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
# Uses c99 language types (bool, etc.).
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
CFLAGS += -std=gnu99
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
# 32-bit gcc builds cause segfaults in Nautilus; see bug 21393975.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
gcc_OPT.i386.32 = -O2
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
# Not yet available for Solaris.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --disable-packagekit
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
# Not desired for production builds.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --disable-profiling
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --disable-static
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
# See --enable-tracker below.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --disable-tracker
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
CONFIGURE_OPTIONS += --enable-gtk-doc
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
CONFIGURE_OPTIONS += --enable-introspection
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --enable-libexif
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
CONFIGURE_OPTIONS += --enable-nst-extension
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    66
CONFIGURE_OPTIONS += --enable-shared
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    67
# Cyclic dependency; must build nautilus first, then build tracker, then build
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
# nautilus again.
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
# CONFIGURE_OPTIONS += --enable-tracker
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
CONFIGURE_OPTIONS += --enable-xmp
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
REQUIRED_PACKAGES += image/library/libexif
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
REQUIRED_PACKAGES += library/desktop/atk
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
REQUIRED_PACKAGES += library/desktop/cairo
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += library/desktop/gtk3
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
REQUIRED_PACKAGES += library/desktop/pango
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
REQUIRED_PACKAGES += library/exempi
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
REQUIRED_PACKAGES += library/glib2
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    83
REQUIRED_PACKAGES += library/gnome/gnome-desktop
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
REQUIRED_PACKAGES += library/libxml2
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
REQUIRED_PACKAGES += system/library/math
5da75b848d8e 23245346 Move nautilus to Userland and update to 3.18.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
REQUIRED_PACKAGES += x11/library/libx11